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
Introduce an issuefixed ACTION that enables the token issuer to allocate tokens up to a predetermined supply cap. This action will only issue the necessary quantity of tokens to bridge the gap between the existing supply and the specified cap, ensuring no excess issuance occurs.
/** * Issues only the necessary tokens to bridge the gap between the current supply and the targeted total. * * @param to - the account to issue tokens to, it must be the same as the issuer, * @param supply - the target total supply for the token. * @param memo - the memo string that accompanies the token issue transaction.*/
[[eosio::action]]
voidissuefixed( const name& to, const asset& supply, const string& memo );
Preconditions
require_auth(issuer)
supply must not exceed the maximum_supply of the token.
Purpose
Introduce an
issuefixed
ACTION that enables the token issuer to allocate tokens up to a predetermined supply cap. This action will only issue the necessary quantity of tokens to bridge the gap between the existing supply and the specified cap, ensuring no excess issuance occurs.Feedback provided by
issuefixed
ACTIONPreconditions
require_auth(issuer)
supply
must not exceed themaximum_supply
of the token.supply
must be greater than the currentsupply
.supply.symbol
must match the token'ssymbol
.References
eosio.token::issue
eosio.token::stat
The text was updated successfully, but these errors were encountered: