You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To complete the implementation of the new asset type, CurrencyID, within Pendulum, we require the ability for users and issuers to mint and burn custom assets. This ticket focuses on extending the orml-tokens pallet to facilitate the minting and burning of these custom assets, including CurrencyID tokens.
Requirements:
Extend the orml-tokens pallet within the Pendulum repository to support the minting and burning of custom assets, specifically the CurrencyID tokens.
Technical considerations
This extension should be implemented as a new pallet that is tightly coupled to the orml-tokens pallet. It should draw inspiration from FRAME's pallet-assets and only allow users to manage the mint and burn of CurrencyId::Token(u64) assets, not the others.
Deposit for owning an asset
To prevent adversaries from squatting lots of assets for free, we should require a deposit for owning an asset. For this deposit, we 'reserve' some of the user's balance.
This deposit cannot be unreserved until we add the 'destroy' feature (#368) in the future. Note that the deposit reserve needs to be 'transferred' to the new owner when transferring ownership, see here, ie the new owner should then have to reserve some balance and it should be freed from the original owner.
The text was updated successfully, but these errors were encountered:
To complete the implementation of the new asset type, CurrencyID, within Pendulum, we require the ability for users and issuers to mint and burn custom assets. This ticket focuses on extending the orml-tokens pallet to facilitate the minting and burning of these custom assets, including CurrencyID tokens.
Requirements:
Extend the orml-tokens pallet within the Pendulum repository to support the minting and burning of custom assets, specifically the CurrencyID tokens.
Technical considerations
This extension should be implemented as a new pallet that is tightly coupled to the
orml-tokens
pallet. It should draw inspiration from FRAME's pallet-assets and only allow users to manage the mint and burn ofCurrencyId::Token(u64)
assets, not the others.Deposit for owning an asset
To prevent adversaries from squatting lots of assets for free, we should require a deposit for owning an asset. For this deposit, we 'reserve' some of the user's balance.
This deposit cannot be unreserved until we add the 'destroy' feature (#368) in the future. Note that the deposit reserve needs to be 'transferred' to the new owner when transferring ownership, see here, ie the new owner should then have to reserve some balance and it should be freed from the original owner.
The text was updated successfully, but these errors were encountered: