Advertisement
Guest User

Untitled

a guest
Sep 27th, 2022
920
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. > "I have the final answer on the TFL published burn address `terra1sk06e3dyexuq4shw77y3dsv480xv42mq73anxu` which I can confirm is legitimate. It is a programmatically generated (during initialisation) 'module' address within Cosmos SDK for the Bank Keeper burn module itself, and was not generated by a user wallet.
  2. >
  3. > I ran `classic-core/x/treasury/keeper/burn_account_test.go` with the debugger, to capture the generated address of the burn module (in hex format) as per the screen shot, and you can see the burn address is:
  4. > `859facc5a4c9b80ac2eef78916c1953bcccaab60`
  5. >
  6. > I then convert this address to bech32 format:
  7. > ```
  8. > raider@PGNB0008:~/terra/rebels/classic-core$ terrad debug addr 859facc5a4c9b80ac2eef78916c1953bcccaab60
  9. > Address: [133 159 172 197 164 201 184 10 194 238 247 137 22 193 149 59 204 202 171 96]
  10. > Address (hex): 859FACC5A4C9B80AC2EEF78916C1953BCCCAAB60
  11. > Bech32 Acc: terra1sk06e3dyexuq4shw77y3dsv480xv42mq73anxu
  12. > Bech32 Val: terravaloper1sk06e3dyexuq4shw77y3dsv480xv42mq773wk0
  13. > ```
  14. > Coins sent to the burn module address `terra1sk06e3dyexuq4shw77y3dsv480xv42mq73anxu` will be destroyed and the total supply reduced by a corresponding amount.
  15. >
  16. > Coins sent to one of the community suggested null addresses would only be removed from circulating supply and would not reduce the total supply, so this is the advantage of using the burn module address.
  17. >
  18. > Coins sent to the burn module account address are burned at the end of every block here:
  19. > https://github.com/terra-rebels/classic-core/blob/aef11cb9dad8264f709a64ff6850f836172f6958/x/treasury/abci.go#L19
  20. >
  21. > Here is the reference to the Cosmos docs also that explains why module accounts were introduced: https://docs.cosmos.network/master/modules/bank/#module-accounts"
  22. > -- @Raider70, https://discord.com/channels/978124265482231809/986602337248350248/989858313552425030 (unfortunately broken since the Discord got nuked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement