Documentation ¶
Index ¶
- type ERC20Contract
- func (c *ERC20Contract) AddMinter(minter common.Address, opts transactor.TransactOptions) (*common.Hash, error)
- func (c *ERC20Contract) ApproveTokens(target common.Address, amount *big.Int, opts transactor.TransactOptions) (*common.Hash, error)
- func (c *ERC20Contract) GetBalance(address common.Address) (*big.Int, error)
- func (c *ERC20Contract) MintTokens(to common.Address, amount *big.Int, opts transactor.TransactOptions) (*common.Hash, error)
- func (c *ERC20Contract) MinterRole() ([32]byte, error)
- type ERC20HandlerContract
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC20Contract ¶
func NewERC20Contract ¶
func NewERC20Contract( client calls.ContractCallerDispatcher, erc20ContractAddress common.Address, transactor transactor.Transactor, ) *ERC20Contract
func (*ERC20Contract) AddMinter ¶
func (c *ERC20Contract) AddMinter( minter common.Address, opts transactor.TransactOptions, ) (*common.Hash, error)
func (*ERC20Contract) ApproveTokens ¶
func (c *ERC20Contract) ApproveTokens( target common.Address, amount *big.Int, opts transactor.TransactOptions, ) (*common.Hash, error)
func (*ERC20Contract) GetBalance ¶
func (*ERC20Contract) MintTokens ¶
func (c *ERC20Contract) MintTokens( to common.Address, amount *big.Int, opts transactor.TransactOptions, ) (*common.Hash, error)
func (*ERC20Contract) MinterRole ¶
func (c *ERC20Contract) MinterRole() ([32]byte, error)
type ERC20HandlerContract ¶
func NewERC20HandlerContract ¶
func NewERC20HandlerContract( client calls.ContractCallerDispatcher, erc20HandlerContractAddress common.Address, t transactor.Transactor, ) *ERC20HandlerContract
Click to show internal directories.
Click to hide internal directories.