dospayment

package
v1.0.4-m Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DospaymentABI = "" /* 11943-byte string literal not displayed */

DospaymentABI is the input ABI used to generate the binding from.

Variables

View Source
var DospaymentBin = "" /* 15842-byte string literal not displayed */

DospaymentBin is the compiled bytecode used for deploying new contracts.

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) Admin

func (_Dospayment *DospaymentCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*DospaymentCaller) BridgeAddr

func (_Dospayment *DospaymentCaller) BridgeAddr(opts *bind.CallOpts) (common.Address, error)

BridgeAddr is a free data retrieval call binding the contract method 0x91874ef7.

Solidity: function bridgeAddr() view returns(address)

func (*DospaymentCaller) DefaultGuardianFee

func (_Dospayment *DospaymentCaller) DefaultGuardianFee(opts *bind.CallOpts) (*big.Int, error)

DefaultGuardianFee is a free data retrieval call binding the contract method 0x6dfa72b0.

Solidity: function defaultGuardianFee() view returns(uint256)

func (*DospaymentCaller) DefaultSubmitterCut

func (_Dospayment *DospaymentCaller) DefaultSubmitterCut(opts *bind.CallOpts) (*big.Int, error)

DefaultSubmitterCut is a free data retrieval call binding the contract method 0x571028e3.

Solidity: function defaultSubmitterCut() view returns(uint256)

func (*DospaymentCaller) DefaultSystemRandomFee

func (_Dospayment *DospaymentCaller) DefaultSystemRandomFee(opts *bind.CallOpts) (*big.Int, error)

DefaultSystemRandomFee is a free data retrieval call binding the contract method 0xcb7ca88c.

Solidity: function defaultSystemRandomFee() view returns(uint256)

func (*DospaymentCaller) DefaultTokenAddr

func (_Dospayment *DospaymentCaller) DefaultTokenAddr(opts *bind.CallOpts) (common.Address, error)

DefaultTokenAddr is a free data retrieval call binding the contract method 0x02b8b587.

Solidity: function defaultTokenAddr() view returns(address)

func (*DospaymentCaller) DefaultUserQueryFee

func (_Dospayment *DospaymentCaller) DefaultUserQueryFee(opts *bind.CallOpts) (*big.Int, error)

DefaultUserQueryFee is a free data retrieval call binding the contract method 0xc60be4fd.

Solidity: function defaultUserQueryFee() view returns(uint256)

func (*DospaymentCaller) DefaultUserRandomFee

func (_Dospayment *DospaymentCaller) DefaultUserRandomFee(opts *bind.CallOpts) (*big.Int, error)

DefaultUserRandomFee is a free data retrieval call binding the contract method 0x4a0a382f.

Solidity: function defaultUserRandomFee() view 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 ) view returns(uint256 submitterCut, uint256 guardianFee)

func (*DospaymentCaller) GetServiceTypeFee

func (_Dospayment *DospaymentCaller) GetServiceTypeFee(opts *bind.CallOpts, tokenAddr common.Address, serviceType *big.Int) (*big.Int, error)

GetServiceTypeFee is a free data retrieval call binding the contract method 0x310ae824.

Solidity: function getServiceTypeFee(address tokenAddr, uint256 serviceType) view returns(uint256)

func (*DospaymentCaller) GuardianFundsAddr

func (_Dospayment *DospaymentCaller) GuardianFundsAddr(opts *bind.CallOpts) (common.Address, error)

GuardianFundsAddr is a free data retrieval call binding the contract method 0x6059775a.

Solidity: function guardianFundsAddr() view 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() view 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(address payer, uint256 serviceType) view 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(address tokenAddr) view returns(bool)

func (*DospaymentCaller) NodeFeeBalance

func (_Dospayment *DospaymentCaller) NodeFeeBalance(opts *bind.CallOpts, nodeAddr common.Address) (*big.Int, error)

NodeFeeBalance is a free data retrieval call binding the contract method 0xa93eb110.

Solidity: function nodeFeeBalance(address nodeAddr) view returns(uint256)

func (*DospaymentCaller) NodeFeeBalance0

func (_Dospayment *DospaymentCaller) NodeFeeBalance0(opts *bind.CallOpts, nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)

NodeFeeBalance0 is a free data retrieval call binding the contract method 0xc0f14e46.

Solidity: function nodeFeeBalance(address nodeAddr, address tokenAddr) view returns(uint256)

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(uint256 requestID) view 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 ) view 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 ) view returns(address payer, address tokenAddr, uint256 serviceType, uint256 amount)

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) Admin

func (_Dospayment *DospaymentCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

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() view 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() view 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() view 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() view 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() view 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() view 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() view 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 ) view returns(uint256 submitterCut, uint256 guardianFee)

func (*DospaymentCallerSession) GetServiceTypeFee

func (_Dospayment *DospaymentCallerSession) GetServiceTypeFee(tokenAddr common.Address, serviceType *big.Int) (*big.Int, error)

GetServiceTypeFee is a free data retrieval call binding the contract method 0x310ae824.

Solidity: function getServiceTypeFee(address tokenAddr, uint256 serviceType) view returns(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() view 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() view 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(address payer, uint256 serviceType) view 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(address tokenAddr) view returns(bool)

func (*DospaymentCallerSession) NodeFeeBalance

func (_Dospayment *DospaymentCallerSession) NodeFeeBalance(nodeAddr common.Address) (*big.Int, error)

NodeFeeBalance is a free data retrieval call binding the contract method 0xa93eb110.

Solidity: function nodeFeeBalance(address nodeAddr) view returns(uint256)

func (*DospaymentCallerSession) NodeFeeBalance0

func (_Dospayment *DospaymentCallerSession) NodeFeeBalance0(nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)

NodeFeeBalance0 is a free data retrieval call binding the contract method 0xc0f14e46.

Solidity: function nodeFeeBalance(address nodeAddr, address tokenAddr) view returns(uint256)

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(uint256 requestID) view 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 ) view 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 ) view returns(address payer, address tokenAddr, uint256 serviceType, uint256 amount)

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: event LogChargeServiceFee(address payer, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee)

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: event LogClaimGuardianFee(address nodeAddr, address tokenAddr, uint256 feeForSubmitter, address sender)

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: event LogRecordServiceFee(address nodeAddr, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee, bool isSubmitter)

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: event LogRefundServiceFee(address payer, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee)

func (*DospaymentFilterer) FilterUpdatePaymentAdmin

func (_Dospayment *DospaymentFilterer) FilterUpdatePaymentAdmin(opts *bind.FilterOpts) (*DospaymentUpdatePaymentAdminIterator, error)

FilterUpdatePaymentAdmin is a free log retrieval operation binding the contract event 0xe0be0cc9c5ea7d7a7f3909ad261ab0e0fbc9aae3fe819864f60d81d91286dc30.

Solidity: event UpdatePaymentAdmin(address oldAdmin, address newAdmin)

func (*DospaymentFilterer) ParseLogChargeServiceFee

func (_Dospayment *DospaymentFilterer) ParseLogChargeServiceFee(log types.Log) (*DospaymentLogChargeServiceFee, error)

ParseLogChargeServiceFee is a log parse operation binding the contract event 0xa94e9ce5d0a7b76275efad947367b7999d9900f23bec1377d98f522ecad1b7ba.

Solidity: event LogChargeServiceFee(address payer, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee)

func (*DospaymentFilterer) ParseLogClaimGuardianFee

func (_Dospayment *DospaymentFilterer) ParseLogClaimGuardianFee(log types.Log) (*DospaymentLogClaimGuardianFee, error)

ParseLogClaimGuardianFee is a log parse operation binding the contract event 0x47ad88344c408450ef0ccab93ed97dd83af7a27dedfaa205c0725cfc4ca819cd.

Solidity: event LogClaimGuardianFee(address nodeAddr, address tokenAddr, uint256 feeForSubmitter, address sender)

func (*DospaymentFilterer) ParseLogRecordServiceFee

func (_Dospayment *DospaymentFilterer) ParseLogRecordServiceFee(log types.Log) (*DospaymentLogRecordServiceFee, error)

ParseLogRecordServiceFee is a log parse operation binding the contract event 0x4758b94d44e129dcef9dc829628a55e921926b4383f3261f968ee8f9373571e7.

Solidity: event LogRecordServiceFee(address nodeAddr, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee, bool isSubmitter)

func (*DospaymentFilterer) ParseLogRefundServiceFee

func (_Dospayment *DospaymentFilterer) ParseLogRefundServiceFee(log types.Log) (*DospaymentLogRefundServiceFee, error)

ParseLogRefundServiceFee is a log parse operation binding the contract event 0xde0a5183bfc8c743f7b95ecaaf7815e8f82d8ae05ca1ade1eac1ff9d961a2eaa.

Solidity: event LogRefundServiceFee(address payer, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee)

func (*DospaymentFilterer) ParseUpdatePaymentAdmin

func (_Dospayment *DospaymentFilterer) ParseUpdatePaymentAdmin(log types.Log) (*DospaymentUpdatePaymentAdmin, error)

ParseUpdatePaymentAdmin is a log parse operation binding the contract event 0xe0be0cc9c5ea7d7a7f3909ad261ab0e0fbc9aae3fe819864f60d81d91286dc30.

Solidity: event UpdatePaymentAdmin(address oldAdmin, address newAdmin)

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: event LogChargeServiceFee(address payer, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee)

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: event LogClaimGuardianFee(address nodeAddr, address tokenAddr, uint256 feeForSubmitter, address sender)

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: event LogRecordServiceFee(address nodeAddr, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee, bool isSubmitter)

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: event LogRefundServiceFee(address payer, address tokenAddr, uint256 requestID, uint256 serviceType, uint256 fee)

func (*DospaymentFilterer) WatchUpdatePaymentAdmin

func (_Dospayment *DospaymentFilterer) WatchUpdatePaymentAdmin(opts *bind.WatchOpts, sink chan<- *DospaymentUpdatePaymentAdmin) (event.Subscription, error)

WatchUpdatePaymentAdmin is a free log subscription operation binding the contract event 0xe0be0cc9c5ea7d7a7f3909ad261ab0e0fbc9aae3fe819864f60d81d91286dc30.

Solidity: event UpdatePaymentAdmin(address oldAdmin, address newAdmin)

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

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

func (*DospaymentLogChargeServiceFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DospaymentLogChargeServiceFeeIterator) 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 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

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

func (*DospaymentLogClaimGuardianFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DospaymentLogClaimGuardianFeeIterator) 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 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

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

func (*DospaymentLogRecordServiceFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DospaymentLogRecordServiceFeeIterator) 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 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

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

func (*DospaymentLogRefundServiceFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DospaymentLogRefundServiceFeeIterator) 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 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) Admin

func (_Dospayment *DospaymentSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

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() view 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(address payer, uint256 requestID, uint256 serviceType) 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(address guardianAddr) 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() view 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() view 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() view 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() view 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() view 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() view 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 ) view returns(uint256 submitterCut, uint256 guardianFee)

func (*DospaymentSession) GetServiceTypeFee

func (_Dospayment *DospaymentSession) GetServiceTypeFee(tokenAddr common.Address, serviceType *big.Int) (*big.Int, error)

GetServiceTypeFee is a free data retrieval call binding the contract method 0x310ae824.

Solidity: function getServiceTypeFee(address tokenAddr, uint256 serviceType) view returns(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() view 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() view 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(address payer, uint256 serviceType) view 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(address _bridgeAddr, address _guardianFundsAddr, address _tokenAddr) returns()

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(address tokenAddr) view returns(bool)

func (*DospaymentSession) NodeClaim

func (_Dospayment *DospaymentSession) NodeClaim() (*types.Transaction, error)

NodeClaim is a paid mutator transaction binding the contract method 0x746c73fd.

Solidity: function nodeClaim() returns(uint256)

func (*DospaymentSession) NodeClaim0

func (_Dospayment *DospaymentSession) NodeClaim0(to common.Address) (*types.Transaction, error)

NodeClaim0 is a paid mutator transaction binding the contract method 0xf39a19bf.

Solidity: function nodeClaim(address to) returns(uint256)

func (*DospaymentSession) NodeFeeBalance

func (_Dospayment *DospaymentSession) NodeFeeBalance(nodeAddr common.Address) (*big.Int, error)

NodeFeeBalance is a free data retrieval call binding the contract method 0xa93eb110.

Solidity: function nodeFeeBalance(address nodeAddr) view returns(uint256)

func (*DospaymentSession) NodeFeeBalance0

func (_Dospayment *DospaymentSession) NodeFeeBalance0(nodeAddr common.Address, tokenAddr common.Address) (*big.Int, error)

NodeFeeBalance0 is a free data retrieval call binding the contract method 0xc0f14e46.

Solidity: function nodeFeeBalance(address nodeAddr, address tokenAddr) view returns(uint256)

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(uint256 requestID) view returns(address, uint256)

func (*DospaymentSession) PaymentMethods

func (_Dospayment *DospaymentSession) PaymentMethods(arg0 common.Address) (common.Address, error)

PaymentMethods is a free data retrieval call binding the contract method 0x694732c6.

Solidity: function paymentMethods(address ) view 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 ) view returns(address payer, address tokenAddr, uint256 serviceType, uint256 amount)

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(uint256 requestID, address submitter, address[] workers) 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(uint256 requestID) returns()

func (*DospaymentSession) SetAdmin

func (_Dospayment *DospaymentSession) SetAdmin(newAdmin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address newAdmin) 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(address tokenAddr, uint256 submitterCut) 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(address tokenAddr, uint256 fee) 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(address fundsAddr, address tokenAddr) 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(address payer, address tokenAddr) 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(address tokenAddr, uint256 serviceType, uint256 fee) 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(address payer, uint256 requestID, uint256 serviceType) 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(address guardianAddr) 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(address _bridgeAddr, address _guardianFundsAddr, address _tokenAddr) returns()

func (*DospaymentTransactor) NodeClaim

func (_Dospayment *DospaymentTransactor) NodeClaim(opts *bind.TransactOpts) (*types.Transaction, error)

NodeClaim is a paid mutator transaction binding the contract method 0x746c73fd.

Solidity: function nodeClaim() returns(uint256)

func (*DospaymentTransactor) NodeClaim0

func (_Dospayment *DospaymentTransactor) NodeClaim0(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

NodeClaim0 is a paid mutator transaction binding the contract method 0xf39a19bf.

Solidity: function nodeClaim(address to) 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(uint256 requestID, address submitter, address[] workers) 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(uint256 requestID) returns()

func (*DospaymentTransactor) SetAdmin

func (_Dospayment *DospaymentTransactor) SetAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address newAdmin) 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(address tokenAddr, uint256 submitterCut) 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(address tokenAddr, uint256 fee) 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(address fundsAddr, address tokenAddr) 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(address payer, address tokenAddr) 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(address tokenAddr, uint256 serviceType, uint256 fee) 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(address payer, uint256 requestID, uint256 serviceType) 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(address guardianAddr) 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(address _bridgeAddr, address _guardianFundsAddr, address _tokenAddr) returns()

func (*DospaymentTransactorSession) NodeClaim

func (_Dospayment *DospaymentTransactorSession) NodeClaim() (*types.Transaction, error)

NodeClaim is a paid mutator transaction binding the contract method 0x746c73fd.

Solidity: function nodeClaim() returns(uint256)

func (*DospaymentTransactorSession) NodeClaim0

func (_Dospayment *DospaymentTransactorSession) NodeClaim0(to common.Address) (*types.Transaction, error)

NodeClaim0 is a paid mutator transaction binding the contract method 0xf39a19bf.

Solidity: function nodeClaim(address to) 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(uint256 requestID, address submitter, address[] workers) 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(uint256 requestID) returns()

func (*DospaymentTransactorSession) SetAdmin

func (_Dospayment *DospaymentTransactorSession) SetAdmin(newAdmin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address newAdmin) 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(address tokenAddr, uint256 submitterCut) 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(address tokenAddr, uint256 fee) 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(address fundsAddr, address tokenAddr) 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(address payer, address tokenAddr) 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(address tokenAddr, uint256 serviceType, uint256 fee) returns()

type DospaymentUpdatePaymentAdmin

type DospaymentUpdatePaymentAdmin struct {
	OldAdmin common.Address
	NewAdmin common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

DospaymentUpdatePaymentAdmin represents a UpdatePaymentAdmin event raised by the Dospayment contract.

type DospaymentUpdatePaymentAdminIterator

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

DospaymentUpdatePaymentAdminIterator is returned from FilterUpdatePaymentAdmin and is used to iterate over the raw logs and unpacked data for UpdatePaymentAdmin events raised by the Dospayment contract.

func (*DospaymentUpdatePaymentAdminIterator) Close

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

func (*DospaymentUpdatePaymentAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DospaymentUpdatePaymentAdminIterator) 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.

Jump to

Keyboard shortcuts

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