Documentation ¶
Index ¶
- type IdentityBalances
- func (balances *IdentityBalances) BindForTopUpEvents(sink chan<- *generated.IdentityBalancesToppedUp) (event.Subscription, error)
- func (balances *IdentityBalances) BindForWithdrawEvents(sink chan<- *generated.IdentityBalancesWithdrawn) (event.Subscription, error)
- func (balances *IdentityBalances) Withdraw(request *WithdrawRequest) (err error)
- type WithdrawRequest
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)
Click to show internal directories.
Click to hide internal directories.