Documentation
¶
Index ¶
- Variables
- type Debits
- type DebitsCaller
- func (_Debits *DebitsCaller) BalanceOf(opts *bind.CallOpts, token common.Address, owner common.Address) (*big.Int, error)
- func (_Debits *DebitsCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_Debits *DebitsCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Debits *DebitsCaller) WithholdingOf(opts *bind.CallOpts, token common.Address, owner common.Address) (*big.Int, error)
- type DebitsCallerRaw
- type DebitsCallerSession
- func (_Debits *DebitsCallerSession) BalanceOf(token common.Address, owner common.Address) (*big.Int, error)
- func (_Debits *DebitsCallerSession) Operator() (common.Address, error)
- func (_Debits *DebitsCallerSession) Owner() (common.Address, error)
- func (_Debits *DebitsCallerSession) WithholdingOf(token common.Address, owner common.Address) (*big.Int, error)
- type DebitsDeposited
- type DebitsDepositedIterator
- type DebitsDistributed
- type DebitsDistributedIterator
- type DebitsFilterer
- func (_Debits *DebitsFilterer) FilterDeposited(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsDepositedIterator, error)
- func (_Debits *DebitsFilterer) FilterDistributed(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsDistributedIterator, error)
- func (_Debits *DebitsFilterer) FilterInitialized(opts *bind.FilterOpts) (*DebitsInitializedIterator, error)
- func (_Debits *DebitsFilterer) FilterOperatorSet(opts *bind.FilterOpts, operator []common.Address) (*DebitsOperatorSetIterator, error)
- func (_Debits *DebitsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*DebitsOwnershipTransferredIterator, error)
- func (_Debits *DebitsFilterer) FilterRedeemed(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsRedeemedIterator, error)
- func (_Debits *DebitsFilterer) FilterWithdrawn(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsWithdrawnIterator, error)
- func (_Debits *DebitsFilterer) FilterWithheld(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsWithheldIterator, error)
- func (_Debits *DebitsFilterer) ParseDeposited(log types.Log) (*DebitsDeposited, error)
- func (_Debits *DebitsFilterer) ParseDistributed(log types.Log) (*DebitsDistributed, error)
- func (_Debits *DebitsFilterer) ParseInitialized(log types.Log) (*DebitsInitialized, error)
- func (_Debits *DebitsFilterer) ParseOperatorSet(log types.Log) (*DebitsOperatorSet, error)
- func (_Debits *DebitsFilterer) ParseOwnershipTransferred(log types.Log) (*DebitsOwnershipTransferred, error)
- func (_Debits *DebitsFilterer) ParseRedeemed(log types.Log) (*DebitsRedeemed, error)
- func (_Debits *DebitsFilterer) ParseWithdrawn(log types.Log) (*DebitsWithdrawn, error)
- func (_Debits *DebitsFilterer) ParseWithheld(log types.Log) (*DebitsWithheld, error)
- func (_Debits *DebitsFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *DebitsDeposited, token []common.Address, ...) (event.Subscription, error)
- func (_Debits *DebitsFilterer) WatchDistributed(opts *bind.WatchOpts, sink chan<- *DebitsDistributed, token []common.Address, ...) (event.Subscription, error)
- func (_Debits *DebitsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DebitsInitialized) (event.Subscription, error)
- func (_Debits *DebitsFilterer) WatchOperatorSet(opts *bind.WatchOpts, sink chan<- *DebitsOperatorSet, ...) (event.Subscription, error)
- func (_Debits *DebitsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DebitsOwnershipTransferred, ...) (event.Subscription, error)
- func (_Debits *DebitsFilterer) WatchRedeemed(opts *bind.WatchOpts, sink chan<- *DebitsRedeemed, token []common.Address, ...) (event.Subscription, error)
- func (_Debits *DebitsFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *DebitsWithdrawn, token []common.Address, ...) (event.Subscription, error)
- func (_Debits *DebitsFilterer) WatchWithheld(opts *bind.WatchOpts, sink chan<- *DebitsWithheld, token []common.Address, ...) (event.Subscription, error)
- type DebitsInitialized
- type DebitsInitializedIterator
- type DebitsOperatorSet
- type DebitsOperatorSetIterator
- type DebitsOwnershipTransferred
- type DebitsOwnershipTransferredIterator
- type DebitsRaw
- func (_Debits *DebitsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Debits *DebitsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Debits *DebitsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DebitsRedeemed
- type DebitsRedeemedIterator
- type DebitsSession
- func (_Debits *DebitsSession) BalanceOf(token common.Address, owner common.Address) (*big.Int, error)
- func (_Debits *DebitsSession) Deposit(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsSession) Distribute(token common.Address, _owner common.Address, _recipients []common.Address, ...) (*types.Transaction, error)
- func (_Debits *DebitsSession) Initialize() (*types.Transaction, error)
- func (_Debits *DebitsSession) Operator() (common.Address, error)
- func (_Debits *DebitsSession) Owner() (common.Address, error)
- func (_Debits *DebitsSession) Redeem(token common.Address, _owner common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsSession) RenounceOwnership() (*types.Transaction, error)
- func (_Debits *DebitsSession) SetOperator(_operator common.Address) (*types.Transaction, error)
- func (_Debits *DebitsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Debits *DebitsSession) Withdraw(_token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsSession) Withhold(token common.Address, owner common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsSession) WithholdingOf(token common.Address, owner common.Address) (*big.Int, error)
- type DebitsTransactor
- func (_Debits *DebitsTransactor) Deposit(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsTransactor) Distribute(opts *bind.TransactOpts, token common.Address, _owner common.Address, ...) (*types.Transaction, error)
- func (_Debits *DebitsTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Debits *DebitsTransactor) Redeem(opts *bind.TransactOpts, token common.Address, _owner common.Address, ...) (*types.Transaction, error)
- func (_Debits *DebitsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Debits *DebitsTransactor) SetOperator(opts *bind.TransactOpts, _operator common.Address) (*types.Transaction, error)
- func (_Debits *DebitsTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Debits *DebitsTransactor) Withdraw(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsTransactor) Withhold(opts *bind.TransactOpts, token common.Address, owner common.Address, ...) (*types.Transaction, error)
- type DebitsTransactorRaw
- type DebitsTransactorSession
- func (_Debits *DebitsTransactorSession) Deposit(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsTransactorSession) Distribute(token common.Address, _owner common.Address, _recipients []common.Address, ...) (*types.Transaction, error)
- func (_Debits *DebitsTransactorSession) Initialize() (*types.Transaction, error)
- func (_Debits *DebitsTransactorSession) Redeem(token common.Address, _owner common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Debits *DebitsTransactorSession) SetOperator(_operator common.Address) (*types.Transaction, error)
- func (_Debits *DebitsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Debits *DebitsTransactorSession) Withdraw(_token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Debits *DebitsTransactorSession) Withhold(token common.Address, owner common.Address, amount *big.Int) (*types.Transaction, error)
- type DebitsWithdrawn
- type DebitsWithdrawnIterator
- type DebitsWithheld
- type DebitsWithheldIterator
Constants ¶
This section is empty.
Variables ¶
var DebitsABI = DebitsMetaData.ABI
DebitsABI is the input ABI used to generate the binding from. Deprecated: Use DebitsMetaData.ABI instead.
var DebitsMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"Distributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"OperatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Redeemed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withheld\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"distribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"setOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withhold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withholdingOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
DebitsMetaData contains all meta data concerning the Debits contract.
Functions ¶
This section is empty.
Types ¶
type Debits ¶
type Debits struct {
DebitsCaller // Read-only binding to the contract
DebitsTransactor // Write-only binding to the contract
DebitsFilterer // Log filterer for contract events
}
Debits is an auto generated Go binding around an Ethereum contract.
type DebitsCaller ¶
type DebitsCaller struct {
// contains filtered or unexported fields
}
DebitsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDebitsCaller ¶
func NewDebitsCaller(address common.Address, caller bind.ContractCaller) (*DebitsCaller, error)
NewDebitsCaller creates a new read-only instance of Debits, bound to a specific deployed contract.
func (*DebitsCaller) BalanceOf ¶
func (_Debits *DebitsCaller) BalanceOf(opts *bind.CallOpts, token common.Address, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0xf7888aec.
Solidity: function balanceOf(address token, address owner) view returns(uint256)
func (*DebitsCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*DebitsCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*DebitsCaller) WithholdingOf ¶
func (_Debits *DebitsCaller) WithholdingOf(opts *bind.CallOpts, token common.Address, owner common.Address) (*big.Int, error)
WithholdingOf is a free data retrieval call binding the contract method 0x68e3e17d.
Solidity: function withholdingOf(address token, address owner) view returns(uint256)
type DebitsCallerRaw ¶
type DebitsCallerRaw struct {
Contract *DebitsCaller // Generic read-only contract binding to access the raw methods on
}
DebitsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DebitsCallerRaw) Call ¶
func (_Debits *DebitsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type DebitsCallerSession ¶
type DebitsCallerSession struct {
Contract *DebitsCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
DebitsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DebitsCallerSession) BalanceOf ¶
func (_Debits *DebitsCallerSession) BalanceOf(token common.Address, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0xf7888aec.
Solidity: function balanceOf(address token, address owner) view returns(uint256)
func (*DebitsCallerSession) Operator ¶
func (_Debits *DebitsCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*DebitsCallerSession) Owner ¶
func (_Debits *DebitsCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*DebitsCallerSession) WithholdingOf ¶
func (_Debits *DebitsCallerSession) WithholdingOf(token common.Address, owner common.Address) (*big.Int, error)
WithholdingOf is a free data retrieval call binding the contract method 0x68e3e17d.
Solidity: function withholdingOf(address token, address owner) view returns(uint256)
type DebitsDeposited ¶
type DebitsDeposited struct {
Token common.Address
Owner common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
DebitsDeposited represents a Deposited event raised by the Debits contract.
type DebitsDepositedIterator ¶
type DebitsDepositedIterator struct {
Event *DebitsDeposited // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
DebitsDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the Debits contract.
func (*DebitsDepositedIterator) Close ¶
func (it *DebitsDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DebitsDepositedIterator) Error ¶
func (it *DebitsDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DebitsDepositedIterator) Next ¶
func (it *DebitsDepositedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DebitsDistributed ¶
type DebitsDistributed struct {
Token common.Address
Owner common.Address
Recipients []common.Address
Amounts []*big.Int
Raw types.Log // Blockchain specific contextual infos
}
DebitsDistributed represents a Distributed event raised by the Debits contract.
type DebitsDistributedIterator ¶
type DebitsDistributedIterator struct {
Event *DebitsDistributed // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
DebitsDistributedIterator is returned from FilterDistributed and is used to iterate over the raw logs and unpacked data for Distributed events raised by the Debits contract.
func (*DebitsDistributedIterator) Close ¶
func (it *DebitsDistributedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DebitsDistributedIterator) Error ¶
func (it *DebitsDistributedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DebitsDistributedIterator) Next ¶
func (it *DebitsDistributedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DebitsFilterer ¶
type DebitsFilterer struct {
// contains filtered or unexported fields
}
DebitsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDebitsFilterer ¶
func NewDebitsFilterer(address common.Address, filterer bind.ContractFilterer) (*DebitsFilterer, error)
NewDebitsFilterer creates a new log filterer instance of Debits, bound to a specific deployed contract.
func (*DebitsFilterer) FilterDeposited ¶
func (_Debits *DebitsFilterer) FilterDeposited(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0x8752a472e571a816aea92eec8dae9baf628e840f4929fbcc2d155e6233ff68a7.
Solidity: event Deposited(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) FilterDistributed ¶
func (_Debits *DebitsFilterer) FilterDistributed(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsDistributedIterator, error)
FilterDistributed is a free log retrieval operation binding the contract event 0x974cbf628e5e0af19bbf3b53fafc63ef2975a917dcf6ee7da0ac85bfda0cb3c0.
Solidity: event Distributed(address indexed token, address indexed owner, address[] recipients, uint256[] amounts)
func (*DebitsFilterer) FilterInitialized ¶
func (_Debits *DebitsFilterer) FilterInitialized(opts *bind.FilterOpts) (*DebitsInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DebitsFilterer) FilterOperatorSet ¶
func (_Debits *DebitsFilterer) FilterOperatorSet(opts *bind.FilterOpts, operator []common.Address) (*DebitsOperatorSetIterator, error)
FilterOperatorSet is a free log retrieval operation binding the contract event 0x99d737e0adf2c449d71890b86772885ec7959b152ddb265f76325b6e68e105d3.
Solidity: event OperatorSet(address indexed operator)
func (*DebitsFilterer) FilterOwnershipTransferred ¶
func (_Debits *DebitsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DebitsOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DebitsFilterer) FilterRedeemed ¶
func (_Debits *DebitsFilterer) FilterRedeemed(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsRedeemedIterator, error)
FilterRedeemed is a free log retrieval operation binding the contract event 0x27d4634c833b7622a0acddbf7f746183625f105945e95c723ad1d5a9f2a0b6fc.
Solidity: event Redeemed(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) FilterWithdrawn ¶
func (_Debits *DebitsFilterer) FilterWithdrawn(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.
Solidity: event Withdrawn(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) FilterWithheld ¶
func (_Debits *DebitsFilterer) FilterWithheld(opts *bind.FilterOpts, token []common.Address, owner []common.Address) (*DebitsWithheldIterator, error)
FilterWithheld is a free log retrieval operation binding the contract event 0x605593e759b1d56db020a6124fe8807317bdfe513fd666b5b0f4ec807559d9cd.
Solidity: event Withheld(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) ParseDeposited ¶
func (_Debits *DebitsFilterer) ParseDeposited(log types.Log) (*DebitsDeposited, error)
ParseDeposited is a log parse operation binding the contract event 0x8752a472e571a816aea92eec8dae9baf628e840f4929fbcc2d155e6233ff68a7.
Solidity: event Deposited(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) ParseDistributed ¶
func (_Debits *DebitsFilterer) ParseDistributed(log types.Log) (*DebitsDistributed, error)
ParseDistributed is a log parse operation binding the contract event 0x974cbf628e5e0af19bbf3b53fafc63ef2975a917dcf6ee7da0ac85bfda0cb3c0.
Solidity: event Distributed(address indexed token, address indexed owner, address[] recipients, uint256[] amounts)
func (*DebitsFilterer) ParseInitialized ¶
func (_Debits *DebitsFilterer) ParseInitialized(log types.Log) (*DebitsInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DebitsFilterer) ParseOperatorSet ¶
func (_Debits *DebitsFilterer) ParseOperatorSet(log types.Log) (*DebitsOperatorSet, error)
ParseOperatorSet is a log parse operation binding the contract event 0x99d737e0adf2c449d71890b86772885ec7959b152ddb265f76325b6e68e105d3.
Solidity: event OperatorSet(address indexed operator)
func (*DebitsFilterer) ParseOwnershipTransferred ¶
func (_Debits *DebitsFilterer) ParseOwnershipTransferred(log types.Log) (*DebitsOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DebitsFilterer) ParseRedeemed ¶
func (_Debits *DebitsFilterer) ParseRedeemed(log types.Log) (*DebitsRedeemed, error)
ParseRedeemed is a log parse operation binding the contract event 0x27d4634c833b7622a0acddbf7f746183625f105945e95c723ad1d5a9f2a0b6fc.
Solidity: event Redeemed(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) ParseWithdrawn ¶
func (_Debits *DebitsFilterer) ParseWithdrawn(log types.Log) (*DebitsWithdrawn, error)
ParseWithdrawn is a log parse operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.
Solidity: event Withdrawn(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) ParseWithheld ¶
func (_Debits *DebitsFilterer) ParseWithheld(log types.Log) (*DebitsWithheld, error)
ParseWithheld is a log parse operation binding the contract event 0x605593e759b1d56db020a6124fe8807317bdfe513fd666b5b0f4ec807559d9cd.
Solidity: event Withheld(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) WatchDeposited ¶
func (_Debits *DebitsFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *DebitsDeposited, token []common.Address, owner []common.Address) (event.Subscription, error)
WatchDeposited is a free log subscription operation binding the contract event 0x8752a472e571a816aea92eec8dae9baf628e840f4929fbcc2d155e6233ff68a7.
Solidity: event Deposited(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) WatchDistributed ¶
func (_Debits *DebitsFilterer) WatchDistributed(opts *bind.WatchOpts, sink chan<- *DebitsDistributed, token []common.Address, owner []common.Address) (event.Subscription, error)
WatchDistributed is a free log subscription operation binding the contract event 0x974cbf628e5e0af19bbf3b53fafc63ef2975a917dcf6ee7da0ac85bfda0cb3c0.
Solidity: event Distributed(address indexed token, address indexed owner, address[] recipients, uint256[] amounts)
func (*DebitsFilterer) WatchInitialized ¶
func (_Debits *DebitsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DebitsInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DebitsFilterer) WatchOperatorSet ¶
func (_Debits *DebitsFilterer) WatchOperatorSet(opts *bind.WatchOpts, sink chan<- *DebitsOperatorSet, operator []common.Address) (event.Subscription, error)
WatchOperatorSet is a free log subscription operation binding the contract event 0x99d737e0adf2c449d71890b86772885ec7959b152ddb265f76325b6e68e105d3.
Solidity: event OperatorSet(address indexed operator)
func (*DebitsFilterer) WatchOwnershipTransferred ¶
func (_Debits *DebitsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DebitsOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DebitsFilterer) WatchRedeemed ¶
func (_Debits *DebitsFilterer) WatchRedeemed(opts *bind.WatchOpts, sink chan<- *DebitsRedeemed, token []common.Address, owner []common.Address) (event.Subscription, error)
WatchRedeemed is a free log subscription operation binding the contract event 0x27d4634c833b7622a0acddbf7f746183625f105945e95c723ad1d5a9f2a0b6fc.
Solidity: event Redeemed(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) WatchWithdrawn ¶
func (_Debits *DebitsFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *DebitsWithdrawn, token []common.Address, owner []common.Address) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.
Solidity: event Withdrawn(address indexed token, address indexed owner, uint256 amount)
func (*DebitsFilterer) WatchWithheld ¶
func (_Debits *DebitsFilterer) WatchWithheld(opts *bind.WatchOpts, sink chan<- *DebitsWithheld, token []common.Address, owner []common.Address) (event.Subscription, error)
WatchWithheld is a free log subscription operation binding the contract event 0x605593e759b1d56db020a6124fe8807317bdfe513fd666b5b0f4ec807559d9cd.
Solidity: event Withheld(address indexed token, address indexed owner, uint256 amount)
type DebitsInitialized ¶
type DebitsInitialized struct {
Version uint8
Raw types.Log // Blockchain specific contextual infos
}
DebitsInitialized represents a Initialized event raised by the Debits contract.
type DebitsInitializedIterator ¶
type DebitsInitializedIterator struct {
Event *DebitsInitialized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
DebitsInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Debits contract.
func (*DebitsInitializedIterator) Close ¶
func (it *DebitsInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DebitsInitializedIterator) Error ¶
func (it *DebitsInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DebitsInitializedIterator) Next ¶
func (it *DebitsInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DebitsOperatorSet ¶
type DebitsOperatorSet struct {
Operator common.Address
Raw types.Log // Blockchain specific contextual infos
}
DebitsOperatorSet represents a OperatorSet event raised by the Debits contract.
type DebitsOperatorSetIterator ¶
type DebitsOperatorSetIterator struct {
Event *DebitsOperatorSet // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
DebitsOperatorSetIterator is returned from FilterOperatorSet and is used to iterate over the raw logs and unpacked data for OperatorSet events raised by the Debits contract.
func (*DebitsOperatorSetIterator) Close ¶
func (it *DebitsOperatorSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DebitsOperatorSetIterator) Error ¶
func (it *DebitsOperatorSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DebitsOperatorSetIterator) Next ¶
func (it *DebitsOperatorSetIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DebitsOwnershipTransferred ¶
type DebitsOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
DebitsOwnershipTransferred represents a OwnershipTransferred event raised by the Debits contract.
type DebitsOwnershipTransferredIterator ¶
type DebitsOwnershipTransferredIterator struct {
Event *DebitsOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
DebitsOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Debits contract.
func (*DebitsOwnershipTransferredIterator) Close ¶
func (it *DebitsOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DebitsOwnershipTransferredIterator) Error ¶
func (it *DebitsOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DebitsOwnershipTransferredIterator) Next ¶
func (it *DebitsOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DebitsRaw ¶
type DebitsRaw struct {
Contract *Debits // Generic contract binding to access the raw methods on
}
DebitsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DebitsRaw) Call ¶
func (_Debits *DebitsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*DebitsRaw) Transact ¶
func (_Debits *DebitsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DebitsRaw) Transfer ¶
func (_Debits *DebitsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type DebitsRedeemed ¶
type DebitsRedeemed struct {
Token common.Address
Owner common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
DebitsRedeemed represents a Redeemed event raised by the Debits contract.
type DebitsRedeemedIterator ¶
type DebitsRedeemedIterator struct {
Event *DebitsRedeemed // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
DebitsRedeemedIterator is returned from FilterRedeemed and is used to iterate over the raw logs and unpacked data for Redeemed events raised by the Debits contract.
func (*DebitsRedeemedIterator) Close ¶
func (it *DebitsRedeemedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DebitsRedeemedIterator) Error ¶
func (it *DebitsRedeemedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DebitsRedeemedIterator) Next ¶
func (it *DebitsRedeemedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DebitsSession ¶
type DebitsSession struct {
Contract *Debits // Generic contract binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
DebitsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DebitsSession) BalanceOf ¶
func (_Debits *DebitsSession) BalanceOf(token common.Address, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0xf7888aec.
Solidity: function balanceOf(address token, address owner) view returns(uint256)
func (*DebitsSession) Deposit ¶
func (_Debits *DebitsSession) Deposit(token common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address token, uint256 amount) returns()
func (*DebitsSession) Distribute ¶
func (_Debits *DebitsSession) Distribute(token common.Address, _owner common.Address, _recipients []common.Address, _amounts []*big.Int) (*types.Transaction, error)
Distribute is a paid mutator transaction binding the contract method 0x0e054260.
Solidity: function distribute(address token, address _owner, address[] _recipients, uint256[] _amounts) returns()
func (*DebitsSession) Initialize ¶
func (_Debits *DebitsSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*DebitsSession) Operator ¶
func (_Debits *DebitsSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*DebitsSession) Owner ¶
func (_Debits *DebitsSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*DebitsSession) Redeem ¶
func (_Debits *DebitsSession) Redeem(token common.Address, _owner common.Address, _amount *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x0e6dfcd5.
Solidity: function redeem(address token, address _owner, uint256 _amount) returns()
func (*DebitsSession) RenounceOwnership ¶
func (_Debits *DebitsSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DebitsSession) SetOperator ¶
func (_Debits *DebitsSession) SetOperator(_operator common.Address) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.
Solidity: function setOperator(address _operator) returns()
func (*DebitsSession) TransferOwnership ¶
func (_Debits *DebitsSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*DebitsSession) Withdraw ¶
func (_Debits *DebitsSession) Withdraw(_token common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _token, uint256 _amount) returns()
func (*DebitsSession) Withhold ¶
func (_Debits *DebitsSession) Withhold(token common.Address, owner common.Address, amount *big.Int) (*types.Transaction, error)
Withhold is a paid mutator transaction binding the contract method 0x914e6c02.
Solidity: function withhold(address token, address owner, uint256 amount) returns()
func (*DebitsSession) WithholdingOf ¶
func (_Debits *DebitsSession) WithholdingOf(token common.Address, owner common.Address) (*big.Int, error)
WithholdingOf is a free data retrieval call binding the contract method 0x68e3e17d.
Solidity: function withholdingOf(address token, address owner) view returns(uint256)
type DebitsTransactor ¶
type DebitsTransactor struct {
// contains filtered or unexported fields
}
DebitsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDebitsTransactor ¶
func NewDebitsTransactor(address common.Address, transactor bind.ContractTransactor) (*DebitsTransactor, error)
NewDebitsTransactor creates a new write-only instance of Debits, bound to a specific deployed contract.
func (*DebitsTransactor) Deposit ¶
func (_Debits *DebitsTransactor) Deposit(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address token, uint256 amount) returns()
func (*DebitsTransactor) Distribute ¶
func (_Debits *DebitsTransactor) Distribute(opts *bind.TransactOpts, token common.Address, _owner common.Address, _recipients []common.Address, _amounts []*big.Int) (*types.Transaction, error)
Distribute is a paid mutator transaction binding the contract method 0x0e054260.
Solidity: function distribute(address token, address _owner, address[] _recipients, uint256[] _amounts) returns()
func (*DebitsTransactor) Initialize ¶
func (_Debits *DebitsTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*DebitsTransactor) Redeem ¶
func (_Debits *DebitsTransactor) Redeem(opts *bind.TransactOpts, token common.Address, _owner common.Address, _amount *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x0e6dfcd5.
Solidity: function redeem(address token, address _owner, uint256 _amount) returns()
func (*DebitsTransactor) RenounceOwnership ¶
func (_Debits *DebitsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DebitsTransactor) SetOperator ¶
func (_Debits *DebitsTransactor) SetOperator(opts *bind.TransactOpts, _operator common.Address) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.
Solidity: function setOperator(address _operator) returns()
func (*DebitsTransactor) TransferOwnership ¶
func (_Debits *DebitsTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*DebitsTransactor) Withdraw ¶
func (_Debits *DebitsTransactor) Withdraw(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _token, uint256 _amount) returns()
func (*DebitsTransactor) Withhold ¶
func (_Debits *DebitsTransactor) Withhold(opts *bind.TransactOpts, token common.Address, owner common.Address, amount *big.Int) (*types.Transaction, error)
Withhold is a paid mutator transaction binding the contract method 0x914e6c02.
Solidity: function withhold(address token, address owner, uint256 amount) returns()
type DebitsTransactorRaw ¶
type DebitsTransactorRaw struct {
Contract *DebitsTransactor // Generic write-only contract binding to access the raw methods on
}
DebitsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DebitsTransactorRaw) Transact ¶
func (_Debits *DebitsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DebitsTransactorRaw) Transfer ¶
func (_Debits *DebitsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type DebitsTransactorSession ¶
type DebitsTransactorSession struct {
Contract *DebitsTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
DebitsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DebitsTransactorSession) Deposit ¶
func (_Debits *DebitsTransactorSession) Deposit(token common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address token, uint256 amount) returns()
func (*DebitsTransactorSession) Distribute ¶
func (_Debits *DebitsTransactorSession) Distribute(token common.Address, _owner common.Address, _recipients []common.Address, _amounts []*big.Int) (*types.Transaction, error)
Distribute is a paid mutator transaction binding the contract method 0x0e054260.
Solidity: function distribute(address token, address _owner, address[] _recipients, uint256[] _amounts) returns()
func (*DebitsTransactorSession) Initialize ¶
func (_Debits *DebitsTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*DebitsTransactorSession) Redeem ¶
func (_Debits *DebitsTransactorSession) Redeem(token common.Address, _owner common.Address, _amount *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x0e6dfcd5.
Solidity: function redeem(address token, address _owner, uint256 _amount) returns()
func (*DebitsTransactorSession) RenounceOwnership ¶
func (_Debits *DebitsTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DebitsTransactorSession) SetOperator ¶
func (_Debits *DebitsTransactorSession) SetOperator(_operator common.Address) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.
Solidity: function setOperator(address _operator) returns()
func (*DebitsTransactorSession) TransferOwnership ¶
func (_Debits *DebitsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*DebitsTransactorSession) Withdraw ¶
func (_Debits *DebitsTransactorSession) Withdraw(_token common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _token, uint256 _amount) returns()
func (*DebitsTransactorSession) Withhold ¶
func (_Debits *DebitsTransactorSession) Withhold(token common.Address, owner common.Address, amount *big.Int) (*types.Transaction, error)
Withhold is a paid mutator transaction binding the contract method 0x914e6c02.
Solidity: function withhold(address token, address owner, uint256 amount) returns()
type DebitsWithdrawn ¶
type DebitsWithdrawn struct {
Token common.Address
Owner common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
DebitsWithdrawn represents a Withdrawn event raised by the Debits contract.
type DebitsWithdrawnIterator ¶
type DebitsWithdrawnIterator struct {
Event *DebitsWithdrawn // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
DebitsWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the Debits contract.
func (*DebitsWithdrawnIterator) Close ¶
func (it *DebitsWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DebitsWithdrawnIterator) Error ¶
func (it *DebitsWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DebitsWithdrawnIterator) Next ¶
func (it *DebitsWithdrawnIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type DebitsWithheld ¶
type DebitsWithheld struct {
Token common.Address
Owner common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
DebitsWithheld represents a Withheld event raised by the Debits contract.
type DebitsWithheldIterator ¶
type DebitsWithheldIterator struct {
Event *DebitsWithheld // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
DebitsWithheldIterator is returned from FilterWithheld and is used to iterate over the raw logs and unpacked data for Withheld events raised by the Debits contract.
func (*DebitsWithheldIterator) Close ¶
func (it *DebitsWithheldIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DebitsWithheldIterator) Error ¶
func (it *DebitsWithheldIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DebitsWithheldIterator) Next ¶
func (it *DebitsWithheldIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.