Documentation ¶
Index ¶
- Constants
- type PaymentProcessorContract
- func DeployPaymentProcessorContract(auth *bind.TransactOpts, backend bind.ContractBackend, _merchantId string, ...) (common.Address, *types.Transaction, *PaymentProcessorContract, error)
- func NewPaymentProcessorContract(address common.Address, backend bind.ContractBackend) (*PaymentProcessorContract, error)
- type PaymentProcessorContractCaller
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) ContactInformation(opts *bind.CallOpts) (string, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) FEEPERMILLE(opts *bind.CallOpts) (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) IsMonethaAddress(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) MerchantHistory(opts *bind.CallOpts) (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) MerchantIdHash(opts *bind.CallOpts) ([32]byte, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) MerchantWallet(opts *bind.CallOpts) (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) MonethaGateway(opts *bind.CallOpts) (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) Orders(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) PAYBACKPERMILLE(opts *bind.CallOpts) (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) PERMILLECOEFFICIENT(opts *bind.CallOpts) (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCaller) Paused(opts *bind.CallOpts) (bool, error)
- type PaymentProcessorContractCallerRaw
- type PaymentProcessorContractCallerSession
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) ContactInformation() (string, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) FEEPERMILLE() (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) IsMonethaAddress(arg0 common.Address) (bool, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) MerchantHistory() (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) MerchantIdHash() ([32]byte, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) MerchantWallet() (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) MonethaGateway() (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) Orders(arg0 *big.Int) (struct{ ... }, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) Owner() (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) PAYBACKPERMILLE() (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) PERMILLECOEFFICIENT() (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) Paused() (bool, error)
- type PaymentProcessorContractFilterer
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterMonethaAddressSet(opts *bind.FilterOpts) (*PaymentProcessorContractMonethaAddressSetIterator, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*PaymentProcessorContractOwnershipRenouncedIterator, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*PaymentProcessorContractOwnershipTransferredIterator, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterPause(opts *bind.FilterOpts) (*PaymentProcessorContractPauseIterator, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterUnpause(opts *bind.FilterOpts) (*PaymentProcessorContractUnpauseIterator, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchMonethaAddressSet(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractMonethaAddressSet) (event.Subscription, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractOwnershipRenounced, ...) (event.Subscription, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractPause) (event.Subscription, error)
- func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractUnpause) (event.Subscription, error)
- type PaymentProcessorContractMonethaAddressSet
- type PaymentProcessorContractMonethaAddressSetIterator
- type PaymentProcessorContractOwnershipRenounced
- type PaymentProcessorContractOwnershipRenouncedIterator
- type PaymentProcessorContractOwnershipTransferred
- type PaymentProcessorContractOwnershipTransferredIterator
- type PaymentProcessorContractPause
- type PaymentProcessorContractPauseIterator
- type PaymentProcessorContractRaw
- func (_PaymentProcessorContract *PaymentProcessorContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_PaymentProcessorContract *PaymentProcessorContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PaymentProcessorContractSession
- func (_PaymentProcessorContract *PaymentProcessorContractSession) AddOrder(_orderId *big.Int, _price *big.Int, _paymentAcceptor common.Address, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) CancelOrder(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) ContactInformation() (string, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) Destroy() (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) DestroyAndSend(_recipient common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) FEEPERMILLE() (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) IsMonethaAddress(arg0 common.Address) (bool, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) MerchantHistory() (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) MerchantIdHash() ([32]byte, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) MerchantWallet() (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) MonethaGateway() (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) Orders(arg0 *big.Int) (struct{ ... }, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) Owner() (common.Address, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) PAYBACKPERMILLE() (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) PERMILLECOEFFICIENT() (*big.Int, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) Pause() (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) Paused() (bool, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) ProcessPayment(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) RefundPayment(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) RenounceOwnership() (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) SecurePay(_orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) SecureTokenPay(_orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) SetContactInformation(_info string) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) SetMerchantDealsHistory(_merchantHistory common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) SetMerchantWallet(_newWallet common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) SetMonethaAddress(_address common.Address, _isMonethaAddress bool) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) SetMonethaGateway(_newGateway common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) Unpause() (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) WithdrawRefund(_orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractSession) WithdrawTokenRefund(_orderId *big.Int) (*types.Transaction, error)
- type PaymentProcessorContractTransactor
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) AddOrder(opts *bind.TransactOpts, _orderId *big.Int, _price *big.Int, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) CancelOrder(opts *bind.TransactOpts, _orderId *big.Int, _clientReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) DestroyAndSend(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) ProcessPayment(opts *bind.TransactOpts, _orderId *big.Int, _clientReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) RefundPayment(opts *bind.TransactOpts, _orderId *big.Int, _clientReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SecurePay(opts *bind.TransactOpts, _orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SecureTokenPay(opts *bind.TransactOpts, _orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetContactInformation(opts *bind.TransactOpts, _info string) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetMerchantDealsHistory(opts *bind.TransactOpts, _merchantHistory common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetMerchantWallet(opts *bind.TransactOpts, _newWallet common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetMonethaAddress(opts *bind.TransactOpts, _address common.Address, _isMonethaAddress bool) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetMonethaGateway(opts *bind.TransactOpts, _newGateway common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) WithdrawRefund(opts *bind.TransactOpts, _orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactor) WithdrawTokenRefund(opts *bind.TransactOpts, _orderId *big.Int) (*types.Transaction, error)
- type PaymentProcessorContractTransactorRaw
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PaymentProcessorContractTransactorSession
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) AddOrder(_orderId *big.Int, _price *big.Int, _paymentAcceptor common.Address, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) CancelOrder(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) Destroy() (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) DestroyAndSend(_recipient common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) Pause() (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) ProcessPayment(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) RefundPayment(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, ...) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SecurePay(_orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SecureTokenPay(_orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetContactInformation(_info string) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetMerchantDealsHistory(_merchantHistory common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetMerchantWallet(_newWallet common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetMonethaAddress(_address common.Address, _isMonethaAddress bool) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetMonethaGateway(_newGateway common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) Unpause() (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) WithdrawRefund(_orderId *big.Int) (*types.Transaction, error)
- func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) WithdrawTokenRefund(_orderId *big.Int) (*types.Transaction, error)
- type PaymentProcessorContractUnpause
- type PaymentProcessorContractUnpauseIterator
Constants ¶
const PaymentProcessorContractABI = "" /* 8076-byte string literal not displayed */
PaymentProcessorContractABI is the input ABI used to generate the binding from.
const PaymentProcessorContractBin = `` /* 17528-byte string literal not displayed */
PaymentProcessorContractBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaymentProcessorContract ¶
type PaymentProcessorContract struct { PaymentProcessorContractCaller // Read-only binding to the contract PaymentProcessorContractTransactor // Write-only binding to the contract PaymentProcessorContractFilterer // Log filterer for contract events }
PaymentProcessorContract is an auto generated Go binding around an Ethereum contract.
func DeployPaymentProcessorContract ¶
func DeployPaymentProcessorContract(auth *bind.TransactOpts, backend bind.ContractBackend, _merchantId string, _merchantHistory common.Address, _monethaGateway common.Address, _merchantWallet common.Address) (common.Address, *types.Transaction, *PaymentProcessorContract, error)
DeployPaymentProcessorContract deploys a new Ethereum contract, binding an instance of PaymentProcessorContract to it.
func NewPaymentProcessorContract ¶
func NewPaymentProcessorContract(address common.Address, backend bind.ContractBackend) (*PaymentProcessorContract, error)
NewPaymentProcessorContract creates a new instance of PaymentProcessorContract, bound to a specific deployed contract.
type PaymentProcessorContractCaller ¶
type PaymentProcessorContractCaller struct {
// contains filtered or unexported fields
}
PaymentProcessorContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPaymentProcessorContractCaller ¶
func NewPaymentProcessorContractCaller(address common.Address, caller bind.ContractCaller) (*PaymentProcessorContractCaller, error)
NewPaymentProcessorContractCaller creates a new read-only instance of PaymentProcessorContract, bound to a specific deployed contract.
func (*PaymentProcessorContractCaller) ContactInformation ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) ContactInformation(opts *bind.CallOpts) (string, error)
ContactInformation is a free data retrieval call binding the contract method 0x36f7ab5e.
Solidity: function contactInformation() constant returns(string)
func (*PaymentProcessorContractCaller) FEEPERMILLE ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) FEEPERMILLE(opts *bind.CallOpts) (*big.Int, error)
FEEPERMILLE is a free data retrieval call binding the contract method 0xde8248fb.
Solidity: function FEE_PERMILLE() constant returns(uint256)
func (*PaymentProcessorContractCaller) IsMonethaAddress ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) IsMonethaAddress(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsMonethaAddress is a free data retrieval call binding the contract method 0x31d41325.
Solidity: function isMonethaAddress(address ) constant returns(bool)
func (*PaymentProcessorContractCaller) MerchantHistory ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) MerchantHistory(opts *bind.CallOpts) (common.Address, error)
MerchantHistory is a free data retrieval call binding the contract method 0x3d17a2d8.
Solidity: function merchantHistory() constant returns(address)
func (*PaymentProcessorContractCaller) MerchantIdHash ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) MerchantIdHash(opts *bind.CallOpts) ([32]byte, error)
MerchantIdHash is a free data retrieval call binding the contract method 0xf0daba01.
Solidity: function merchantIdHash() constant returns(bytes32)
func (*PaymentProcessorContractCaller) MerchantWallet ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) MerchantWallet(opts *bind.CallOpts) (common.Address, error)
MerchantWallet is a free data retrieval call binding the contract method 0xbc85e064.
Solidity: function merchantWallet() constant returns(address)
func (*PaymentProcessorContractCaller) MonethaGateway ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) MonethaGateway(opts *bind.CallOpts) (common.Address, error)
MonethaGateway is a free data retrieval call binding the contract method 0x6137412c.
Solidity: function monethaGateway() constant returns(address)
func (*PaymentProcessorContractCaller) Orders ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) Orders(opts *bind.CallOpts, arg0 *big.Int) (struct { State uint8 Price *big.Int Fee *big.Int PaymentAcceptor common.Address OriginAddress common.Address TokenAddress common.Address VouchersApply *big.Int Discount *big.Int }, error)
Orders is a free data retrieval call binding the contract method 0xa85c38ef.
Solidity: function orders(uint256 ) constant returns(uint8 state, uint256 price, uint256 fee, address paymentAcceptor, address originAddress, address tokenAddress, uint256 vouchersApply, uint256 discount)
func (*PaymentProcessorContractCaller) Owner ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*PaymentProcessorContractCaller) PAYBACKPERMILLE ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) PAYBACKPERMILLE(opts *bind.CallOpts) (*big.Int, error)
PAYBACKPERMILLE is a free data retrieval call binding the contract method 0x4baf43e4.
Solidity: function PAYBACK_PERMILLE() constant returns(uint256)
func (*PaymentProcessorContractCaller) PERMILLECOEFFICIENT ¶
func (_PaymentProcessorContract *PaymentProcessorContractCaller) PERMILLECOEFFICIENT(opts *bind.CallOpts) (*big.Int, error)
PERMILLECOEFFICIENT is a free data retrieval call binding the contract method 0xc4cc3f4d.
Solidity: function PERMILLE_COEFFICIENT() constant returns(uint256)
type PaymentProcessorContractCallerRaw ¶
type PaymentProcessorContractCallerRaw struct {
Contract *PaymentProcessorContractCaller // Generic read-only contract binding to access the raw methods on
}
PaymentProcessorContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PaymentProcessorContractCallerRaw) Call ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerRaw) 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 PaymentProcessorContractCallerSession ¶
type PaymentProcessorContractCallerSession struct { Contract *PaymentProcessorContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PaymentProcessorContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PaymentProcessorContractCallerSession) ContactInformation ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) ContactInformation() (string, error)
ContactInformation is a free data retrieval call binding the contract method 0x36f7ab5e.
Solidity: function contactInformation() constant returns(string)
func (*PaymentProcessorContractCallerSession) FEEPERMILLE ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) FEEPERMILLE() (*big.Int, error)
FEEPERMILLE is a free data retrieval call binding the contract method 0xde8248fb.
Solidity: function FEE_PERMILLE() constant returns(uint256)
func (*PaymentProcessorContractCallerSession) IsMonethaAddress ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) IsMonethaAddress(arg0 common.Address) (bool, error)
IsMonethaAddress is a free data retrieval call binding the contract method 0x31d41325.
Solidity: function isMonethaAddress(address ) constant returns(bool)
func (*PaymentProcessorContractCallerSession) MerchantHistory ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) MerchantHistory() (common.Address, error)
MerchantHistory is a free data retrieval call binding the contract method 0x3d17a2d8.
Solidity: function merchantHistory() constant returns(address)
func (*PaymentProcessorContractCallerSession) MerchantIdHash ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) MerchantIdHash() ([32]byte, error)
MerchantIdHash is a free data retrieval call binding the contract method 0xf0daba01.
Solidity: function merchantIdHash() constant returns(bytes32)
func (*PaymentProcessorContractCallerSession) MerchantWallet ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) MerchantWallet() (common.Address, error)
MerchantWallet is a free data retrieval call binding the contract method 0xbc85e064.
Solidity: function merchantWallet() constant returns(address)
func (*PaymentProcessorContractCallerSession) MonethaGateway ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) MonethaGateway() (common.Address, error)
MonethaGateway is a free data retrieval call binding the contract method 0x6137412c.
Solidity: function monethaGateway() constant returns(address)
func (*PaymentProcessorContractCallerSession) Orders ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) Orders(arg0 *big.Int) (struct { State uint8 Price *big.Int Fee *big.Int PaymentAcceptor common.Address OriginAddress common.Address TokenAddress common.Address VouchersApply *big.Int Discount *big.Int }, error)
Orders is a free data retrieval call binding the contract method 0xa85c38ef.
Solidity: function orders(uint256 ) constant returns(uint8 state, uint256 price, uint256 fee, address paymentAcceptor, address originAddress, address tokenAddress, uint256 vouchersApply, uint256 discount)
func (*PaymentProcessorContractCallerSession) Owner ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*PaymentProcessorContractCallerSession) PAYBACKPERMILLE ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) PAYBACKPERMILLE() (*big.Int, error)
PAYBACKPERMILLE is a free data retrieval call binding the contract method 0x4baf43e4.
Solidity: function PAYBACK_PERMILLE() constant returns(uint256)
func (*PaymentProcessorContractCallerSession) PERMILLECOEFFICIENT ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) PERMILLECOEFFICIENT() (*big.Int, error)
PERMILLECOEFFICIENT is a free data retrieval call binding the contract method 0xc4cc3f4d.
Solidity: function PERMILLE_COEFFICIENT() constant returns(uint256)
func (*PaymentProcessorContractCallerSession) Paused ¶
func (_PaymentProcessorContract *PaymentProcessorContractCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() constant returns(bool)
type PaymentProcessorContractFilterer ¶
type PaymentProcessorContractFilterer struct {
// contains filtered or unexported fields
}
PaymentProcessorContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPaymentProcessorContractFilterer ¶
func NewPaymentProcessorContractFilterer(address common.Address, filterer bind.ContractFilterer) (*PaymentProcessorContractFilterer, error)
NewPaymentProcessorContractFilterer creates a new log filterer instance of PaymentProcessorContract, bound to a specific deployed contract.
func (*PaymentProcessorContractFilterer) FilterMonethaAddressSet ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterMonethaAddressSet(opts *bind.FilterOpts) (*PaymentProcessorContractMonethaAddressSetIterator, error)
FilterMonethaAddressSet is a free log retrieval operation binding the contract event 0xa551de8741dbb2092ce6bc142fd0ff3af5dfbf87d0aa594619fccddb0141e692.
Solidity: event MonethaAddressSet(address _address, bool _isMonethaAddress)
func (*PaymentProcessorContractFilterer) FilterOwnershipRenounced ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*PaymentProcessorContractOwnershipRenouncedIterator, error)
FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: event OwnershipRenounced(address indexed previousOwner)
func (*PaymentProcessorContractFilterer) FilterOwnershipTransferred ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PaymentProcessorContractOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*PaymentProcessorContractFilterer) FilterPause ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterPause(opts *bind.FilterOpts) (*PaymentProcessorContractPauseIterator, error)
FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*PaymentProcessorContractFilterer) FilterUnpause ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) FilterUnpause(opts *bind.FilterOpts) (*PaymentProcessorContractUnpauseIterator, error)
FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
func (*PaymentProcessorContractFilterer) WatchMonethaAddressSet ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchMonethaAddressSet(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractMonethaAddressSet) (event.Subscription, error)
WatchMonethaAddressSet is a free log subscription operation binding the contract event 0xa551de8741dbb2092ce6bc142fd0ff3af5dfbf87d0aa594619fccddb0141e692.
Solidity: event MonethaAddressSet(address _address, bool _isMonethaAddress)
func (*PaymentProcessorContractFilterer) WatchOwnershipRenounced ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)
WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: event OwnershipRenounced(address indexed previousOwner)
func (*PaymentProcessorContractFilterer) WatchOwnershipTransferred ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractOwnershipTransferred, 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 (*PaymentProcessorContractFilterer) WatchPause ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractPause) (event.Subscription, error)
WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*PaymentProcessorContractFilterer) WatchUnpause ¶
func (_PaymentProcessorContract *PaymentProcessorContractFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *PaymentProcessorContractUnpause) (event.Subscription, error)
WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
type PaymentProcessorContractMonethaAddressSet ¶
type PaymentProcessorContractMonethaAddressSet struct { Address common.Address IsMonethaAddress bool Raw types.Log // Blockchain specific contextual infos }
PaymentProcessorContractMonethaAddressSet represents a MonethaAddressSet event raised by the PaymentProcessorContract contract.
type PaymentProcessorContractMonethaAddressSetIterator ¶
type PaymentProcessorContractMonethaAddressSetIterator struct { Event *PaymentProcessorContractMonethaAddressSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PaymentProcessorContractMonethaAddressSetIterator is returned from FilterMonethaAddressSet and is used to iterate over the raw logs and unpacked data for MonethaAddressSet events raised by the PaymentProcessorContract contract.
func (*PaymentProcessorContractMonethaAddressSetIterator) Close ¶
func (it *PaymentProcessorContractMonethaAddressSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PaymentProcessorContractMonethaAddressSetIterator) Error ¶
func (it *PaymentProcessorContractMonethaAddressSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PaymentProcessorContractMonethaAddressSetIterator) Next ¶
func (it *PaymentProcessorContractMonethaAddressSetIterator) 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 PaymentProcessorContractOwnershipRenounced ¶
type PaymentProcessorContractOwnershipRenounced struct { PreviousOwner common.Address Raw types.Log // Blockchain specific contextual infos }
PaymentProcessorContractOwnershipRenounced represents a OwnershipRenounced event raised by the PaymentProcessorContract contract.
type PaymentProcessorContractOwnershipRenouncedIterator ¶
type PaymentProcessorContractOwnershipRenouncedIterator struct { Event *PaymentProcessorContractOwnershipRenounced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PaymentProcessorContractOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the PaymentProcessorContract contract.
func (*PaymentProcessorContractOwnershipRenouncedIterator) Close ¶
func (it *PaymentProcessorContractOwnershipRenouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PaymentProcessorContractOwnershipRenouncedIterator) Error ¶
func (it *PaymentProcessorContractOwnershipRenouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PaymentProcessorContractOwnershipRenouncedIterator) Next ¶
func (it *PaymentProcessorContractOwnershipRenouncedIterator) 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 PaymentProcessorContractOwnershipTransferred ¶
type PaymentProcessorContractOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
PaymentProcessorContractOwnershipTransferred represents a OwnershipTransferred event raised by the PaymentProcessorContract contract.
type PaymentProcessorContractOwnershipTransferredIterator ¶
type PaymentProcessorContractOwnershipTransferredIterator struct { Event *PaymentProcessorContractOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PaymentProcessorContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the PaymentProcessorContract contract.
func (*PaymentProcessorContractOwnershipTransferredIterator) Close ¶
func (it *PaymentProcessorContractOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PaymentProcessorContractOwnershipTransferredIterator) Error ¶
func (it *PaymentProcessorContractOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PaymentProcessorContractOwnershipTransferredIterator) Next ¶
func (it *PaymentProcessorContractOwnershipTransferredIterator) 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 PaymentProcessorContractPause ¶
PaymentProcessorContractPause represents a Pause event raised by the PaymentProcessorContract contract.
type PaymentProcessorContractPauseIterator ¶
type PaymentProcessorContractPauseIterator struct { Event *PaymentProcessorContractPause // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PaymentProcessorContractPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the PaymentProcessorContract contract.
func (*PaymentProcessorContractPauseIterator) Close ¶
func (it *PaymentProcessorContractPauseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PaymentProcessorContractPauseIterator) Error ¶
func (it *PaymentProcessorContractPauseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PaymentProcessorContractPauseIterator) Next ¶
func (it *PaymentProcessorContractPauseIterator) 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 PaymentProcessorContractRaw ¶
type PaymentProcessorContractRaw struct {
Contract *PaymentProcessorContract // Generic contract binding to access the raw methods on
}
PaymentProcessorContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PaymentProcessorContractRaw) Call ¶
func (_PaymentProcessorContract *PaymentProcessorContractRaw) 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 (*PaymentProcessorContractRaw) Transact ¶
func (_PaymentProcessorContract *PaymentProcessorContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PaymentProcessorContractRaw) Transfer ¶
func (_PaymentProcessorContract *PaymentProcessorContractRaw) 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 PaymentProcessorContractSession ¶
type PaymentProcessorContractSession struct { Contract *PaymentProcessorContract // 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 }
PaymentProcessorContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PaymentProcessorContractSession) AddOrder ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) AddOrder(_orderId *big.Int, _price *big.Int, _paymentAcceptor common.Address, _originAddress common.Address, _fee *big.Int, _tokenAddress common.Address, _vouchersApply *big.Int) (*types.Transaction, error)
AddOrder is a paid mutator transaction binding the contract method 0xc48aab6d.
Solidity: function addOrder(uint256 _orderId, uint256 _price, address _paymentAcceptor, address _originAddress, uint256 _fee, address _tokenAddress, uint256 _vouchersApply) returns()
func (*PaymentProcessorContractSession) CancelOrder ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) CancelOrder(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int, _cancelReason string) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0xac1a13fb.
Solidity: function cancelOrder(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash, string _cancelReason) returns()
func (*PaymentProcessorContractSession) ContactInformation ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) ContactInformation() (string, error)
ContactInformation is a free data retrieval call binding the contract method 0x36f7ab5e.
Solidity: function contactInformation() constant returns(string)
func (*PaymentProcessorContractSession) Destroy ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) Destroy() (*types.Transaction, error)
Destroy is a paid mutator transaction binding the contract method 0x83197ef0.
Solidity: function destroy() returns()
func (*PaymentProcessorContractSession) DestroyAndSend ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) DestroyAndSend(_recipient common.Address) (*types.Transaction, error)
DestroyAndSend is a paid mutator transaction binding the contract method 0xf5074f41.
Solidity: function destroyAndSend(address _recipient) returns()
func (*PaymentProcessorContractSession) FEEPERMILLE ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) FEEPERMILLE() (*big.Int, error)
FEEPERMILLE is a free data retrieval call binding the contract method 0xde8248fb.
Solidity: function FEE_PERMILLE() constant returns(uint256)
func (*PaymentProcessorContractSession) IsMonethaAddress ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) IsMonethaAddress(arg0 common.Address) (bool, error)
IsMonethaAddress is a free data retrieval call binding the contract method 0x31d41325.
Solidity: function isMonethaAddress(address ) constant returns(bool)
func (*PaymentProcessorContractSession) MerchantHistory ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) MerchantHistory() (common.Address, error)
MerchantHistory is a free data retrieval call binding the contract method 0x3d17a2d8.
Solidity: function merchantHistory() constant returns(address)
func (*PaymentProcessorContractSession) MerchantIdHash ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) MerchantIdHash() ([32]byte, error)
MerchantIdHash is a free data retrieval call binding the contract method 0xf0daba01.
Solidity: function merchantIdHash() constant returns(bytes32)
func (*PaymentProcessorContractSession) MerchantWallet ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) MerchantWallet() (common.Address, error)
MerchantWallet is a free data retrieval call binding the contract method 0xbc85e064.
Solidity: function merchantWallet() constant returns(address)
func (*PaymentProcessorContractSession) MonethaGateway ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) MonethaGateway() (common.Address, error)
MonethaGateway is a free data retrieval call binding the contract method 0x6137412c.
Solidity: function monethaGateway() constant returns(address)
func (*PaymentProcessorContractSession) Orders ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) Orders(arg0 *big.Int) (struct { State uint8 Price *big.Int Fee *big.Int PaymentAcceptor common.Address OriginAddress common.Address TokenAddress common.Address VouchersApply *big.Int Discount *big.Int }, error)
Orders is a free data retrieval call binding the contract method 0xa85c38ef.
Solidity: function orders(uint256 ) constant returns(uint8 state, uint256 price, uint256 fee, address paymentAcceptor, address originAddress, address tokenAddress, uint256 vouchersApply, uint256 discount)
func (*PaymentProcessorContractSession) Owner ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*PaymentProcessorContractSession) PAYBACKPERMILLE ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) PAYBACKPERMILLE() (*big.Int, error)
PAYBACKPERMILLE is a free data retrieval call binding the contract method 0x4baf43e4.
Solidity: function PAYBACK_PERMILLE() constant returns(uint256)
func (*PaymentProcessorContractSession) PERMILLECOEFFICIENT ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) PERMILLECOEFFICIENT() (*big.Int, error)
PERMILLECOEFFICIENT is a free data retrieval call binding the contract method 0xc4cc3f4d.
Solidity: function PERMILLE_COEFFICIENT() constant returns(uint256)
func (*PaymentProcessorContractSession) Pause ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*PaymentProcessorContractSession) Paused ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() constant returns(bool)
func (*PaymentProcessorContractSession) ProcessPayment ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) ProcessPayment(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int) (*types.Transaction, error)
ProcessPayment is a paid mutator transaction binding the contract method 0xaab9f165.
Solidity: function processPayment(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash) returns()
func (*PaymentProcessorContractSession) RefundPayment ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) RefundPayment(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int, _refundReason string) (*types.Transaction, error)
RefundPayment is a paid mutator transaction binding the contract method 0x8467d9cf.
Solidity: function refundPayment(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash, string _refundReason) returns()
func (*PaymentProcessorContractSession) RenounceOwnership ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PaymentProcessorContractSession) SecurePay ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) SecurePay(_orderId *big.Int) (*types.Transaction, error)
SecurePay is a paid mutator transaction binding the contract method 0x4153d65b.
Solidity: function securePay(uint256 _orderId) returns()
func (*PaymentProcessorContractSession) SecureTokenPay ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) SecureTokenPay(_orderId *big.Int) (*types.Transaction, error)
SecureTokenPay is a paid mutator transaction binding the contract method 0x8b11fb3e.
Solidity: function secureTokenPay(uint256 _orderId) returns()
func (*PaymentProcessorContractSession) SetContactInformation ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) SetContactInformation(_info string) (*types.Transaction, error)
SetContactInformation is a paid mutator transaction binding the contract method 0xb967a52e.
Solidity: function setContactInformation(string _info) returns()
func (*PaymentProcessorContractSession) SetMerchantDealsHistory ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) SetMerchantDealsHistory(_merchantHistory common.Address) (*types.Transaction, error)
SetMerchantDealsHistory is a paid mutator transaction binding the contract method 0x444b6048.
Solidity: function setMerchantDealsHistory(address _merchantHistory) returns()
func (*PaymentProcessorContractSession) SetMerchantWallet ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) SetMerchantWallet(_newWallet common.Address) (*types.Transaction, error)
SetMerchantWallet is a paid mutator transaction binding the contract method 0xddda66db.
Solidity: function setMerchantWallet(address _newWallet) returns()
func (*PaymentProcessorContractSession) SetMonethaAddress ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) SetMonethaAddress(_address common.Address, _isMonethaAddress bool) (*types.Transaction, error)
SetMonethaAddress is a paid mutator transaction binding the contract method 0xc07e3391.
Solidity: function setMonethaAddress(address _address, bool _isMonethaAddress) returns()
func (*PaymentProcessorContractSession) SetMonethaGateway ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) SetMonethaGateway(_newGateway common.Address) (*types.Transaction, error)
SetMonethaGateway is a paid mutator transaction binding the contract method 0xb440bf39.
Solidity: function setMonethaGateway(address _newGateway) returns()
func (*PaymentProcessorContractSession) TransferOwnership ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) 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 (*PaymentProcessorContractSession) Unpause ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*PaymentProcessorContractSession) WithdrawRefund ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) WithdrawRefund(_orderId *big.Int) (*types.Transaction, error)
WithdrawRefund is a paid mutator transaction binding the contract method 0x9d153495.
Solidity: function withdrawRefund(uint256 _orderId) returns()
func (*PaymentProcessorContractSession) WithdrawTokenRefund ¶
func (_PaymentProcessorContract *PaymentProcessorContractSession) WithdrawTokenRefund(_orderId *big.Int) (*types.Transaction, error)
WithdrawTokenRefund is a paid mutator transaction binding the contract method 0xe5b8d6e0.
Solidity: function withdrawTokenRefund(uint256 _orderId) returns()
type PaymentProcessorContractTransactor ¶
type PaymentProcessorContractTransactor struct {
// contains filtered or unexported fields
}
PaymentProcessorContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPaymentProcessorContractTransactor ¶
func NewPaymentProcessorContractTransactor(address common.Address, transactor bind.ContractTransactor) (*PaymentProcessorContractTransactor, error)
NewPaymentProcessorContractTransactor creates a new write-only instance of PaymentProcessorContract, bound to a specific deployed contract.
func (*PaymentProcessorContractTransactor) AddOrder ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) AddOrder(opts *bind.TransactOpts, _orderId *big.Int, _price *big.Int, _paymentAcceptor common.Address, _originAddress common.Address, _fee *big.Int, _tokenAddress common.Address, _vouchersApply *big.Int) (*types.Transaction, error)
AddOrder is a paid mutator transaction binding the contract method 0xc48aab6d.
Solidity: function addOrder(uint256 _orderId, uint256 _price, address _paymentAcceptor, address _originAddress, uint256 _fee, address _tokenAddress, uint256 _vouchersApply) returns()
func (*PaymentProcessorContractTransactor) CancelOrder ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) CancelOrder(opts *bind.TransactOpts, _orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int, _cancelReason string) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0xac1a13fb.
Solidity: function cancelOrder(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash, string _cancelReason) returns()
func (*PaymentProcessorContractTransactor) Destroy ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)
Destroy is a paid mutator transaction binding the contract method 0x83197ef0.
Solidity: function destroy() returns()
func (*PaymentProcessorContractTransactor) DestroyAndSend ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) DestroyAndSend(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
DestroyAndSend is a paid mutator transaction binding the contract method 0xf5074f41.
Solidity: function destroyAndSend(address _recipient) returns()
func (*PaymentProcessorContractTransactor) Pause ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*PaymentProcessorContractTransactor) ProcessPayment ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) ProcessPayment(opts *bind.TransactOpts, _orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int) (*types.Transaction, error)
ProcessPayment is a paid mutator transaction binding the contract method 0xaab9f165.
Solidity: function processPayment(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash) returns()
func (*PaymentProcessorContractTransactor) RefundPayment ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) RefundPayment(opts *bind.TransactOpts, _orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int, _refundReason string) (*types.Transaction, error)
RefundPayment is a paid mutator transaction binding the contract method 0x8467d9cf.
Solidity: function refundPayment(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash, string _refundReason) returns()
func (*PaymentProcessorContractTransactor) RenounceOwnership ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PaymentProcessorContractTransactor) SecurePay ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SecurePay(opts *bind.TransactOpts, _orderId *big.Int) (*types.Transaction, error)
SecurePay is a paid mutator transaction binding the contract method 0x4153d65b.
Solidity: function securePay(uint256 _orderId) returns()
func (*PaymentProcessorContractTransactor) SecureTokenPay ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SecureTokenPay(opts *bind.TransactOpts, _orderId *big.Int) (*types.Transaction, error)
SecureTokenPay is a paid mutator transaction binding the contract method 0x8b11fb3e.
Solidity: function secureTokenPay(uint256 _orderId) returns()
func (*PaymentProcessorContractTransactor) SetContactInformation ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetContactInformation(opts *bind.TransactOpts, _info string) (*types.Transaction, error)
SetContactInformation is a paid mutator transaction binding the contract method 0xb967a52e.
Solidity: function setContactInformation(string _info) returns()
func (*PaymentProcessorContractTransactor) SetMerchantDealsHistory ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetMerchantDealsHistory(opts *bind.TransactOpts, _merchantHistory common.Address) (*types.Transaction, error)
SetMerchantDealsHistory is a paid mutator transaction binding the contract method 0x444b6048.
Solidity: function setMerchantDealsHistory(address _merchantHistory) returns()
func (*PaymentProcessorContractTransactor) SetMerchantWallet ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetMerchantWallet(opts *bind.TransactOpts, _newWallet common.Address) (*types.Transaction, error)
SetMerchantWallet is a paid mutator transaction binding the contract method 0xddda66db.
Solidity: function setMerchantWallet(address _newWallet) returns()
func (*PaymentProcessorContractTransactor) SetMonethaAddress ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetMonethaAddress(opts *bind.TransactOpts, _address common.Address, _isMonethaAddress bool) (*types.Transaction, error)
SetMonethaAddress is a paid mutator transaction binding the contract method 0xc07e3391.
Solidity: function setMonethaAddress(address _address, bool _isMonethaAddress) returns()
func (*PaymentProcessorContractTransactor) SetMonethaGateway ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) SetMonethaGateway(opts *bind.TransactOpts, _newGateway common.Address) (*types.Transaction, error)
SetMonethaGateway is a paid mutator transaction binding the contract method 0xb440bf39.
Solidity: function setMonethaGateway(address _newGateway) returns()
func (*PaymentProcessorContractTransactor) TransferOwnership ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) 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 (*PaymentProcessorContractTransactor) Unpause ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*PaymentProcessorContractTransactor) WithdrawRefund ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) WithdrawRefund(opts *bind.TransactOpts, _orderId *big.Int) (*types.Transaction, error)
WithdrawRefund is a paid mutator transaction binding the contract method 0x9d153495.
Solidity: function withdrawRefund(uint256 _orderId) returns()
func (*PaymentProcessorContractTransactor) WithdrawTokenRefund ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactor) WithdrawTokenRefund(opts *bind.TransactOpts, _orderId *big.Int) (*types.Transaction, error)
WithdrawTokenRefund is a paid mutator transaction binding the contract method 0xe5b8d6e0.
Solidity: function withdrawTokenRefund(uint256 _orderId) returns()
type PaymentProcessorContractTransactorRaw ¶
type PaymentProcessorContractTransactorRaw struct {
Contract *PaymentProcessorContractTransactor // Generic write-only contract binding to access the raw methods on
}
PaymentProcessorContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PaymentProcessorContractTransactorRaw) Transact ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PaymentProcessorContractTransactorRaw) Transfer ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorRaw) 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 PaymentProcessorContractTransactorSession ¶
type PaymentProcessorContractTransactorSession struct { Contract *PaymentProcessorContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PaymentProcessorContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PaymentProcessorContractTransactorSession) AddOrder ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) AddOrder(_orderId *big.Int, _price *big.Int, _paymentAcceptor common.Address, _originAddress common.Address, _fee *big.Int, _tokenAddress common.Address, _vouchersApply *big.Int) (*types.Transaction, error)
AddOrder is a paid mutator transaction binding the contract method 0xc48aab6d.
Solidity: function addOrder(uint256 _orderId, uint256 _price, address _paymentAcceptor, address _originAddress, uint256 _fee, address _tokenAddress, uint256 _vouchersApply) returns()
func (*PaymentProcessorContractTransactorSession) CancelOrder ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) CancelOrder(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int, _cancelReason string) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0xac1a13fb.
Solidity: function cancelOrder(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash, string _cancelReason) returns()
func (*PaymentProcessorContractTransactorSession) Destroy ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) Destroy() (*types.Transaction, error)
Destroy is a paid mutator transaction binding the contract method 0x83197ef0.
Solidity: function destroy() returns()
func (*PaymentProcessorContractTransactorSession) DestroyAndSend ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) DestroyAndSend(_recipient common.Address) (*types.Transaction, error)
DestroyAndSend is a paid mutator transaction binding the contract method 0xf5074f41.
Solidity: function destroyAndSend(address _recipient) returns()
func (*PaymentProcessorContractTransactorSession) Pause ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*PaymentProcessorContractTransactorSession) ProcessPayment ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) ProcessPayment(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int) (*types.Transaction, error)
ProcessPayment is a paid mutator transaction binding the contract method 0xaab9f165.
Solidity: function processPayment(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash) returns()
func (*PaymentProcessorContractTransactorSession) RefundPayment ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) RefundPayment(_orderId *big.Int, _clientReputation uint32, _merchantReputation uint32, _dealHash *big.Int, _refundReason string) (*types.Transaction, error)
RefundPayment is a paid mutator transaction binding the contract method 0x8467d9cf.
Solidity: function refundPayment(uint256 _orderId, uint32 _clientReputation, uint32 _merchantReputation, uint256 _dealHash, string _refundReason) returns()
func (*PaymentProcessorContractTransactorSession) RenounceOwnership ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PaymentProcessorContractTransactorSession) SecurePay ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SecurePay(_orderId *big.Int) (*types.Transaction, error)
SecurePay is a paid mutator transaction binding the contract method 0x4153d65b.
Solidity: function securePay(uint256 _orderId) returns()
func (*PaymentProcessorContractTransactorSession) SecureTokenPay ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SecureTokenPay(_orderId *big.Int) (*types.Transaction, error)
SecureTokenPay is a paid mutator transaction binding the contract method 0x8b11fb3e.
Solidity: function secureTokenPay(uint256 _orderId) returns()
func (*PaymentProcessorContractTransactorSession) SetContactInformation ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetContactInformation(_info string) (*types.Transaction, error)
SetContactInformation is a paid mutator transaction binding the contract method 0xb967a52e.
Solidity: function setContactInformation(string _info) returns()
func (*PaymentProcessorContractTransactorSession) SetMerchantDealsHistory ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetMerchantDealsHistory(_merchantHistory common.Address) (*types.Transaction, error)
SetMerchantDealsHistory is a paid mutator transaction binding the contract method 0x444b6048.
Solidity: function setMerchantDealsHistory(address _merchantHistory) returns()
func (*PaymentProcessorContractTransactorSession) SetMerchantWallet ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetMerchantWallet(_newWallet common.Address) (*types.Transaction, error)
SetMerchantWallet is a paid mutator transaction binding the contract method 0xddda66db.
Solidity: function setMerchantWallet(address _newWallet) returns()
func (*PaymentProcessorContractTransactorSession) SetMonethaAddress ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetMonethaAddress(_address common.Address, _isMonethaAddress bool) (*types.Transaction, error)
SetMonethaAddress is a paid mutator transaction binding the contract method 0xc07e3391.
Solidity: function setMonethaAddress(address _address, bool _isMonethaAddress) returns()
func (*PaymentProcessorContractTransactorSession) SetMonethaGateway ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) SetMonethaGateway(_newGateway common.Address) (*types.Transaction, error)
SetMonethaGateway is a paid mutator transaction binding the contract method 0xb440bf39.
Solidity: function setMonethaGateway(address _newGateway) returns()
func (*PaymentProcessorContractTransactorSession) TransferOwnership ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) 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 (*PaymentProcessorContractTransactorSession) Unpause ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*PaymentProcessorContractTransactorSession) WithdrawRefund ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) WithdrawRefund(_orderId *big.Int) (*types.Transaction, error)
WithdrawRefund is a paid mutator transaction binding the contract method 0x9d153495.
Solidity: function withdrawRefund(uint256 _orderId) returns()
func (*PaymentProcessorContractTransactorSession) WithdrawTokenRefund ¶
func (_PaymentProcessorContract *PaymentProcessorContractTransactorSession) WithdrawTokenRefund(_orderId *big.Int) (*types.Transaction, error)
WithdrawTokenRefund is a paid mutator transaction binding the contract method 0xe5b8d6e0.
Solidity: function withdrawTokenRefund(uint256 _orderId) returns()
type PaymentProcessorContractUnpause ¶
type PaymentProcessorContractUnpause struct {
Raw types.Log // Blockchain specific contextual infos
}
PaymentProcessorContractUnpause represents a Unpause event raised by the PaymentProcessorContract contract.
type PaymentProcessorContractUnpauseIterator ¶
type PaymentProcessorContractUnpauseIterator struct { Event *PaymentProcessorContractUnpause // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PaymentProcessorContractUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the PaymentProcessorContract contract.
func (*PaymentProcessorContractUnpauseIterator) Close ¶
func (it *PaymentProcessorContractUnpauseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PaymentProcessorContractUnpauseIterator) Error ¶
func (it *PaymentProcessorContractUnpauseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PaymentProcessorContractUnpauseIterator) Next ¶
func (it *PaymentProcessorContractUnpauseIterator) 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.