Author Topic: How can I burn asset in bts2.0, like in bts1.0?  (Read 2122 times)

0 Members and 1 Guest are viewing this topic.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
There is a special account "null-account" whose permissions are set such that "no one" has control.
You mean this account? https://bitshares.openledger.info/#/account/null-account/overview

How did an account with no permissions manage to update the BRICS asset?

That is a very good question.  It looks like the answer is that the old issuer "openbank" transferred the asset to "null-account".  So the account history shows the transaction listed under both old and new owner.  Looks like a bug in how account history is representing the UPDATE_ASSET.   If you click on the "time" in the history you can get more details.


Quote
UPDATE ASSET   
Asset to update   BRICS
Issuer   openbank
New owner account   null-account
Core rate   0.01 BTS/BRICS
New options   
root:{} 12 items
max_supply:100000000000000
market_fee_percent:0
max_market_fee:0
issuer_permissions:64
flags:0
core_exchange_rate:{} 2 items
base:{} 2 items
quote:{} 2 items
whitelist_authorities:[] 0 items
blacklist_authorities:[] 0 items
whitelist_markets:[] 0 items
blacklist_markets:[] 0 items
description:BRICS is the acronym for an association of five major emerging national economies: Brazil, Russia, India, China and South Africa. As of 2015, the five BRICS countries represent over 3 billion people, or 42% of the world population; as all five members are in the top 25 of the world by population, and four are in the top 10. The five nations have a combined nominal GDP of US$16.039 trillion, equivalent to approximately 20% of the gross world product, and an estimated US$4 trillion in combined foreign reserves. The asset's value is derived from the fully secured and decentralized blockchain with users participating from all around the world. The issuer is restricted from transferring the assets back to itself.
extensions:[] 0 items
Fee   21.52734BTS
By transferring the owner to null-account, the original owner fulfilled its promise that any parameter of that asset (e.g. max amount, fee rate and so) won't be changed in the future.
BitShares committee member: abit
BitShares witness: in.abit

Offline Chronos


Offline bytemaster

There is a special account "null-account" whose permissions are set such that "no one" has control.
You mean this account? https://bitshares.openledger.info/#/account/null-account/overview

How did an account with no permissions manage to update the BRICS asset?

That is a very good question.  It looks like the answer is that the old issuer "openbank" transferred the asset to "null-account".  So the account history shows the transaction listed under both old and new owner.  Looks like a bug in how account history is representing the UPDATE_ASSET.   If you click on the "time" in the history you can get more details.


Quote
UPDATE ASSET   
Asset to update   BRICS
Issuer   openbank
New owner account   null-account
Core rate   0.01 BTS/BRICS
New options   
root:{} 12 items
max_supply:100000000000000
market_fee_percent:0
max_market_fee:0
issuer_permissions:64
flags:0
core_exchange_rate:{} 2 items
base:{} 2 items
quote:{} 2 items
whitelist_authorities:[] 0 items
blacklist_authorities:[] 0 items
whitelist_markets:[] 0 items
blacklist_markets:[] 0 items
description:BRICS is the acronym for an association of five major emerging national economies: Brazil, Russia, India, China and South Africa. As of 2015, the five BRICS countries represent over 3 billion people, or 42% of the world population; as all five members are in the top 25 of the world by population, and four are in the top 10. The five nations have a combined nominal GDP of US$16.039 trillion, equivalent to approximately 20% of the gross world product, and an estimated US$4 trillion in combined foreign reserves. The asset's value is derived from the fully secured and decentralized blockchain with users participating from all around the world. The issuer is restricted from transferring the assets back to itself.
extensions:[] 0 items
Fee   21.52734BTS
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline Chronos

There is a special account "null-account" whose permissions are set such that "no one" has control.
You mean this account? https://bitshares.openledger.info/#/account/null-account/overview

How did an account with no permissions manage to update the BRICS asset?

Offline bytemaster

There is a special account "null-account" whose permissions are set such that "no one" has control.   Transferring funds to this account or to any account owned only by the null-account is effectively burning them.

There is also a special account "temp-account" whose permissions are set such that "any one" has control with the one caveat that its balance must always end up at 0. 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I am not 100% sure .. but the documentation of "reserve_asset" says that the amount will be given back to the issue ..
at least the blockchain knows about this ... having a clickable button in the gui is another thing ..

Offline kinglaw0577

  • Full Member
  • ***
  • Posts: 95
    • View Profile
    • BitShares Richlist
How can I burn asset in bts2.0, like in bts1.0?
☆bitshares Richlist富豪榜 http://richlist.btsabc.org
☆BTSABC wallet online比特帝国在线钱包 https://bit.btsabc.org