Tokenomics

Method Name

Method Spec & Description

Returns the name of the token.

GenomeFi string

See {IERC20-totalSupply}.

1000000000000000000000000000 uint256

Returns the number of decimals used to get its user representation.

18 uint8

0x4cc1E5Be694331c2375267CF9B6bfd40da094acB address

See {IERC20-balanceOf}.

account (address)

0x4cc1E5Be694331c2375267CF9B6bfd40da094acB address

0x4cc1E5Be694331c2375267CF9B6bfd40da094acB address

Returns the symbol of the token, usually a shorter version of the name.

GENO string

get the amount of reserved token

_address (address)

get the amount reserved token of the sender

0 uint256

<input> (address)

See {IERC20-allowance}.

owner (address)

  • Write Method

See {IERC20-approve}. * Requirements: * - `spender` cannot be the zero address.

spender (address)

change owner address

_newOwner (address)

Transfer tokens from one address to another * The _from's geno balance should be larger than the reserved amount(reserves[_from]) plus _value. * NOTE: no one can tranfer from vault

_from (address)

Atomically increases the allowance granted to `spender` by the caller. * This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. * Emits an {Approval} event indicating the updated allowance. * Requirements: * - `spender` cannot be the zero address.

spender (address)

change vault address

_newVault (address)

change admin address

_newAdmin (address)

change the amount of reserved token

_address (address) / _reserve (uint256)

Atomically decreases the allowance granted to `spender` by the caller. * This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. * Emits an {Approval} event indicating the updated allowance. * Requirements: * - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.

spender (address)

transfer token from sender to other the result balance should be greater than or equal to the reserved token amount

_to (address)

Last updated