Documentation ¶
Index ¶
- Constants
- type Dospayment
- type DospaymentCaller
- func (_Dospayment *DospaymentCaller) BridgeAddr(opts *bind.CallOpts) (common.Address, error)
- func (_Dospayment *DospaymentCaller) DefaultGuardianFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Dospayment *DospaymentCaller) DefaultSubmitterCut(opts *bind.CallOpts) (*big.Int, error)
- func (_Dospayment *DospaymentCaller) DefaultSystemRandomFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Dospayment *DospaymentCaller) DefaultTokenAddr(opts *bind.CallOpts) (common.Address, error)
- func (_Dospayment *DospaymentCaller) DefaultUserQueryFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Dospayment *DospaymentCaller) DefaultUserRandomFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Dospayment *DospaymentCaller) FeeLists(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Dospayment *DospaymentCaller) GuardianFundsAddr(opts *bind.CallOpts) (common.Address, error)
- func (_Dospayment *DospaymentCaller) GuardianFundsTokenAddr(opts *bind.CallOpts) (common.Address, error)
- func (_Dospayment *DospaymentCaller) HasServiceFee(opts *bind.CallOpts, payer common.Address, serviceType *big.Int) (bool, error)
- func (_Dospayment *DospaymentCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Dospayment *DospaymentCaller) IsSupportedToken(opts *bind.CallOpts, tokenAddr common.Address) (bool, error)
- func (_Dospayment *DospaymentCaller) NodeFeeBalance(opts *bind.CallOpts, nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)
- func (_Dospayment *DospaymentCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Dospayment *DospaymentCaller) PaymentInfo(opts *bind.CallOpts, requestID *big.Int) (common.Address, *big.Int, error)
- func (_Dospayment *DospaymentCaller) PaymentMethods(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)
- func (_Dospayment *DospaymentCaller) Payments(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- type DospaymentCallerRaw
- type DospaymentCallerSession
- func (_Dospayment *DospaymentCallerSession) BridgeAddr() (common.Address, error)
- func (_Dospayment *DospaymentCallerSession) DefaultGuardianFee() (*big.Int, error)
- func (_Dospayment *DospaymentCallerSession) DefaultSubmitterCut() (*big.Int, error)
- func (_Dospayment *DospaymentCallerSession) DefaultSystemRandomFee() (*big.Int, error)
- func (_Dospayment *DospaymentCallerSession) DefaultTokenAddr() (common.Address, error)
- func (_Dospayment *DospaymentCallerSession) DefaultUserQueryFee() (*big.Int, error)
- func (_Dospayment *DospaymentCallerSession) DefaultUserRandomFee() (*big.Int, error)
- func (_Dospayment *DospaymentCallerSession) FeeLists(arg0 common.Address) (struct{ ... }, error)
- func (_Dospayment *DospaymentCallerSession) GuardianFundsAddr() (common.Address, error)
- func (_Dospayment *DospaymentCallerSession) GuardianFundsTokenAddr() (common.Address, error)
- func (_Dospayment *DospaymentCallerSession) HasServiceFee(payer common.Address, serviceType *big.Int) (bool, error)
- func (_Dospayment *DospaymentCallerSession) IsOwner() (bool, error)
- func (_Dospayment *DospaymentCallerSession) IsSupportedToken(tokenAddr common.Address) (bool, error)
- func (_Dospayment *DospaymentCallerSession) NodeFeeBalance(nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)
- func (_Dospayment *DospaymentCallerSession) Owner() (common.Address, error)
- func (_Dospayment *DospaymentCallerSession) PaymentInfo(requestID *big.Int) (common.Address, *big.Int, error)
- func (_Dospayment *DospaymentCallerSession) PaymentMethods(arg0 common.Address) (common.Address, error)
- func (_Dospayment *DospaymentCallerSession) Payments(arg0 *big.Int) (struct{ ... }, error)
- type DospaymentFilterer
- func (_Dospayment *DospaymentFilterer) FilterLogChargeServiceFee(opts *bind.FilterOpts) (*DospaymentLogChargeServiceFeeIterator, error)
- func (_Dospayment *DospaymentFilterer) FilterLogClaimGuardianFee(opts *bind.FilterOpts) (*DospaymentLogClaimGuardianFeeIterator, error)
- func (_Dospayment *DospaymentFilterer) FilterLogRecordServiceFee(opts *bind.FilterOpts) (*DospaymentLogRecordServiceFeeIterator, error)
- func (_Dospayment *DospaymentFilterer) FilterLogRefundServiceFee(opts *bind.FilterOpts) (*DospaymentLogRefundServiceFeeIterator, error)
- func (_Dospayment *DospaymentFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*DospaymentOwnershipRenouncedIterator, error)
- func (_Dospayment *DospaymentFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*DospaymentOwnershipTransferredIterator, error)
- func (_Dospayment *DospaymentFilterer) WatchLogChargeServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogChargeServiceFee) (event.Subscription, error)
- func (_Dospayment *DospaymentFilterer) WatchLogClaimGuardianFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogClaimGuardianFee) (event.Subscription, error)
- func (_Dospayment *DospaymentFilterer) WatchLogRecordServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogRecordServiceFee) (event.Subscription, error)
- func (_Dospayment *DospaymentFilterer) WatchLogRefundServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogRefundServiceFee) (event.Subscription, error)
- func (_Dospayment *DospaymentFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *DospaymentOwnershipRenounced, ...) (event.Subscription, error)
- func (_Dospayment *DospaymentFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DospaymentOwnershipTransferred, ...) (event.Subscription, error)
- type DospaymentLogChargeServiceFee
- type DospaymentLogChargeServiceFeeIterator
- type DospaymentLogClaimGuardianFee
- type DospaymentLogClaimGuardianFeeIterator
- type DospaymentLogRecordServiceFee
- type DospaymentLogRecordServiceFeeIterator
- type DospaymentLogRefundServiceFee
- type DospaymentLogRefundServiceFeeIterator
- type DospaymentOwnershipRenounced
- type DospaymentOwnershipRenouncedIterator
- type DospaymentOwnershipTransferred
- type DospaymentOwnershipTransferredIterator
- type DospaymentRaw
- func (_Dospayment *DospaymentRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Dospayment *DospaymentRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Dospayment *DospaymentRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DospaymentSession
- func (_Dospayment *DospaymentSession) BridgeAddr() (common.Address, error)
- func (_Dospayment *DospaymentSession) ChargeServiceFee(payer common.Address, requestID *big.Int, serviceType *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) ClaimGuardianReward(guardianAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) DefaultGuardianFee() (*big.Int, error)
- func (_Dospayment *DospaymentSession) DefaultSubmitterCut() (*big.Int, error)
- func (_Dospayment *DospaymentSession) DefaultSystemRandomFee() (*big.Int, error)
- func (_Dospayment *DospaymentSession) DefaultTokenAddr() (common.Address, error)
- func (_Dospayment *DospaymentSession) DefaultUserQueryFee() (*big.Int, error)
- func (_Dospayment *DospaymentSession) DefaultUserRandomFee() (*big.Int, error)
- func (_Dospayment *DospaymentSession) FeeLists(arg0 common.Address) (struct{ ... }, error)
- func (_Dospayment *DospaymentSession) GuardianFundsAddr() (common.Address, error)
- func (_Dospayment *DospaymentSession) GuardianFundsTokenAddr() (common.Address, error)
- func (_Dospayment *DospaymentSession) HasServiceFee(payer common.Address, serviceType *big.Int) (bool, error)
- func (_Dospayment *DospaymentSession) Initialize(_bridgeAddr common.Address, _guardianFundsAddr common.Address, ...) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) IsOwner() (bool, error)
- func (_Dospayment *DospaymentSession) IsSupportedToken(tokenAddr common.Address) (bool, error)
- func (_Dospayment *DospaymentSession) NodeClaim(to common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) NodeFeeBalance(nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)
- func (_Dospayment *DospaymentSession) Owner() (common.Address, error)
- func (_Dospayment *DospaymentSession) PaymentInfo(requestID *big.Int) (common.Address, *big.Int, error)
- func (_Dospayment *DospaymentSession) PaymentMethods(arg0 common.Address) (common.Address, error)
- func (_Dospayment *DospaymentSession) Payments(arg0 *big.Int) (struct{ ... }, error)
- func (_Dospayment *DospaymentSession) RecordServiceFee(requestID *big.Int, submitter common.Address, workers []common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) RefundServiceFee(requestID *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) RenounceOwnership() (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) SetFeeDividend(tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) SetGuardianFee(tokenAddr common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) SetGuardianFunds(fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) SetPaymentMethod(payer common.Address, tokenAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) SetServiceFee(tokenAddr common.Address, serviceType *big.Int, fee *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type DospaymentTransactor
- func (_Dospayment *DospaymentTransactor) ChargeServiceFee(opts *bind.TransactOpts, payer common.Address, requestID *big.Int, ...) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) ClaimGuardianReward(opts *bind.TransactOpts, guardianAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) Initialize(opts *bind.TransactOpts, _bridgeAddr common.Address, ...) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) NodeClaim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) RecordServiceFee(opts *bind.TransactOpts, requestID *big.Int, submitter common.Address, ...) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) RefundServiceFee(opts *bind.TransactOpts, requestID *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) SetFeeDividend(opts *bind.TransactOpts, tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) SetGuardianFee(opts *bind.TransactOpts, tokenAddr common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) SetGuardianFunds(opts *bind.TransactOpts, fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) SetPaymentMethod(opts *bind.TransactOpts, payer common.Address, tokenAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) SetServiceFee(opts *bind.TransactOpts, tokenAddr common.Address, serviceType *big.Int, ...) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type DospaymentTransactorRaw
- type DospaymentTransactorSession
- func (_Dospayment *DospaymentTransactorSession) ChargeServiceFee(payer common.Address, requestID *big.Int, serviceType *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) ClaimGuardianReward(guardianAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) Initialize(_bridgeAddr common.Address, _guardianFundsAddr common.Address, ...) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) NodeClaim(to common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) RecordServiceFee(requestID *big.Int, submitter common.Address, workers []common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) RefundServiceFee(requestID *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) SetFeeDividend(tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) SetGuardianFee(tokenAddr common.Address, fee *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) SetGuardianFunds(fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) SetPaymentMethod(payer common.Address, tokenAddr common.Address) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) SetServiceFee(tokenAddr common.Address, serviceType *big.Int, fee *big.Int) (*types.Transaction, error)
- func (_Dospayment *DospaymentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
const DospaymentABI = "" /* 12128-byte string literal not displayed */
DospaymentABI is the input ABI used to generate the binding from.
const DospaymentBin = `` /* 14916-byte string literal not displayed */
DospaymentBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dospayment ¶
type Dospayment struct { DospaymentCaller // Read-only binding to the contract DospaymentTransactor // Write-only binding to the contract DospaymentFilterer // Log filterer for contract events }
Dospayment is an auto generated Go binding around an Ethereum contract.
func DeployDospayment ¶
func DeployDospayment(auth *bind.TransactOpts, backend bind.ContractBackend, _bridgeAddr common.Address, _guardianFundsAddr common.Address, _tokenAddr common.Address) (common.Address, *types.Transaction, *Dospayment, error)
DeployDospayment deploys a new Ethereum contract, binding an instance of Dospayment to it.
func NewDospayment ¶
func NewDospayment(address common.Address, backend bind.ContractBackend) (*Dospayment, error)
NewDospayment creates a new instance of Dospayment, bound to a specific deployed contract.
type DospaymentCaller ¶
type DospaymentCaller struct {
// contains filtered or unexported fields
}
DospaymentCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDospaymentCaller ¶
func NewDospaymentCaller(address common.Address, caller bind.ContractCaller) (*DospaymentCaller, error)
NewDospaymentCaller creates a new read-only instance of Dospayment, bound to a specific deployed contract.
func (*DospaymentCaller) BridgeAddr ¶
BridgeAddr is a free data retrieval call binding the contract method 0x91874ef7.
Solidity: function bridgeAddr() constant returns(address)
func (*DospaymentCaller) DefaultGuardianFee ¶
DefaultGuardianFee is a free data retrieval call binding the contract method 0x6dfa72b0.
Solidity: function defaultGuardianFee() constant returns(uint256)
func (*DospaymentCaller) DefaultSubmitterCut ¶
DefaultSubmitterCut is a free data retrieval call binding the contract method 0x571028e3.
Solidity: function defaultSubmitterCut() constant returns(uint256)
func (*DospaymentCaller) DefaultSystemRandomFee ¶
DefaultSystemRandomFee is a free data retrieval call binding the contract method 0xcb7ca88c.
Solidity: function defaultSystemRandomFee() constant returns(uint256)
func (*DospaymentCaller) DefaultTokenAddr ¶
DefaultTokenAddr is a free data retrieval call binding the contract method 0x02b8b587.
Solidity: function defaultTokenAddr() constant returns(address)
func (*DospaymentCaller) DefaultUserQueryFee ¶
DefaultUserQueryFee is a free data retrieval call binding the contract method 0xc60be4fd.
Solidity: function defaultUserQueryFee() constant returns(uint256)
func (*DospaymentCaller) DefaultUserRandomFee ¶
DefaultUserRandomFee is a free data retrieval call binding the contract method 0x4a0a382f.
Solidity: function defaultUserRandomFee() constant returns(uint256)
func (*DospaymentCaller) FeeLists ¶
func (_Dospayment *DospaymentCaller) FeeLists(opts *bind.CallOpts, arg0 common.Address) (struct { SubmitterCut *big.Int GuardianFee *big.Int }, error)
FeeLists is a free data retrieval call binding the contract method 0xd95eaa7a.
Solidity: function feeLists( address) constant returns(submitterCut uint256, guardianFee uint256)
func (*DospaymentCaller) GuardianFundsAddr ¶
GuardianFundsAddr is a free data retrieval call binding the contract method 0x6059775a.
Solidity: function guardianFundsAddr() constant returns(address)
func (*DospaymentCaller) GuardianFundsTokenAddr ¶
func (_Dospayment *DospaymentCaller) GuardianFundsTokenAddr(opts *bind.CallOpts) (common.Address, error)
GuardianFundsTokenAddr is a free data retrieval call binding the contract method 0xfa2c775e.
Solidity: function guardianFundsTokenAddr() constant returns(address)
func (*DospaymentCaller) HasServiceFee ¶
func (_Dospayment *DospaymentCaller) HasServiceFee(opts *bind.CallOpts, payer common.Address, serviceType *big.Int) (bool, error)
HasServiceFee is a free data retrieval call binding the contract method 0xe3650366.
Solidity: function hasServiceFee(payer address, serviceType uint256) constant returns(bool)
func (*DospaymentCaller) IsOwner ¶
func (_Dospayment *DospaymentCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*DospaymentCaller) IsSupportedToken ¶
func (_Dospayment *DospaymentCaller) IsSupportedToken(opts *bind.CallOpts, tokenAddr common.Address) (bool, error)
IsSupportedToken is a free data retrieval call binding the contract method 0x240028e8.
Solidity: function isSupportedToken(tokenAddr address) constant returns(bool)
func (*DospaymentCaller) NodeFeeBalance ¶
func (_Dospayment *DospaymentCaller) NodeFeeBalance(opts *bind.CallOpts, nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)
NodeFeeBalance is a free data retrieval call binding the contract method 0xc0f14e46.
Solidity: function nodeFeeBalance(nodeAddr address, tokenAddr address) constant returns(uint256)
func (*DospaymentCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*DospaymentCaller) PaymentInfo ¶
func (_Dospayment *DospaymentCaller) PaymentInfo(opts *bind.CallOpts, requestID *big.Int) (common.Address, *big.Int, error)
PaymentInfo is a free data retrieval call binding the contract method 0x3157f16d.
Solidity: function paymentInfo(requestID uint256) constant returns(address, uint256)
func (*DospaymentCaller) PaymentMethods ¶
func (_Dospayment *DospaymentCaller) PaymentMethods(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)
PaymentMethods is a free data retrieval call binding the contract method 0x694732c6.
Solidity: function paymentMethods( address) constant returns(address)
func (*DospaymentCaller) Payments ¶
func (_Dospayment *DospaymentCaller) Payments(opts *bind.CallOpts, arg0 *big.Int) (struct { Payer common.Address TokenAddr common.Address ServiceType *big.Int Amount *big.Int }, error)
Payments is a free data retrieval call binding the contract method 0x87d81789.
Solidity: function payments( uint256) constant returns(payer address, tokenAddr address, serviceType uint256, amount uint256)
type DospaymentCallerRaw ¶
type DospaymentCallerRaw struct {
Contract *DospaymentCaller // Generic read-only contract binding to access the raw methods on
}
DospaymentCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DospaymentCallerRaw) Call ¶
func (_Dospayment *DospaymentCallerRaw) 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 DospaymentCallerSession ¶
type DospaymentCallerSession struct { Contract *DospaymentCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DospaymentCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DospaymentCallerSession) BridgeAddr ¶
func (_Dospayment *DospaymentCallerSession) BridgeAddr() (common.Address, error)
BridgeAddr is a free data retrieval call binding the contract method 0x91874ef7.
Solidity: function bridgeAddr() constant returns(address)
func (*DospaymentCallerSession) DefaultGuardianFee ¶
func (_Dospayment *DospaymentCallerSession) DefaultGuardianFee() (*big.Int, error)
DefaultGuardianFee is a free data retrieval call binding the contract method 0x6dfa72b0.
Solidity: function defaultGuardianFee() constant returns(uint256)
func (*DospaymentCallerSession) DefaultSubmitterCut ¶
func (_Dospayment *DospaymentCallerSession) DefaultSubmitterCut() (*big.Int, error)
DefaultSubmitterCut is a free data retrieval call binding the contract method 0x571028e3.
Solidity: function defaultSubmitterCut() constant returns(uint256)
func (*DospaymentCallerSession) DefaultSystemRandomFee ¶
func (_Dospayment *DospaymentCallerSession) DefaultSystemRandomFee() (*big.Int, error)
DefaultSystemRandomFee is a free data retrieval call binding the contract method 0xcb7ca88c.
Solidity: function defaultSystemRandomFee() constant returns(uint256)
func (*DospaymentCallerSession) DefaultTokenAddr ¶
func (_Dospayment *DospaymentCallerSession) DefaultTokenAddr() (common.Address, error)
DefaultTokenAddr is a free data retrieval call binding the contract method 0x02b8b587.
Solidity: function defaultTokenAddr() constant returns(address)
func (*DospaymentCallerSession) DefaultUserQueryFee ¶
func (_Dospayment *DospaymentCallerSession) DefaultUserQueryFee() (*big.Int, error)
DefaultUserQueryFee is a free data retrieval call binding the contract method 0xc60be4fd.
Solidity: function defaultUserQueryFee() constant returns(uint256)
func (*DospaymentCallerSession) DefaultUserRandomFee ¶
func (_Dospayment *DospaymentCallerSession) DefaultUserRandomFee() (*big.Int, error)
DefaultUserRandomFee is a free data retrieval call binding the contract method 0x4a0a382f.
Solidity: function defaultUserRandomFee() constant returns(uint256)
func (*DospaymentCallerSession) FeeLists ¶
func (_Dospayment *DospaymentCallerSession) FeeLists(arg0 common.Address) (struct { SubmitterCut *big.Int GuardianFee *big.Int }, error)
FeeLists is a free data retrieval call binding the contract method 0xd95eaa7a.
Solidity: function feeLists( address) constant returns(submitterCut uint256, guardianFee uint256)
func (*DospaymentCallerSession) GuardianFundsAddr ¶
func (_Dospayment *DospaymentCallerSession) GuardianFundsAddr() (common.Address, error)
GuardianFundsAddr is a free data retrieval call binding the contract method 0x6059775a.
Solidity: function guardianFundsAddr() constant returns(address)
func (*DospaymentCallerSession) GuardianFundsTokenAddr ¶
func (_Dospayment *DospaymentCallerSession) GuardianFundsTokenAddr() (common.Address, error)
GuardianFundsTokenAddr is a free data retrieval call binding the contract method 0xfa2c775e.
Solidity: function guardianFundsTokenAddr() constant returns(address)
func (*DospaymentCallerSession) HasServiceFee ¶
func (_Dospayment *DospaymentCallerSession) HasServiceFee(payer common.Address, serviceType *big.Int) (bool, error)
HasServiceFee is a free data retrieval call binding the contract method 0xe3650366.
Solidity: function hasServiceFee(payer address, serviceType uint256) constant returns(bool)
func (*DospaymentCallerSession) IsOwner ¶
func (_Dospayment *DospaymentCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*DospaymentCallerSession) IsSupportedToken ¶
func (_Dospayment *DospaymentCallerSession) IsSupportedToken(tokenAddr common.Address) (bool, error)
IsSupportedToken is a free data retrieval call binding the contract method 0x240028e8.
Solidity: function isSupportedToken(tokenAddr address) constant returns(bool)
func (*DospaymentCallerSession) NodeFeeBalance ¶
func (_Dospayment *DospaymentCallerSession) NodeFeeBalance(nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)
NodeFeeBalance is a free data retrieval call binding the contract method 0xc0f14e46.
Solidity: function nodeFeeBalance(nodeAddr address, tokenAddr address) constant returns(uint256)
func (*DospaymentCallerSession) Owner ¶
func (_Dospayment *DospaymentCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*DospaymentCallerSession) PaymentInfo ¶
func (_Dospayment *DospaymentCallerSession) PaymentInfo(requestID *big.Int) (common.Address, *big.Int, error)
PaymentInfo is a free data retrieval call binding the contract method 0x3157f16d.
Solidity: function paymentInfo(requestID uint256) constant returns(address, uint256)
func (*DospaymentCallerSession) PaymentMethods ¶
func (_Dospayment *DospaymentCallerSession) PaymentMethods(arg0 common.Address) (common.Address, error)
PaymentMethods is a free data retrieval call binding the contract method 0x694732c6.
Solidity: function paymentMethods( address) constant returns(address)
func (*DospaymentCallerSession) Payments ¶
func (_Dospayment *DospaymentCallerSession) Payments(arg0 *big.Int) (struct { Payer common.Address TokenAddr common.Address ServiceType *big.Int Amount *big.Int }, error)
Payments is a free data retrieval call binding the contract method 0x87d81789.
Solidity: function payments( uint256) constant returns(payer address, tokenAddr address, serviceType uint256, amount uint256)
type DospaymentFilterer ¶
type DospaymentFilterer struct {
// contains filtered or unexported fields
}
DospaymentFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDospaymentFilterer ¶
func NewDospaymentFilterer(address common.Address, filterer bind.ContractFilterer) (*DospaymentFilterer, error)
NewDospaymentFilterer creates a new log filterer instance of Dospayment, bound to a specific deployed contract.
func (*DospaymentFilterer) FilterLogChargeServiceFee ¶
func (_Dospayment *DospaymentFilterer) FilterLogChargeServiceFee(opts *bind.FilterOpts) (*DospaymentLogChargeServiceFeeIterator, error)
FilterLogChargeServiceFee is a free log retrieval operation binding the contract event 0xa94e9ce5d0a7b76275efad947367b7999d9900f23bec1377d98f522ecad1b7ba.
Solidity: e LogChargeServiceFee(payer address, tokenAddr address, requestID uint256, serviceType uint256, fee uint256)
func (*DospaymentFilterer) FilterLogClaimGuardianFee ¶
func (_Dospayment *DospaymentFilterer) FilterLogClaimGuardianFee(opts *bind.FilterOpts) (*DospaymentLogClaimGuardianFeeIterator, error)
FilterLogClaimGuardianFee is a free log retrieval operation binding the contract event 0x47ad88344c408450ef0ccab93ed97dd83af7a27dedfaa205c0725cfc4ca819cd.
Solidity: e LogClaimGuardianFee(nodeAddr address, tokenAddr address, feeForSubmitter uint256, sender address)
func (*DospaymentFilterer) FilterLogRecordServiceFee ¶
func (_Dospayment *DospaymentFilterer) FilterLogRecordServiceFee(opts *bind.FilterOpts) (*DospaymentLogRecordServiceFeeIterator, error)
FilterLogRecordServiceFee is a free log retrieval operation binding the contract event 0x4758b94d44e129dcef9dc829628a55e921926b4383f3261f968ee8f9373571e7.
Solidity: e LogRecordServiceFee(nodeAddr address, tokenAddr address, requestID uint256, serviceType uint256, fee uint256, isSubmitter bool)
func (*DospaymentFilterer) FilterLogRefundServiceFee ¶
func (_Dospayment *DospaymentFilterer) FilterLogRefundServiceFee(opts *bind.FilterOpts) (*DospaymentLogRefundServiceFeeIterator, error)
FilterLogRefundServiceFee is a free log retrieval operation binding the contract event 0xde0a5183bfc8c743f7b95ecaaf7815e8f82d8ae05ca1ade1eac1ff9d961a2eaa.
Solidity: e LogRefundServiceFee(payer address, tokenAddr address, requestID uint256, serviceType uint256, fee uint256)
func (*DospaymentFilterer) FilterOwnershipRenounced ¶
func (_Dospayment *DospaymentFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*DospaymentOwnershipRenouncedIterator, error)
FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: e OwnershipRenounced(previousOwner indexed address)
func (*DospaymentFilterer) FilterOwnershipTransferred ¶
func (_Dospayment *DospaymentFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DospaymentOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: e OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*DospaymentFilterer) WatchLogChargeServiceFee ¶
func (_Dospayment *DospaymentFilterer) WatchLogChargeServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogChargeServiceFee) (event.Subscription, error)
WatchLogChargeServiceFee is a free log subscription operation binding the contract event 0xa94e9ce5d0a7b76275efad947367b7999d9900f23bec1377d98f522ecad1b7ba.
Solidity: e LogChargeServiceFee(payer address, tokenAddr address, requestID uint256, serviceType uint256, fee uint256)
func (*DospaymentFilterer) WatchLogClaimGuardianFee ¶
func (_Dospayment *DospaymentFilterer) WatchLogClaimGuardianFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogClaimGuardianFee) (event.Subscription, error)
WatchLogClaimGuardianFee is a free log subscription operation binding the contract event 0x47ad88344c408450ef0ccab93ed97dd83af7a27dedfaa205c0725cfc4ca819cd.
Solidity: e LogClaimGuardianFee(nodeAddr address, tokenAddr address, feeForSubmitter uint256, sender address)
func (*DospaymentFilterer) WatchLogRecordServiceFee ¶
func (_Dospayment *DospaymentFilterer) WatchLogRecordServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogRecordServiceFee) (event.Subscription, error)
WatchLogRecordServiceFee is a free log subscription operation binding the contract event 0x4758b94d44e129dcef9dc829628a55e921926b4383f3261f968ee8f9373571e7.
Solidity: e LogRecordServiceFee(nodeAddr address, tokenAddr address, requestID uint256, serviceType uint256, fee uint256, isSubmitter bool)
func (*DospaymentFilterer) WatchLogRefundServiceFee ¶
func (_Dospayment *DospaymentFilterer) WatchLogRefundServiceFee(opts *bind.WatchOpts, sink chan<- *DospaymentLogRefundServiceFee) (event.Subscription, error)
WatchLogRefundServiceFee is a free log subscription operation binding the contract event 0xde0a5183bfc8c743f7b95ecaaf7815e8f82d8ae05ca1ade1eac1ff9d961a2eaa.
Solidity: e LogRefundServiceFee(payer address, tokenAddr address, requestID uint256, serviceType uint256, fee uint256)
func (*DospaymentFilterer) WatchOwnershipRenounced ¶
func (_Dospayment *DospaymentFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *DospaymentOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)
WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: e OwnershipRenounced(previousOwner indexed address)
func (*DospaymentFilterer) WatchOwnershipTransferred ¶
func (_Dospayment *DospaymentFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DospaymentOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: e OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
type DospaymentLogChargeServiceFee ¶
type DospaymentLogChargeServiceFee struct { Payer common.Address TokenAddr common.Address RequestID *big.Int ServiceType *big.Int Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
DospaymentLogChargeServiceFee represents a LogChargeServiceFee event raised by the Dospayment contract.
type DospaymentLogChargeServiceFeeIterator ¶
type DospaymentLogChargeServiceFeeIterator struct { Event *DospaymentLogChargeServiceFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DospaymentLogChargeServiceFeeIterator is returned from FilterLogChargeServiceFee and is used to iterate over the raw logs and unpacked data for LogChargeServiceFee events raised by the Dospayment contract.
func (*DospaymentLogChargeServiceFeeIterator) Close ¶
func (it *DospaymentLogChargeServiceFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DospaymentLogChargeServiceFeeIterator) Error ¶
func (it *DospaymentLogChargeServiceFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DospaymentLogChargeServiceFeeIterator) Next ¶
func (it *DospaymentLogChargeServiceFeeIterator) 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 DospaymentLogClaimGuardianFee ¶
type DospaymentLogClaimGuardianFee struct { NodeAddr common.Address TokenAddr common.Address FeeForSubmitter *big.Int Sender common.Address Raw types.Log // Blockchain specific contextual infos }
DospaymentLogClaimGuardianFee represents a LogClaimGuardianFee event raised by the Dospayment contract.
type DospaymentLogClaimGuardianFeeIterator ¶
type DospaymentLogClaimGuardianFeeIterator struct { Event *DospaymentLogClaimGuardianFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DospaymentLogClaimGuardianFeeIterator is returned from FilterLogClaimGuardianFee and is used to iterate over the raw logs and unpacked data for LogClaimGuardianFee events raised by the Dospayment contract.
func (*DospaymentLogClaimGuardianFeeIterator) Close ¶
func (it *DospaymentLogClaimGuardianFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DospaymentLogClaimGuardianFeeIterator) Error ¶
func (it *DospaymentLogClaimGuardianFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DospaymentLogClaimGuardianFeeIterator) Next ¶
func (it *DospaymentLogClaimGuardianFeeIterator) 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 DospaymentLogRecordServiceFee ¶
type DospaymentLogRecordServiceFee struct { NodeAddr common.Address TokenAddr common.Address RequestID *big.Int ServiceType *big.Int Fee *big.Int IsSubmitter bool Raw types.Log // Blockchain specific contextual infos }
DospaymentLogRecordServiceFee represents a LogRecordServiceFee event raised by the Dospayment contract.
type DospaymentLogRecordServiceFeeIterator ¶
type DospaymentLogRecordServiceFeeIterator struct { Event *DospaymentLogRecordServiceFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DospaymentLogRecordServiceFeeIterator is returned from FilterLogRecordServiceFee and is used to iterate over the raw logs and unpacked data for LogRecordServiceFee events raised by the Dospayment contract.
func (*DospaymentLogRecordServiceFeeIterator) Close ¶
func (it *DospaymentLogRecordServiceFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DospaymentLogRecordServiceFeeIterator) Error ¶
func (it *DospaymentLogRecordServiceFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DospaymentLogRecordServiceFeeIterator) Next ¶
func (it *DospaymentLogRecordServiceFeeIterator) 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 DospaymentLogRefundServiceFee ¶
type DospaymentLogRefundServiceFee struct { Payer common.Address TokenAddr common.Address RequestID *big.Int ServiceType *big.Int Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
DospaymentLogRefundServiceFee represents a LogRefundServiceFee event raised by the Dospayment contract.
type DospaymentLogRefundServiceFeeIterator ¶
type DospaymentLogRefundServiceFeeIterator struct { Event *DospaymentLogRefundServiceFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DospaymentLogRefundServiceFeeIterator is returned from FilterLogRefundServiceFee and is used to iterate over the raw logs and unpacked data for LogRefundServiceFee events raised by the Dospayment contract.
func (*DospaymentLogRefundServiceFeeIterator) Close ¶
func (it *DospaymentLogRefundServiceFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DospaymentLogRefundServiceFeeIterator) Error ¶
func (it *DospaymentLogRefundServiceFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DospaymentLogRefundServiceFeeIterator) Next ¶
func (it *DospaymentLogRefundServiceFeeIterator) 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 DospaymentOwnershipRenounced ¶
type DospaymentOwnershipRenounced struct { PreviousOwner common.Address Raw types.Log // Blockchain specific contextual infos }
DospaymentOwnershipRenounced represents a OwnershipRenounced event raised by the Dospayment contract.
type DospaymentOwnershipRenouncedIterator ¶
type DospaymentOwnershipRenouncedIterator struct { Event *DospaymentOwnershipRenounced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DospaymentOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the Dospayment contract.
func (*DospaymentOwnershipRenouncedIterator) Close ¶
func (it *DospaymentOwnershipRenouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DospaymentOwnershipRenouncedIterator) Error ¶
func (it *DospaymentOwnershipRenouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DospaymentOwnershipRenouncedIterator) Next ¶
func (it *DospaymentOwnershipRenouncedIterator) 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 DospaymentOwnershipTransferred ¶
type DospaymentOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
DospaymentOwnershipTransferred represents a OwnershipTransferred event raised by the Dospayment contract.
type DospaymentOwnershipTransferredIterator ¶
type DospaymentOwnershipTransferredIterator struct { Event *DospaymentOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DospaymentOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Dospayment contract.
func (*DospaymentOwnershipTransferredIterator) Close ¶
func (it *DospaymentOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DospaymentOwnershipTransferredIterator) Error ¶
func (it *DospaymentOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DospaymentOwnershipTransferredIterator) Next ¶
func (it *DospaymentOwnershipTransferredIterator) 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 DospaymentRaw ¶
type DospaymentRaw struct {
Contract *Dospayment // Generic contract binding to access the raw methods on
}
DospaymentRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DospaymentRaw) Call ¶
func (_Dospayment *DospaymentRaw) 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 (*DospaymentRaw) Transact ¶
func (_Dospayment *DospaymentRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DospaymentRaw) Transfer ¶
func (_Dospayment *DospaymentRaw) 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 DospaymentSession ¶
type DospaymentSession struct { Contract *Dospayment // 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 }
DospaymentSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DospaymentSession) BridgeAddr ¶
func (_Dospayment *DospaymentSession) BridgeAddr() (common.Address, error)
BridgeAddr is a free data retrieval call binding the contract method 0x91874ef7.
Solidity: function bridgeAddr() constant returns(address)
func (*DospaymentSession) ChargeServiceFee ¶
func (_Dospayment *DospaymentSession) ChargeServiceFee(payer common.Address, requestID *big.Int, serviceType *big.Int) (*types.Transaction, error)
ChargeServiceFee is a paid mutator transaction binding the contract method 0x7aa9181b.
Solidity: function chargeServiceFee(payer address, requestID uint256, serviceType uint256) returns()
func (*DospaymentSession) ClaimGuardianReward ¶
func (_Dospayment *DospaymentSession) ClaimGuardianReward(guardianAddr common.Address) (*types.Transaction, error)
ClaimGuardianReward is a paid mutator transaction binding the contract method 0x23ff34cb.
Solidity: function claimGuardianReward(guardianAddr address) returns()
func (*DospaymentSession) DefaultGuardianFee ¶
func (_Dospayment *DospaymentSession) DefaultGuardianFee() (*big.Int, error)
DefaultGuardianFee is a free data retrieval call binding the contract method 0x6dfa72b0.
Solidity: function defaultGuardianFee() constant returns(uint256)
func (*DospaymentSession) DefaultSubmitterCut ¶
func (_Dospayment *DospaymentSession) DefaultSubmitterCut() (*big.Int, error)
DefaultSubmitterCut is a free data retrieval call binding the contract method 0x571028e3.
Solidity: function defaultSubmitterCut() constant returns(uint256)
func (*DospaymentSession) DefaultSystemRandomFee ¶
func (_Dospayment *DospaymentSession) DefaultSystemRandomFee() (*big.Int, error)
DefaultSystemRandomFee is a free data retrieval call binding the contract method 0xcb7ca88c.
Solidity: function defaultSystemRandomFee() constant returns(uint256)
func (*DospaymentSession) DefaultTokenAddr ¶
func (_Dospayment *DospaymentSession) DefaultTokenAddr() (common.Address, error)
DefaultTokenAddr is a free data retrieval call binding the contract method 0x02b8b587.
Solidity: function defaultTokenAddr() constant returns(address)
func (*DospaymentSession) DefaultUserQueryFee ¶
func (_Dospayment *DospaymentSession) DefaultUserQueryFee() (*big.Int, error)
DefaultUserQueryFee is a free data retrieval call binding the contract method 0xc60be4fd.
Solidity: function defaultUserQueryFee() constant returns(uint256)
func (*DospaymentSession) DefaultUserRandomFee ¶
func (_Dospayment *DospaymentSession) DefaultUserRandomFee() (*big.Int, error)
DefaultUserRandomFee is a free data retrieval call binding the contract method 0x4a0a382f.
Solidity: function defaultUserRandomFee() constant returns(uint256)
func (*DospaymentSession) FeeLists ¶
func (_Dospayment *DospaymentSession) FeeLists(arg0 common.Address) (struct { SubmitterCut *big.Int GuardianFee *big.Int }, error)
FeeLists is a free data retrieval call binding the contract method 0xd95eaa7a.
Solidity: function feeLists( address) constant returns(submitterCut uint256, guardianFee uint256)
func (*DospaymentSession) GuardianFundsAddr ¶
func (_Dospayment *DospaymentSession) GuardianFundsAddr() (common.Address, error)
GuardianFundsAddr is a free data retrieval call binding the contract method 0x6059775a.
Solidity: function guardianFundsAddr() constant returns(address)
func (*DospaymentSession) GuardianFundsTokenAddr ¶
func (_Dospayment *DospaymentSession) GuardianFundsTokenAddr() (common.Address, error)
GuardianFundsTokenAddr is a free data retrieval call binding the contract method 0xfa2c775e.
Solidity: function guardianFundsTokenAddr() constant returns(address)
func (*DospaymentSession) HasServiceFee ¶
func (_Dospayment *DospaymentSession) HasServiceFee(payer common.Address, serviceType *big.Int) (bool, error)
HasServiceFee is a free data retrieval call binding the contract method 0xe3650366.
Solidity: function hasServiceFee(payer address, serviceType uint256) constant returns(bool)
func (*DospaymentSession) Initialize ¶
func (_Dospayment *DospaymentSession) Initialize(_bridgeAddr common.Address, _guardianFundsAddr common.Address, _tokenAddr common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(_bridgeAddr address, _guardianFundsAddr address, _tokenAddr address) returns()
func (*DospaymentSession) IsOwner ¶
func (_Dospayment *DospaymentSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*DospaymentSession) IsSupportedToken ¶
func (_Dospayment *DospaymentSession) IsSupportedToken(tokenAddr common.Address) (bool, error)
IsSupportedToken is a free data retrieval call binding the contract method 0x240028e8.
Solidity: function isSupportedToken(tokenAddr address) constant returns(bool)
func (*DospaymentSession) NodeClaim ¶
func (_Dospayment *DospaymentSession) NodeClaim(to common.Address) (*types.Transaction, error)
NodeClaim is a paid mutator transaction binding the contract method 0xf39a19bf.
Solidity: function nodeClaim(to address) returns(uint256)
func (*DospaymentSession) NodeFeeBalance ¶
func (_Dospayment *DospaymentSession) NodeFeeBalance(nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)
NodeFeeBalance is a free data retrieval call binding the contract method 0xc0f14e46.
Solidity: function nodeFeeBalance(nodeAddr address, tokenAddr address) constant returns(uint256)
func (*DospaymentSession) Owner ¶
func (_Dospayment *DospaymentSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*DospaymentSession) PaymentInfo ¶
func (_Dospayment *DospaymentSession) PaymentInfo(requestID *big.Int) (common.Address, *big.Int, error)
PaymentInfo is a free data retrieval call binding the contract method 0x3157f16d.
Solidity: function paymentInfo(requestID uint256) constant returns(address, uint256)
func (*DospaymentSession) PaymentMethods ¶
PaymentMethods is a free data retrieval call binding the contract method 0x694732c6.
Solidity: function paymentMethods( address) constant returns(address)
func (*DospaymentSession) Payments ¶
func (_Dospayment *DospaymentSession) Payments(arg0 *big.Int) (struct { Payer common.Address TokenAddr common.Address ServiceType *big.Int Amount *big.Int }, error)
Payments is a free data retrieval call binding the contract method 0x87d81789.
Solidity: function payments( uint256) constant returns(payer address, tokenAddr address, serviceType uint256, amount uint256)
func (*DospaymentSession) RecordServiceFee ¶
func (_Dospayment *DospaymentSession) RecordServiceFee(requestID *big.Int, submitter common.Address, workers []common.Address) (*types.Transaction, error)
RecordServiceFee is a paid mutator transaction binding the contract method 0x8403f7dc.
Solidity: function recordServiceFee(requestID uint256, submitter address, workers address[]) returns()
func (*DospaymentSession) RefundServiceFee ¶
func (_Dospayment *DospaymentSession) RefundServiceFee(requestID *big.Int) (*types.Transaction, error)
RefundServiceFee is a paid mutator transaction binding the contract method 0x1efa5a98.
Solidity: function refundServiceFee(requestID uint256) returns()
func (*DospaymentSession) RenounceOwnership ¶
func (_Dospayment *DospaymentSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DospaymentSession) SetFeeDividend ¶
func (_Dospayment *DospaymentSession) SetFeeDividend(tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error)
SetFeeDividend is a paid mutator transaction binding the contract method 0x2c097993.
Solidity: function setFeeDividend(tokenAddr address, submitterCut uint256) returns()
func (*DospaymentSession) SetGuardianFee ¶
func (_Dospayment *DospaymentSession) SetGuardianFee(tokenAddr common.Address, fee *big.Int) (*types.Transaction, error)
SetGuardianFee is a paid mutator transaction binding the contract method 0xeebede83.
Solidity: function setGuardianFee(tokenAddr address, fee uint256) returns()
func (*DospaymentSession) SetGuardianFunds ¶
func (_Dospayment *DospaymentSession) SetGuardianFunds(fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error)
SetGuardianFunds is a paid mutator transaction binding the contract method 0x5a1fa503.
Solidity: function setGuardianFunds(fundsAddr address, tokenAddr address) returns()
func (*DospaymentSession) SetPaymentMethod ¶
func (_Dospayment *DospaymentSession) SetPaymentMethod(payer common.Address, tokenAddr common.Address) (*types.Transaction, error)
SetPaymentMethod is a paid mutator transaction binding the contract method 0xb73a3f8f.
Solidity: function setPaymentMethod(payer address, tokenAddr address) returns()
func (*DospaymentSession) SetServiceFee ¶
func (_Dospayment *DospaymentSession) SetServiceFee(tokenAddr common.Address, serviceType *big.Int, fee *big.Int) (*types.Transaction, error)
SetServiceFee is a paid mutator transaction binding the contract method 0x3939c401.
Solidity: function setServiceFee(tokenAddr address, serviceType uint256, fee uint256) returns()
func (*DospaymentSession) TransferOwnership ¶
func (_Dospayment *DospaymentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type DospaymentTransactor ¶
type DospaymentTransactor struct {
// contains filtered or unexported fields
}
DospaymentTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDospaymentTransactor ¶
func NewDospaymentTransactor(address common.Address, transactor bind.ContractTransactor) (*DospaymentTransactor, error)
NewDospaymentTransactor creates a new write-only instance of Dospayment, bound to a specific deployed contract.
func (*DospaymentTransactor) ChargeServiceFee ¶
func (_Dospayment *DospaymentTransactor) ChargeServiceFee(opts *bind.TransactOpts, payer common.Address, requestID *big.Int, serviceType *big.Int) (*types.Transaction, error)
ChargeServiceFee is a paid mutator transaction binding the contract method 0x7aa9181b.
Solidity: function chargeServiceFee(payer address, requestID uint256, serviceType uint256) returns()
func (*DospaymentTransactor) ClaimGuardianReward ¶
func (_Dospayment *DospaymentTransactor) ClaimGuardianReward(opts *bind.TransactOpts, guardianAddr common.Address) (*types.Transaction, error)
ClaimGuardianReward is a paid mutator transaction binding the contract method 0x23ff34cb.
Solidity: function claimGuardianReward(guardianAddr address) returns()
func (*DospaymentTransactor) Initialize ¶
func (_Dospayment *DospaymentTransactor) Initialize(opts *bind.TransactOpts, _bridgeAddr common.Address, _guardianFundsAddr common.Address, _tokenAddr common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(_bridgeAddr address, _guardianFundsAddr address, _tokenAddr address) returns()
func (*DospaymentTransactor) NodeClaim ¶
func (_Dospayment *DospaymentTransactor) NodeClaim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
NodeClaim is a paid mutator transaction binding the contract method 0xf39a19bf.
Solidity: function nodeClaim(to address) returns(uint256)
func (*DospaymentTransactor) RecordServiceFee ¶
func (_Dospayment *DospaymentTransactor) RecordServiceFee(opts *bind.TransactOpts, requestID *big.Int, submitter common.Address, workers []common.Address) (*types.Transaction, error)
RecordServiceFee is a paid mutator transaction binding the contract method 0x8403f7dc.
Solidity: function recordServiceFee(requestID uint256, submitter address, workers address[]) returns()
func (*DospaymentTransactor) RefundServiceFee ¶
func (_Dospayment *DospaymentTransactor) RefundServiceFee(opts *bind.TransactOpts, requestID *big.Int) (*types.Transaction, error)
RefundServiceFee is a paid mutator transaction binding the contract method 0x1efa5a98.
Solidity: function refundServiceFee(requestID uint256) returns()
func (*DospaymentTransactor) RenounceOwnership ¶
func (_Dospayment *DospaymentTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DospaymentTransactor) SetFeeDividend ¶
func (_Dospayment *DospaymentTransactor) SetFeeDividend(opts *bind.TransactOpts, tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error)
SetFeeDividend is a paid mutator transaction binding the contract method 0x2c097993.
Solidity: function setFeeDividend(tokenAddr address, submitterCut uint256) returns()
func (*DospaymentTransactor) SetGuardianFee ¶
func (_Dospayment *DospaymentTransactor) SetGuardianFee(opts *bind.TransactOpts, tokenAddr common.Address, fee *big.Int) (*types.Transaction, error)
SetGuardianFee is a paid mutator transaction binding the contract method 0xeebede83.
Solidity: function setGuardianFee(tokenAddr address, fee uint256) returns()
func (*DospaymentTransactor) SetGuardianFunds ¶
func (_Dospayment *DospaymentTransactor) SetGuardianFunds(opts *bind.TransactOpts, fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error)
SetGuardianFunds is a paid mutator transaction binding the contract method 0x5a1fa503.
Solidity: function setGuardianFunds(fundsAddr address, tokenAddr address) returns()
func (*DospaymentTransactor) SetPaymentMethod ¶
func (_Dospayment *DospaymentTransactor) SetPaymentMethod(opts *bind.TransactOpts, payer common.Address, tokenAddr common.Address) (*types.Transaction, error)
SetPaymentMethod is a paid mutator transaction binding the contract method 0xb73a3f8f.
Solidity: function setPaymentMethod(payer address, tokenAddr address) returns()
func (*DospaymentTransactor) SetServiceFee ¶
func (_Dospayment *DospaymentTransactor) SetServiceFee(opts *bind.TransactOpts, tokenAddr common.Address, serviceType *big.Int, fee *big.Int) (*types.Transaction, error)
SetServiceFee is a paid mutator transaction binding the contract method 0x3939c401.
Solidity: function setServiceFee(tokenAddr address, serviceType uint256, fee uint256) returns()
func (*DospaymentTransactor) TransferOwnership ¶
func (_Dospayment *DospaymentTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type DospaymentTransactorRaw ¶
type DospaymentTransactorRaw struct {
Contract *DospaymentTransactor // Generic write-only contract binding to access the raw methods on
}
DospaymentTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DospaymentTransactorRaw) Transact ¶
func (_Dospayment *DospaymentTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DospaymentTransactorRaw) Transfer ¶
func (_Dospayment *DospaymentTransactorRaw) 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 DospaymentTransactorSession ¶
type DospaymentTransactorSession struct { Contract *DospaymentTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DospaymentTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DospaymentTransactorSession) ChargeServiceFee ¶
func (_Dospayment *DospaymentTransactorSession) ChargeServiceFee(payer common.Address, requestID *big.Int, serviceType *big.Int) (*types.Transaction, error)
ChargeServiceFee is a paid mutator transaction binding the contract method 0x7aa9181b.
Solidity: function chargeServiceFee(payer address, requestID uint256, serviceType uint256) returns()
func (*DospaymentTransactorSession) ClaimGuardianReward ¶
func (_Dospayment *DospaymentTransactorSession) ClaimGuardianReward(guardianAddr common.Address) (*types.Transaction, error)
ClaimGuardianReward is a paid mutator transaction binding the contract method 0x23ff34cb.
Solidity: function claimGuardianReward(guardianAddr address) returns()
func (*DospaymentTransactorSession) Initialize ¶
func (_Dospayment *DospaymentTransactorSession) Initialize(_bridgeAddr common.Address, _guardianFundsAddr common.Address, _tokenAddr common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(_bridgeAddr address, _guardianFundsAddr address, _tokenAddr address) returns()
func (*DospaymentTransactorSession) NodeClaim ¶
func (_Dospayment *DospaymentTransactorSession) NodeClaim(to common.Address) (*types.Transaction, error)
NodeClaim is a paid mutator transaction binding the contract method 0xf39a19bf.
Solidity: function nodeClaim(to address) returns(uint256)
func (*DospaymentTransactorSession) RecordServiceFee ¶
func (_Dospayment *DospaymentTransactorSession) RecordServiceFee(requestID *big.Int, submitter common.Address, workers []common.Address) (*types.Transaction, error)
RecordServiceFee is a paid mutator transaction binding the contract method 0x8403f7dc.
Solidity: function recordServiceFee(requestID uint256, submitter address, workers address[]) returns()
func (*DospaymentTransactorSession) RefundServiceFee ¶
func (_Dospayment *DospaymentTransactorSession) RefundServiceFee(requestID *big.Int) (*types.Transaction, error)
RefundServiceFee is a paid mutator transaction binding the contract method 0x1efa5a98.
Solidity: function refundServiceFee(requestID uint256) returns()
func (*DospaymentTransactorSession) RenounceOwnership ¶
func (_Dospayment *DospaymentTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DospaymentTransactorSession) SetFeeDividend ¶
func (_Dospayment *DospaymentTransactorSession) SetFeeDividend(tokenAddr common.Address, submitterCut *big.Int) (*types.Transaction, error)
SetFeeDividend is a paid mutator transaction binding the contract method 0x2c097993.
Solidity: function setFeeDividend(tokenAddr address, submitterCut uint256) returns()
func (*DospaymentTransactorSession) SetGuardianFee ¶
func (_Dospayment *DospaymentTransactorSession) SetGuardianFee(tokenAddr common.Address, fee *big.Int) (*types.Transaction, error)
SetGuardianFee is a paid mutator transaction binding the contract method 0xeebede83.
Solidity: function setGuardianFee(tokenAddr address, fee uint256) returns()
func (*DospaymentTransactorSession) SetGuardianFunds ¶
func (_Dospayment *DospaymentTransactorSession) SetGuardianFunds(fundsAddr common.Address, tokenAddr common.Address) (*types.Transaction, error)
SetGuardianFunds is a paid mutator transaction binding the contract method 0x5a1fa503.
Solidity: function setGuardianFunds(fundsAddr address, tokenAddr address) returns()
func (*DospaymentTransactorSession) SetPaymentMethod ¶
func (_Dospayment *DospaymentTransactorSession) SetPaymentMethod(payer common.Address, tokenAddr common.Address) (*types.Transaction, error)
SetPaymentMethod is a paid mutator transaction binding the contract method 0xb73a3f8f.
Solidity: function setPaymentMethod(payer address, tokenAddr address) returns()
func (*DospaymentTransactorSession) SetServiceFee ¶
func (_Dospayment *DospaymentTransactorSession) SetServiceFee(tokenAddr common.Address, serviceType *big.Int, fee *big.Int) (*types.Transaction, error)
SetServiceFee is a paid mutator transaction binding the contract method 0x3939c401.
Solidity: function setServiceFee(tokenAddr address, serviceType uint256, fee uint256) returns()
func (*DospaymentTransactorSession) TransferOwnership ¶
func (_Dospayment *DospaymentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()