Documentation ¶
Index ¶
- Variables
- type Currencyreceiver
- type CurrencyreceiverCaller
- func (_Currencyreceiver *CurrencyreceiverCaller) BalanceOf(opts *bind.CallOpts, currency common.Address) (*big.Int, error)
- func (_Currencyreceiver *CurrencyreceiverCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Currencyreceiver *CurrencyreceiverCaller) REFUNDROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Currencyreceiver *CurrencyreceiverCaller) WITHDRAWROLE(opts *bind.CallOpts) ([32]byte, error)
- type CurrencyreceiverCallerRaw
- type CurrencyreceiverCallerSession
- func (_Currencyreceiver *CurrencyreceiverCallerSession) BalanceOf(currency common.Address) (*big.Int, error)
- func (_Currencyreceiver *CurrencyreceiverCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Currencyreceiver *CurrencyreceiverCallerSession) REFUNDROLE() ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Currencyreceiver *CurrencyreceiverCallerSession) WITHDRAWROLE() ([32]byte, error)
- type CurrencyreceiverFilterer
- func (_Currencyreceiver *CurrencyreceiverFilterer) FilterPay(opts *bind.FilterOpts, currency []common.Address, from []common.Address) (*CurrencyreceiverPayIterator, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) FilterRefund(opts *bind.FilterOpts, currency []common.Address, to []common.Address) (*CurrencyreceiverRefundIterator, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*CurrencyreceiverRoleAdminChangedIterator, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*CurrencyreceiverRoleGrantedIterator, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*CurrencyreceiverRoleRevokedIterator, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) FilterWithdraw(opts *bind.FilterOpts, currency []common.Address, to []common.Address) (*CurrencyreceiverWithdrawIterator, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) ParsePay(log types.Log) (*CurrencyreceiverPay, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) ParseRefund(log types.Log) (*CurrencyreceiverRefund, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) ParseRoleAdminChanged(log types.Log) (*CurrencyreceiverRoleAdminChanged, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) ParseRoleGranted(log types.Log) (*CurrencyreceiverRoleGranted, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) ParseRoleRevoked(log types.Log) (*CurrencyreceiverRoleRevoked, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) ParseWithdraw(log types.Log) (*CurrencyreceiverWithdraw, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) WatchPay(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverPay, ...) (event.Subscription, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) WatchRefund(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverRefund, ...) (event.Subscription, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverRoleAdminChanged, ...) (event.Subscription, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverRoleGranted, ...) (event.Subscription, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverRoleRevoked, ...) (event.Subscription, error)
- func (_Currencyreceiver *CurrencyreceiverFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverWithdraw, ...) (event.Subscription, error)
- type CurrencyreceiverPay
- type CurrencyreceiverPayIterator
- type CurrencyreceiverRaw
- func (_Currencyreceiver *CurrencyreceiverRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Currencyreceiver *CurrencyreceiverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CurrencyreceiverRefund
- type CurrencyreceiverRefundIterator
- type CurrencyreceiverRoleAdminChanged
- type CurrencyreceiverRoleAdminChangedIterator
- type CurrencyreceiverRoleGranted
- type CurrencyreceiverRoleGrantedIterator
- type CurrencyreceiverRoleRevoked
- type CurrencyreceiverRoleRevokedIterator
- type CurrencyreceiverSession
- func (_Currencyreceiver *CurrencyreceiverSession) BalanceOf(currency common.Address) (*big.Int, error)
- func (_Currencyreceiver *CurrencyreceiverSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Currencyreceiver *CurrencyreceiverSession) Pay(currency common.Address, amount *big.Int, orderId string) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverSession) REFUNDROLE() ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverSession) Refund(currency []common.Address, amount []*big.Int, to []common.Address, ...) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Currencyreceiver *CurrencyreceiverSession) WITHDRAWROLE() ([32]byte, error)
- func (_Currencyreceiver *CurrencyreceiverSession) Withdraw(currency []common.Address, amount []*big.Int, to []common.Address, ...) (*types.Transaction, error)
- type CurrencyreceiverTransactor
- func (_Currencyreceiver *CurrencyreceiverTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactor) Pay(opts *bind.TransactOpts, currency common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactor) Refund(opts *bind.TransactOpts, currency []common.Address, amount []*big.Int, ...) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactor) Withdraw(opts *bind.TransactOpts, currency []common.Address, amount []*big.Int, ...) (*types.Transaction, error)
- type CurrencyreceiverTransactorRaw
- type CurrencyreceiverTransactorSession
- func (_Currencyreceiver *CurrencyreceiverTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactorSession) Pay(currency common.Address, amount *big.Int, orderId string) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactorSession) Refund(currency []common.Address, amount []*big.Int, to []common.Address, ...) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Currencyreceiver *CurrencyreceiverTransactorSession) Withdraw(currency []common.Address, amount []*big.Int, to []common.Address, ...) (*types.Transaction, error)
- type CurrencyreceiverWithdraw
- type CurrencyreceiverWithdrawIterator
Constants ¶
This section is empty.
Variables ¶
var CurrencyreceiverABI = CurrencyreceiverMetaData.ABI
CurrencyreceiverABI is the input ABI used to generate the binding from. Deprecated: Use CurrencyreceiverMetaData.ABI instead.
var CurrencyreceiverMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"orderId\",\"type\":\"string\"}],\"name\":\"Pay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"orderId\",\"type\":\"string\"}],\"name\":\"Refund\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REFUND_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WITHDRAW_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"orderId\",\"type\":\"string\"}],\"name\":\"pay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"currency\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amount\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"to\",\"type\":\"address[]\"},{\"internalType\":\"string[]\",\"name\":\"orderId\",\"type\":\"string[]\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"currency\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amount\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"to\",\"type\":\"address[]\"},{\"internalType\":\"string[]\",\"name\":\"billId\",\"type\":\"string[]\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
CurrencyreceiverMetaData contains all meta data concerning the Currencyreceiver contract.
Functions ¶
This section is empty.
Types ¶
type Currencyreceiver ¶
type Currencyreceiver struct { CurrencyreceiverCaller // Read-only binding to the contract CurrencyreceiverTransactor // Write-only binding to the contract CurrencyreceiverFilterer // Log filterer for contract events }
Currencyreceiver is an auto generated Go binding around an Ethereum contract.
func NewCurrencyreceiver ¶
func NewCurrencyreceiver(address common.Address, backend bind.ContractBackend) (*Currencyreceiver, error)
NewCurrencyreceiver creates a new instance of Currencyreceiver, bound to a specific deployed contract.
type CurrencyreceiverCaller ¶
type CurrencyreceiverCaller struct {
// contains filtered or unexported fields
}
CurrencyreceiverCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCurrencyreceiverCaller ¶
func NewCurrencyreceiverCaller(address common.Address, caller bind.ContractCaller) (*CurrencyreceiverCaller, error)
NewCurrencyreceiverCaller creates a new read-only instance of Currencyreceiver, bound to a specific deployed contract.
func (*CurrencyreceiverCaller) BalanceOf ¶
func (_Currencyreceiver *CurrencyreceiverCaller) BalanceOf(opts *bind.CallOpts, currency common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address currency) view returns(uint256)
func (*CurrencyreceiverCaller) DEFAULTADMINROLE ¶
func (_Currencyreceiver *CurrencyreceiverCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*CurrencyreceiverCaller) GetRoleAdmin ¶
func (_Currencyreceiver *CurrencyreceiverCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*CurrencyreceiverCaller) HasRole ¶
func (_Currencyreceiver *CurrencyreceiverCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*CurrencyreceiverCaller) REFUNDROLE ¶
func (_Currencyreceiver *CurrencyreceiverCaller) REFUNDROLE(opts *bind.CallOpts) ([32]byte, error)
REFUNDROLE is a free data retrieval call binding the contract method 0x627c0906.
Solidity: function REFUND_ROLE() view returns(bytes32)
func (*CurrencyreceiverCaller) SupportsInterface ¶
func (_Currencyreceiver *CurrencyreceiverCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CurrencyreceiverCaller) WITHDRAWROLE ¶
func (_Currencyreceiver *CurrencyreceiverCaller) WITHDRAWROLE(opts *bind.CallOpts) ([32]byte, error)
WITHDRAWROLE is a free data retrieval call binding the contract method 0xe02023a1.
Solidity: function WITHDRAW_ROLE() view returns(bytes32)
type CurrencyreceiverCallerRaw ¶
type CurrencyreceiverCallerRaw struct {
Contract *CurrencyreceiverCaller // Generic read-only contract binding to access the raw methods on
}
CurrencyreceiverCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CurrencyreceiverCallerRaw) Call ¶
func (_Currencyreceiver *CurrencyreceiverCallerRaw) 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 CurrencyreceiverCallerSession ¶
type CurrencyreceiverCallerSession struct { Contract *CurrencyreceiverCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CurrencyreceiverCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CurrencyreceiverCallerSession) BalanceOf ¶
func (_Currencyreceiver *CurrencyreceiverCallerSession) BalanceOf(currency common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address currency) view returns(uint256)
func (*CurrencyreceiverCallerSession) DEFAULTADMINROLE ¶
func (_Currencyreceiver *CurrencyreceiverCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*CurrencyreceiverCallerSession) GetRoleAdmin ¶
func (_Currencyreceiver *CurrencyreceiverCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*CurrencyreceiverCallerSession) HasRole ¶
func (_Currencyreceiver *CurrencyreceiverCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*CurrencyreceiverCallerSession) REFUNDROLE ¶
func (_Currencyreceiver *CurrencyreceiverCallerSession) REFUNDROLE() ([32]byte, error)
REFUNDROLE is a free data retrieval call binding the contract method 0x627c0906.
Solidity: function REFUND_ROLE() view returns(bytes32)
func (*CurrencyreceiverCallerSession) SupportsInterface ¶
func (_Currencyreceiver *CurrencyreceiverCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CurrencyreceiverCallerSession) WITHDRAWROLE ¶
func (_Currencyreceiver *CurrencyreceiverCallerSession) WITHDRAWROLE() ([32]byte, error)
WITHDRAWROLE is a free data retrieval call binding the contract method 0xe02023a1.
Solidity: function WITHDRAW_ROLE() view returns(bytes32)
type CurrencyreceiverFilterer ¶
type CurrencyreceiverFilterer struct {
// contains filtered or unexported fields
}
CurrencyreceiverFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCurrencyreceiverFilterer ¶
func NewCurrencyreceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*CurrencyreceiverFilterer, error)
NewCurrencyreceiverFilterer creates a new log filterer instance of Currencyreceiver, bound to a specific deployed contract.
func (*CurrencyreceiverFilterer) FilterPay ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) FilterPay(opts *bind.FilterOpts, currency []common.Address, from []common.Address) (*CurrencyreceiverPayIterator, error)
FilterPay is a free log retrieval operation binding the contract event 0x5d2ae1cdca5222ec8fffbc4b088f5b5144ad5f4eaf2fc8afc49cd35857671082.
Solidity: event Pay(address indexed currency, address indexed from, uint256 amount, string orderId)
func (*CurrencyreceiverFilterer) FilterRefund ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) FilterRefund(opts *bind.FilterOpts, currency []common.Address, to []common.Address) (*CurrencyreceiverRefundIterator, error)
FilterRefund is a free log retrieval operation binding the contract event 0x1a50ff908577c6023d20715c654df4d0ac65bbb4ee6422490751a0489f85dc67.
Solidity: event Refund(address indexed currency, uint256 amount, address indexed to, string orderId)
func (*CurrencyreceiverFilterer) FilterRoleAdminChanged ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*CurrencyreceiverRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*CurrencyreceiverFilterer) FilterRoleGranted ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*CurrencyreceiverRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*CurrencyreceiverFilterer) FilterRoleRevoked ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*CurrencyreceiverRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*CurrencyreceiverFilterer) FilterWithdraw ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) FilterWithdraw(opts *bind.FilterOpts, currency []common.Address, to []common.Address) (*CurrencyreceiverWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0xa4c6cd4bfefcc09490a00cf1f79a859de6f34c1da3186bb65d5102b1b8445547.
Solidity: event Withdraw(address indexed currency, uint256 amount, address indexed to, string billId)
func (*CurrencyreceiverFilterer) ParsePay ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) ParsePay(log types.Log) (*CurrencyreceiverPay, error)
ParsePay is a log parse operation binding the contract event 0x5d2ae1cdca5222ec8fffbc4b088f5b5144ad5f4eaf2fc8afc49cd35857671082.
Solidity: event Pay(address indexed currency, address indexed from, uint256 amount, string orderId)
func (*CurrencyreceiverFilterer) ParseRefund ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) ParseRefund(log types.Log) (*CurrencyreceiverRefund, error)
ParseRefund is a log parse operation binding the contract event 0x1a50ff908577c6023d20715c654df4d0ac65bbb4ee6422490751a0489f85dc67.
Solidity: event Refund(address indexed currency, uint256 amount, address indexed to, string orderId)
func (*CurrencyreceiverFilterer) ParseRoleAdminChanged ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) ParseRoleAdminChanged(log types.Log) (*CurrencyreceiverRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*CurrencyreceiverFilterer) ParseRoleGranted ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) ParseRoleGranted(log types.Log) (*CurrencyreceiverRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*CurrencyreceiverFilterer) ParseRoleRevoked ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) ParseRoleRevoked(log types.Log) (*CurrencyreceiverRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*CurrencyreceiverFilterer) ParseWithdraw ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) ParseWithdraw(log types.Log) (*CurrencyreceiverWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0xa4c6cd4bfefcc09490a00cf1f79a859de6f34c1da3186bb65d5102b1b8445547.
Solidity: event Withdraw(address indexed currency, uint256 amount, address indexed to, string billId)
func (*CurrencyreceiverFilterer) WatchPay ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) WatchPay(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverPay, currency []common.Address, from []common.Address) (event.Subscription, error)
WatchPay is a free log subscription operation binding the contract event 0x5d2ae1cdca5222ec8fffbc4b088f5b5144ad5f4eaf2fc8afc49cd35857671082.
Solidity: event Pay(address indexed currency, address indexed from, uint256 amount, string orderId)
func (*CurrencyreceiverFilterer) WatchRefund ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) WatchRefund(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverRefund, currency []common.Address, to []common.Address) (event.Subscription, error)
WatchRefund is a free log subscription operation binding the contract event 0x1a50ff908577c6023d20715c654df4d0ac65bbb4ee6422490751a0489f85dc67.
Solidity: event Refund(address indexed currency, uint256 amount, address indexed to, string orderId)
func (*CurrencyreceiverFilterer) WatchRoleAdminChanged ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*CurrencyreceiverFilterer) WatchRoleGranted ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*CurrencyreceiverFilterer) WatchRoleRevoked ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*CurrencyreceiverFilterer) WatchWithdraw ¶
func (_Currencyreceiver *CurrencyreceiverFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *CurrencyreceiverWithdraw, currency []common.Address, to []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0xa4c6cd4bfefcc09490a00cf1f79a859de6f34c1da3186bb65d5102b1b8445547.
Solidity: event Withdraw(address indexed currency, uint256 amount, address indexed to, string billId)
type CurrencyreceiverPay ¶
type CurrencyreceiverPay struct { Currency common.Address From common.Address Amount *big.Int OrderId string Raw types.Log // Blockchain specific contextual infos }
CurrencyreceiverPay represents a Pay event raised by the Currencyreceiver contract.
type CurrencyreceiverPayIterator ¶
type CurrencyreceiverPayIterator struct { Event *CurrencyreceiverPay // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurrencyreceiverPayIterator is returned from FilterPay and is used to iterate over the raw logs and unpacked data for Pay events raised by the Currencyreceiver contract.
func (*CurrencyreceiverPayIterator) Close ¶
func (it *CurrencyreceiverPayIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurrencyreceiverPayIterator) Error ¶
func (it *CurrencyreceiverPayIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurrencyreceiverPayIterator) Next ¶
func (it *CurrencyreceiverPayIterator) 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 CurrencyreceiverRaw ¶
type CurrencyreceiverRaw struct {
Contract *Currencyreceiver // Generic contract binding to access the raw methods on
}
CurrencyreceiverRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CurrencyreceiverRaw) Call ¶
func (_Currencyreceiver *CurrencyreceiverRaw) 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 (*CurrencyreceiverRaw) Transact ¶
func (_Currencyreceiver *CurrencyreceiverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurrencyreceiverRaw) Transfer ¶
func (_Currencyreceiver *CurrencyreceiverRaw) 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 CurrencyreceiverRefund ¶
type CurrencyreceiverRefund struct { Currency common.Address Amount *big.Int To common.Address OrderId string Raw types.Log // Blockchain specific contextual infos }
CurrencyreceiverRefund represents a Refund event raised by the Currencyreceiver contract.
type CurrencyreceiverRefundIterator ¶
type CurrencyreceiverRefundIterator struct { Event *CurrencyreceiverRefund // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurrencyreceiverRefundIterator is returned from FilterRefund and is used to iterate over the raw logs and unpacked data for Refund events raised by the Currencyreceiver contract.
func (*CurrencyreceiverRefundIterator) Close ¶
func (it *CurrencyreceiverRefundIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurrencyreceiverRefundIterator) Error ¶
func (it *CurrencyreceiverRefundIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurrencyreceiverRefundIterator) Next ¶
func (it *CurrencyreceiverRefundIterator) 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 CurrencyreceiverRoleAdminChanged ¶
type CurrencyreceiverRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
CurrencyreceiverRoleAdminChanged represents a RoleAdminChanged event raised by the Currencyreceiver contract.
type CurrencyreceiverRoleAdminChangedIterator ¶
type CurrencyreceiverRoleAdminChangedIterator struct { Event *CurrencyreceiverRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurrencyreceiverRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Currencyreceiver contract.
func (*CurrencyreceiverRoleAdminChangedIterator) Close ¶
func (it *CurrencyreceiverRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurrencyreceiverRoleAdminChangedIterator) Error ¶
func (it *CurrencyreceiverRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurrencyreceiverRoleAdminChangedIterator) Next ¶
func (it *CurrencyreceiverRoleAdminChangedIterator) 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 CurrencyreceiverRoleGranted ¶
type CurrencyreceiverRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
CurrencyreceiverRoleGranted represents a RoleGranted event raised by the Currencyreceiver contract.
type CurrencyreceiverRoleGrantedIterator ¶
type CurrencyreceiverRoleGrantedIterator struct { Event *CurrencyreceiverRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurrencyreceiverRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Currencyreceiver contract.
func (*CurrencyreceiverRoleGrantedIterator) Close ¶
func (it *CurrencyreceiverRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurrencyreceiverRoleGrantedIterator) Error ¶
func (it *CurrencyreceiverRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurrencyreceiverRoleGrantedIterator) Next ¶
func (it *CurrencyreceiverRoleGrantedIterator) 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 CurrencyreceiverRoleRevoked ¶
type CurrencyreceiverRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
CurrencyreceiverRoleRevoked represents a RoleRevoked event raised by the Currencyreceiver contract.
type CurrencyreceiverRoleRevokedIterator ¶
type CurrencyreceiverRoleRevokedIterator struct { Event *CurrencyreceiverRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurrencyreceiverRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Currencyreceiver contract.
func (*CurrencyreceiverRoleRevokedIterator) Close ¶
func (it *CurrencyreceiverRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurrencyreceiverRoleRevokedIterator) Error ¶
func (it *CurrencyreceiverRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurrencyreceiverRoleRevokedIterator) Next ¶
func (it *CurrencyreceiverRoleRevokedIterator) 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 CurrencyreceiverSession ¶
type CurrencyreceiverSession struct { Contract *Currencyreceiver // 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 }
CurrencyreceiverSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CurrencyreceiverSession) BalanceOf ¶
func (_Currencyreceiver *CurrencyreceiverSession) BalanceOf(currency common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address currency) view returns(uint256)
func (*CurrencyreceiverSession) DEFAULTADMINROLE ¶
func (_Currencyreceiver *CurrencyreceiverSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*CurrencyreceiverSession) GetRoleAdmin ¶
func (_Currencyreceiver *CurrencyreceiverSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*CurrencyreceiverSession) GrantRole ¶
func (_Currencyreceiver *CurrencyreceiverSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*CurrencyreceiverSession) HasRole ¶
func (_Currencyreceiver *CurrencyreceiverSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*CurrencyreceiverSession) Pay ¶
func (_Currencyreceiver *CurrencyreceiverSession) Pay(currency common.Address, amount *big.Int, orderId string) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x4a4bdb30.
Solidity: function pay(address currency, uint256 amount, string orderId) returns()
func (*CurrencyreceiverSession) REFUNDROLE ¶
func (_Currencyreceiver *CurrencyreceiverSession) REFUNDROLE() ([32]byte, error)
REFUNDROLE is a free data retrieval call binding the contract method 0x627c0906.
Solidity: function REFUND_ROLE() view returns(bytes32)
func (*CurrencyreceiverSession) Refund ¶
func (_Currencyreceiver *CurrencyreceiverSession) Refund(currency []common.Address, amount []*big.Int, to []common.Address, orderId []string) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0x56edb469.
Solidity: function refund(address[] currency, uint256[] amount, address[] to, string[] orderId) returns()
func (*CurrencyreceiverSession) RenounceRole ¶
func (_Currencyreceiver *CurrencyreceiverSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*CurrencyreceiverSession) RevokeRole ¶
func (_Currencyreceiver *CurrencyreceiverSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*CurrencyreceiverSession) SupportsInterface ¶
func (_Currencyreceiver *CurrencyreceiverSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CurrencyreceiverSession) WITHDRAWROLE ¶
func (_Currencyreceiver *CurrencyreceiverSession) WITHDRAWROLE() ([32]byte, error)
WITHDRAWROLE is a free data retrieval call binding the contract method 0xe02023a1.
Solidity: function WITHDRAW_ROLE() view returns(bytes32)
func (*CurrencyreceiverSession) Withdraw ¶
func (_Currencyreceiver *CurrencyreceiverSession) Withdraw(currency []common.Address, amount []*big.Int, to []common.Address, billId []string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xea4e6c5c.
Solidity: function withdraw(address[] currency, uint256[] amount, address[] to, string[] billId) returns()
type CurrencyreceiverTransactor ¶
type CurrencyreceiverTransactor struct {
// contains filtered or unexported fields
}
CurrencyreceiverTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCurrencyreceiverTransactor ¶
func NewCurrencyreceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*CurrencyreceiverTransactor, error)
NewCurrencyreceiverTransactor creates a new write-only instance of Currencyreceiver, bound to a specific deployed contract.
func (*CurrencyreceiverTransactor) GrantRole ¶
func (_Currencyreceiver *CurrencyreceiverTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*CurrencyreceiverTransactor) Pay ¶
func (_Currencyreceiver *CurrencyreceiverTransactor) Pay(opts *bind.TransactOpts, currency common.Address, amount *big.Int, orderId string) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x4a4bdb30.
Solidity: function pay(address currency, uint256 amount, string orderId) returns()
func (*CurrencyreceiverTransactor) Refund ¶
func (_Currencyreceiver *CurrencyreceiverTransactor) Refund(opts *bind.TransactOpts, currency []common.Address, amount []*big.Int, to []common.Address, orderId []string) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0x56edb469.
Solidity: function refund(address[] currency, uint256[] amount, address[] to, string[] orderId) returns()
func (*CurrencyreceiverTransactor) RenounceRole ¶
func (_Currencyreceiver *CurrencyreceiverTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*CurrencyreceiverTransactor) RevokeRole ¶
func (_Currencyreceiver *CurrencyreceiverTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*CurrencyreceiverTransactor) Withdraw ¶
func (_Currencyreceiver *CurrencyreceiverTransactor) Withdraw(opts *bind.TransactOpts, currency []common.Address, amount []*big.Int, to []common.Address, billId []string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xea4e6c5c.
Solidity: function withdraw(address[] currency, uint256[] amount, address[] to, string[] billId) returns()
type CurrencyreceiverTransactorRaw ¶
type CurrencyreceiverTransactorRaw struct {
Contract *CurrencyreceiverTransactor // Generic write-only contract binding to access the raw methods on
}
CurrencyreceiverTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CurrencyreceiverTransactorRaw) Transact ¶
func (_Currencyreceiver *CurrencyreceiverTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurrencyreceiverTransactorRaw) Transfer ¶
func (_Currencyreceiver *CurrencyreceiverTransactorRaw) 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 CurrencyreceiverTransactorSession ¶
type CurrencyreceiverTransactorSession struct { Contract *CurrencyreceiverTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CurrencyreceiverTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CurrencyreceiverTransactorSession) GrantRole ¶
func (_Currencyreceiver *CurrencyreceiverTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*CurrencyreceiverTransactorSession) Pay ¶
func (_Currencyreceiver *CurrencyreceiverTransactorSession) Pay(currency common.Address, amount *big.Int, orderId string) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x4a4bdb30.
Solidity: function pay(address currency, uint256 amount, string orderId) returns()
func (*CurrencyreceiverTransactorSession) Refund ¶
func (_Currencyreceiver *CurrencyreceiverTransactorSession) Refund(currency []common.Address, amount []*big.Int, to []common.Address, orderId []string) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0x56edb469.
Solidity: function refund(address[] currency, uint256[] amount, address[] to, string[] orderId) returns()
func (*CurrencyreceiverTransactorSession) RenounceRole ¶
func (_Currencyreceiver *CurrencyreceiverTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*CurrencyreceiverTransactorSession) RevokeRole ¶
func (_Currencyreceiver *CurrencyreceiverTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*CurrencyreceiverTransactorSession) Withdraw ¶
func (_Currencyreceiver *CurrencyreceiverTransactorSession) Withdraw(currency []common.Address, amount []*big.Int, to []common.Address, billId []string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xea4e6c5c.
Solidity: function withdraw(address[] currency, uint256[] amount, address[] to, string[] billId) returns()
type CurrencyreceiverWithdraw ¶
type CurrencyreceiverWithdraw struct { Currency common.Address Amount *big.Int To common.Address BillId string Raw types.Log // Blockchain specific contextual infos }
CurrencyreceiverWithdraw represents a Withdraw event raised by the Currencyreceiver contract.
type CurrencyreceiverWithdrawIterator ¶
type CurrencyreceiverWithdrawIterator struct { Event *CurrencyreceiverWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurrencyreceiverWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Currencyreceiver contract.
func (*CurrencyreceiverWithdrawIterator) Close ¶
func (it *CurrencyreceiverWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurrencyreceiverWithdrawIterator) Error ¶
func (it *CurrencyreceiverWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurrencyreceiverWithdrawIterator) Next ¶
func (it *CurrencyreceiverWithdrawIterator) 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.