We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_max_supply
Extend eosio.token contract with an additional static method get_max_supply to easily retrieve max supply of a token.
eosio.token
static asset get_max_supply( const name& token_contract_account, const symbol_code& sym_code ) { stats statstable( token_contract_account, sym_code.raw() ); const auto& st = statstable.get( sym_code.raw(), "invalid supply symbol code" ); return st.max_supply; }
eosio.token::get_supply
Note: changes should be pushed to Antelope Reference contracts https://github.com/AntelopeIO/reference-contracts
get_issuer
The text was updated successfully, but these errors were encountered:
add get_max_supply static method
bde73bf
fixes: eosnetworkfoundation/eos-system-contracts#129
Implemented via: AntelopeIO/reference-contracts@bde73bf
Sorry, something went wrong.
No branches or pull requests
Purpose
Extend
eosio.token
contract with an additional static methodget_max_supply
to easily retrieve max supply of a token.get_max_supply
STATICReferences
eosio.token::get_supply
additional scope
get_issuer
The text was updated successfully, but these errors were encountered: