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§
- Default
Impl - Symbol
Validation - Defines the length, letter casing and any special characters that are allowed as the symbol for the token.
- Token
Validation - Defines the allowed range of name for the token and
the allowed constraints for its symbol according to
SymbolValidation
.
Enums§
Functions§
- add_
receiver_ api_ callback - execute
- instantiate
- The instantiate entry point of the SNIP-20 contract.
super::DefaultImpl
calls this withTokenValidation::default
. - mint_
impl - perform_
transfer - query
- send_
from_ impl - send_
impl - transfer_
from_ impl - transfer_
impl - use_
allowance