Module contract

Source
Expand description

Customizable implementation of a SNIP-20 token.

Modules§

decoy
receiver
safe_math
Math functions that prevent balance guessing attacks.
state
transaction_history

Structs§

DefaultImpl
SymbolValidation
Defines the length, letter casing and any special characters that are allowed as the symbol for the token.
TokenValidation
Defines the allowed range of name for the token and the allowed constraints for its symbol according to SymbolValidation.

Enums§

Error
ExecuteMsg
QueryMsg

Functions§

add_receiver_api_callback
execute
instantiate
The instantiate entry point of the SNIP-20 contract. super::DefaultImpl calls this with TokenValidation::default.
mint_impl
perform_transfer
query
send_from_impl
send_impl
transfer_from_impl
transfer_impl
use_allowance