Module-level declarations
Operations
Adds rate limit points to an account, allowing it to send more transactions even if it reached the limit. If the new amount of points is greater than the maximum amount of allowed points, the account will have the maximum amount of points.
Throws if not signed by the admin.
Throws "NEGATIVE RATE LIMIT"
when amount is less than 1
Throws if the account or its rl_config
does not exist
Mints assets and gives them to an account.
Throws if not signed by the admin.
Throws if the account or the asset is not found.
Throws if the asset cannot be minted. Common cases include:
the amount to mint is not in the accepted range (0, 2^256) (exclusive)
some conditions added in development through mint extensions (
before_mint
orafter_mint
) aren't metthe asset's issuing blockchain is not this blockchain
the asset's total supply, increased by the amount being minted, is higher than 2^256
Registers a new account on this chain.
Throws if not signed by the admin.
Throws if the account cannot be created. Common cases include:
errors with the
args
field:some required flags are missing
in multi-sig auth descriptors, the
required_signatures
field:is 0 or less
is greater than the number of signers
errors with the
rules
field:rules
is notnull.to_gtv().to_bytes()
Registers a new asset on this chain, with this chain as issuer of the token.
Throws if not signed by the admin.
Throws if the asset cannot be registered. Common cases include:
the input parameters do not follow this criteria:
strings are longer than 1024
decimals is not in the accepted range 0, 78 (inclusive)
icon_url
is not a valid URL
Like register_asset
, but allows specifying a type for the asset as well.
Throws if not signed by the admin.
Throws if the asset cannot be registered. Common cases include:
the input parameters do not follow this criteria:
strings are longer than 1024 characters
type is empty
decimals is not in the accepted range 0, 78 (inclusive)
icon_url
is not a valid URL