payments

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PaymentsABI = config.PaymentsMetaData.ABI

PaymentsABI is the input ABI used to generate the binding from. Deprecated: Use PaymentsMetaData.ABI instead.

View Source
var PaymentsBin = config.PaymentsMetaData.Bin

PaymentsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PaymentsMetaData.Bin instead.

Functions

This section is empty.

Types

type Payments

type Payments struct {
	PaymentsCaller     // Read-only binding to the contract
	PaymentsTransactor // Write-only binding to the contract
	PaymentsFilterer   // Log filterer for contract events
}

Payments is an auto generated Go binding around an Ethereum contract.

func DeployPayments

func DeployPayments(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Payments, error)

DeployPayments deploys a new Ethereum contract, binding an instance of Payments to it.

func NewPayments

func NewPayments(address common.Address, backend bind.ContractBackend) (*Payments, error)

NewPayments creates a new instance of Payments, bound to a specific deployed contract.

type PaymentsCaller

type PaymentsCaller struct {
	// contains filtered or unexported fields
}

PaymentsCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPaymentsCaller

func NewPaymentsCaller(address common.Address, caller bind.ContractCaller) (*PaymentsCaller, error)

NewPaymentsCaller creates a new read-only instance of Payments, bound to a specific deployed contract.

func (*PaymentsCaller) GetControllerAddress

func (_Payments *PaymentsCaller) GetControllerAddress(opts *bind.CallOpts) (common.Address, error)

GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.

Solidity: function getControllerAddress() view returns(address)

func (*PaymentsCaller) GetTokenAddress

func (_Payments *PaymentsCaller) GetTokenAddress(opts *bind.CallOpts) (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*PaymentsCaller) Owner

func (_Payments *PaymentsCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type PaymentsCallerRaw

type PaymentsCallerRaw struct {
	Contract *PaymentsCaller // Generic read-only contract binding to access the raw methods on
}

PaymentsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PaymentsCallerRaw) Call

func (_Payments *PaymentsCallerRaw) 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 PaymentsCallerSession

type PaymentsCallerSession struct {
	Contract *PaymentsCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

PaymentsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PaymentsCallerSession) GetControllerAddress

func (_Payments *PaymentsCallerSession) GetControllerAddress() (common.Address, error)

GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.

Solidity: function getControllerAddress() view returns(address)

func (*PaymentsCallerSession) GetTokenAddress

func (_Payments *PaymentsCallerSession) GetTokenAddress() (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*PaymentsCallerSession) Owner

func (_Payments *PaymentsCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type PaymentsFilterer

type PaymentsFilterer struct {
	// contains filtered or unexported fields
}

PaymentsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPaymentsFilterer

func NewPaymentsFilterer(address common.Address, filterer bind.ContractFilterer) (*PaymentsFilterer, error)

NewPaymentsFilterer creates a new log filterer instance of Payments, bound to a specific deployed contract.

func (*PaymentsFilterer) FilterInitialized

func (_Payments *PaymentsFilterer) FilterInitialized(opts *bind.FilterOpts) (*PaymentsInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PaymentsFilterer) FilterOwnershipTransferred

func (_Payments *PaymentsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PaymentsOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PaymentsFilterer) FilterPayment

func (_Payments *PaymentsFilterer) FilterPayment(opts *bind.FilterOpts) (*PaymentsPaymentIterator, error)

FilterPayment is a free log retrieval operation binding the contract event 0x64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a9842.

Solidity: event Payment(string dealId, address payee, uint256 amount, uint8 reason, uint8 direction)

func (*PaymentsFilterer) ParseInitialized

func (_Payments *PaymentsFilterer) ParseInitialized(log types.Log) (*PaymentsInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PaymentsFilterer) ParseOwnershipTransferred

func (_Payments *PaymentsFilterer) ParseOwnershipTransferred(log types.Log) (*PaymentsOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PaymentsFilterer) ParsePayment

func (_Payments *PaymentsFilterer) ParsePayment(log types.Log) (*PaymentsPayment, error)

ParsePayment is a log parse operation binding the contract event 0x64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a9842.

Solidity: event Payment(string dealId, address payee, uint256 amount, uint8 reason, uint8 direction)

func (*PaymentsFilterer) WatchInitialized

func (_Payments *PaymentsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PaymentsInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PaymentsFilterer) WatchOwnershipTransferred

func (_Payments *PaymentsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PaymentsOwnershipTransferred, 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 (*PaymentsFilterer) WatchPayment

func (_Payments *PaymentsFilterer) WatchPayment(opts *bind.WatchOpts, sink chan<- *PaymentsPayment) (event.Subscription, error)

WatchPayment is a free log subscription operation binding the contract event 0x64861f505d0cfce7a0cc3629c70eb54f7de27be35939b48300935694958a9842.

Solidity: event Payment(string dealId, address payee, uint256 amount, uint8 reason, uint8 direction)

type PaymentsInitialized

type PaymentsInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

PaymentsInitialized represents a Initialized event raised by the Payments contract.

type PaymentsInitializedIterator

type PaymentsInitializedIterator struct {
	Event *PaymentsInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PaymentsInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Payments contract.

func (*PaymentsInitializedIterator) Close

func (it *PaymentsInitializedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PaymentsInitializedIterator) Error

func (it *PaymentsInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaymentsInitializedIterator) Next

func (it *PaymentsInitializedIterator) 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 PaymentsOwnershipTransferred

type PaymentsOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

PaymentsOwnershipTransferred represents a OwnershipTransferred event raised by the Payments contract.

type PaymentsOwnershipTransferredIterator

type PaymentsOwnershipTransferredIterator struct {
	Event *PaymentsOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PaymentsOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Payments contract.

func (*PaymentsOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PaymentsOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaymentsOwnershipTransferredIterator) Next

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 PaymentsPayment

type PaymentsPayment struct {
	DealId    string
	Payee     common.Address
	Amount    *big.Int
	Reason    uint8
	Direction uint8
	Raw       types.Log // Blockchain specific contextual infos
}

PaymentsPayment represents a Payment event raised by the Payments contract.

type PaymentsPaymentIterator

type PaymentsPaymentIterator struct {
	Event *PaymentsPayment // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PaymentsPaymentIterator is returned from FilterPayment and is used to iterate over the raw logs and unpacked data for Payment events raised by the Payments contract.

func (*PaymentsPaymentIterator) Close

func (it *PaymentsPaymentIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PaymentsPaymentIterator) Error

func (it *PaymentsPaymentIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PaymentsPaymentIterator) Next

func (it *PaymentsPaymentIterator) 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 PaymentsRaw

type PaymentsRaw struct {
	Contract *Payments // Generic contract binding to access the raw methods on
}

PaymentsRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PaymentsRaw) Call

func (_Payments *PaymentsRaw) 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 (*PaymentsRaw) Transact

func (_Payments *PaymentsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PaymentsRaw) Transfer

func (_Payments *PaymentsRaw) 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 PaymentsSession

type PaymentsSession struct {
	Contract     *Payments         // 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
}

PaymentsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PaymentsSession) AcceptResult

func (_Payments *PaymentsSession) AcceptResult(dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AcceptResult is a paid mutator transaction binding the contract method 0xb1356714.

Solidity: function acceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) AddResult

func (_Payments *PaymentsSession) AddResult(dealId string, resourceProvider common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AddResult is a paid mutator transaction binding the contract method 0x09cab510.

Solidity: function addResult(string dealId, address resourceProvider, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) AgreeJobCreator

func (_Payments *PaymentsSession) AgreeJobCreator(dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeJobCreator is a paid mutator transaction binding the contract method 0xb9188035.

Solidity: function agreeJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) AgreeResourceProvider

func (_Payments *PaymentsSession) AgreeResourceProvider(dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeResourceProvider is a paid mutator transaction binding the contract method 0x9e3868dc.

Solidity: function agreeResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsSession) CheckResult

func (_Payments *PaymentsSession) CheckResult(dealId string, jobCreator common.Address, timeoutCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

CheckResult is a paid mutator transaction binding the contract method 0xaea38251.

Solidity: function checkResult(string dealId, address jobCreator, uint256 timeoutCollateral, uint256 mediationFee) returns()

func (*PaymentsSession) DisableChangeControllerAddress

func (_Payments *PaymentsSession) DisableChangeControllerAddress() (*types.Transaction, error)

DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.

Solidity: function disableChangeControllerAddress() returns()

func (*PaymentsSession) DisableChangeTokenAddress

func (_Payments *PaymentsSession) DisableChangeTokenAddress() (*types.Transaction, error)

DisableChangeTokenAddress is a paid mutator transaction binding the contract method 0x4bc28da1.

Solidity: function disableChangeTokenAddress() returns()

func (*PaymentsSession) GetControllerAddress

func (_Payments *PaymentsSession) GetControllerAddress() (common.Address, error)

GetControllerAddress is a free data retrieval call binding the contract method 0xc57380a2.

Solidity: function getControllerAddress() view returns(address)

func (*PaymentsSession) GetTokenAddress

func (_Payments *PaymentsSession) GetTokenAddress() (common.Address, error)

GetTokenAddress is a free data retrieval call binding the contract method 0x10fe9ae8.

Solidity: function getTokenAddress() view returns(address)

func (*PaymentsSession) Initialize

func (_Payments *PaymentsSession) Initialize(_tokenAddress common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _tokenAddress) returns()

func (*PaymentsSession) MediationAcceptResult

func (_Payments *PaymentsSession) MediationAcceptResult(dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationAcceptResult is a paid mutator transaction binding the contract method 0x2a1f9072.

Solidity: function mediationAcceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsSession) MediationRejectResult

func (_Payments *PaymentsSession) MediationRejectResult(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationRejectResult is a paid mutator transaction binding the contract method 0xd2485cce.

Solidity: function mediationRejectResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsSession) Owner

func (_Payments *PaymentsSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PaymentsSession) RenounceOwnership

func (_Payments *PaymentsSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PaymentsSession) SetControllerAddress

func (_Payments *PaymentsSession) SetControllerAddress(_controllerAddress common.Address) (*types.Transaction, error)

SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.

Solidity: function setControllerAddress(address _controllerAddress) returns()

func (*PaymentsSession) SetTokenAddress

func (_Payments *PaymentsSession) SetTokenAddress(_tokenAddress common.Address) (*types.Transaction, error)

SetTokenAddress is a paid mutator transaction binding the contract method 0x26a4e8d2.

Solidity: function setTokenAddress(address _tokenAddress) returns()

func (*PaymentsSession) TimeoutAgreeRefundJobCreator

func (_Payments *PaymentsSession) TimeoutAgreeRefundJobCreator(dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundJobCreator is a paid mutator transaction binding the contract method 0xafe1dff7.

Solidity: function timeoutAgreeRefundJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) TimeoutAgreeRefundResourceProvider

func (_Payments *PaymentsSession) TimeoutAgreeRefundResourceProvider(dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundResourceProvider is a paid mutator transaction binding the contract method 0x0ef0d89e.

Solidity: function timeoutAgreeRefundResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsSession) TimeoutJudgeResults

func (_Payments *PaymentsSession) TimeoutJudgeResults(dealId string, resourceProvider common.Address, jobCreator common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutJudgeResults is a paid mutator transaction binding the contract method 0x38698529.

Solidity: function timeoutJudgeResults(string dealId, address resourceProvider, address jobCreator, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) TimeoutMediateResult

func (_Payments *PaymentsSession) TimeoutMediateResult(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

TimeoutMediateResult is a paid mutator transaction binding the contract method 0x823f3de1.

Solidity: function timeoutMediateResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsSession) TimeoutSubmitResults

func (_Payments *PaymentsSession) TimeoutSubmitResults(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutSubmitResults is a paid mutator transaction binding the contract method 0x02fd8f80.

Solidity: function timeoutSubmitResults(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsSession) TransferOwnership

func (_Payments *PaymentsSession) 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 PaymentsTransactor

type PaymentsTransactor struct {
	// contains filtered or unexported fields
}

PaymentsTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPaymentsTransactor

func NewPaymentsTransactor(address common.Address, transactor bind.ContractTransactor) (*PaymentsTransactor, error)

NewPaymentsTransactor creates a new write-only instance of Payments, bound to a specific deployed contract.

func (*PaymentsTransactor) AcceptResult

func (_Payments *PaymentsTransactor) AcceptResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AcceptResult is a paid mutator transaction binding the contract method 0xb1356714.

Solidity: function acceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) AddResult

func (_Payments *PaymentsTransactor) AddResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AddResult is a paid mutator transaction binding the contract method 0x09cab510.

Solidity: function addResult(string dealId, address resourceProvider, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) AgreeJobCreator

func (_Payments *PaymentsTransactor) AgreeJobCreator(opts *bind.TransactOpts, dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeJobCreator is a paid mutator transaction binding the contract method 0xb9188035.

Solidity: function agreeJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) AgreeResourceProvider

func (_Payments *PaymentsTransactor) AgreeResourceProvider(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeResourceProvider is a paid mutator transaction binding the contract method 0x9e3868dc.

Solidity: function agreeResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) CheckResult

func (_Payments *PaymentsTransactor) CheckResult(opts *bind.TransactOpts, dealId string, jobCreator common.Address, timeoutCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

CheckResult is a paid mutator transaction binding the contract method 0xaea38251.

Solidity: function checkResult(string dealId, address jobCreator, uint256 timeoutCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactor) DisableChangeControllerAddress

func (_Payments *PaymentsTransactor) DisableChangeControllerAddress(opts *bind.TransactOpts) (*types.Transaction, error)

DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.

Solidity: function disableChangeControllerAddress() returns()

func (*PaymentsTransactor) DisableChangeTokenAddress

func (_Payments *PaymentsTransactor) DisableChangeTokenAddress(opts *bind.TransactOpts) (*types.Transaction, error)

DisableChangeTokenAddress is a paid mutator transaction binding the contract method 0x4bc28da1.

Solidity: function disableChangeTokenAddress() returns()

func (*PaymentsTransactor) Initialize

func (_Payments *PaymentsTransactor) Initialize(opts *bind.TransactOpts, _tokenAddress common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _tokenAddress) returns()

func (*PaymentsTransactor) MediationAcceptResult

func (_Payments *PaymentsTransactor) MediationAcceptResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationAcceptResult is a paid mutator transaction binding the contract method 0x2a1f9072.

Solidity: function mediationAcceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactor) MediationRejectResult

func (_Payments *PaymentsTransactor) MediationRejectResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationRejectResult is a paid mutator transaction binding the contract method 0xd2485cce.

Solidity: function mediationRejectResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactor) RenounceOwnership

func (_Payments *PaymentsTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PaymentsTransactor) SetControllerAddress

func (_Payments *PaymentsTransactor) SetControllerAddress(opts *bind.TransactOpts, _controllerAddress common.Address) (*types.Transaction, error)

SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.

Solidity: function setControllerAddress(address _controllerAddress) returns()

func (*PaymentsTransactor) SetTokenAddress

func (_Payments *PaymentsTransactor) SetTokenAddress(opts *bind.TransactOpts, _tokenAddress common.Address) (*types.Transaction, error)

SetTokenAddress is a paid mutator transaction binding the contract method 0x26a4e8d2.

Solidity: function setTokenAddress(address _tokenAddress) returns()

func (*PaymentsTransactor) TimeoutAgreeRefundJobCreator

func (_Payments *PaymentsTransactor) TimeoutAgreeRefundJobCreator(opts *bind.TransactOpts, dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundJobCreator is a paid mutator transaction binding the contract method 0xafe1dff7.

Solidity: function timeoutAgreeRefundJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) TimeoutAgreeRefundResourceProvider

func (_Payments *PaymentsTransactor) TimeoutAgreeRefundResourceProvider(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundResourceProvider is a paid mutator transaction binding the contract method 0x0ef0d89e.

Solidity: function timeoutAgreeRefundResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) TimeoutJudgeResults

func (_Payments *PaymentsTransactor) TimeoutJudgeResults(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutJudgeResults is a paid mutator transaction binding the contract method 0x38698529.

Solidity: function timeoutJudgeResults(string dealId, address resourceProvider, address jobCreator, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) TimeoutMediateResult

func (_Payments *PaymentsTransactor) TimeoutMediateResult(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

TimeoutMediateResult is a paid mutator transaction binding the contract method 0x823f3de1.

Solidity: function timeoutMediateResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactor) TimeoutSubmitResults

func (_Payments *PaymentsTransactor) TimeoutSubmitResults(opts *bind.TransactOpts, dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutSubmitResults is a paid mutator transaction binding the contract method 0x02fd8f80.

Solidity: function timeoutSubmitResults(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactor) TransferOwnership

func (_Payments *PaymentsTransactor) 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 PaymentsTransactorRaw

type PaymentsTransactorRaw struct {
	Contract *PaymentsTransactor // Generic write-only contract binding to access the raw methods on
}

PaymentsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PaymentsTransactorRaw) Transact

func (_Payments *PaymentsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PaymentsTransactorRaw) Transfer

func (_Payments *PaymentsTransactorRaw) 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 PaymentsTransactorSession

type PaymentsTransactorSession struct {
	Contract     *PaymentsTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

PaymentsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PaymentsTransactorSession) AcceptResult

func (_Payments *PaymentsTransactorSession) AcceptResult(dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AcceptResult is a paid mutator transaction binding the contract method 0xb1356714.

Solidity: function acceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) AddResult

func (_Payments *PaymentsTransactorSession) AddResult(dealId string, resourceProvider common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AddResult is a paid mutator transaction binding the contract method 0x09cab510.

Solidity: function addResult(string dealId, address resourceProvider, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) AgreeJobCreator

func (_Payments *PaymentsTransactorSession) AgreeJobCreator(dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeJobCreator is a paid mutator transaction binding the contract method 0xb9188035.

Solidity: function agreeJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) AgreeResourceProvider

func (_Payments *PaymentsTransactorSession) AgreeResourceProvider(dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

AgreeResourceProvider is a paid mutator transaction binding the contract method 0x9e3868dc.

Solidity: function agreeResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) CheckResult

func (_Payments *PaymentsTransactorSession) CheckResult(dealId string, jobCreator common.Address, timeoutCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

CheckResult is a paid mutator transaction binding the contract method 0xaea38251.

Solidity: function checkResult(string dealId, address jobCreator, uint256 timeoutCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactorSession) DisableChangeControllerAddress

func (_Payments *PaymentsTransactorSession) DisableChangeControllerAddress() (*types.Transaction, error)

DisableChangeControllerAddress is a paid mutator transaction binding the contract method 0xa4702958.

Solidity: function disableChangeControllerAddress() returns()

func (*PaymentsTransactorSession) DisableChangeTokenAddress

func (_Payments *PaymentsTransactorSession) DisableChangeTokenAddress() (*types.Transaction, error)

DisableChangeTokenAddress is a paid mutator transaction binding the contract method 0x4bc28da1.

Solidity: function disableChangeTokenAddress() returns()

func (*PaymentsTransactorSession) Initialize

func (_Payments *PaymentsTransactorSession) Initialize(_tokenAddress common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _tokenAddress) returns()

func (*PaymentsTransactorSession) MediationAcceptResult

func (_Payments *PaymentsTransactorSession) MediationAcceptResult(dealId string, resourceProvider common.Address, jobCreator common.Address, jobCost *big.Int, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationAcceptResult is a paid mutator transaction binding the contract method 0x2a1f9072.

Solidity: function mediationAcceptResult(string dealId, address resourceProvider, address jobCreator, uint256 jobCost, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactorSession) MediationRejectResult

func (_Payments *PaymentsTransactorSession) MediationRejectResult(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

MediationRejectResult is a paid mutator transaction binding the contract method 0xd2485cce.

Solidity: function mediationRejectResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactorSession) RenounceOwnership

func (_Payments *PaymentsTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PaymentsTransactorSession) SetControllerAddress

func (_Payments *PaymentsTransactorSession) SetControllerAddress(_controllerAddress common.Address) (*types.Transaction, error)

SetControllerAddress is a paid mutator transaction binding the contract method 0xf3d3d448.

Solidity: function setControllerAddress(address _controllerAddress) returns()

func (*PaymentsTransactorSession) SetTokenAddress

func (_Payments *PaymentsTransactorSession) SetTokenAddress(_tokenAddress common.Address) (*types.Transaction, error)

SetTokenAddress is a paid mutator transaction binding the contract method 0x26a4e8d2.

Solidity: function setTokenAddress(address _tokenAddress) returns()

func (*PaymentsTransactorSession) TimeoutAgreeRefundJobCreator

func (_Payments *PaymentsTransactorSession) TimeoutAgreeRefundJobCreator(dealId string, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundJobCreator is a paid mutator transaction binding the contract method 0xafe1dff7.

Solidity: function timeoutAgreeRefundJobCreator(string dealId, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) TimeoutAgreeRefundResourceProvider

func (_Payments *PaymentsTransactorSession) TimeoutAgreeRefundResourceProvider(dealId string, resourceProvider common.Address, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutAgreeRefundResourceProvider is a paid mutator transaction binding the contract method 0x0ef0d89e.

Solidity: function timeoutAgreeRefundResourceProvider(string dealId, address resourceProvider, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) TimeoutJudgeResults

func (_Payments *PaymentsTransactorSession) TimeoutJudgeResults(dealId string, resourceProvider common.Address, jobCreator common.Address, resultsCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutJudgeResults is a paid mutator transaction binding the contract method 0x38698529.

Solidity: function timeoutJudgeResults(string dealId, address resourceProvider, address jobCreator, uint256 resultsCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) TimeoutMediateResult

func (_Payments *PaymentsTransactorSession) TimeoutMediateResult(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, resultsCollateral *big.Int, mediationFee *big.Int) (*types.Transaction, error)

TimeoutMediateResult is a paid mutator transaction binding the contract method 0x823f3de1.

Solidity: function timeoutMediateResult(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 resultsCollateral, uint256 mediationFee) returns()

func (*PaymentsTransactorSession) TimeoutSubmitResults

func (_Payments *PaymentsTransactorSession) TimeoutSubmitResults(dealId string, resourceProvider common.Address, jobCreator common.Address, paymentCollateral *big.Int, timeoutCollateral *big.Int) (*types.Transaction, error)

TimeoutSubmitResults is a paid mutator transaction binding the contract method 0x02fd8f80.

Solidity: function timeoutSubmitResults(string dealId, address resourceProvider, address jobCreator, uint256 paymentCollateral, uint256 timeoutCollateral) returns()

func (*PaymentsTransactorSession) TransferOwnership

func (_Payments *PaymentsTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL