Documentation
¶
Index ¶
- Variables
- type Orderpayment
- type OrderpaymentCaller
- func (_Orderpayment *OrderpaymentCaller) BaseToken(opts *bind.CallOpts) (common.Address, error)
- func (_Orderpayment *OrderpaymentCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_Orderpayment *OrderpaymentCaller) OrderIds(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Orderpayment *OrderpaymentCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type OrderpaymentCallerRaw
- type OrderpaymentCallerSession
- func (_Orderpayment *OrderpaymentCallerSession) BaseToken() (common.Address, error)
- func (_Orderpayment *OrderpaymentCallerSession) GetChainId() (*big.Int, error)
- func (_Orderpayment *OrderpaymentCallerSession) OrderIds(arg0 [32]byte) (bool, error)
- func (_Orderpayment *OrderpaymentCallerSession) Owner() (common.Address, error)
- type OrderpaymentFilterer
- func (_Orderpayment *OrderpaymentFilterer) FilterInitialized(opts *bind.FilterOpts) (*OrderpaymentInitializedIterator, error)
- func (_Orderpayment *OrderpaymentFilterer) FilterOrderPaid(opts *bind.FilterOpts, orderId [][32]byte, buyer []common.Address, ...) (*OrderpaymentOrderPaidIterator, error)
- func (_Orderpayment *OrderpaymentFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OrderpaymentOwnershipTransferredIterator, error)
- func (_Orderpayment *OrderpaymentFilterer) ParseInitialized(log types.Log) (*OrderpaymentInitialized, error)
- func (_Orderpayment *OrderpaymentFilterer) ParseOrderPaid(log types.Log) (*OrderpaymentOrderPaid, error)
- func (_Orderpayment *OrderpaymentFilterer) ParseOwnershipTransferred(log types.Log) (*OrderpaymentOwnershipTransferred, error)
- func (_Orderpayment *OrderpaymentFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OrderpaymentInitialized) (event.Subscription, error)
- func (_Orderpayment *OrderpaymentFilterer) WatchOrderPaid(opts *bind.WatchOpts, sink chan<- *OrderpaymentOrderPaid, orderId [][32]byte, ...) (event.Subscription, error)
- func (_Orderpayment *OrderpaymentFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OrderpaymentOwnershipTransferred, ...) (event.Subscription, error)
- type OrderpaymentInitialized
- type OrderpaymentInitializedIterator
- type OrderpaymentOrderPaid
- type OrderpaymentOrderPaidIterator
- type OrderpaymentOwnershipTransferred
- type OrderpaymentOwnershipTransferredIterator
- type OrderpaymentRaw
- func (_Orderpayment *OrderpaymentRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Orderpayment *OrderpaymentRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OrderpaymentSession
- func (_Orderpayment *OrderpaymentSession) BaseToken() (common.Address, error)
- func (_Orderpayment *OrderpaymentSession) GetChainId() (*big.Int, error)
- func (_Orderpayment *OrderpaymentSession) Initialize(_baseToken common.Address) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentSession) Multicall(data [][]byte) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentSession) OrderIds(arg0 [32]byte) (bool, error)
- func (_Orderpayment *OrderpaymentSession) Owner() (common.Address, error)
- func (_Orderpayment *OrderpaymentSession) PayOrder(orderId [32]byte, seller common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentSession) RenounceOwnership() (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OrderpaymentTransactor
- func (_Orderpayment *OrderpaymentTransactor) Initialize(opts *bind.TransactOpts, _baseToken common.Address) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentTransactor) PayOrder(opts *bind.TransactOpts, orderId [32]byte, seller common.Address, ...) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type OrderpaymentTransactorRaw
- type OrderpaymentTransactorSession
- func (_Orderpayment *OrderpaymentTransactorSession) Initialize(_baseToken common.Address) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentTransactorSession) PayOrder(orderId [32]byte, seller common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Orderpayment *OrderpaymentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var OrderpaymentABI = OrderpaymentMetaData.ABI
OrderpaymentABI is the input ABI used to generate the binding from. Deprecated: Use OrderpaymentMetaData.ABI instead.
var OrderpaymentMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"orderId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"OrderPaid\",\"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\"},{\"inputs\":[],\"name\":\"baseToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_baseToken\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"orderIds\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"payOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
OrderpaymentMetaData contains all meta data concerning the Orderpayment contract.
Functions ¶
This section is empty.
Types ¶
type Orderpayment ¶
type Orderpayment struct { OrderpaymentCaller // Read-only binding to the contract OrderpaymentTransactor // Write-only binding to the contract OrderpaymentFilterer // Log filterer for contract events }
Orderpayment is an auto generated Go binding around an Ethereum contract.
func NewOrderpayment ¶
func NewOrderpayment(address common.Address, backend bind.ContractBackend) (*Orderpayment, error)
NewOrderpayment creates a new instance of Orderpayment, bound to a specific deployed contract.
type OrderpaymentCaller ¶
type OrderpaymentCaller struct {
// contains filtered or unexported fields
}
OrderpaymentCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOrderpaymentCaller ¶
func NewOrderpaymentCaller(address common.Address, caller bind.ContractCaller) (*OrderpaymentCaller, error)
NewOrderpaymentCaller creates a new read-only instance of Orderpayment, bound to a specific deployed contract.
func (*OrderpaymentCaller) BaseToken ¶
BaseToken is a free data retrieval call binding the contract method 0xc55dae63.
Solidity: function baseToken() view returns(address)
func (*OrderpaymentCaller) GetChainId ¶
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
type OrderpaymentCallerRaw ¶
type OrderpaymentCallerRaw struct {
Contract *OrderpaymentCaller // Generic read-only contract binding to access the raw methods on
}
OrderpaymentCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OrderpaymentCallerRaw) Call ¶
func (_Orderpayment *OrderpaymentCallerRaw) 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 OrderpaymentCallerSession ¶
type OrderpaymentCallerSession struct { Contract *OrderpaymentCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OrderpaymentCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OrderpaymentCallerSession) BaseToken ¶
func (_Orderpayment *OrderpaymentCallerSession) BaseToken() (common.Address, error)
BaseToken is a free data retrieval call binding the contract method 0xc55dae63.
Solidity: function baseToken() view returns(address)
func (*OrderpaymentCallerSession) GetChainId ¶
func (_Orderpayment *OrderpaymentCallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
type OrderpaymentFilterer ¶
type OrderpaymentFilterer struct {
// contains filtered or unexported fields
}
OrderpaymentFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOrderpaymentFilterer ¶
func NewOrderpaymentFilterer(address common.Address, filterer bind.ContractFilterer) (*OrderpaymentFilterer, error)
NewOrderpaymentFilterer creates a new log filterer instance of Orderpayment, bound to a specific deployed contract.
func (*OrderpaymentFilterer) FilterInitialized ¶
func (_Orderpayment *OrderpaymentFilterer) FilterInitialized(opts *bind.FilterOpts) (*OrderpaymentInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OrderpaymentFilterer) FilterOrderPaid ¶
func (_Orderpayment *OrderpaymentFilterer) FilterOrderPaid(opts *bind.FilterOpts, orderId [][32]byte, buyer []common.Address, seller []common.Address) (*OrderpaymentOrderPaidIterator, error)
FilterOrderPaid is a free log retrieval operation binding the contract event 0xc2522570932e6dff27df2e5c31cfd70be3653d564375e29575d4360aafca4eb5.
Solidity: event OrderPaid(bytes32 indexed orderId, address indexed buyer, address indexed seller, uint256 amount)
func (*OrderpaymentFilterer) FilterOwnershipTransferred ¶
func (_Orderpayment *OrderpaymentFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OrderpaymentOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OrderpaymentFilterer) ParseInitialized ¶
func (_Orderpayment *OrderpaymentFilterer) ParseInitialized(log types.Log) (*OrderpaymentInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OrderpaymentFilterer) ParseOrderPaid ¶
func (_Orderpayment *OrderpaymentFilterer) ParseOrderPaid(log types.Log) (*OrderpaymentOrderPaid, error)
ParseOrderPaid is a log parse operation binding the contract event 0xc2522570932e6dff27df2e5c31cfd70be3653d564375e29575d4360aafca4eb5.
Solidity: event OrderPaid(bytes32 indexed orderId, address indexed buyer, address indexed seller, uint256 amount)
func (*OrderpaymentFilterer) ParseOwnershipTransferred ¶
func (_Orderpayment *OrderpaymentFilterer) ParseOwnershipTransferred(log types.Log) (*OrderpaymentOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OrderpaymentFilterer) WatchInitialized ¶
func (_Orderpayment *OrderpaymentFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OrderpaymentInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OrderpaymentFilterer) WatchOrderPaid ¶
func (_Orderpayment *OrderpaymentFilterer) WatchOrderPaid(opts *bind.WatchOpts, sink chan<- *OrderpaymentOrderPaid, orderId [][32]byte, buyer []common.Address, seller []common.Address) (event.Subscription, error)
WatchOrderPaid is a free log subscription operation binding the contract event 0xc2522570932e6dff27df2e5c31cfd70be3653d564375e29575d4360aafca4eb5.
Solidity: event OrderPaid(bytes32 indexed orderId, address indexed buyer, address indexed seller, uint256 amount)
func (*OrderpaymentFilterer) WatchOwnershipTransferred ¶
func (_Orderpayment *OrderpaymentFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OrderpaymentOwnershipTransferred, 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)
type OrderpaymentInitialized ¶
type OrderpaymentInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
OrderpaymentInitialized represents a Initialized event raised by the Orderpayment contract.
type OrderpaymentInitializedIterator ¶
type OrderpaymentInitializedIterator struct { Event *OrderpaymentInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OrderpaymentInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Orderpayment contract.
func (*OrderpaymentInitializedIterator) Close ¶
func (it *OrderpaymentInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OrderpaymentInitializedIterator) Error ¶
func (it *OrderpaymentInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OrderpaymentInitializedIterator) Next ¶
func (it *OrderpaymentInitializedIterator) 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 OrderpaymentOrderPaid ¶
type OrderpaymentOrderPaid struct { OrderId [32]byte Buyer common.Address Seller common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
OrderpaymentOrderPaid represents a OrderPaid event raised by the Orderpayment contract.
type OrderpaymentOrderPaidIterator ¶
type OrderpaymentOrderPaidIterator struct { Event *OrderpaymentOrderPaid // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OrderpaymentOrderPaidIterator is returned from FilterOrderPaid and is used to iterate over the raw logs and unpacked data for OrderPaid events raised by the Orderpayment contract.
func (*OrderpaymentOrderPaidIterator) Close ¶
func (it *OrderpaymentOrderPaidIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OrderpaymentOrderPaidIterator) Error ¶
func (it *OrderpaymentOrderPaidIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OrderpaymentOrderPaidIterator) Next ¶
func (it *OrderpaymentOrderPaidIterator) 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 OrderpaymentOwnershipTransferred ¶
type OrderpaymentOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OrderpaymentOwnershipTransferred represents a OwnershipTransferred event raised by the Orderpayment contract.
type OrderpaymentOwnershipTransferredIterator ¶
type OrderpaymentOwnershipTransferredIterator struct { Event *OrderpaymentOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OrderpaymentOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Orderpayment contract.
func (*OrderpaymentOwnershipTransferredIterator) Close ¶
func (it *OrderpaymentOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OrderpaymentOwnershipTransferredIterator) Error ¶
func (it *OrderpaymentOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OrderpaymentOwnershipTransferredIterator) Next ¶
func (it *OrderpaymentOwnershipTransferredIterator) 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 OrderpaymentRaw ¶
type OrderpaymentRaw struct {
Contract *Orderpayment // Generic contract binding to access the raw methods on
}
OrderpaymentRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OrderpaymentRaw) Call ¶
func (_Orderpayment *OrderpaymentRaw) 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 (*OrderpaymentRaw) Transact ¶
func (_Orderpayment *OrderpaymentRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OrderpaymentRaw) Transfer ¶
func (_Orderpayment *OrderpaymentRaw) 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 OrderpaymentSession ¶
type OrderpaymentSession struct { Contract *Orderpayment // 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 }
OrderpaymentSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OrderpaymentSession) BaseToken ¶
func (_Orderpayment *OrderpaymentSession) BaseToken() (common.Address, error)
BaseToken is a free data retrieval call binding the contract method 0xc55dae63.
Solidity: function baseToken() view returns(address)
func (*OrderpaymentSession) GetChainId ¶
func (_Orderpayment *OrderpaymentSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*OrderpaymentSession) Initialize ¶
func (_Orderpayment *OrderpaymentSession) Initialize(_baseToken common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _baseToken) returns()
func (*OrderpaymentSession) Multicall ¶
func (_Orderpayment *OrderpaymentSession) Multicall(data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) payable returns(bytes[] results)
func (*OrderpaymentSession) OrderIds ¶
func (_Orderpayment *OrderpaymentSession) OrderIds(arg0 [32]byte) (bool, error)
OrderIds is a free data retrieval call binding the contract method 0xf13886ec.
Solidity: function orderIds(bytes32 ) view returns(bool)
func (*OrderpaymentSession) Owner ¶
func (_Orderpayment *OrderpaymentSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OrderpaymentSession) PayOrder ¶
func (_Orderpayment *OrderpaymentSession) PayOrder(orderId [32]byte, seller common.Address, amount *big.Int) (*types.Transaction, error)
PayOrder is a paid mutator transaction binding the contract method 0x7473df4c.
Solidity: function payOrder(bytes32 orderId, address seller, uint256 amount) returns()
func (*OrderpaymentSession) RenounceOwnership ¶
func (_Orderpayment *OrderpaymentSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OrderpaymentSession) TransferOwnership ¶
func (_Orderpayment *OrderpaymentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OrderpaymentTransactor ¶
type OrderpaymentTransactor struct {
// contains filtered or unexported fields
}
OrderpaymentTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOrderpaymentTransactor ¶
func NewOrderpaymentTransactor(address common.Address, transactor bind.ContractTransactor) (*OrderpaymentTransactor, error)
NewOrderpaymentTransactor creates a new write-only instance of Orderpayment, bound to a specific deployed contract.
func (*OrderpaymentTransactor) Initialize ¶
func (_Orderpayment *OrderpaymentTransactor) Initialize(opts *bind.TransactOpts, _baseToken common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _baseToken) returns()
func (*OrderpaymentTransactor) Multicall ¶
func (_Orderpayment *OrderpaymentTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) payable returns(bytes[] results)
func (*OrderpaymentTransactor) PayOrder ¶
func (_Orderpayment *OrderpaymentTransactor) PayOrder(opts *bind.TransactOpts, orderId [32]byte, seller common.Address, amount *big.Int) (*types.Transaction, error)
PayOrder is a paid mutator transaction binding the contract method 0x7473df4c.
Solidity: function payOrder(bytes32 orderId, address seller, uint256 amount) returns()
func (*OrderpaymentTransactor) RenounceOwnership ¶
func (_Orderpayment *OrderpaymentTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OrderpaymentTransactor) TransferOwnership ¶
func (_Orderpayment *OrderpaymentTransactor) 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()
type OrderpaymentTransactorRaw ¶
type OrderpaymentTransactorRaw struct {
Contract *OrderpaymentTransactor // Generic write-only contract binding to access the raw methods on
}
OrderpaymentTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OrderpaymentTransactorRaw) Transact ¶
func (_Orderpayment *OrderpaymentTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OrderpaymentTransactorRaw) Transfer ¶
func (_Orderpayment *OrderpaymentTransactorRaw) 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 OrderpaymentTransactorSession ¶
type OrderpaymentTransactorSession struct { Contract *OrderpaymentTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OrderpaymentTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OrderpaymentTransactorSession) Initialize ¶
func (_Orderpayment *OrderpaymentTransactorSession) Initialize(_baseToken common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _baseToken) returns()
func (*OrderpaymentTransactorSession) Multicall ¶
func (_Orderpayment *OrderpaymentTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) payable returns(bytes[] results)
func (*OrderpaymentTransactorSession) PayOrder ¶
func (_Orderpayment *OrderpaymentTransactorSession) PayOrder(orderId [32]byte, seller common.Address, amount *big.Int) (*types.Transaction, error)
PayOrder is a paid mutator transaction binding the contract method 0x7473df4c.
Solidity: function payOrder(bytes32 orderId, address seller, uint256 amount) returns()
func (*OrderpaymentTransactorSession) RenounceOwnership ¶
func (_Orderpayment *OrderpaymentTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OrderpaymentTransactorSession) TransferOwnership ¶
func (_Orderpayment *OrderpaymentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()