Documentation ¶
Index ¶
- type ERC20Contract
- func (c *ERC20Contract) AddAdmin(admin common.Address, opts transactor.TransactOptions) (*common.Hash, error)
- 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) DefaultAdminRole() ([32]byte, error)
- func (c *ERC20Contract) GetBalance(address common.Address) (*big.Int, error)
- func (c *ERC20Contract) GetRoleMember(role [32]byte, i int64) (common.Address, error)
- func (c *ERC20Contract) GetRoleMemberCount(role [32]byte) (*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)
- func (c *ERC20Contract) RemoveAdmin(admin common.Address, opts transactor.TransactOptions) (*common.Hash, error)
- func (c *ERC20Contract) RemoveMinter(minter common.Address, opts transactor.TransactOptions) (*common.Hash, error)
- func (c *ERC20Contract) Transfer(to common.Address, amount *big.Int, opts transactor.TransactOptions) (*common.Hash, 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) AddAdmin ¶
func (c *ERC20Contract) AddAdmin( admin common.Address, opts transactor.TransactOptions, ) (*common.Hash, error)
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) DefaultAdminRole ¶
func (c *ERC20Contract) DefaultAdminRole() ([32]byte, error)
func (*ERC20Contract) GetBalance ¶
func (*ERC20Contract) GetRoleMember ¶
func (*ERC20Contract) GetRoleMemberCount ¶
func (c *ERC20Contract) GetRoleMemberCount(role [32]byte) (*big.Int, error)
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)
func (*ERC20Contract) RemoveAdmin ¶
func (c *ERC20Contract) RemoveAdmin( admin common.Address, opts transactor.TransactOptions, ) (*common.Hash, error)
func (*ERC20Contract) RemoveMinter ¶
func (c *ERC20Contract) RemoveMinter( minter common.Address, opts transactor.TransactOptions, ) (*common.Hash, error)
func (*ERC20Contract) Transfer ¶
func (c *ERC20Contract) Transfer( to common.Address, amount *big.Int, opts transactor.TransactOptions, ) (*common.Hash, 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.