-
Notifications
You must be signed in to change notification settings - Fork 282
Closed
Labels
EnhancementNew feature or requestNew feature or requestapi-changesChanges in the API for client librariesChanges in the API for client librariesiroha2-devThe re-implementation of a BFT hyperledger in RUSTThe re-implementation of a BFT hyperledger in RUST
Description
Feature request
There are several value types for assets exist:
"AssetValue": {
"Enum": [
{
"tag": "Quantity",
"discriminant": 0,
"type": "u32"
},
{
"tag": "BigQuantity",
"discriminant": 1,
"type": "u128"
},
{
"tag": "Fixed",
"discriminant": 2,
"type": "Fixed"
},
{
"tag": "Store",
"discriminant": 3,
"type": "Metadata"
}
]
}
Basically just Numeric and Store.
Although:
- One can
Transfer,MintandBurnassets of typeNumeric, but not assets of typeStore - One can
SetKetValueandRemoveKeyValuein relation to aStoreasset, but notNumericone Once/Infinitelymintability makes little sense since it does not affectStoreassets at all- A
Storeasset cannot be destroyed, there will be empty metadata container in the end
Motivation
Current situation hardly can show Store and Numeric assets being just a type of the same entity. They feel totally different entities.
I'd support either enabling the same set of instructions to be applicable to any asset with meaningful outcome or make Store asset something different than an asset. In the latter case an adjustment to enable deleting that somehow would be still worth considering.
Who can help?
No response
Reactions are currently unavailable
Metadata
Metadata
Labels
EnhancementNew feature or requestNew feature or requestapi-changesChanges in the API for client librariesChanges in the API for client librariesiroha2-devThe re-implementation of a BFT hyperledger in RUSTThe re-implementation of a BFT hyperledger in RUST
Type
Projects
Status
Work in Progress