assets
AlreadyExists
interface:
assets.AlreadyExists.issummary: The asset-account already exists.
AssetNotLive
interface:
assets.AssetNotLive.issummary: The asset is not live, and likely being destroyed.
BadAssetId
interface:
assets.BadAssetId.issummary: The asset ID must be equal to the [
NextAssetId].
BadMetadata
interface:
assets.BadMetadata.issummary: Invalid metadata given.
BadWitness
interface:
assets.BadWitness.issummary: Invalid witness data given.
BalanceLow
interface:
assets.BalanceLow.issummary: Account balance must be greater than or equal to the transfer amount.
CallbackFailed
interface:
assets.CallbackFailed.issummary: Callback action resulted in error
ContainsFreezes
interface:
assets.ContainsFreezes.issummary: The asset cannot be destroyed because some accounts for this asset contain freezes.
ContainsHolds
interface:
assets.ContainsHolds.issummary: The asset cannot be destroyed because some accounts for this asset contain holds.
Frozen
interface:
assets.Frozen.issummary: The origin account is frozen.
IncorrectStatus
interface:
assets.IncorrectStatus.issummary: The asset status is not the expected status.
InUse
interface:
assets.InUse.issummary: The asset ID is already taken.
LiveAsset
interface:
assets.LiveAsset.issummary: The asset is a live asset and is actively being used. Usually emit for operations such as
start_destroywhich require the asset to be in a destroying state.
MinBalanceZero
interface:
assets.MinBalanceZero.issummary: Minimum balance should be non-zero.
NoAccount
interface:
assets.NoAccount.issummary: The account to alter does not exist.
NoDeposit
interface:
assets.NoDeposit.issummary: The asset-account doesn’t have an associated deposit.
NoPermission
interface:
assets.NoPermission.issummary: The signing account has no permission to do the operation.
NotFrozen
interface:
assets.NotFrozen.issummary: The asset should be frozen before the given operation.
Unapproved
interface:
assets.Unapproved.issummary: No approval exists that would allow the transfer.
UnavailableConsumer
interface:
assets.UnavailableConsumer.issummary: Unable to increment the consumer reference counters on the account. Either no provider reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer then the maximum number of consumers has been reached.
Unknown
interface:
assets.Unknown.issummary: The given asset ID is unknown.
WouldBurn
interface:
assets.WouldBurn.issummary: The operation would result in funds being burned.
WouldDie
interface:
assets.WouldDie.issummary: The source account would not survive the transfer and it needs to stay alive.