Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Address(ctx context.Context) common.Address BalanceOf(ctx context.Context, address common.Address) (*big.Int, error) Deposit(ctx context.Context, value *big.Int) (common.Hash, error) Withdraw(ctx context.Context, value *big.Int) (common.Hash, error) Transfer(ctx context.Context, address common.Address, value *big.Int) (common.Hash, error) Allowance(ctx context.Context, issuer common.Address, vault common.Address) (*big.Int, error) Approve(ctx context.Context, address common.Address, value *big.Int) (common.Hash, error) TransferFrom(ctx context.Context, issuer common.Address, vault common.Address, value *big.Int) (common.Hash, error) }
func New ¶
func New(backend transaction.Backend, transactionService transaction.Service, address common.Address) Service
Click to show internal directories.
Click to hide internal directories.