Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { TotalSupply(ctx context.Context) (*big.Int, error) BalanceOf(ctx context.Context, address common.Address) (*big.Int, error) Transfer(ctx context.Context, address common.Address, value *big.Int) (common.Hash, error) Approval(ctx context.Context, spender common.Address, value *big.Int) (common.Hash, error) Allowance(ctx context.Context, owner common.Address, spender common.Address) (*big.Int, 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.