Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC20AssetPool ¶
type ERC20AssetPool struct { ERC20AssetPoolCommon Address common.Address Version ERC20AssetPoolVersion // contains filtered or unexported fields }
func NewERC20AssetPool ¶
func NewERC20AssetPool( ethClient *ethclient.Client, hexAddress string, version ERC20AssetPoolVersion, ) (*ERC20AssetPool, error)
type ERC20AssetPoolCommon ¶
type ERC20AssetPoolCommon interface { Erc20BridgeAddress(opts *bind.CallOpts) (common.Address, error) MultisigControlAddress(opts *bind.CallOpts) (common.Address, error) SetBridgeAddress(opts *bind.TransactOpts, new_address common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error) SetMultisigControl(opts *bind.TransactOpts, new_address common.Address, nonce *big.Int, signatures []byte) (*types.Transaction, error) Withdraw(opts *bind.TransactOpts, token_address common.Address, target common.Address, amount *big.Int) (*types.Transaction, error) }
type ERC20AssetPoolVersion ¶
type ERC20AssetPoolVersion string
const (
ERC20AssetPoolV1 ERC20AssetPoolVersion = "v1"
)
func (ERC20AssetPoolVersion) IsValid ¶
func (n ERC20AssetPoolVersion) IsValid() error
Click to show internal directories.
Click to hide internal directories.