balances

package
v0.0.3-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityBalances

type IdentityBalances struct {
	Address common.Address
	generated.IdentityBalancesSession
}

func DeployIdentityBalances

func DeployIdentityBalances(transactorOpts *bind.TransactOpts, erc20Address common.Address, backend bind.ContractBackend) (*IdentityBalances, error)

func (*IdentityBalances) BindForTopUpEvents

func (balances *IdentityBalances) BindForTopUpEvents(sink chan<- *generated.IdentityBalancesToppedUp) (event.Subscription, error)

func (*IdentityBalances) BindForWithdrawEvents

func (balances *IdentityBalances) BindForWithdrawEvents(sink chan<- *generated.IdentityBalancesWithdrawn) (event.Subscription, error)

func (*IdentityBalances) Withdraw

func (balances *IdentityBalances) Withdraw(request *WithdrawRequest) (err error)

type WithdrawRequest

type WithdrawRequest struct {
	Amount    *big.Int
	Signature *identity.DecomposedSignature
}

func NewWithdrawRequest

func NewWithdrawRequest(signer identity.Signer, amount int64) (*WithdrawRequest, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL