Documentation
¶
Index ¶
- Variables
- func ParseError(err error) string
- type AggregatedTask
- type AggregatedTaskCaller
- type AggregatedTaskCallerRaw
- type AggregatedTaskCallerSession
- type AggregatedTaskFilterer
- func (_AggregatedTask *AggregatedTaskFilterer) FilterRegisteredToTaskRegistry(opts *bind.FilterOpts, taskContract []common.Address, owner []common.Address) (*AggregatedTaskRegisteredToTaskRegistryIterator, error)
- func (_AggregatedTask *AggregatedTaskFilterer) FilterTaskCreated(opts *bind.FilterOpts) (*AggregatedTaskTaskCreatedIterator, error)
- func (_AggregatedTask *AggregatedTaskFilterer) ParseRegisteredToTaskRegistry(log types.Log) (*AggregatedTaskRegisteredToTaskRegistry, error)
- func (_AggregatedTask *AggregatedTaskFilterer) ParseTaskCreated(log types.Log) (*AggregatedTaskTaskCreated, error)
- func (_AggregatedTask *AggregatedTaskFilterer) WatchRegisteredToTaskRegistry(opts *bind.WatchOpts, sink chan<- *AggregatedTaskRegisteredToTaskRegistry, ...) (event.Subscription, error)
- func (_AggregatedTask *AggregatedTaskFilterer) WatchTaskCreated(opts *bind.WatchOpts, sink chan<- *AggregatedTaskTaskCreated) (event.Subscription, error)
- type AggregatedTaskRaw
- func (_AggregatedTask *AggregatedTaskRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AggregatedTask *AggregatedTaskRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AggregatedTask *AggregatedTaskRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AggregatedTaskRegisteredToTaskRegistry
- type AggregatedTaskRegisteredToTaskRegistryIterator
- type AggregatedTaskSession
- type AggregatedTaskTaskCreated
- type AggregatedTaskTaskCreatedIterator
- type AggregatedTaskTransactor
- type AggregatedTaskTransactorRaw
- type AggregatedTaskTransactorSession
- type CollateralOption
- type CollateralStub
- func (s *CollateralStub) ContractInfo() (models.CollateralContractInfoForECP, error)
- func (s *CollateralStub) CpInfo() (models.CpCollateralInfoForECP, error)
- func (s *CollateralStub) Deposit(amount *big.Int) (string, error)
- func (s *CollateralStub) Withdraw(amount *big.Int) (string, error)
- func (s *CollateralStub) WithdrawConfirm() (string, error)
- func (s *CollateralStub) WithdrawRequest(amount *big.Int) (string, error)
- func (s *CollateralStub) WithdrawView() (models.WithdrawRequest, error)
- type ECPCollateralCPInfo
- type ECPCollateralContractInfo
- type ECPCollateralWithdrawRequest
- type EcpCollateral
- type EcpCollateralCaller
- func (_EcpCollateral *EcpCollateralCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCaller) BaseCollateral(opts *bind.CallOpts) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCaller) CollateralRatio(opts *bind.CallOpts) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCaller) CollateralToken(opts *bind.CallOpts) (common.Address, error)
- func (_EcpCollateral *EcpCollateralCaller) CpInfo(opts *bind.CallOpts, cpAccount common.Address) (ECPCollateralCPInfo, error)
- func (_EcpCollateral *EcpCollateralCaller) CpStatus(opts *bind.CallOpts, arg0 common.Address) (string, error)
- func (_EcpCollateral *EcpCollateralCaller) FrozenBalance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCaller) GetBaseCollateral(opts *bind.CallOpts) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCaller) GetECPCollateralInfo(opts *bind.CallOpts) (ECPCollateralContractInfo, error)
- func (_EcpCollateral *EcpCollateralCaller) IsAdmin(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_EcpCollateral *EcpCollateralCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_EcpCollateral *EcpCollateralCaller) SlashRatio(opts *bind.CallOpts) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCaller) SlashedFunds(opts *bind.CallOpts) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCaller) ViewWithdrawRequest(opts *bind.CallOpts, cpAccount common.Address) (ECPCollateralWithdrawRequest, error)
- func (_EcpCollateral *EcpCollateralCaller) WithdrawDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCaller) WithdrawRequests(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- type EcpCollateralCallerRaw
- type EcpCollateralCallerSession
- func (_EcpCollateral *EcpCollateralCallerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCallerSession) BaseCollateral() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCallerSession) CollateralRatio() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCallerSession) CollateralToken() (common.Address, error)
- func (_EcpCollateral *EcpCollateralCallerSession) CpInfo(cpAccount common.Address) (ECPCollateralCPInfo, error)
- func (_EcpCollateral *EcpCollateralCallerSession) CpStatus(arg0 common.Address) (string, error)
- func (_EcpCollateral *EcpCollateralCallerSession) FrozenBalance(arg0 common.Address) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCallerSession) GetBaseCollateral() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCallerSession) GetECPCollateralInfo() (ECPCollateralContractInfo, error)
- func (_EcpCollateral *EcpCollateralCallerSession) IsAdmin(arg0 common.Address) (bool, error)
- func (_EcpCollateral *EcpCollateralCallerSession) Owner() (common.Address, error)
- func (_EcpCollateral *EcpCollateralCallerSession) SlashRatio() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCallerSession) SlashedFunds() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCallerSession) ViewWithdrawRequest(cpAccount common.Address) (ECPCollateralWithdrawRequest, error)
- func (_EcpCollateral *EcpCollateralCallerSession) WithdrawDelay() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralCallerSession) WithdrawRequests(arg0 common.Address) (struct{ ... }, error)
- type EcpCollateralCollateralAdjusted
- type EcpCollateralCollateralAdjustedIterator
- type EcpCollateralCollateralLocked
- type EcpCollateralCollateralLockedIterator
- type EcpCollateralCollateralSlashed
- type EcpCollateralCollateralSlashedIterator
- type EcpCollateralCollateralUnlocked
- type EcpCollateralCollateralUnlockedIterator
- type EcpCollateralDeposit
- type EcpCollateralDepositIterator
- type EcpCollateralDisputeProof
- type EcpCollateralDisputeProofIterator
- type EcpCollateralFilterer
- func (_EcpCollateral *EcpCollateralFilterer) FilterCollateralAdjusted(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralCollateralAdjustedIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterCollateralLocked(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralCollateralLockedIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterCollateralSlashed(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralCollateralSlashedIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterCollateralUnlocked(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralCollateralUnlockedIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterDeposit(opts *bind.FilterOpts, fundingWallet []common.Address, ...) (*EcpCollateralDepositIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterDisputeProof(opts *bind.FilterOpts, challenger []common.Address, ...) (*EcpCollateralDisputeProofIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*EcpCollateralOwnershipTransferredIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterWithdraw(opts *bind.FilterOpts, cpOwner []common.Address, cpAccount []common.Address) (*EcpCollateralWithdrawIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterWithdrawConfirmed(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralWithdrawConfirmedIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterWithdrawRequestCanceled(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralWithdrawRequestCanceledIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterWithdrawRequested(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralWithdrawRequestedIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) FilterWithdrawSlash(opts *bind.FilterOpts, collateralContratOwner []common.Address) (*EcpCollateralWithdrawSlashIterator, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseCollateralAdjusted(log types.Log) (*EcpCollateralCollateralAdjusted, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseCollateralLocked(log types.Log) (*EcpCollateralCollateralLocked, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseCollateralSlashed(log types.Log) (*EcpCollateralCollateralSlashed, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseCollateralUnlocked(log types.Log) (*EcpCollateralCollateralUnlocked, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseDeposit(log types.Log) (*EcpCollateralDeposit, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseDisputeProof(log types.Log) (*EcpCollateralDisputeProof, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseOwnershipTransferred(log types.Log) (*EcpCollateralOwnershipTransferred, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseWithdraw(log types.Log) (*EcpCollateralWithdraw, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseWithdrawConfirmed(log types.Log) (*EcpCollateralWithdrawConfirmed, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseWithdrawRequestCanceled(log types.Log) (*EcpCollateralWithdrawRequestCanceled, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseWithdrawRequested(log types.Log) (*EcpCollateralWithdrawRequested, error)
- func (_EcpCollateral *EcpCollateralFilterer) ParseWithdrawSlash(log types.Log) (*EcpCollateralWithdrawSlash, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchCollateralAdjusted(opts *bind.WatchOpts, sink chan<- *EcpCollateralCollateralAdjusted, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchCollateralLocked(opts *bind.WatchOpts, sink chan<- *EcpCollateralCollateralLocked, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchCollateralSlashed(opts *bind.WatchOpts, sink chan<- *EcpCollateralCollateralSlashed, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchCollateralUnlocked(opts *bind.WatchOpts, sink chan<- *EcpCollateralCollateralUnlocked, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *EcpCollateralDeposit, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchDisputeProof(opts *bind.WatchOpts, sink chan<- *EcpCollateralDisputeProof, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EcpCollateralOwnershipTransferred, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdraw, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchWithdrawConfirmed(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdrawConfirmed, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchWithdrawRequestCanceled(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdrawRequestCanceled, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchWithdrawRequested(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdrawRequested, ...) (event.Subscription, error)
- func (_EcpCollateral *EcpCollateralFilterer) WatchWithdrawSlash(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdrawSlash, ...) (event.Subscription, error)
- type EcpCollateralOwnershipTransferred
- type EcpCollateralOwnershipTransferredIterator
- type EcpCollateralRaw
- func (_EcpCollateral *EcpCollateralRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_EcpCollateral *EcpCollateralRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EcpCollateralSession
- func (_EcpCollateral *EcpCollateralSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralSession) BaseCollateral() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralSession) BatchLock(cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) BatchSlash(cps []common.Address, slashAmounts []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) BatchUnlock(cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) CancelWithdrawRequest(cpAccount common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) CollateralRatio() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralSession) CollateralToken() (common.Address, error)
- func (_EcpCollateral *EcpCollateralSession) ConfirmWithdraw(cpAccount common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) CpInfo(cpAccount common.Address) (ECPCollateralCPInfo, error)
- func (_EcpCollateral *EcpCollateralSession) CpStatus(arg0 common.Address) (string, error)
- func (_EcpCollateral *EcpCollateralSession) Deposit(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) DisputeProof(taskContractAddress common.Address, cpAccount common.Address, taskID *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) FrozenBalance(arg0 common.Address) (*big.Int, error)
- func (_EcpCollateral *EcpCollateralSession) GetBaseCollateral() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralSession) GetECPCollateralInfo() (ECPCollateralContractInfo, error)
- func (_EcpCollateral *EcpCollateralSession) IsAdmin(arg0 common.Address) (bool, error)
- func (_EcpCollateral *EcpCollateralSession) LockCollateral(cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) Owner() (common.Address, error)
- func (_EcpCollateral *EcpCollateralSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) RenounceOwnership() (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) RequestWithdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) SetBaseCollateral(_baseCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) SetCollateralRatio(_collateralRatio *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) SetCollateralToken(tokenAddress common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) SetSlashRatio(_slashRatio *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) SetWithdrawDelay(_withdrawDelay *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) SlashCollateral(cp common.Address, slashAmount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) SlashRatio() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralSession) SlashedFunds() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) UnlockCollateral(cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) ViewWithdrawRequest(cpAccount common.Address) (ECPCollateralWithdrawRequest, error)
- func (_EcpCollateral *EcpCollateralSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralSession) WithdrawDelay() (*big.Int, error)
- func (_EcpCollateral *EcpCollateralSession) WithdrawRequests(arg0 common.Address) (struct{ ... }, error)
- func (_EcpCollateral *EcpCollateralSession) WithdrawSlashedFunds(slashfund *big.Int) (*types.Transaction, error)
- type EcpCollateralTransactor
- func (_EcpCollateral *EcpCollateralTransactor) AddAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) BatchLock(opts *bind.TransactOpts, cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) BatchSlash(opts *bind.TransactOpts, cps []common.Address, slashAmounts []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) BatchUnlock(opts *bind.TransactOpts, cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) CancelWithdrawRequest(opts *bind.TransactOpts, cpAccount common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) ConfirmWithdraw(opts *bind.TransactOpts, cpAccount common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) Deposit(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) DisputeProof(opts *bind.TransactOpts, taskContractAddress common.Address, ...) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) LockCollateral(opts *bind.TransactOpts, cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) RemoveAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) RequestWithdraw(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) SetBaseCollateral(opts *bind.TransactOpts, _baseCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) SetCollateralRatio(opts *bind.TransactOpts, _collateralRatio *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) SetCollateralToken(opts *bind.TransactOpts, tokenAddress common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) SetSlashRatio(opts *bind.TransactOpts, _slashRatio *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) SetWithdrawDelay(opts *bind.TransactOpts, _withdrawDelay *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) SlashCollateral(opts *bind.TransactOpts, cp common.Address, slashAmount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) UnlockCollateral(opts *bind.TransactOpts, cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) Withdraw(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactor) WithdrawSlashedFunds(opts *bind.TransactOpts, slashfund *big.Int) (*types.Transaction, error)
- type EcpCollateralTransactorRaw
- type EcpCollateralTransactorSession
- func (_EcpCollateral *EcpCollateralTransactorSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) BatchLock(cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) BatchSlash(cps []common.Address, slashAmounts []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) BatchUnlock(cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) CancelWithdrawRequest(cpAccount common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) ConfirmWithdraw(cpAccount common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) Deposit(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) DisputeProof(taskContractAddress common.Address, cpAccount common.Address, taskID *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) LockCollateral(cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) RequestWithdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) SetBaseCollateral(_baseCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) SetCollateralRatio(_collateralRatio *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) SetCollateralToken(tokenAddress common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) SetSlashRatio(_slashRatio *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) SetWithdrawDelay(_withdrawDelay *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) SlashCollateral(cp common.Address, slashAmount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) UnlockCollateral(cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpCollateral *EcpCollateralTransactorSession) WithdrawSlashedFunds(slashfund *big.Int) (*types.Transaction, error)
- type EcpCollateralWithdraw
- type EcpCollateralWithdrawConfirmed
- type EcpCollateralWithdrawConfirmedIterator
- type EcpCollateralWithdrawIterator
- type EcpCollateralWithdrawRequestCanceled
- type EcpCollateralWithdrawRequestCanceledIterator
- type EcpCollateralWithdrawRequested
- type EcpCollateralWithdrawRequestedIterator
- type EcpCollateralWithdrawSlash
- type EcpCollateralWithdrawSlashIterator
- type EcpSequencer
- type EcpSequencerAdminAdded
- type EcpSequencerAdminAddedIterator
- type EcpSequencerAdminRemoved
- type EcpSequencerAdminRemovedIterator
- type EcpSequencerBatchTransferredToEscrow
- type EcpSequencerBatchTransferredToEscrowIterator
- type EcpSequencerCaller
- func (_EcpSequencer *EcpSequencerCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_EcpSequencer *EcpSequencerCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_EcpSequencer *EcpSequencerCaller) EscrowBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_EcpSequencer *EcpSequencerCaller) GetCPBalance(opts *bind.CallOpts, cpAccount common.Address) (*big.Int, error)
- func (_EcpSequencer *EcpSequencerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type EcpSequencerCallerRaw
- type EcpSequencerCallerSession
- func (_EcpSequencer *EcpSequencerCallerSession) Admins(arg0 common.Address) (bool, error)
- func (_EcpSequencer *EcpSequencerCallerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_EcpSequencer *EcpSequencerCallerSession) EscrowBalance() (*big.Int, error)
- func (_EcpSequencer *EcpSequencerCallerSession) GetCPBalance(cpAccount common.Address) (*big.Int, error)
- func (_EcpSequencer *EcpSequencerCallerSession) Owner() (common.Address, error)
- type EcpSequencerDeposited
- type EcpSequencerDepositedIterator
- type EcpSequencerFilterer
- func (_EcpSequencer *EcpSequencerFilterer) FilterAdminAdded(opts *bind.FilterOpts, admin []common.Address) (*EcpSequencerAdminAddedIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) FilterAdminRemoved(opts *bind.FilterOpts, admin []common.Address) (*EcpSequencerAdminRemovedIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) FilterBatchTransferredToEscrow(opts *bind.FilterOpts, admin []common.Address) (*EcpSequencerBatchTransferredToEscrowIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) FilterDeposited(opts *bind.FilterOpts, cpAccount []common.Address) (*EcpSequencerDepositedIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) FilterOwnerChanged(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*EcpSequencerOwnerChangedIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*EcpSequencerOwnershipTransferredIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) FilterTransferredToEscrow(opts *bind.FilterOpts, cpAccount []common.Address) (*EcpSequencerTransferredToEscrowIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) FilterWithdrawn(opts *bind.FilterOpts, cpAccount []common.Address) (*EcpSequencerWithdrawnIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) FilterWithdrawnFromEscrow(opts *bind.FilterOpts) (*EcpSequencerWithdrawnFromEscrowIterator, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseAdminAdded(log types.Log) (*EcpSequencerAdminAdded, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseAdminRemoved(log types.Log) (*EcpSequencerAdminRemoved, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseBatchTransferredToEscrow(log types.Log) (*EcpSequencerBatchTransferredToEscrow, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseDeposited(log types.Log) (*EcpSequencerDeposited, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseOwnerChanged(log types.Log) (*EcpSequencerOwnerChanged, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseOwnershipTransferred(log types.Log) (*EcpSequencerOwnershipTransferred, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseTransferredToEscrow(log types.Log) (*EcpSequencerTransferredToEscrow, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseWithdrawn(log types.Log) (*EcpSequencerWithdrawn, error)
- func (_EcpSequencer *EcpSequencerFilterer) ParseWithdrawnFromEscrow(log types.Log) (*EcpSequencerWithdrawnFromEscrow, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchAdminAdded(opts *bind.WatchOpts, sink chan<- *EcpSequencerAdminAdded, ...) (event.Subscription, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchAdminRemoved(opts *bind.WatchOpts, sink chan<- *EcpSequencerAdminRemoved, ...) (event.Subscription, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchBatchTransferredToEscrow(opts *bind.WatchOpts, sink chan<- *EcpSequencerBatchTransferredToEscrow, ...) (event.Subscription, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *EcpSequencerDeposited, ...) (event.Subscription, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *EcpSequencerOwnerChanged, ...) (event.Subscription, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EcpSequencerOwnershipTransferred, ...) (event.Subscription, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchTransferredToEscrow(opts *bind.WatchOpts, sink chan<- *EcpSequencerTransferredToEscrow, ...) (event.Subscription, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *EcpSequencerWithdrawn, ...) (event.Subscription, error)
- func (_EcpSequencer *EcpSequencerFilterer) WatchWithdrawnFromEscrow(opts *bind.WatchOpts, sink chan<- *EcpSequencerWithdrawnFromEscrow) (event.Subscription, error)
- type EcpSequencerOwnerChanged
- type EcpSequencerOwnerChangedIterator
- type EcpSequencerOwnershipTransferred
- type EcpSequencerOwnershipTransferredIterator
- type EcpSequencerRaw
- func (_EcpSequencer *EcpSequencerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_EcpSequencer *EcpSequencerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EcpSequencerSession
- func (_EcpSequencer *EcpSequencerSession) AddAdmin(_admin common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) Admins(arg0 common.Address) (bool, error)
- func (_EcpSequencer *EcpSequencerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_EcpSequencer *EcpSequencerSession) BatchTransferToEscrow(cpAccounts []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) Deposit(cpAccount common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) EscrowBalance() (*big.Int, error)
- func (_EcpSequencer *EcpSequencerSession) GetCPBalance(cpAccount common.Address) (*big.Int, error)
- func (_EcpSequencer *EcpSequencerSession) Owner() (common.Address, error)
- func (_EcpSequencer *EcpSequencerSession) Receive() (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) RemoveAdmin(_admin common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) RenounceOwnership() (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) TransferToEscrow(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerSession) WithdrawFromEscrow(amount *big.Int) (*types.Transaction, error)
- type EcpSequencerTransactor
- func (_EcpSequencer *EcpSequencerTransactor) AddAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) BatchTransferToEscrow(opts *bind.TransactOpts, cpAccounts []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) Deposit(opts *bind.TransactOpts, cpAccount common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) RemoveAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) TransferToEscrow(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) Withdraw(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactor) WithdrawFromEscrow(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- type EcpSequencerTransactorRaw
- type EcpSequencerTransactorSession
- func (_EcpSequencer *EcpSequencerTransactorSession) AddAdmin(_admin common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) BatchTransferToEscrow(cpAccounts []common.Address, amounts []*big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) Deposit(cpAccount common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) Receive() (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) RemoveAdmin(_admin common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) TransferToEscrow(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EcpSequencer *EcpSequencerTransactorSession) WithdrawFromEscrow(amount *big.Int) (*types.Transaction, error)
- type EcpSequencerTransferredToEscrow
- type EcpSequencerTransferredToEscrowIterator
- type EcpSequencerWithdrawn
- type EcpSequencerWithdrawnFromEscrow
- type EcpSequencerWithdrawnFromEscrowIterator
- type EcpSequencerWithdrawnIterator
- type SequencerOption
- type SequencerStub
- type Task
- type TaskCaller
- type TaskCallerRaw
- type TaskCallerSession
- type TaskFilterer
- func (_Task *TaskFilterer) FilterRegisteredToTaskRegistry(opts *bind.FilterOpts, taskContract []common.Address, owner []common.Address) (*TaskRegisteredToTaskRegistryIterator, error)
- func (_Task *TaskFilterer) FilterTaskCreated(opts *bind.FilterOpts) (*TaskTaskCreatedIterator, error)
- func (_Task *TaskFilterer) ParseRegisteredToTaskRegistry(log types.Log) (*TaskRegisteredToTaskRegistry, error)
- func (_Task *TaskFilterer) ParseTaskCreated(log types.Log) (*TaskTaskCreated, error)
- func (_Task *TaskFilterer) WatchRegisteredToTaskRegistry(opts *bind.WatchOpts, sink chan<- *TaskRegisteredToTaskRegistry, ...) (event.Subscription, error)
- func (_Task *TaskFilterer) WatchTaskCreated(opts *bind.WatchOpts, sink chan<- *TaskTaskCreated) (event.Subscription, error)
- type TaskOption
- type TaskRaw
- func (_Task *TaskRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Task *TaskRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Task *TaskRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TaskRegisteredToTaskRegistry
- type TaskRegisteredToTaskRegistryIterator
- type TaskSession
- type TaskStub
- type TaskTaskCreated
- type TaskTaskCreatedIterator
- type TaskTransactor
- type TaskTransactorRaw
- type TaskTransactorSession
Constants ¶
This section is empty.
Variables ¶
var AggregatedTaskABI = AggregatedTaskMetaData.ABI
AggregatedTaskABI is the input ABI used to generate the binding from. Deprecated: Use AggregatedTaskMetaData.ABI instead.
var AggregatedTaskBin = AggregatedTaskMetaData.Bin
AggregatedTaskBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AggregatedTaskMetaData.Bin instead.
var AggregatedTaskMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_taskBlobCID\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_taskRegistryContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"taskContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"RegisteredToTaskRegistry\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"taskBlobCID\",\"type\":\"string\"}],\"name\":\"TaskCreated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"taskBlobCID\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561000f575f80fd5b50604051610c32380380610c328339818101604052810190610031919061047a565b5f825111610074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161006b9061052e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036100e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d9906105bc565b60405180910390fd5b815f90816100f091906107e7565b507fabf948a1223daba3f04a6050c5ee3bfb2b135790471a6bbf2d2a93bc29faaf9f8260405161012091906108ee565b60405180910390a16101378161013e60201b60201c565b5050610a2c565b5f8173ffffffffffffffffffffffffffffffffffffffff16303360405160240161016992919061091d565b6040516020818303038152906040527fcaa29fc2000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516101f39190610988565b5f604051808303815f865af19150503d805f811461022c576040519150601f19603f3d011682016040523d82523d5f602084013e610231565b606091505b5050905080610275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026c90610a0e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff167f411a83d4fcdb8a204895aa1c817c68da89892ae8a277620988dcd6ea44650b7f60405160405180910390a35050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b610332826102ec565b810181811067ffffffffffffffff82111715610351576103506102fc565b5b80604052505050565b5f6103636102d3565b905061036f8282610329565b919050565b5f67ffffffffffffffff82111561038e5761038d6102fc565b5b610397826102ec565b9050602081019050919050565b8281835e5f83830152505050565b5f6103c46103bf84610374565b61035a565b9050828152602081018484840111156103e0576103df6102e8565b5b6103eb8482856103a4565b509392505050565b5f82601f830112610407576104066102e4565b5b81516104178482602086016103b2565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61044982610420565b9050919050565b6104598161043f565b8114610463575f80fd5b50565b5f8151905061047481610450565b92915050565b5f80604083850312156104905761048f6102dc565b5b5f83015167ffffffffffffffff8111156104ad576104ac6102e0565b5b6104b9858286016103f3565b92505060206104ca85828601610466565b9150509250929050565b5f82825260208201905092915050565b7f5461736b20426c6f6220434944206d757374206e6f7420626520656d707479005f82015250565b5f610518601f836104d4565b9150610523826104e4565b602082019050919050565b5f6020820190508181035f8301526105458161050c565b9050919050565b7f5461736b20726567697374727920636f6e74726163742061646472657373206d5f8201527f7573742062652070726f76696465640000000000000000000000000000000000602082015250565b5f6105a6602f836104d4565b91506105b18261054c565b604082019050919050565b5f6020820190508181035f8301526105d38161059a565b9050919050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061062857607f821691505b60208210810361063b5761063a6105e4565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261069d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610662565b6106a78683610662565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6106eb6106e66106e1846106bf565b6106c8565b6106bf565b9050919050565b5f819050919050565b610704836106d1565b610718610710826106f2565b84845461066e565b825550505050565b5f90565b61072c610720565b6107378184846106fb565b505050565b5b8181101561075a5761074f5f82610724565b60018101905061073d565b5050565b601f82111561079f5761077081610641565b61077984610653565b81016020851015610788578190505b61079c61079485610653565b83018261073c565b50505b505050565b5f82821c905092915050565b5f6107bf5f19846008026107a4565b1980831691505092915050565b5f6107d783836107b0565b9150826002028217905092915050565b6107f0826105da565b67ffffffffffffffff811115610809576108086102fc565b5b6108138254610611565b61081e82828561075e565b5f60209050601f83116001811461084f575f841561083d578287015190505b61084785826107cc565b8655506108ae565b601f19841661085d86610641565b5f5b828110156108845784890151825560018201915060208501945060208101905061085f565b868310156108a1578489015161089d601f8916826107b0565b8355505b6001600288020188555050505b505050505050565b5f6108c0826105da565b6108ca81856104d4565b93506108da8185602086016103a4565b6108e3816102ec565b840191505092915050565b5f6020820190508181035f83015261090681846108b6565b905092915050565b6109178161043f565b82525050565b5f6040820190506109305f83018561090e565b61093d602083018461090e565b9392505050565b5f81519050919050565b5f81905092915050565b5f61096282610944565b61096c818561094e565b935061097c8185602086016103a4565b80840191505092915050565b5f6109938284610958565b915081905092915050565b7f4661696c656420746f207265676973746572207461736b20636f6e74726163745f8201527f20746f205461736b526567697374727900000000000000000000000000000000602082015250565b5f6109f86030836104d4565b9150610a038261099e565b604082019050919050565b5f6020820190508181035f830152610a25816109ec565b9050919050565b6101f980610a395f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063cf9dc5571461002d575b5f80fd5b61003561004b565b6040516100429190610146565b60405180910390f35b5f805461005790610193565b80601f016020809104026020016040519081016040528092919081815260200182805461008390610193565b80156100ce5780601f106100a5576101008083540402835291602001916100ce565b820191905f5260205f20905b8154815290600101906020018083116100b157829003601f168201915b505050505081565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610118826100d6565b61012281856100e0565b93506101328185602086016100f0565b61013b816100fe565b840191505092915050565b5f6020820190508181035f83015261015e818461010e565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806101aa57607f821691505b6020821081036101bd576101bc610166565b5b5091905056fea264697066735822122087b7f47902850ce902706d3b8cbd2011c4815a02b83efdbe67cac9eb954dbaa064736f6c63430008190033",
}
AggregatedTaskMetaData contains all meta data concerning the AggregatedTask contract.
var EcpCollateralABI = EcpCollateralMetaData.ABI
EcpCollateralABI is the input ABI used to generate the binding from. Deprecated: Use EcpCollateralMetaData.ABI instead.
var EcpCollateralBin = EcpCollateralMetaData.Bin
EcpCollateralBin is the compiled bytecode used for deploying new contracts. Deprecated: Use EcpCollateralMetaData.Bin instead.
var EcpCollateralMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"frozenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balanceAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"operation\",\"type\":\"string\"}],\"name\":\"CollateralAdjusted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"}],\"name\":\"CollateralLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"CollateralSlashed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"}],\"name\":\"CollateralUnlocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fundingWallet\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositAmount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"challenger\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"taskContractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"taskID\",\"type\":\"uint256\"}],\"name\":\"DisputeProof\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawAmount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawConfirmed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawRequestCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"collateralContratOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slashfund\",\"type\":\"uint256\"}],\"name\":\"WithdrawSlash\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"addAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balances\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"cps\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"taskCollaterals\",\"type\":\"uint256[]\"}],\"name\":\"batchLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"cps\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"slashAmounts\",\"type\":\"uint256[]\"}],\"name\":\"batchSlash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"cps\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"taskCollaterals\",\"type\":\"uint256[]\"}],\"name\":\"batchUnlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"}],\"name\":\"cancelWithdrawRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collateralRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collateralToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"}],\"name\":\"confirmWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"}],\"name\":\"cpInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"internalType\":\"int256\",\"name\":\"balance\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"frozenBalance\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"status\",\"type\":\"string\"}],\"internalType\":\"structECPCollateral.CPInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"cpStatus\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"taskContractAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"taskID\",\"type\":\"uint256\"}],\"name\":\"disputeProof\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"frozenBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBaseCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getECPCollateralInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"collateralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slashedFunds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"baseCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"collateralRatio\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slashRatio\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawDelay\",\"type\":\"uint256\"}],\"internalType\":\"structECPCollateral.ContractInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"taskCollateral\",\"type\":\"uint256\"}],\"name\":\"lockCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"removeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"requestWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_baseCollateral\",\"type\":\"uint256\"}],\"name\":\"setBaseCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_collateralRatio\",\"type\":\"uint256\"}],\"name\":\"setCollateralRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"setCollateralToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_slashRatio\",\"type\":\"uint256\"}],\"name\":\"setSlashRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_withdrawDelay\",\"type\":\"uint256\"}],\"name\":\"setWithdrawDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"slashAmount\",\"type\":\"uint256\"}],\"name\":\"slashCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slashRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slashedFunds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"taskCollateral\",\"type\":\"uint256\"}],\"name\":\"unlockCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"}],\"name\":\"viewWithdrawRequest\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestBlock\",\"type\":\"uint256\"}],\"internalType\":\"structECPCollateral.WithdrawRequest\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawRequests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"slashfund\",\"type\":\"uint256\"}],\"name\":\"withdrawSlashedFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405261870060065534801561001657600080fd5b506100336100286100af60201b60201c565b6100b760201b60201c565b610042336100b760201b60201c565b6001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506005600481905550600260058190555061017b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6141b68061018a6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80637048027511610130578063a664c216116100b8578063ce3518aa1161007c578063ce3518aa1461065e578063d27ca89b1461067a578063d2bfc1c714610698578063f2fde38b146106b4578063f3fef3a3146106d057610232565b8063a664c216146105a6578063b2016bd4146105d6578063b4eae1cb146105f4578063bede6e3114610612578063c6ff45551461064257610232565b80637f58a7e5116100ff5780637f58a7e5146105145780638331f8e5146105305780638da5cb5b1461054c5780639939cd181461056a5780639b5ddf091461058857610232565b806370480275146104b457806370b72944146104d0578063715018a6146104ee57806372f0cb30146104f857610232565b80633fe65177116101be5780635f7d0e84116101825780635f7d0e84146104265780636060663e1461044257806363215bb71461045e578063666181a91461047a5780636f99f15c1461049657610232565b80633fe651771461037157806347a7d107146103a157806347e7ef24146103bd57806352df49ec146103d95780635d2cd2a71461040a57610232565b806324d7806c1161020557806324d7806c146102a9578063266565a9146102d957806327e235e3146103095780632894493f14610339578063397a1b281461035557610232565b80630288a39c146102375780631785f53c1461025557806317f17498146102715780631d47a62d1461028d575b600080fd5b61023f6106ec565b60405161024c9190612cb9565b60405180910390f35b61026f600480360381019061026a9190612d3c565b6106f2565b005b61028b60048036038101906102869190612d95565b610755565b005b6102a760048036038101906102a29190612d95565b610941565b005b6102c360048036038101906102be9190612d3c565b610bb6565b6040516102d09190612df0565b60405180910390f35b6102f360048036038101906102ee9190612d3c565b610bd6565b6040516103009190612cb9565b60405180910390f35b610323600480360381019061031e9190612d3c565b610bee565b6040516103309190612e24565b60405180910390f35b610353600480360381019061034e9190612e3f565b610c06565b005b61036f600480360381019061036a9190612d95565b610d5e565b005b61038b60048036038101906103869190612d3c565b611057565b6040516103989190612efc565b60405180910390f35b6103bb60048036038101906103b69190612d95565b6110f7565b005b6103d760048036038101906103d29190612d95565b61130c565b005b6103f360048036038101906103ee9190612d3c565b611477565b604051610401929190612f1e565b60405180910390f35b610424600480360381019061041f9190612d3c565b61149b565b005b610440600480360381019061043b9190613002565b611787565b005b61045c60048036038101906104579190612e3f565b6118c7565b005b61047860048036038101906104739190613002565b6118d9565b005b610494600480360381019061048f9190612d3c565b611a19565b005b61049e611a65565b6040516104ab9190612cb9565b60405180910390f35b6104ce60048036038101906104c99190612d3c565b611a6b565b005b6104d8611ace565b6040516104e59190612cb9565b60405180910390f35b6104f6611ad8565b005b610512600480360381019061050d9190612e3f565b611aec565b005b61052e60048036038101906105299190612e3f565b611afe565b005b61054a60048036038101906105459190613083565b611b94565b005b610554611c00565b60405161056191906130e5565b60405180910390f35b610572611c29565b60405161057f9190613199565b60405180910390f35b610590611ca5565b60405161059d9190612cb9565b60405180910390f35b6105c060048036038101906105bb9190612d3c565b611cab565b6040516105cd9190613270565b60405180910390f35b6105de611e36565b6040516105eb91906132f1565b60405180910390f35b6105fc611e5c565b6040516106099190612cb9565b60405180910390f35b61062c60048036038101906106279190612d3c565b611e62565b604051610639919061333b565b60405180910390f35b61065c60048036038101906106579190613002565b611ecf565b005b61067860048036038101906106739190612e3f565b61200f565b005b610682612021565b60405161068f9190612cb9565b60405180910390f35b6106b260048036038101906106ad9190612d3c565b612027565b005b6106ce60048036038101906106c99190612d3c565b6124ea565b005b6106ea60048036038101906106e59190612d95565b61256d565b005b60065481565b6106fa612912565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166107e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d8906133c8565b60405180910390fd5b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008183116108345782610836565b815b905080600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108879190613417565b9250508190555080600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108dd919061344b565b925050819055506108ed84612990565b8373ffffffffffffffffffffffffffffffffffffffff167fb4eaf47ecd4bc76248f192433e8067c96cb3e17aced42fbc47a512742fb74216826040516109339190612cb9565b60405180910390a250505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c4906133c8565b60405180910390fd5b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000818311610a205782610a22565b815b90506000818411610a34576000610a41565b8184610a409190613417565b5b905081600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610a929190613417565b9250508190555080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ae8919061348f565b925050819055508360026000828254610b0191906134d2565b92505081905550610b1185612990565b8473ffffffffffffffffffffffffffffffffffffffff167f5138f522ae83cccdefee151fa33feeb62b6bbe619fdeb8f83cd1c6c3f8bdf92185604051610b579190612cb9565b60405180910390a28473ffffffffffffffffffffffffffffffffffffffff167f42f1a8a1aee108e84e4eabfaa8d51d7baaa1a02d482295297883a44b2debd3e48383604051610ba7929190613552565b60405180910390a25050505050565b60076020528060005260406000206000915054906101000a900460ff1681565b60096020528060005260406000206000915090505481565b60086020528060005260406000206000915090505481565b610c0e612912565b806002541015610c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4a90613600565b60405180910390fd5b8060026000828254610c659190613417565b92505081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610cc9929190613620565b6020604051808303816000875af1158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c9190613675565b503373ffffffffffffffffffffffffffffffffffffffff167fbfd9c82485e2178fcfd5c40379d8e66fe60acc50aa1ef4c50966431eb1e381cd82604051610d539190612cb9565b60405180910390a250565b6000808373ffffffffffffffffffffffffffffffffffffffff166040516024016040516020818303038152906040527f893d20e8000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610e0891906136e9565b6000604051808303816000865af19150503d8060008114610e45576040519150601f19603f3d011682016040523d82523d6000602084013e610e4a565b606091505b509150915081610e8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8690613772565b60405180910390fd5b600081806020019051810190610ea591906137d0565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c9061386f565b60405180910390fd5b83600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e90613901565b60405180910390fd5b604051806040016040528085815260200143815250600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101559050508473ffffffffffffffffffffffffffffffffffffffff167ff7774b688d56120b783560a913ee60792a73dfd511812b7be5eccf10d08c6689856040516110489190612cb9565b60405180910390a25050505050565b600a602052806000526040600020600091509050805461107690613950565b80601f01602080910402602001604051908101604052809291908181526020018280546110a290613950565b80156110ef5780601f106110c4576101008083540402835291602001916110ef565b820191906000526020600020905b8154815290600101906020018083116110d257829003601f168201915b505050505081565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a906133c8565b60405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541215611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fc906139f3565b60405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611254919061348f565b9250508190555080600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112aa91906134d2565b925050819055506112ba82612990565b8173ffffffffffffffffffffffffffffffffffffffff167f2251f6a4ed7fe619e9e8ce557d05a63dd484284f9c95c9ab334f6a7707cd0800826040516113009190612cb9565b60405180910390a25050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161136b93929190613a13565b6020604051808303816000875af115801561138a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ae9190613675565b5080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113fe919061344b565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62836040516114629190612cb9565b60405180910390a361147382612990565b5050565b600b6020528060005260406000206000915090508060000154908060010154905082565b6000808273ffffffffffffffffffffffffffffffffffffffff166040516024016040516020818303038152906040527f893d20e8000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161154591906136e9565b6000604051808303816000865af19150503d8060008114611582576040519150601f19603f3d011682016040523d82523d6000602084013e611587565b606091505b5091509150816115cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c390613772565b60405180910390fd5b6000818060200190518101906115e291906137d0565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164990613abc565b60405180910390fd5b6000600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154116116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d390613b28565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff167fa3895d397a34e928a95d593331e293e2fc281d9d8996df5cc6c57f1cef629d4282600001546040516117269190612cb9565b60405180910390a2600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905550505050505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180a906133c8565b60405180910390fd5b81819050848490501461185b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185290613b94565b60405180910390fd5b60005b848490508110156118c0576118b385858381811061187f5761187e613bb4565b5b90506020020160208101906118949190612d3c565b8484848181106118a7576118a6613bb4565b5b90506020020135610755565b808060010191505061185e565b5050505050565b6118cf612912565b8060048190555050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195c906133c8565b60405180910390fd5b8181905084849050146119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490613b94565b60405180910390fd5b60005b84849050811015611a1257611a058585838181106119d1576119d0613bb4565b5b90506020020160208101906119e69190612d3c565b8484848181106119f9576119f8613bb4565b5b905060200201356110f7565b80806001019150506119b0565b5050505050565b611a21612912565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60025481565b611a73612912565b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600354905090565b611ae0612912565b611aea6000612b30565b565b611af4612912565b8060068190555050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b81906133c8565b60405180910390fd5b8060038190555050565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f6010bb1c19b181c59c29bde1a47441eae0c5e2e587b409d5a7ac30f01e8dcf3c8484604051611bf3929190613620565b60405180910390a3505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c31612bfc565b6040518060c00160405280600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002548152602001600354815260200160045481526020016005548152602001600654815250905090565b60035481565b611cb3612c48565b60405180608001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054611dae90613950565b80601f0160208091040260200160405190810160405280929190818152602001828054611dda90613950565b8015611e275780601f10611dfc57610100808354040283529160200191611e27565b820191906000526020600020905b815481529060010190602001808311611e0a57829003601f168201915b50505050508152509050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b611e6a612c86565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050919050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f52906133c8565b60405180910390fd5b818190508484905014611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a90613b94565b60405180910390fd5b60005b8484905081101561200857611ffb858583818110611fc757611fc6613bb4565b5b9050602002016020810190611fdc9190612d3c565b848484818110611fef57611fee613bb4565b5b90506020020135610941565b8080600101915050611fa6565b5050505050565b612017612912565b8060058190555050565b60055481565b6000808273ffffffffffffffffffffffffffffffffffffffff166040516024016040516020818303038152906040527f893d20e8000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516120d191906136e9565b6000604051808303816000865af19150503d806000811461210e576040519150601f19603f3d011682016040523d82523d6000602084013e612113565b606091505b509150915081612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214f90613772565b60405180910390fd5b60008180602001905181019061216e91906137d0565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d590613c55565b60405180910390fd5b6000600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015411612268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225f90613b28565b60405180910390fd5b600654816001015461227a91906134d2565b4310156122bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b390613cc1565b60405180910390fd5b8060000154600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233990613901565b60405180910390fd5b60008160000154905080600960008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461239a9190613417565b92505081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87836040518363ffffffff1660e01b81526004016123fe929190613620565b6020604051808303816000875af115801561241d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124419190613675565b508573ffffffffffffffffffffffffffffffffffffffff167f1a98aba99d2d38026b07feddaca8e333649ae8a5f5a238687f91ce7791ee998e826040516124889190612cb9565b60405180910390a2600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090555050505050505050565b6124f2612912565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255890613d53565b60405180910390fd5b61256a81612b30565b50565b6000808373ffffffffffffffffffffffffffffffffffffffff166040516024016040516020818303038152906040527f893d20e8000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161261791906136e9565b6000604051808303816000865af19150503d8060008114612654576040519150601f19603f3d011682016040523d82523d6000602084013e612659565b606091505b50915091508161269e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269590613772565b60405180910390fd5b6000818060200190518101906126b491906137d0565b905083600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541215612738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272f90613dbf565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279d90613e51565b60405180910390fd5b83600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127f5919061348f565b92505081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33866040518363ffffffff1660e01b8152600401612859929190613620565b6020604051808303816000875af1158015612878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289c9190613675565b506128a685612990565b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb866040516129039190612cb9565b60405180910390a35050505050565b61291a612bf4565b73ffffffffffffffffffffffffffffffffffffffff16612938611c00565b73ffffffffffffffffffffffffffffffffffffffff161461298e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298590613ebd565b60405180910390fd5b565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054148015612a1e57506000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b15612aaa576040518060400160405280600381526020017f4e53430000000000000000000000000000000000000000000000000000000000815250600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209081612aa491906140ae565b50612b2d565b6040518060400160405280600681526020017f4163746976650000000000000000000000000000000000000000000000000000815250600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209081612b2b91906140ae565b505b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6040518060c00160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001606081525090565b604051806040016040528060008152602001600081525090565b6000819050919050565b612cb381612ca0565b82525050565b6000602082019050612cce6000830184612caa565b92915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612d0982612cde565b9050919050565b612d1981612cfe565b8114612d2457600080fd5b50565b600081359050612d3681612d10565b92915050565b600060208284031215612d5257612d51612cd4565b5b6000612d6084828501612d27565b91505092915050565b612d7281612ca0565b8114612d7d57600080fd5b50565b600081359050612d8f81612d69565b92915050565b60008060408385031215612dac57612dab612cd4565b5b6000612dba85828601612d27565b9250506020612dcb85828601612d80565b9150509250929050565b60008115159050919050565b612dea81612dd5565b82525050565b6000602082019050612e056000830184612de1565b92915050565b6000819050919050565b612e1e81612e0b565b82525050565b6000602082019050612e396000830184612e15565b92915050565b600060208284031215612e5557612e54612cd4565b5b6000612e6384828501612d80565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ea6578082015181840152602081019050612e8b565b60008484015250505050565b6000601f19601f8301169050919050565b6000612ece82612e6c565b612ed88185612e77565b9350612ee8818560208601612e88565b612ef181612eb2565b840191505092915050565b60006020820190508181036000830152612f168184612ec3565b905092915050565b6000604082019050612f336000830185612caa565b612f406020830184612caa565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f840112612f6c57612f6b612f47565b5b8235905067ffffffffffffffff811115612f8957612f88612f4c565b5b602083019150836020820283011115612fa557612fa4612f51565b5b9250929050565b60008083601f840112612fc257612fc1612f47565b5b8235905067ffffffffffffffff811115612fdf57612fde612f4c565b5b602083019150836020820283011115612ffb57612ffa612f51565b5b9250929050565b6000806000806040858703121561301c5761301b612cd4565b5b600085013567ffffffffffffffff81111561303a57613039612cd9565b5b61304687828801612f56565b9450945050602085013567ffffffffffffffff81111561306957613068612cd9565b5b61307587828801612fac565b925092505092959194509250565b60008060006060848603121561309c5761309b612cd4565b5b60006130aa86828701612d27565b93505060206130bb86828701612d27565b92505060406130cc86828701612d80565b9150509250925092565b6130df81612cfe565b82525050565b60006020820190506130fa60008301846130d6565b92915050565b61310981612cfe565b82525050565b61311881612ca0565b82525050565b60c0820160008201516131346000850182613100565b506020820151613147602085018261310f565b50604082015161315a604085018261310f565b50606082015161316d606085018261310f565b506080820151613180608085018261310f565b5060a082015161319360a085018261310f565b50505050565b600060c0820190506131ae600083018461311e565b92915050565b6131bd81612e0b565b82525050565b600082825260208201905092915050565b60006131df82612e6c565b6131e981856131c3565b93506131f9818560208601612e88565b61320281612eb2565b840191505092915050565b60006080830160008301516132256000860182613100565b50602083015161323860208601826131b4565b50604083015161324b604086018261310f565b506060830151848203606086015261326382826131d4565b9150508091505092915050565b6000602082019050818103600083015261328a818461320d565b905092915050565b6000819050919050565b60006132b76132b26132ad84612cde565b613292565b612cde565b9050919050565b60006132c98261329c565b9050919050565b60006132db826132be565b9050919050565b6132eb816132d0565b82525050565b600060208201905061330660008301846132e2565b92915050565b604082016000820151613322600085018261310f565b506020820151613335602085018261310f565b50505050565b6000604082019050613350600083018461330c565b92915050565b7f4f6e6c79207468652061646d696e2063616e2063616c6c20746869732066756e60008201527f6374696f6e2e0000000000000000000000000000000000000000000000000000602082015250565b60006133b2602683612e77565b91506133bd82613356565b604082019050919050565b600060208201905081810360008301526133e1816133a5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061342282612ca0565b915061342d83612ca0565b9250828203905081811115613445576134446133e8565b5b92915050565b600061345682612e0b565b915061346183612e0b565b925082820190508281121560008312168382126000841215161715613489576134886133e8565b5b92915050565b600061349a82612e0b565b91506134a583612e0b565b92508282039050818112600084121682821360008512151617156134cc576134cb6133e8565b5b92915050565b60006134dd82612ca0565b91506134e883612ca0565b9250828201905080821115613500576134ff6133e8565b5b92915050565b7f536c617368656400000000000000000000000000000000000000000000000000600082015250565b600061353c600783612e77565b915061354782613506565b602082019050919050565b60006060820190506135676000830185612caa565b6135746020830184612caa565b81810360408301526135858161352f565b90509392505050565b7f576974686472617720736c61736866756e6420616d6f756e742065786365656460008201527f7320736c617368656446756e6473000000000000000000000000000000000000602082015250565b60006135ea602e83612e77565b91506135f58261358e565b604082019050919050565b60006020820190508181036000830152613619816135dd565b9050919050565b600060408201905061363560008301856130d6565b6136426020830184612caa565b9392505050565b61365281612dd5565b811461365d57600080fd5b50565b60008151905061366f81613649565b92915050565b60006020828403121561368b5761368a612cd4565b5b600061369984828501613660565b91505092915050565b600081519050919050565b600081905092915050565b60006136c3826136a2565b6136cd81856136ad565b93506136dd818560208601612e88565b80840191505092915050565b60006136f582846136b8565b915081905092915050565b7f4661696c656420746f2063616c6c206765744f776e65722066756e6374696f6e60008201527f206f662043504163636f756e7400000000000000000000000000000000000000602082015250565b600061375c602d83612e77565b915061376782613700565b604082019050919050565b6000602082019050818103600083015261378b8161374f565b9050919050565b600061379d82612cde565b9050919050565b6137ad81613792565b81146137b857600080fd5b50565b6000815190506137ca816137a4565b92915050565b6000602082840312156137e6576137e5612cd4565b5b60006137f4848285016137bb565b91505092915050565b7f4f6e6c792043502773206f776e65722063616e2072657175657374207769746860008201527f64726177616c0000000000000000000000000000000000000000000000000000602082015250565b6000613859602683612e77565b9150613864826137fd565b604082019050919050565b600060208201905081810360008301526138888161384c565b9050919050565b7f4e6f7420656e6f7567682066726f7a656e2062616c616e636520746f2077697460008201527f6864726177000000000000000000000000000000000000000000000000000000602082015250565b60006138eb602583612e77565b91506138f68261388f565b604082019050919050565b6000602082019050818103600083015261391a816138de565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061396857607f821691505b60208210810361397b5761397a613921565b5b50919050565b7f4e6f7420656e6f7567682062616c616e636520666f7220636f6c6c617465726160008201527f6c00000000000000000000000000000000000000000000000000000000000000602082015250565b60006139dd602183612e77565b91506139e882613981565b604082019050919050565b60006020820190508181036000830152613a0c816139d0565b9050919050565b6000606082019050613a2860008301866130d6565b613a3560208301856130d6565b613a426040830184612caa565b949350505050565b7f4f6e6c792043502773206f776e65722063616e2063616e63656c20776974686460008201527f7261772072657175657374000000000000000000000000000000000000000000602082015250565b6000613aa6602b83612e77565b9150613ab182613a4a565b604082019050919050565b60006020820190508181036000830152613ad581613a99565b9050919050565b7f4e6f2070656e64696e6720776974686472617720726571756573740000000000600082015250565b6000613b12601b83612e77565b9150613b1d82613adc565b602082019050919050565b60006020820190508181036000830152613b4181613b05565b9050919050565b7f4172726179206c656e67746873206d757374206d617463680000000000000000600082015250565b6000613b7e601883612e77565b9150613b8982613b48565b602082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f6e6c792043502773206f776e65722063616e20636f6e6669726d207769746860008201527f64726177616c0000000000000000000000000000000000000000000000000000602082015250565b6000613c3f602683612e77565b9150613c4a82613be3565b604082019050919050565b60006020820190508181036000830152613c6e81613c32565b9050919050565b7f57697468647261772064656c6179206e6f742070617373656400000000000000600082015250565b6000613cab601983612e77565b9150613cb682613c75565b602082019050919050565b60006020820190508181036000830152613cda81613c9e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d3d602683612e77565b9150613d4882613ce1565b604082019050919050565b60006020820190508181036000830152613d6c81613d30565b9050919050565b7f576974686472617720616d6f756e7420657863656564732062616c616e636500600082015250565b6000613da9601f83612e77565b9150613db482613d73565b602082019050919050565b60006020820190508181036000830152613dd881613d9c565b9050919050565b7f4f6e6c792043502773206f776e65722063616e2077697468647261772074686560008201527f20636f6c6c61746572616c2066756e6473000000000000000000000000000000602082015250565b6000613e3b603183612e77565b9150613e4682613ddf565b604082019050919050565b60006020820190508181036000830152613e6a81613e2e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ea7602083612e77565b9150613eb282613e71565b602082019050919050565b60006020820190508181036000830152613ed681613e9a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f6e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f31565b613f788683613f31565b95508019841693508086168417925050509392505050565b6000613fab613fa6613fa184612ca0565b613292565b612ca0565b9050919050565b6000819050919050565b613fc583613f90565b613fd9613fd182613fb2565b848454613f3e565b825550505050565b600090565b613fee613fe1565b613ff9818484613fbc565b505050565b5b8181101561401d57614012600082613fe6565b600181019050613fff565b5050565b601f8211156140625761403381613f0c565b61403c84613f21565b8101602085101561404b578190505b61405f61405785613f21565b830182613ffe565b50505b505050565b600082821c905092915050565b600061408560001984600802614067565b1980831691505092915050565b600061409e8383614074565b9150826002028217905092915050565b6140b782612e6c565b67ffffffffffffffff8111156140d0576140cf613edd565b5b6140da8254613950565b6140e5828285614021565b600060209050601f8311600181146141185760008415614106578287015190505b6141108582614092565b865550614178565b601f19841661412686613f0c565b60005b8281101561414e57848901518255600182019150602085019450602081019050614129565b8683101561416b5784890151614167601f891682614074565b8355505b6001600288020188555050505b50505050505056fea264697066735822122069681e6f3a50fd12b1f4e038331eec4f5945f50e953d602bfab8262aab72608f64736f6c63430008190033",
}
EcpCollateralMetaData contains all meta data concerning the EcpCollateral contract.
var EcpSequencerABI = EcpSequencerMetaData.ABI
EcpSequencerABI is the input ABI used to generate the binding from. Deprecated: Use EcpSequencerMetaData.ABI instead.
var EcpSequencerBin = EcpSequencerMetaData.Bin
EcpSequencerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use EcpSequencerMetaData.Bin instead.
var EcpSequencerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"AdminAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"AdminRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"cpAccounts\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"BatchTransferredToEscrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TransferredToEscrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawnFromEscrow\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"}],\"name\":\"addAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"admins\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balances\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"cpAccounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"batchTransferToEscrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"escrowBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"}],\"name\":\"getCPBalance\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"}],\"name\":\"removeAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferToEscrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawFromEscrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x608060405234801561001057600080fd5b5061002d61002261009860201b60201c565b6100a060201b60201c565b61003c3361016460201b60201c565b60018060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506103b5565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6101726101f360201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d890610329565b60405180910390fd5b6101f0816100a060201b60201c565b50565b61020161009860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1661022561027d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161461027b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027290610395565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006103136026836102a6565b915061031e826102b7565b604082019050919050565b6000602082019050818103600083015261034281610306565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061037f6020836102a6565b915061038a82610349565b602082019050919050565b600060208201905081810360008301526103ae81610372565b9050919050565b611db8806103c46000396000f3fe6080604052600436106100ec5760003560e01c8063922f126a1161008a578063e11e1b0c11610059578063e11e1b0c146102e7578063f2fde38b14610312578063f340fa011461033b578063f3fef3a314610357576100f3565b8063922f126a1461022f5780639e88fd811461026c578063a6f9dae114610295578063be47afda146102be576100f3565b8063429b62e5116100c6578063429b62e51461018757806370480275146101c4578063715018a6146101ed5780638da5cb5b14610204576100f3565b80631485fef9146100f85780631785f53c1461012157806327e235e31461014a576100f3565b366100f357005b600080fd5b34801561010457600080fd5b5061011f600480360381019061011a91906112a1565b610380565b005b34801561012d57600080fd5b5061014860048036038101906101439190611380565b61065d565b005b34801561015657600080fd5b50610171600480360381019061016c9190611380565b610703565b60405161017e91906113c6565b60405180910390f35b34801561019357600080fd5b506101ae60048036038101906101a99190611380565b61071b565b6040516101bb91906113fc565b60405180910390f35b3480156101d057600080fd5b506101eb60048036038101906101e69190611380565b61073b565b005b3480156101f957600080fd5b506102026107e0565b005b34801561021057600080fd5b506102196107f4565b6040516102269190611426565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190611380565b61081d565b60405161026391906113c6565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190611477565b610866565b005b3480156102a157600080fd5b506102bc60048036038101906102b79190611380565b6109f0565b005b3480156102ca57600080fd5b506102e560048036038101906102e091906114b7565b610ada565b005b3480156102f357600080fd5b506102fc610bc8565b60405161030991906114f3565b60405180910390f35b34801561031e57600080fd5b5061033960048036038101906103349190611380565b610bce565b005b61035560048036038101906103509190611380565b610c51565b005b34801561036357600080fd5b5061037e60048036038101906103799190611477565b610d67565b005b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061040a57503373ffffffffffffffffffffffffffffffffffffffff166103f26107f4565b73ffffffffffffffffffffffffffffffffffffffff16145b610449576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104409061156b565b60405180910390fd5b818190508484905014610491576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610488906115d7565b60405180910390fd5b60005b84849050811015610602578282828181106104b2576104b16115f7565b5b90506020020135600260008787858181106104d0576104cf6115f7565b5b90506020020160208101906104e59190611380565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461052e9190611655565b92505081905550828282818110610548576105476115f7565b5b90506020020135600360008282546105609190611698565b9250508190555084848281811061057a576105796115f7565b5b905060200201602081019061058f9190611380565b73ffffffffffffffffffffffffffffffffffffffff167f8aa981417e2c3a0dadea5dd2eb5eab703d6d9c074ae83d377ce454dd6a93bfa78484848181106105d9576105d86115f7565b5b905060200201356040516105ed91906114f3565b60405180910390a28080600101915050610494565b503373ffffffffffffffffffffffffffffffffffffffff167f5a5b8c52e21fd816e73687ac900bbb3238b4e80ddcb10c216085993299e64ed58585858560405161064f949392919061180a565b60405180910390a250505050565b610665611092565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f60405160405180910390a250565b60026020528060005260406000206000915090505481565b60016020528060005260406000206000915054906101000a900460ff1681565b610743611092565b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33960405160405180910390a250565b6107e8611092565b6107f26000611110565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806108f057503373ffffffffffffffffffffffffffffffffffffffff166108d86107f4565b73ffffffffffffffffffffffffffffffffffffffff16145b61092f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109269061156b565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461097e9190611655565b9250508190555080600360008282546109979190611698565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167f8aa981417e2c3a0dadea5dd2eb5eab703d6d9c074ae83d377ce454dd6a93bfa7826040516109e491906114f3565b60405180910390a25050565b6109f8611092565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e90611891565b60405180910390fd5b6000610a716107f4565b9050610a7c82610bce565b8173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c60405160405180910390a35050565b610ae2611092565b806003541015610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e906118fd565b60405180910390fd5b8060036000828254610b39919061191d565b92505081905550610b486107f4565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b8d573d6000803e3d6000fd5b507fd1f01ada3f4d4c0d5d81675b458e3f5c4dda3e79a82d07b03459147644bc7b7b81604051610bbd91906114f3565b60405180910390a150565b60035481565b610bd6611092565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3c906119c3565b60405180910390fd5b610c4e81611110565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb790611a2f565b60405180910390fd5b34600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d0f9190611a4f565b925050819055508073ffffffffffffffffffffffffffffffffffffffff167f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c434604051610d5c91906114f3565b60405180910390a250565b6000808373ffffffffffffffffffffffffffffffffffffffff166040516024016040516020818303038152906040527f893d20e8000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610e119190611b04565b6000604051808303816000865af19150503d8060008114610e4e576040519150601f19603f3d011682016040523d82523d6000602084013e610e53565b606091505b509150915081610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90611b8d565b60405180910390fd5b600081806020019051810190610eae9190611beb565b905083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541215610f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2990611c64565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9790611cf6565b60405180910390fd5b83600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fef9190611655565b925050819055503373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505015801561103c573d6000803e3d6000fd5b508473ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d58560405161108391906114f3565b60405180910390a25050505050565b61109a6111d4565b73ffffffffffffffffffffffffffffffffffffffff166110b86107f4565b73ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590611d62565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f84011261120b5761120a6111e6565b5b8235905067ffffffffffffffff811115611228576112276111eb565b5b602083019150836020820283011115611244576112436111f0565b5b9250929050565b60008083601f840112611261576112606111e6565b5b8235905067ffffffffffffffff81111561127e5761127d6111eb565b5b60208301915083602082028301111561129a576112996111f0565b5b9250929050565b600080600080604085870312156112bb576112ba6111dc565b5b600085013567ffffffffffffffff8111156112d9576112d86111e1565b5b6112e5878288016111f5565b9450945050602085013567ffffffffffffffff811115611308576113076111e1565b5b6113148782880161124b565b925092505092959194509250565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061134d82611322565b9050919050565b61135d81611342565b811461136857600080fd5b50565b60008135905061137a81611354565b92915050565b600060208284031215611396576113956111dc565b5b60006113a48482850161136b565b91505092915050565b6000819050919050565b6113c0816113ad565b82525050565b60006020820190506113db60008301846113b7565b92915050565b60008115159050919050565b6113f6816113e1565b82525050565b600060208201905061141160008301846113ed565b92915050565b61142081611342565b82525050565b600060208201905061143b6000830184611417565b92915050565b6000819050919050565b61145481611441565b811461145f57600080fd5b50565b6000813590506114718161144b565b92915050565b6000806040838503121561148e5761148d6111dc565b5b600061149c8582860161136b565b92505060206114ad85828601611462565b9150509250929050565b6000602082840312156114cd576114cc6111dc565b5b60006114db84828501611462565b91505092915050565b6114ed81611441565b82525050565b600060208201905061150860008301846114e4565b92915050565b600082825260208201905092915050565b7f4e6f7420616e2061646d696e206f72206f776e65720000000000000000000000600082015250565b600061155560158361150e565b91506115608261151f565b602082019050919050565b6000602082019050818103600083015261158481611548565b9050919050565b7f417272617973206c656e677468206d69736d6174636800000000000000000000600082015250565b60006115c160168361150e565b91506115cc8261158b565b602082019050919050565b600060208201905081810360008301526115f0816115b4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611660826113ad565b915061166b836113ad565b925082820390508181126000841216828213600085121516171561169257611691611626565b5b92915050565b60006116a382611441565b91506116ae83611441565b92508282019050808211156116c6576116c5611626565b5b92915050565b600082825260208201905092915050565b6000819050919050565b6116f081611342565b82525050565b600061170283836116e7565b60208301905092915050565b600061171d602084018461136b565b905092915050565b6000602082019050919050565b600061173e83856116cc565b9350611749826116dd565b8060005b858110156117825761175f828461170e565b61176988826116f6565b975061177483611725565b92505060018101905061174d565b5085925050509392505050565b600082825260208201905092915050565b600080fd5b82818337505050565b60006117ba838561178f565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156117ed576117ec6117a0565b5b6020830292506117fe8385846117a5565b82840190509392505050565b60006040820190508181036000830152611825818688611732565b9050818103602083015261183a8184866117ae565b905095945050505050565b7f496e76616c6964206e6577206f776e6572206164647265737300000000000000600082015250565b600061187b60198361150e565b915061188682611845565b602082019050919050565b600060208201905081810360008301526118aa8161186e565b9050919050565b7f496e73756666696369656e7420657363726f772062616c616e63650000000000600082015250565b60006118e7601b8361150e565b91506118f2826118b1565b602082019050919050565b60006020820190508181036000830152611916816118da565b9050919050565b600061192882611441565b915061193383611441565b925082820390508181111561194b5761194a611626565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006119ad60268361150e565b91506119b882611951565b604082019050919050565b600060208201905081810360008301526119dc816119a0565b9050919050565b7f496e76616c6964206163636f756e742061646472657373000000000000000000600082015250565b6000611a1960178361150e565b9150611a24826119e3565b602082019050919050565b60006020820190508181036000830152611a4881611a0c565b9050919050565b6000611a5a826113ad565b9150611a65836113ad565b925082820190508281121560008312168382126000841215161715611a8d57611a8c611626565b5b92915050565b600081519050919050565b600081905092915050565b60005b83811015611ac7578082015181840152602081019050611aac565b60008484015250505050565b6000611ade82611a93565b611ae88185611a9e565b9350611af8818560208601611aa9565b80840191505092915050565b6000611b108284611ad3565b915081905092915050565b7f4661696c656420746f2063616c6c206765744f776e65722066756e6374696f6e60008201527f206f662043504163636f756e7400000000000000000000000000000000000000602082015250565b6000611b77602d8361150e565b9150611b8282611b1b565b604082019050919050565b60006020820190508181036000830152611ba681611b6a565b9050919050565b6000611bb882611322565b9050919050565b611bc881611bad565b8114611bd357600080fd5b50565b600081519050611be581611bbf565b92915050565b600060208284031215611c0157611c006111dc565b5b6000611c0f84828501611bd6565b91505092915050565b7f576974686472617720616d6f756e7420657863656564732062616c616e636500600082015250565b6000611c4e601f8361150e565b9150611c5982611c18565b602082019050919050565b60006020820190508181036000830152611c7d81611c41565b9050919050565b7f4f6e6c792043502773206f776e65722063616e2077697468647261772074686560008201527f20636f6c6c61746572616c2066756e6473000000000000000000000000000000602082015250565b6000611ce060318361150e565b9150611ceb82611c84565b604082019050919050565b60006020820190508181036000830152611d0f81611cd3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611d4c60208361150e565b9150611d5782611d16565b602082019050919050565b60006020820190508181036000830152611d7b81611d3f565b905091905056fea2646970667358221220afdfac8d254eba4e169fca6931cb43c65d4c51eb0197bc857a034c3bad00e34464736f6c63430008190033",
}
EcpSequencerMetaData contains all meta data concerning the EcpSequencer contract.
var TaskABI = TaskMetaData.ABI
TaskABI is the input ABI used to generate the binding from. Deprecated: Use TaskMetaData.ABI instead.
var TaskBin = TaskMetaData.Bin
TaskBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TaskMetaData.Bin instead.
var TaskMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_taskID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_taskType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_resourceType\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_inputParam\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_verifyParam\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_cpAccount\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_proof\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_taskRegistryContract\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_checkCode\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"taskContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"RegisteredToTaskRegistry\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"taskID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"inputParam\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"checkCode\",\"type\":\"string\"}],\"name\":\"TaskCreated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"taskInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"taskID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"taskType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"resourceType\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"inputParam\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"verifyParam\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"cpAccount\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"proof\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"taskRegistryContract\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"checkCode\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b506040516200146538038062001465833981810160405281019062000037919062000721565b6040518061018001604052808b81526020018a81526020018981526020018881526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020013373ffffffffffffffffffffffffffffffffffffffff1681526020016040518060400160405280600381526020017f332e30000000000000000000000000000000000000000000000000000000000081525081525060008082015181600001556020820151816001015560408201518160020155606082015181600301908162000136919062000ad4565b5060808201518160040190816200014e919062000ad4565b5060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006019081620001ad919062000ad4565b5060e082015181600701556101008201518160080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061012082015181600901908162000218919062000ad4565b5061014082015181600a0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061016082015181600b01908162000279919062000ad4565b509050507f7494b64152547ee0befdc148256d2de656f0aa9a5d6bf982acdf988ba8ff202e8a86898685604051620002b695949392919062000c2f565b60405180910390a1620002ce620002de60201b60201c565b5050505050505050505062000dc5565b60008060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16306000600a0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516024016200035592919062000c9a565b6040516020818303038152906040527fcaa29fc2000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051620003e1919062000d14565b6000604051808303816000865af19150503d806000811462000420576040519150601f19603f3d011682016040523d82523d6000602084013e62000425565b606091505b50509050806200046c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004639062000da3565b60405180910390fd5b6000600a0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff167f411a83d4fcdb8a204895aa1c817c68da89892ae8a277620988dcd6ea44650b7f60405160405180910390a350565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620005178162000502565b81146200052357600080fd5b50565b60008151905062000537816200050c565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005928262000547565b810181811067ffffffffffffffff82111715620005b457620005b362000558565b5b80604052505050565b6000620005c9620004ee565b9050620005d7828262000587565b919050565b600067ffffffffffffffff821115620005fa57620005f962000558565b5b620006058262000547565b9050602081019050919050565b60005b838110156200063257808201518184015260208101905062000615565b60008484015250505050565b6000620006556200064f84620005dc565b620005bd565b90508281526020810184848401111562000674576200067362000542565b5b6200068184828562000612565b509392505050565b600082601f830112620006a157620006a06200053d565b5b8151620006b38482602086016200063e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006e982620006bc565b9050919050565b620006fb81620006dc565b81146200070757600080fd5b50565b6000815190506200071b81620006f0565b92915050565b6000806000806000806000806000806101408b8d031215620007485762000747620004f8565b5b6000620007588d828e0162000526565b9a505060206200076b8d828e0162000526565b99505060406200077e8d828e0162000526565b98505060608b015167ffffffffffffffff811115620007a257620007a1620004fd565b5b620007b08d828e0162000689565b97505060808b015167ffffffffffffffff811115620007d457620007d3620004fd565b5b620007e28d828e0162000689565b96505060a0620007f58d828e016200070a565b95505060c08b015167ffffffffffffffff811115620008195762000818620004fd565b5b620008278d828e0162000689565b94505060e06200083a8d828e0162000526565b9350506101006200084e8d828e016200070a565b9250506101208b015167ffffffffffffffff811115620008735762000872620004fd565b5b620008818d828e0162000689565b9150509295989b9194979a5092959850565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008e657607f821691505b602082108103620008fc57620008fb6200089e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009667fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000927565b62000972868362000927565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620009b5620009af620009a98462000502565b6200098a565b62000502565b9050919050565b6000819050919050565b620009d18362000994565b620009e9620009e082620009bc565b84845462000934565b825550505050565b600090565b62000a00620009f1565b62000a0d818484620009c6565b505050565b5b8181101562000a355762000a29600082620009f6565b60018101905062000a13565b5050565b601f82111562000a845762000a4e8162000902565b62000a598462000917565b8101602085101562000a69578190505b62000a8162000a788562000917565b83018262000a12565b50505b505050565b600082821c905092915050565b600062000aa96000198460080262000a89565b1980831691505092915050565b600062000ac4838362000a96565b9150826002028217905092915050565b62000adf8262000893565b67ffffffffffffffff81111562000afb5762000afa62000558565b5b62000b078254620008cd565b62000b1482828562000a39565b600060209050601f83116001811462000b4c576000841562000b37578287015190505b62000b43858262000ab6565b86555062000bb3565b601f19841662000b5c8662000902565b60005b8281101562000b865784890151825560018201915060208501945060208101905062000b5f565b8683101562000ba6578489015162000ba2601f89168262000a96565b8355505b6001600288020188555050505b505050505050565b62000bc68162000502565b82525050565b62000bd781620006dc565b82525050565b600082825260208201905092915050565b600062000bfb8262000893565b62000c07818562000bdd565b935062000c1981856020860162000612565b62000c248162000547565b840191505092915050565b600060a08201905062000c46600083018862000bbb565b62000c55602083018762000bcc565b818103604083015262000c69818662000bee565b905062000c7a606083018562000bbb565b818103608083015262000c8e818462000bee565b90509695505050505050565b600060408201905062000cb1600083018562000bcc565b62000cc0602083018462000bcc565b9392505050565b600081519050919050565b600081905092915050565b600062000cea8262000cc7565b62000cf6818562000cd2565b935062000d0881856020860162000612565b80840191505092915050565b600062000d22828462000cdd565b915081905092915050565b7f4661696c656420746f207265676973746572207461736b20636f6e747261637460008201527f20746f205461736b526567697374727900000000000000000000000000000000602082015250565b600062000d8b60308362000bdd565b915062000d988262000d2d565b604082019050919050565b6000602082019050818103600083015262000dbe8162000d7c565b9050919050565b6106908062000dd56000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806354fd4d501461003b578063ac72255114610059575b600080fd5b610043610082565b60405161005091906104a1565b60405180910390f35b6100616100bb565b6040516100799c9b9a9998979695949392919061051d565b60405180910390f35b6040518060400160405280600381526020017f332e30000000000000000000000000000000000000000000000000000000000081525081565b60008060000154908060010154908060020154908060030180546100de90610629565b80601f016020809104026020016040519081016040528092919081815260200182805461010a90610629565b80156101575780601f1061012c57610100808354040283529160200191610157565b820191906000526020600020905b81548152906001019060200180831161013a57829003601f168201915b50505050509080600401805461016c90610629565b80601f016020809104026020016040519081016040528092919081815260200182805461019890610629565b80156101e55780601f106101ba576101008083540402835291602001916101e5565b820191906000526020600020905b8154815290600101906020018083116101c857829003601f168201915b5050505050908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600601805461022090610629565b80601f016020809104026020016040519081016040528092919081815260200182805461024c90610629565b80156102995780601f1061026e57610100808354040283529160200191610299565b820191906000526020600020905b81548152906001019060200180831161027c57829003601f168201915b5050505050908060070154908060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060090180546102da90610629565b80601f016020809104026020016040519081016040528092919081815260200182805461030690610629565b80156103535780601f1061032857610100808354040283529160200191610353565b820191906000526020600020905b81548152906001019060200180831161033657829003601f168201915b50505050509080600a0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600b01805461038e90610629565b80601f01602080910402602001604051908101604052809291908181526020018280546103ba90610629565b80156104075780601f106103dc57610100808354040283529160200191610407565b820191906000526020600020905b8154815290600101906020018083116103ea57829003601f168201915b505050505090508c565b600081519050919050565b600082825260208201905092915050565b60005b8381101561044b578082015181840152602081019050610430565b60008484015250505050565b6000601f19601f8301169050919050565b600061047382610411565b61047d818561041c565b935061048d81856020860161042d565b61049681610457565b840191505092915050565b600060208201905081810360008301526104bb8184610468565b905092915050565b6000819050919050565b6104d6816104c3565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610507826104dc565b9050919050565b610517816104fc565b82525050565b600061018082019050610533600083018f6104cd565b610540602083018e6104cd565b61054d604083018d6104cd565b818103606083015261055f818c610468565b90508181036080830152610573818b610468565b905061058260a083018a61050e565b81810360c08301526105948189610468565b90506105a360e08301886104cd565b6105b161010083018761050e565b8181036101208301526105c48186610468565b90506105d461014083018561050e565b8181036101608301526105e78184610468565b90509d9c50505050505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061064157607f821691505b602082108103610654576106536105fa565b5b5091905056fea2646970667358221220b20a66f838453262d486eb6c5e21d5c4fc5375763d941839b37ac39e0efb5c7f64736f6c63430008140033",
}
TaskMetaData contains all meta data concerning the Task contract.
Functions ¶
func ParseError ¶
Types ¶
type AggregatedTask ¶ added in v0.6.2
type AggregatedTask struct { AggregatedTaskCaller // Read-only binding to the contract AggregatedTaskTransactor // Write-only binding to the contract AggregatedTaskFilterer // Log filterer for contract events }
AggregatedTask is an auto generated Go binding around an Ethereum contract.
func DeployAggregatedTask ¶ added in v0.6.2
func DeployAggregatedTask(auth *bind.TransactOpts, backend bind.ContractBackend, _taskBlobCID string, _taskRegistryContract common.Address) (common.Address, *types.Transaction, *AggregatedTask, error)
DeployAggregatedTask deploys a new Ethereum contract, binding an instance of AggregatedTask to it.
func NewAggregatedTask ¶ added in v0.6.2
func NewAggregatedTask(address common.Address, backend bind.ContractBackend) (*AggregatedTask, error)
NewAggregatedTask creates a new instance of AggregatedTask, bound to a specific deployed contract.
type AggregatedTaskCaller ¶ added in v0.6.2
type AggregatedTaskCaller struct {
// contains filtered or unexported fields
}
AggregatedTaskCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAggregatedTaskCaller ¶ added in v0.6.2
func NewAggregatedTaskCaller(address common.Address, caller bind.ContractCaller) (*AggregatedTaskCaller, error)
NewAggregatedTaskCaller creates a new read-only instance of AggregatedTask, bound to a specific deployed contract.
func (*AggregatedTaskCaller) TaskBlobCID ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskCaller) TaskBlobCID(opts *bind.CallOpts) (string, error)
TaskBlobCID is a free data retrieval call binding the contract method 0xcf9dc557.
Solidity: function taskBlobCID() view returns(string)
type AggregatedTaskCallerRaw ¶ added in v0.6.2
type AggregatedTaskCallerRaw struct {
Contract *AggregatedTaskCaller // Generic read-only contract binding to access the raw methods on
}
AggregatedTaskCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AggregatedTaskCallerRaw) Call ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskCallerRaw) 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 AggregatedTaskCallerSession ¶ added in v0.6.2
type AggregatedTaskCallerSession struct { Contract *AggregatedTaskCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AggregatedTaskCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AggregatedTaskCallerSession) TaskBlobCID ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskCallerSession) TaskBlobCID() (string, error)
TaskBlobCID is a free data retrieval call binding the contract method 0xcf9dc557.
Solidity: function taskBlobCID() view returns(string)
type AggregatedTaskFilterer ¶ added in v0.6.2
type AggregatedTaskFilterer struct {
// contains filtered or unexported fields
}
AggregatedTaskFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAggregatedTaskFilterer ¶ added in v0.6.2
func NewAggregatedTaskFilterer(address common.Address, filterer bind.ContractFilterer) (*AggregatedTaskFilterer, error)
NewAggregatedTaskFilterer creates a new log filterer instance of AggregatedTask, bound to a specific deployed contract.
func (*AggregatedTaskFilterer) FilterRegisteredToTaskRegistry ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskFilterer) FilterRegisteredToTaskRegistry(opts *bind.FilterOpts, taskContract []common.Address, owner []common.Address) (*AggregatedTaskRegisteredToTaskRegistryIterator, error)
FilterRegisteredToTaskRegistry is a free log retrieval operation binding the contract event 0x411a83d4fcdb8a204895aa1c817c68da89892ae8a277620988dcd6ea44650b7f.
Solidity: event RegisteredToTaskRegistry(address indexed taskContract, address indexed owner)
func (*AggregatedTaskFilterer) FilterTaskCreated ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskFilterer) FilterTaskCreated(opts *bind.FilterOpts) (*AggregatedTaskTaskCreatedIterator, error)
FilterTaskCreated is a free log retrieval operation binding the contract event 0xabf948a1223daba3f04a6050c5ee3bfb2b135790471a6bbf2d2a93bc29faaf9f.
Solidity: event TaskCreated(string taskBlobCID)
func (*AggregatedTaskFilterer) ParseRegisteredToTaskRegistry ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskFilterer) ParseRegisteredToTaskRegistry(log types.Log) (*AggregatedTaskRegisteredToTaskRegistry, error)
ParseRegisteredToTaskRegistry is a log parse operation binding the contract event 0x411a83d4fcdb8a204895aa1c817c68da89892ae8a277620988dcd6ea44650b7f.
Solidity: event RegisteredToTaskRegistry(address indexed taskContract, address indexed owner)
func (*AggregatedTaskFilterer) ParseTaskCreated ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskFilterer) ParseTaskCreated(log types.Log) (*AggregatedTaskTaskCreated, error)
ParseTaskCreated is a log parse operation binding the contract event 0xabf948a1223daba3f04a6050c5ee3bfb2b135790471a6bbf2d2a93bc29faaf9f.
Solidity: event TaskCreated(string taskBlobCID)
func (*AggregatedTaskFilterer) WatchRegisteredToTaskRegistry ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskFilterer) WatchRegisteredToTaskRegistry(opts *bind.WatchOpts, sink chan<- *AggregatedTaskRegisteredToTaskRegistry, taskContract []common.Address, owner []common.Address) (event.Subscription, error)
WatchRegisteredToTaskRegistry is a free log subscription operation binding the contract event 0x411a83d4fcdb8a204895aa1c817c68da89892ae8a277620988dcd6ea44650b7f.
Solidity: event RegisteredToTaskRegistry(address indexed taskContract, address indexed owner)
func (*AggregatedTaskFilterer) WatchTaskCreated ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskFilterer) WatchTaskCreated(opts *bind.WatchOpts, sink chan<- *AggregatedTaskTaskCreated) (event.Subscription, error)
WatchTaskCreated is a free log subscription operation binding the contract event 0xabf948a1223daba3f04a6050c5ee3bfb2b135790471a6bbf2d2a93bc29faaf9f.
Solidity: event TaskCreated(string taskBlobCID)
type AggregatedTaskRaw ¶ added in v0.6.2
type AggregatedTaskRaw struct {
Contract *AggregatedTask // Generic contract binding to access the raw methods on
}
AggregatedTaskRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AggregatedTaskRaw) Call ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskRaw) 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 (*AggregatedTaskRaw) Transact ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AggregatedTaskRaw) Transfer ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskRaw) 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 AggregatedTaskRegisteredToTaskRegistry ¶ added in v0.6.2
type AggregatedTaskRegisteredToTaskRegistry struct { TaskContract common.Address Owner common.Address Raw types.Log // Blockchain specific contextual infos }
AggregatedTaskRegisteredToTaskRegistry represents a RegisteredToTaskRegistry event raised by the AggregatedTask contract.
type AggregatedTaskRegisteredToTaskRegistryIterator ¶ added in v0.6.2
type AggregatedTaskRegisteredToTaskRegistryIterator struct { Event *AggregatedTaskRegisteredToTaskRegistry // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AggregatedTaskRegisteredToTaskRegistryIterator is returned from FilterRegisteredToTaskRegistry and is used to iterate over the raw logs and unpacked data for RegisteredToTaskRegistry events raised by the AggregatedTask contract.
func (*AggregatedTaskRegisteredToTaskRegistryIterator) Close ¶ added in v0.6.2
func (it *AggregatedTaskRegisteredToTaskRegistryIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AggregatedTaskRegisteredToTaskRegistryIterator) Error ¶ added in v0.6.2
func (it *AggregatedTaskRegisteredToTaskRegistryIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AggregatedTaskRegisteredToTaskRegistryIterator) Next ¶ added in v0.6.2
func (it *AggregatedTaskRegisteredToTaskRegistryIterator) 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 AggregatedTaskSession ¶ added in v0.6.2
type AggregatedTaskSession struct { Contract *AggregatedTask // 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 }
AggregatedTaskSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AggregatedTaskSession) TaskBlobCID ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskSession) TaskBlobCID() (string, error)
TaskBlobCID is a free data retrieval call binding the contract method 0xcf9dc557.
Solidity: function taskBlobCID() view returns(string)
type AggregatedTaskTaskCreated ¶ added in v0.6.2
type AggregatedTaskTaskCreated struct { TaskBlobCID string Raw types.Log // Blockchain specific contextual infos }
AggregatedTaskTaskCreated represents a TaskCreated event raised by the AggregatedTask contract.
type AggregatedTaskTaskCreatedIterator ¶ added in v0.6.2
type AggregatedTaskTaskCreatedIterator struct { Event *AggregatedTaskTaskCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AggregatedTaskTaskCreatedIterator is returned from FilterTaskCreated and is used to iterate over the raw logs and unpacked data for TaskCreated events raised by the AggregatedTask contract.
func (*AggregatedTaskTaskCreatedIterator) Close ¶ added in v0.6.2
func (it *AggregatedTaskTaskCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AggregatedTaskTaskCreatedIterator) Error ¶ added in v0.6.2
func (it *AggregatedTaskTaskCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AggregatedTaskTaskCreatedIterator) Next ¶ added in v0.6.2
func (it *AggregatedTaskTaskCreatedIterator) 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 AggregatedTaskTransactor ¶ added in v0.6.2
type AggregatedTaskTransactor struct {
// contains filtered or unexported fields
}
AggregatedTaskTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAggregatedTaskTransactor ¶ added in v0.6.2
func NewAggregatedTaskTransactor(address common.Address, transactor bind.ContractTransactor) (*AggregatedTaskTransactor, error)
NewAggregatedTaskTransactor creates a new write-only instance of AggregatedTask, bound to a specific deployed contract.
type AggregatedTaskTransactorRaw ¶ added in v0.6.2
type AggregatedTaskTransactorRaw struct {
Contract *AggregatedTaskTransactor // Generic write-only contract binding to access the raw methods on
}
AggregatedTaskTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AggregatedTaskTransactorRaw) Transact ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AggregatedTaskTransactorRaw) Transfer ¶ added in v0.6.2
func (_AggregatedTask *AggregatedTaskTransactorRaw) 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 AggregatedTaskTransactorSession ¶ added in v0.6.2
type AggregatedTaskTransactorSession struct { Contract *AggregatedTaskTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AggregatedTaskTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type CollateralOption ¶ added in v0.6.2
type CollateralOption func(*CollateralStub)
func WithCpAccountAddress ¶ added in v0.5.1
func WithCpAccountAddress(cpAccountAddress string) CollateralOption
func WithPrivateKey ¶
func WithPrivateKey(pk string) CollateralOption
func WithPublicKey ¶
func WithPublicKey(pk string) CollateralOption
type CollateralStub ¶ added in v0.6.2
type CollateralStub struct {
// contains filtered or unexported fields
}
func NewCollateralStub ¶
func NewCollateralStub(client *ethclient.Client, options ...CollateralOption) (*CollateralStub, error)
func (*CollateralStub) ContractInfo ¶ added in v0.6.2
func (s *CollateralStub) ContractInfo() (models.CollateralContractInfoForECP, error)
func (*CollateralStub) CpInfo ¶ added in v0.6.2
func (s *CollateralStub) CpInfo() (models.CpCollateralInfoForECP, error)
func (*CollateralStub) Deposit ¶ added in v0.6.2
func (s *CollateralStub) Deposit(amount *big.Int) (string, error)
func (*CollateralStub) Withdraw ¶ added in v0.6.2
func (s *CollateralStub) Withdraw(amount *big.Int) (string, error)
func (*CollateralStub) WithdrawConfirm ¶ added in v0.6.2
func (s *CollateralStub) WithdrawConfirm() (string, error)
func (*CollateralStub) WithdrawRequest ¶ added in v0.6.2
func (s *CollateralStub) WithdrawRequest(amount *big.Int) (string, error)
func (*CollateralStub) WithdrawView ¶ added in v0.6.2
func (s *CollateralStub) WithdrawView() (models.WithdrawRequest, error)
type ECPCollateralCPInfo ¶
type ECPCollateralCPInfo struct { Cp common.Address Balance *big.Int FrozenBalance *big.Int Status string }
ECPCollateralCPInfo is an auto generated low-level Go binding around an user-defined struct.
type ECPCollateralContractInfo ¶
type ECPCollateralContractInfo struct { CollateralToken common.Address SlashedFunds *big.Int BaseCollateral *big.Int CollateralRatio *big.Int SlashRatio *big.Int WithdrawDelay *big.Int }
ECPCollateralContractInfo is an auto generated low-level Go binding around an user-defined struct.
type ECPCollateralWithdrawRequest ¶ added in v0.6.2
ECPCollateralWithdrawRequest is an auto generated low-level Go binding around an user-defined struct.
type EcpCollateral ¶ added in v0.6.2
type EcpCollateral struct { EcpCollateralCaller // Read-only binding to the contract EcpCollateralTransactor // Write-only binding to the contract EcpCollateralFilterer // Log filterer for contract events }
EcpCollateral is an auto generated Go binding around an Ethereum contract.
func DeployEcpCollateral ¶ added in v0.6.2
func DeployEcpCollateral(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *EcpCollateral, error)
DeployEcpCollateral deploys a new Ethereum contract, binding an instance of EcpCollateral to it.
func NewEcpCollateral ¶ added in v0.6.2
func NewEcpCollateral(address common.Address, backend bind.ContractBackend) (*EcpCollateral, error)
NewEcpCollateral creates a new instance of EcpCollateral, bound to a specific deployed contract.
type EcpCollateralCaller ¶ added in v0.6.2
type EcpCollateralCaller struct {
// contains filtered or unexported fields
}
EcpCollateralCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEcpCollateralCaller ¶ added in v0.6.2
func NewEcpCollateralCaller(address common.Address, caller bind.ContractCaller) (*EcpCollateralCaller, error)
NewEcpCollateralCaller creates a new read-only instance of EcpCollateral, bound to a specific deployed contract.
func (*EcpCollateralCaller) Balances ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(int256)
func (*EcpCollateralCaller) BaseCollateral ¶ added in v0.6.2
BaseCollateral is a free data retrieval call binding the contract method 0x9b5ddf09.
Solidity: function baseCollateral() view returns(uint256)
func (*EcpCollateralCaller) CollateralRatio ¶ added in v0.6.2
CollateralRatio is a free data retrieval call binding the contract method 0xb4eae1cb.
Solidity: function collateralRatio() view returns(uint256)
func (*EcpCollateralCaller) CollateralToken ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) CollateralToken(opts *bind.CallOpts) (common.Address, error)
CollateralToken is a free data retrieval call binding the contract method 0xb2016bd4.
Solidity: function collateralToken() view returns(address)
func (*EcpCollateralCaller) CpInfo ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) CpInfo(opts *bind.CallOpts, cpAccount common.Address) (ECPCollateralCPInfo, error)
CpInfo is a free data retrieval call binding the contract method 0xa664c216.
Solidity: function cpInfo(address cpAccount) view returns((address,int256,uint256,string))
func (*EcpCollateralCaller) CpStatus ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) CpStatus(opts *bind.CallOpts, arg0 common.Address) (string, error)
CpStatus is a free data retrieval call binding the contract method 0x3fe65177.
Solidity: function cpStatus(address ) view returns(string)
func (*EcpCollateralCaller) FrozenBalance ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) FrozenBalance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
FrozenBalance is a free data retrieval call binding the contract method 0x266565a9.
Solidity: function frozenBalance(address ) view returns(uint256)
func (*EcpCollateralCaller) GetBaseCollateral ¶ added in v0.6.2
GetBaseCollateral is a free data retrieval call binding the contract method 0x70b72944.
Solidity: function getBaseCollateral() view returns(uint256)
func (*EcpCollateralCaller) GetECPCollateralInfo ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) GetECPCollateralInfo(opts *bind.CallOpts) (ECPCollateralContractInfo, error)
GetECPCollateralInfo is a free data retrieval call binding the contract method 0x9939cd18.
Solidity: function getECPCollateralInfo() view returns((address,uint256,uint256,uint256,uint256,uint256))
func (*EcpCollateralCaller) IsAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) IsAdmin(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address ) view returns(bool)
func (*EcpCollateralCaller) Owner ¶ added in v0.6.2
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*EcpCollateralCaller) SlashRatio ¶ added in v0.6.2
SlashRatio is a free data retrieval call binding the contract method 0xd27ca89b.
Solidity: function slashRatio() view returns(uint256)
func (*EcpCollateralCaller) SlashedFunds ¶ added in v0.6.2
SlashedFunds is a free data retrieval call binding the contract method 0x6f99f15c.
Solidity: function slashedFunds() view returns(uint256)
func (*EcpCollateralCaller) ViewWithdrawRequest ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) ViewWithdrawRequest(opts *bind.CallOpts, cpAccount common.Address) (ECPCollateralWithdrawRequest, error)
ViewWithdrawRequest is a free data retrieval call binding the contract method 0xbede6e31.
Solidity: function viewWithdrawRequest(address cpAccount) view returns((uint256,uint256))
func (*EcpCollateralCaller) WithdrawDelay ¶ added in v0.6.2
WithdrawDelay is a free data retrieval call binding the contract method 0x0288a39c.
Solidity: function withdrawDelay() view returns(uint256)
func (*EcpCollateralCaller) WithdrawRequests ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCaller) WithdrawRequests(opts *bind.CallOpts, arg0 common.Address) (struct { Amount *big.Int RequestBlock *big.Int }, error)
WithdrawRequests is a free data retrieval call binding the contract method 0x52df49ec.
Solidity: function withdrawRequests(address ) view returns(uint256 amount, uint256 requestBlock)
type EcpCollateralCallerRaw ¶ added in v0.6.2
type EcpCollateralCallerRaw struct {
Contract *EcpCollateralCaller // Generic read-only contract binding to access the raw methods on
}
EcpCollateralCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EcpCollateralCallerRaw) Call ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerRaw) 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 EcpCollateralCallerSession ¶ added in v0.6.2
type EcpCollateralCallerSession struct { Contract *EcpCollateralCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EcpCollateralCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EcpCollateralCallerSession) Balances ¶ added in v0.6.2
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(int256)
func (*EcpCollateralCallerSession) BaseCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) BaseCollateral() (*big.Int, error)
BaseCollateral is a free data retrieval call binding the contract method 0x9b5ddf09.
Solidity: function baseCollateral() view returns(uint256)
func (*EcpCollateralCallerSession) CollateralRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) CollateralRatio() (*big.Int, error)
CollateralRatio is a free data retrieval call binding the contract method 0xb4eae1cb.
Solidity: function collateralRatio() view returns(uint256)
func (*EcpCollateralCallerSession) CollateralToken ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) CollateralToken() (common.Address, error)
CollateralToken is a free data retrieval call binding the contract method 0xb2016bd4.
Solidity: function collateralToken() view returns(address)
func (*EcpCollateralCallerSession) CpInfo ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) CpInfo(cpAccount common.Address) (ECPCollateralCPInfo, error)
CpInfo is a free data retrieval call binding the contract method 0xa664c216.
Solidity: function cpInfo(address cpAccount) view returns((address,int256,uint256,string))
func (*EcpCollateralCallerSession) CpStatus ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) CpStatus(arg0 common.Address) (string, error)
CpStatus is a free data retrieval call binding the contract method 0x3fe65177.
Solidity: function cpStatus(address ) view returns(string)
func (*EcpCollateralCallerSession) FrozenBalance ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) FrozenBalance(arg0 common.Address) (*big.Int, error)
FrozenBalance is a free data retrieval call binding the contract method 0x266565a9.
Solidity: function frozenBalance(address ) view returns(uint256)
func (*EcpCollateralCallerSession) GetBaseCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) GetBaseCollateral() (*big.Int, error)
GetBaseCollateral is a free data retrieval call binding the contract method 0x70b72944.
Solidity: function getBaseCollateral() view returns(uint256)
func (*EcpCollateralCallerSession) GetECPCollateralInfo ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) GetECPCollateralInfo() (ECPCollateralContractInfo, error)
GetECPCollateralInfo is a free data retrieval call binding the contract method 0x9939cd18.
Solidity: function getECPCollateralInfo() view returns((address,uint256,uint256,uint256,uint256,uint256))
func (*EcpCollateralCallerSession) IsAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) IsAdmin(arg0 common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address ) view returns(bool)
func (*EcpCollateralCallerSession) Owner ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*EcpCollateralCallerSession) SlashRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) SlashRatio() (*big.Int, error)
SlashRatio is a free data retrieval call binding the contract method 0xd27ca89b.
Solidity: function slashRatio() view returns(uint256)
func (*EcpCollateralCallerSession) SlashedFunds ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) SlashedFunds() (*big.Int, error)
SlashedFunds is a free data retrieval call binding the contract method 0x6f99f15c.
Solidity: function slashedFunds() view returns(uint256)
func (*EcpCollateralCallerSession) ViewWithdrawRequest ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) ViewWithdrawRequest(cpAccount common.Address) (ECPCollateralWithdrawRequest, error)
ViewWithdrawRequest is a free data retrieval call binding the contract method 0xbede6e31.
Solidity: function viewWithdrawRequest(address cpAccount) view returns((uint256,uint256))
func (*EcpCollateralCallerSession) WithdrawDelay ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) WithdrawDelay() (*big.Int, error)
WithdrawDelay is a free data retrieval call binding the contract method 0x0288a39c.
Solidity: function withdrawDelay() view returns(uint256)
func (*EcpCollateralCallerSession) WithdrawRequests ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralCallerSession) WithdrawRequests(arg0 common.Address) (struct { Amount *big.Int RequestBlock *big.Int }, error)
WithdrawRequests is a free data retrieval call binding the contract method 0x52df49ec.
Solidity: function withdrawRequests(address ) view returns(uint256 amount, uint256 requestBlock)
type EcpCollateralCollateralAdjusted ¶ added in v0.6.2
type EcpCollateralCollateralAdjusted struct { Cp common.Address FrozenAmount *big.Int BalanceAmount *big.Int Operation string Raw types.Log // Blockchain specific contextual infos }
EcpCollateralCollateralAdjusted represents a CollateralAdjusted event raised by the EcpCollateral contract.
type EcpCollateralCollateralAdjustedIterator ¶ added in v0.6.2
type EcpCollateralCollateralAdjustedIterator struct { Event *EcpCollateralCollateralAdjusted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralCollateralAdjustedIterator is returned from FilterCollateralAdjusted and is used to iterate over the raw logs and unpacked data for CollateralAdjusted events raised by the EcpCollateral contract.
func (*EcpCollateralCollateralAdjustedIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralCollateralAdjustedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralCollateralAdjustedIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralCollateralAdjustedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralCollateralAdjustedIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralCollateralAdjustedIterator) 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 EcpCollateralCollateralLocked ¶ added in v0.6.2
type EcpCollateralCollateralLocked struct { Cp common.Address CollateralAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralCollateralLocked represents a CollateralLocked event raised by the EcpCollateral contract.
type EcpCollateralCollateralLockedIterator ¶ added in v0.6.2
type EcpCollateralCollateralLockedIterator struct { Event *EcpCollateralCollateralLocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralCollateralLockedIterator is returned from FilterCollateralLocked and is used to iterate over the raw logs and unpacked data for CollateralLocked events raised by the EcpCollateral contract.
func (*EcpCollateralCollateralLockedIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralCollateralLockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralCollateralLockedIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralCollateralLockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralCollateralLockedIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralCollateralLockedIterator) 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 EcpCollateralCollateralSlashed ¶ added in v0.6.2
type EcpCollateralCollateralSlashed struct { Cp common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralCollateralSlashed represents a CollateralSlashed event raised by the EcpCollateral contract.
type EcpCollateralCollateralSlashedIterator ¶ added in v0.6.2
type EcpCollateralCollateralSlashedIterator struct { Event *EcpCollateralCollateralSlashed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralCollateralSlashedIterator is returned from FilterCollateralSlashed and is used to iterate over the raw logs and unpacked data for CollateralSlashed events raised by the EcpCollateral contract.
func (*EcpCollateralCollateralSlashedIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralCollateralSlashedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralCollateralSlashedIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralCollateralSlashedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralCollateralSlashedIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralCollateralSlashedIterator) 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 EcpCollateralCollateralUnlocked ¶ added in v0.6.2
type EcpCollateralCollateralUnlocked struct { Cp common.Address CollateralAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralCollateralUnlocked represents a CollateralUnlocked event raised by the EcpCollateral contract.
type EcpCollateralCollateralUnlockedIterator ¶ added in v0.6.2
type EcpCollateralCollateralUnlockedIterator struct { Event *EcpCollateralCollateralUnlocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralCollateralUnlockedIterator is returned from FilterCollateralUnlocked and is used to iterate over the raw logs and unpacked data for CollateralUnlocked events raised by the EcpCollateral contract.
func (*EcpCollateralCollateralUnlockedIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralCollateralUnlockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralCollateralUnlockedIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralCollateralUnlockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralCollateralUnlockedIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralCollateralUnlockedIterator) 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 EcpCollateralDeposit ¶ added in v0.6.2
type EcpCollateralDeposit struct { FundingWallet common.Address CpAccount common.Address DepositAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralDeposit represents a Deposit event raised by the EcpCollateral contract.
type EcpCollateralDepositIterator ¶ added in v0.6.2
type EcpCollateralDepositIterator struct { Event *EcpCollateralDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the EcpCollateral contract.
func (*EcpCollateralDepositIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralDepositIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralDepositIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralDepositIterator) 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 EcpCollateralDisputeProof ¶ added in v0.6.2
type EcpCollateralDisputeProof struct { Challenger common.Address TaskContractAddress common.Address CpAccount common.Address TaskID *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralDisputeProof represents a DisputeProof event raised by the EcpCollateral contract.
type EcpCollateralDisputeProofIterator ¶ added in v0.6.2
type EcpCollateralDisputeProofIterator struct { Event *EcpCollateralDisputeProof // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralDisputeProofIterator is returned from FilterDisputeProof and is used to iterate over the raw logs and unpacked data for DisputeProof events raised by the EcpCollateral contract.
func (*EcpCollateralDisputeProofIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralDisputeProofIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralDisputeProofIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralDisputeProofIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralDisputeProofIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralDisputeProofIterator) 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 EcpCollateralFilterer ¶ added in v0.6.2
type EcpCollateralFilterer struct {
// contains filtered or unexported fields
}
EcpCollateralFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEcpCollateralFilterer ¶ added in v0.6.2
func NewEcpCollateralFilterer(address common.Address, filterer bind.ContractFilterer) (*EcpCollateralFilterer, error)
NewEcpCollateralFilterer creates a new log filterer instance of EcpCollateral, bound to a specific deployed contract.
func (*EcpCollateralFilterer) FilterCollateralAdjusted ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterCollateralAdjusted(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralCollateralAdjustedIterator, error)
FilterCollateralAdjusted is a free log retrieval operation binding the contract event 0x42f1a8a1aee108e84e4eabfaa8d51d7baaa1a02d482295297883a44b2debd3e4.
Solidity: event CollateralAdjusted(address indexed cp, uint256 frozenAmount, uint256 balanceAmount, string operation)
func (*EcpCollateralFilterer) FilterCollateralLocked ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterCollateralLocked(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralCollateralLockedIterator, error)
FilterCollateralLocked is a free log retrieval operation binding the contract event 0x2251f6a4ed7fe619e9e8ce557d05a63dd484284f9c95c9ab334f6a7707cd0800.
Solidity: event CollateralLocked(address indexed cp, uint256 collateralAmount)
func (*EcpCollateralFilterer) FilterCollateralSlashed ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterCollateralSlashed(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralCollateralSlashedIterator, error)
FilterCollateralSlashed is a free log retrieval operation binding the contract event 0x5138f522ae83cccdefee151fa33feeb62b6bbe619fdeb8f83cd1c6c3f8bdf921.
Solidity: event CollateralSlashed(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) FilterCollateralUnlocked ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterCollateralUnlocked(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralCollateralUnlockedIterator, error)
FilterCollateralUnlocked is a free log retrieval operation binding the contract event 0xb4eaf47ecd4bc76248f192433e8067c96cb3e17aced42fbc47a512742fb74216.
Solidity: event CollateralUnlocked(address indexed cp, uint256 collateralAmount)
func (*EcpCollateralFilterer) FilterDeposit ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterDeposit(opts *bind.FilterOpts, fundingWallet []common.Address, cpAccount []common.Address) (*EcpCollateralDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0x5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62.
Solidity: event Deposit(address indexed fundingWallet, address indexed cpAccount, uint256 depositAmount)
func (*EcpCollateralFilterer) FilterDisputeProof ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterDisputeProof(opts *bind.FilterOpts, challenger []common.Address, taskContractAddress []common.Address) (*EcpCollateralDisputeProofIterator, error)
FilterDisputeProof is a free log retrieval operation binding the contract event 0x6010bb1c19b181c59c29bde1a47441eae0c5e2e587b409d5a7ac30f01e8dcf3c.
Solidity: event DisputeProof(address indexed challenger, address indexed taskContractAddress, address cpAccount, uint256 taskID)
func (*EcpCollateralFilterer) FilterOwnershipTransferred ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*EcpCollateralOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*EcpCollateralFilterer) FilterWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterWithdraw(opts *bind.FilterOpts, cpOwner []common.Address, cpAccount []common.Address) (*EcpCollateralWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address indexed cpOwner, address indexed cpAccount, uint256 withdrawAmount)
func (*EcpCollateralFilterer) FilterWithdrawConfirmed ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterWithdrawConfirmed(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralWithdrawConfirmedIterator, error)
FilterWithdrawConfirmed is a free log retrieval operation binding the contract event 0x1a98aba99d2d38026b07feddaca8e333649ae8a5f5a238687f91ce7791ee998e.
Solidity: event WithdrawConfirmed(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) FilterWithdrawRequestCanceled ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterWithdrawRequestCanceled(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralWithdrawRequestCanceledIterator, error)
FilterWithdrawRequestCanceled is a free log retrieval operation binding the contract event 0xa3895d397a34e928a95d593331e293e2fc281d9d8996df5cc6c57f1cef629d42.
Solidity: event WithdrawRequestCanceled(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) FilterWithdrawRequested ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterWithdrawRequested(opts *bind.FilterOpts, cp []common.Address) (*EcpCollateralWithdrawRequestedIterator, error)
FilterWithdrawRequested is a free log retrieval operation binding the contract event 0xf7774b688d56120b783560a913ee60792a73dfd511812b7be5eccf10d08c6689.
Solidity: event WithdrawRequested(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) FilterWithdrawSlash ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) FilterWithdrawSlash(opts *bind.FilterOpts, collateralContratOwner []common.Address) (*EcpCollateralWithdrawSlashIterator, error)
FilterWithdrawSlash is a free log retrieval operation binding the contract event 0xbfd9c82485e2178fcfd5c40379d8e66fe60acc50aa1ef4c50966431eb1e381cd.
Solidity: event WithdrawSlash(address indexed collateralContratOwner, uint256 slashfund)
func (*EcpCollateralFilterer) ParseCollateralAdjusted ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseCollateralAdjusted(log types.Log) (*EcpCollateralCollateralAdjusted, error)
ParseCollateralAdjusted is a log parse operation binding the contract event 0x42f1a8a1aee108e84e4eabfaa8d51d7baaa1a02d482295297883a44b2debd3e4.
Solidity: event CollateralAdjusted(address indexed cp, uint256 frozenAmount, uint256 balanceAmount, string operation)
func (*EcpCollateralFilterer) ParseCollateralLocked ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseCollateralLocked(log types.Log) (*EcpCollateralCollateralLocked, error)
ParseCollateralLocked is a log parse operation binding the contract event 0x2251f6a4ed7fe619e9e8ce557d05a63dd484284f9c95c9ab334f6a7707cd0800.
Solidity: event CollateralLocked(address indexed cp, uint256 collateralAmount)
func (*EcpCollateralFilterer) ParseCollateralSlashed ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseCollateralSlashed(log types.Log) (*EcpCollateralCollateralSlashed, error)
ParseCollateralSlashed is a log parse operation binding the contract event 0x5138f522ae83cccdefee151fa33feeb62b6bbe619fdeb8f83cd1c6c3f8bdf921.
Solidity: event CollateralSlashed(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) ParseCollateralUnlocked ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseCollateralUnlocked(log types.Log) (*EcpCollateralCollateralUnlocked, error)
ParseCollateralUnlocked is a log parse operation binding the contract event 0xb4eaf47ecd4bc76248f192433e8067c96cb3e17aced42fbc47a512742fb74216.
Solidity: event CollateralUnlocked(address indexed cp, uint256 collateralAmount)
func (*EcpCollateralFilterer) ParseDeposit ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseDeposit(log types.Log) (*EcpCollateralDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0x5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62.
Solidity: event Deposit(address indexed fundingWallet, address indexed cpAccount, uint256 depositAmount)
func (*EcpCollateralFilterer) ParseDisputeProof ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseDisputeProof(log types.Log) (*EcpCollateralDisputeProof, error)
ParseDisputeProof is a log parse operation binding the contract event 0x6010bb1c19b181c59c29bde1a47441eae0c5e2e587b409d5a7ac30f01e8dcf3c.
Solidity: event DisputeProof(address indexed challenger, address indexed taskContractAddress, address cpAccount, uint256 taskID)
func (*EcpCollateralFilterer) ParseOwnershipTransferred ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseOwnershipTransferred(log types.Log) (*EcpCollateralOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*EcpCollateralFilterer) ParseWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseWithdraw(log types.Log) (*EcpCollateralWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address indexed cpOwner, address indexed cpAccount, uint256 withdrawAmount)
func (*EcpCollateralFilterer) ParseWithdrawConfirmed ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseWithdrawConfirmed(log types.Log) (*EcpCollateralWithdrawConfirmed, error)
ParseWithdrawConfirmed is a log parse operation binding the contract event 0x1a98aba99d2d38026b07feddaca8e333649ae8a5f5a238687f91ce7791ee998e.
Solidity: event WithdrawConfirmed(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) ParseWithdrawRequestCanceled ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseWithdrawRequestCanceled(log types.Log) (*EcpCollateralWithdrawRequestCanceled, error)
ParseWithdrawRequestCanceled is a log parse operation binding the contract event 0xa3895d397a34e928a95d593331e293e2fc281d9d8996df5cc6c57f1cef629d42.
Solidity: event WithdrawRequestCanceled(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) ParseWithdrawRequested ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseWithdrawRequested(log types.Log) (*EcpCollateralWithdrawRequested, error)
ParseWithdrawRequested is a log parse operation binding the contract event 0xf7774b688d56120b783560a913ee60792a73dfd511812b7be5eccf10d08c6689.
Solidity: event WithdrawRequested(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) ParseWithdrawSlash ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) ParseWithdrawSlash(log types.Log) (*EcpCollateralWithdrawSlash, error)
ParseWithdrawSlash is a log parse operation binding the contract event 0xbfd9c82485e2178fcfd5c40379d8e66fe60acc50aa1ef4c50966431eb1e381cd.
Solidity: event WithdrawSlash(address indexed collateralContratOwner, uint256 slashfund)
func (*EcpCollateralFilterer) WatchCollateralAdjusted ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchCollateralAdjusted(opts *bind.WatchOpts, sink chan<- *EcpCollateralCollateralAdjusted, cp []common.Address) (event.Subscription, error)
WatchCollateralAdjusted is a free log subscription operation binding the contract event 0x42f1a8a1aee108e84e4eabfaa8d51d7baaa1a02d482295297883a44b2debd3e4.
Solidity: event CollateralAdjusted(address indexed cp, uint256 frozenAmount, uint256 balanceAmount, string operation)
func (*EcpCollateralFilterer) WatchCollateralLocked ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchCollateralLocked(opts *bind.WatchOpts, sink chan<- *EcpCollateralCollateralLocked, cp []common.Address) (event.Subscription, error)
WatchCollateralLocked is a free log subscription operation binding the contract event 0x2251f6a4ed7fe619e9e8ce557d05a63dd484284f9c95c9ab334f6a7707cd0800.
Solidity: event CollateralLocked(address indexed cp, uint256 collateralAmount)
func (*EcpCollateralFilterer) WatchCollateralSlashed ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchCollateralSlashed(opts *bind.WatchOpts, sink chan<- *EcpCollateralCollateralSlashed, cp []common.Address) (event.Subscription, error)
WatchCollateralSlashed is a free log subscription operation binding the contract event 0x5138f522ae83cccdefee151fa33feeb62b6bbe619fdeb8f83cd1c6c3f8bdf921.
Solidity: event CollateralSlashed(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) WatchCollateralUnlocked ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchCollateralUnlocked(opts *bind.WatchOpts, sink chan<- *EcpCollateralCollateralUnlocked, cp []common.Address) (event.Subscription, error)
WatchCollateralUnlocked is a free log subscription operation binding the contract event 0xb4eaf47ecd4bc76248f192433e8067c96cb3e17aced42fbc47a512742fb74216.
Solidity: event CollateralUnlocked(address indexed cp, uint256 collateralAmount)
func (*EcpCollateralFilterer) WatchDeposit ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *EcpCollateralDeposit, fundingWallet []common.Address, cpAccount []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0x5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62.
Solidity: event Deposit(address indexed fundingWallet, address indexed cpAccount, uint256 depositAmount)
func (*EcpCollateralFilterer) WatchDisputeProof ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchDisputeProof(opts *bind.WatchOpts, sink chan<- *EcpCollateralDisputeProof, challenger []common.Address, taskContractAddress []common.Address) (event.Subscription, error)
WatchDisputeProof is a free log subscription operation binding the contract event 0x6010bb1c19b181c59c29bde1a47441eae0c5e2e587b409d5a7ac30f01e8dcf3c.
Solidity: event DisputeProof(address indexed challenger, address indexed taskContractAddress, address cpAccount, uint256 taskID)
func (*EcpCollateralFilterer) WatchOwnershipTransferred ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EcpCollateralOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*EcpCollateralFilterer) WatchWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdraw, cpOwner []common.Address, cpAccount []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address indexed cpOwner, address indexed cpAccount, uint256 withdrawAmount)
func (*EcpCollateralFilterer) WatchWithdrawConfirmed ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchWithdrawConfirmed(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdrawConfirmed, cp []common.Address) (event.Subscription, error)
WatchWithdrawConfirmed is a free log subscription operation binding the contract event 0x1a98aba99d2d38026b07feddaca8e333649ae8a5f5a238687f91ce7791ee998e.
Solidity: event WithdrawConfirmed(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) WatchWithdrawRequestCanceled ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchWithdrawRequestCanceled(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdrawRequestCanceled, cp []common.Address) (event.Subscription, error)
WatchWithdrawRequestCanceled is a free log subscription operation binding the contract event 0xa3895d397a34e928a95d593331e293e2fc281d9d8996df5cc6c57f1cef629d42.
Solidity: event WithdrawRequestCanceled(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) WatchWithdrawRequested ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchWithdrawRequested(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdrawRequested, cp []common.Address) (event.Subscription, error)
WatchWithdrawRequested is a free log subscription operation binding the contract event 0xf7774b688d56120b783560a913ee60792a73dfd511812b7be5eccf10d08c6689.
Solidity: event WithdrawRequested(address indexed cp, uint256 amount)
func (*EcpCollateralFilterer) WatchWithdrawSlash ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralFilterer) WatchWithdrawSlash(opts *bind.WatchOpts, sink chan<- *EcpCollateralWithdrawSlash, collateralContratOwner []common.Address) (event.Subscription, error)
WatchWithdrawSlash is a free log subscription operation binding the contract event 0xbfd9c82485e2178fcfd5c40379d8e66fe60acc50aa1ef4c50966431eb1e381cd.
Solidity: event WithdrawSlash(address indexed collateralContratOwner, uint256 slashfund)
type EcpCollateralOwnershipTransferred ¶ added in v0.6.2
type EcpCollateralOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
EcpCollateralOwnershipTransferred represents a OwnershipTransferred event raised by the EcpCollateral contract.
type EcpCollateralOwnershipTransferredIterator ¶ added in v0.6.2
type EcpCollateralOwnershipTransferredIterator struct { Event *EcpCollateralOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the EcpCollateral contract.
func (*EcpCollateralOwnershipTransferredIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralOwnershipTransferredIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralOwnershipTransferredIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralOwnershipTransferredIterator) 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 EcpCollateralRaw ¶ added in v0.6.2
type EcpCollateralRaw struct {
Contract *EcpCollateral // Generic contract binding to access the raw methods on
}
EcpCollateralRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EcpCollateralRaw) Call ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralRaw) 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 (*EcpCollateralRaw) Transact ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EcpCollateralRaw) Transfer ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralRaw) 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 EcpCollateralSession ¶ added in v0.6.2
type EcpCollateralSession struct { Contract *EcpCollateral // 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 }
EcpCollateralSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EcpCollateralSession) AddAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address newAdmin) returns()
func (*EcpCollateralSession) Balances ¶ added in v0.6.2
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(int256)
func (*EcpCollateralSession) BaseCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) BaseCollateral() (*big.Int, error)
BaseCollateral is a free data retrieval call binding the contract method 0x9b5ddf09.
Solidity: function baseCollateral() view returns(uint256)
func (*EcpCollateralSession) BatchLock ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) BatchLock(cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
BatchLock is a paid mutator transaction binding the contract method 0x63215bb7.
Solidity: function batchLock(address[] cps, uint256[] taskCollaterals) returns()
func (*EcpCollateralSession) BatchSlash ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) BatchSlash(cps []common.Address, slashAmounts []*big.Int) (*types.Transaction, error)
BatchSlash is a paid mutator transaction binding the contract method 0xc6ff4555.
Solidity: function batchSlash(address[] cps, uint256[] slashAmounts) returns()
func (*EcpCollateralSession) BatchUnlock ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) BatchUnlock(cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
BatchUnlock is a paid mutator transaction binding the contract method 0x5f7d0e84.
Solidity: function batchUnlock(address[] cps, uint256[] taskCollaterals) returns()
func (*EcpCollateralSession) CancelWithdrawRequest ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) CancelWithdrawRequest(cpAccount common.Address) (*types.Transaction, error)
CancelWithdrawRequest is a paid mutator transaction binding the contract method 0x5d2cd2a7.
Solidity: function cancelWithdrawRequest(address cpAccount) returns()
func (*EcpCollateralSession) CollateralRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) CollateralRatio() (*big.Int, error)
CollateralRatio is a free data retrieval call binding the contract method 0xb4eae1cb.
Solidity: function collateralRatio() view returns(uint256)
func (*EcpCollateralSession) CollateralToken ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) CollateralToken() (common.Address, error)
CollateralToken is a free data retrieval call binding the contract method 0xb2016bd4.
Solidity: function collateralToken() view returns(address)
func (*EcpCollateralSession) ConfirmWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) ConfirmWithdraw(cpAccount common.Address) (*types.Transaction, error)
ConfirmWithdraw is a paid mutator transaction binding the contract method 0xd2bfc1c7.
Solidity: function confirmWithdraw(address cpAccount) returns()
func (*EcpCollateralSession) CpInfo ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) CpInfo(cpAccount common.Address) (ECPCollateralCPInfo, error)
CpInfo is a free data retrieval call binding the contract method 0xa664c216.
Solidity: function cpInfo(address cpAccount) view returns((address,int256,uint256,string))
func (*EcpCollateralSession) CpStatus ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) CpStatus(arg0 common.Address) (string, error)
CpStatus is a free data retrieval call binding the contract method 0x3fe65177.
Solidity: function cpStatus(address ) view returns(string)
func (*EcpCollateralSession) Deposit ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) Deposit(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address cpAccount, uint256 amount) returns()
func (*EcpCollateralSession) DisputeProof ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) DisputeProof(taskContractAddress common.Address, cpAccount common.Address, taskID *big.Int) (*types.Transaction, error)
DisputeProof is a paid mutator transaction binding the contract method 0x8331f8e5.
Solidity: function disputeProof(address taskContractAddress, address cpAccount, uint256 taskID) returns()
func (*EcpCollateralSession) FrozenBalance ¶ added in v0.6.2
FrozenBalance is a free data retrieval call binding the contract method 0x266565a9.
Solidity: function frozenBalance(address ) view returns(uint256)
func (*EcpCollateralSession) GetBaseCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) GetBaseCollateral() (*big.Int, error)
GetBaseCollateral is a free data retrieval call binding the contract method 0x70b72944.
Solidity: function getBaseCollateral() view returns(uint256)
func (*EcpCollateralSession) GetECPCollateralInfo ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) GetECPCollateralInfo() (ECPCollateralContractInfo, error)
GetECPCollateralInfo is a free data retrieval call binding the contract method 0x9939cd18.
Solidity: function getECPCollateralInfo() view returns((address,uint256,uint256,uint256,uint256,uint256))
func (*EcpCollateralSession) IsAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) IsAdmin(arg0 common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address ) view returns(bool)
func (*EcpCollateralSession) LockCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) LockCollateral(cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
LockCollateral is a paid mutator transaction binding the contract method 0x47a7d107.
Solidity: function lockCollateral(address cp, uint256 taskCollateral) returns()
func (*EcpCollateralSession) Owner ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*EcpCollateralSession) RemoveAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*EcpCollateralSession) RenounceOwnership ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EcpCollateralSession) RequestWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) RequestWithdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
RequestWithdraw is a paid mutator transaction binding the contract method 0x397a1b28.
Solidity: function requestWithdraw(address cpAccount, uint256 amount) returns()
func (*EcpCollateralSession) SetBaseCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) SetBaseCollateral(_baseCollateral *big.Int) (*types.Transaction, error)
SetBaseCollateral is a paid mutator transaction binding the contract method 0x7f58a7e5.
Solidity: function setBaseCollateral(uint256 _baseCollateral) returns()
func (*EcpCollateralSession) SetCollateralRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) SetCollateralRatio(_collateralRatio *big.Int) (*types.Transaction, error)
SetCollateralRatio is a paid mutator transaction binding the contract method 0x6060663e.
Solidity: function setCollateralRatio(uint256 _collateralRatio) returns()
func (*EcpCollateralSession) SetCollateralToken ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) SetCollateralToken(tokenAddress common.Address) (*types.Transaction, error)
SetCollateralToken is a paid mutator transaction binding the contract method 0x666181a9.
Solidity: function setCollateralToken(address tokenAddress) returns()
func (*EcpCollateralSession) SetSlashRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) SetSlashRatio(_slashRatio *big.Int) (*types.Transaction, error)
SetSlashRatio is a paid mutator transaction binding the contract method 0xce3518aa.
Solidity: function setSlashRatio(uint256 _slashRatio) returns()
func (*EcpCollateralSession) SetWithdrawDelay ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) SetWithdrawDelay(_withdrawDelay *big.Int) (*types.Transaction, error)
SetWithdrawDelay is a paid mutator transaction binding the contract method 0x72f0cb30.
Solidity: function setWithdrawDelay(uint256 _withdrawDelay) returns()
func (*EcpCollateralSession) SlashCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) SlashCollateral(cp common.Address, slashAmount *big.Int) (*types.Transaction, error)
SlashCollateral is a paid mutator transaction binding the contract method 0x1d47a62d.
Solidity: function slashCollateral(address cp, uint256 slashAmount) returns()
func (*EcpCollateralSession) SlashRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) SlashRatio() (*big.Int, error)
SlashRatio is a free data retrieval call binding the contract method 0xd27ca89b.
Solidity: function slashRatio() view returns(uint256)
func (*EcpCollateralSession) SlashedFunds ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) SlashedFunds() (*big.Int, error)
SlashedFunds is a free data retrieval call binding the contract method 0x6f99f15c.
Solidity: function slashedFunds() view returns(uint256)
func (*EcpCollateralSession) TransferOwnership ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*EcpCollateralSession) UnlockCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) UnlockCollateral(cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
UnlockCollateral is a paid mutator transaction binding the contract method 0x17f17498.
Solidity: function unlockCollateral(address cp, uint256 taskCollateral) returns()
func (*EcpCollateralSession) ViewWithdrawRequest ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) ViewWithdrawRequest(cpAccount common.Address) (ECPCollateralWithdrawRequest, error)
ViewWithdrawRequest is a free data retrieval call binding the contract method 0xbede6e31.
Solidity: function viewWithdrawRequest(address cpAccount) view returns((uint256,uint256))
func (*EcpCollateralSession) Withdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address cpAccount, uint256 amount) returns()
func (*EcpCollateralSession) WithdrawDelay ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) WithdrawDelay() (*big.Int, error)
WithdrawDelay is a free data retrieval call binding the contract method 0x0288a39c.
Solidity: function withdrawDelay() view returns(uint256)
func (*EcpCollateralSession) WithdrawRequests ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) WithdrawRequests(arg0 common.Address) (struct { Amount *big.Int RequestBlock *big.Int }, error)
WithdrawRequests is a free data retrieval call binding the contract method 0x52df49ec.
Solidity: function withdrawRequests(address ) view returns(uint256 amount, uint256 requestBlock)
func (*EcpCollateralSession) WithdrawSlashedFunds ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralSession) WithdrawSlashedFunds(slashfund *big.Int) (*types.Transaction, error)
WithdrawSlashedFunds is a paid mutator transaction binding the contract method 0x2894493f.
Solidity: function withdrawSlashedFunds(uint256 slashfund) returns()
type EcpCollateralTransactor ¶ added in v0.6.2
type EcpCollateralTransactor struct {
// contains filtered or unexported fields
}
EcpCollateralTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEcpCollateralTransactor ¶ added in v0.6.2
func NewEcpCollateralTransactor(address common.Address, transactor bind.ContractTransactor) (*EcpCollateralTransactor, error)
NewEcpCollateralTransactor creates a new write-only instance of EcpCollateral, bound to a specific deployed contract.
func (*EcpCollateralTransactor) AddAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) AddAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address newAdmin) returns()
func (*EcpCollateralTransactor) BatchLock ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) BatchLock(opts *bind.TransactOpts, cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
BatchLock is a paid mutator transaction binding the contract method 0x63215bb7.
Solidity: function batchLock(address[] cps, uint256[] taskCollaterals) returns()
func (*EcpCollateralTransactor) BatchSlash ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) BatchSlash(opts *bind.TransactOpts, cps []common.Address, slashAmounts []*big.Int) (*types.Transaction, error)
BatchSlash is a paid mutator transaction binding the contract method 0xc6ff4555.
Solidity: function batchSlash(address[] cps, uint256[] slashAmounts) returns()
func (*EcpCollateralTransactor) BatchUnlock ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) BatchUnlock(opts *bind.TransactOpts, cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
BatchUnlock is a paid mutator transaction binding the contract method 0x5f7d0e84.
Solidity: function batchUnlock(address[] cps, uint256[] taskCollaterals) returns()
func (*EcpCollateralTransactor) CancelWithdrawRequest ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) CancelWithdrawRequest(opts *bind.TransactOpts, cpAccount common.Address) (*types.Transaction, error)
CancelWithdrawRequest is a paid mutator transaction binding the contract method 0x5d2cd2a7.
Solidity: function cancelWithdrawRequest(address cpAccount) returns()
func (*EcpCollateralTransactor) ConfirmWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) ConfirmWithdraw(opts *bind.TransactOpts, cpAccount common.Address) (*types.Transaction, error)
ConfirmWithdraw is a paid mutator transaction binding the contract method 0xd2bfc1c7.
Solidity: function confirmWithdraw(address cpAccount) returns()
func (*EcpCollateralTransactor) Deposit ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) Deposit(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address cpAccount, uint256 amount) returns()
func (*EcpCollateralTransactor) DisputeProof ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) DisputeProof(opts *bind.TransactOpts, taskContractAddress common.Address, cpAccount common.Address, taskID *big.Int) (*types.Transaction, error)
DisputeProof is a paid mutator transaction binding the contract method 0x8331f8e5.
Solidity: function disputeProof(address taskContractAddress, address cpAccount, uint256 taskID) returns()
func (*EcpCollateralTransactor) LockCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) LockCollateral(opts *bind.TransactOpts, cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
LockCollateral is a paid mutator transaction binding the contract method 0x47a7d107.
Solidity: function lockCollateral(address cp, uint256 taskCollateral) returns()
func (*EcpCollateralTransactor) RemoveAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) RemoveAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*EcpCollateralTransactor) RenounceOwnership ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EcpCollateralTransactor) RequestWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) RequestWithdraw(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
RequestWithdraw is a paid mutator transaction binding the contract method 0x397a1b28.
Solidity: function requestWithdraw(address cpAccount, uint256 amount) returns()
func (*EcpCollateralTransactor) SetBaseCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) SetBaseCollateral(opts *bind.TransactOpts, _baseCollateral *big.Int) (*types.Transaction, error)
SetBaseCollateral is a paid mutator transaction binding the contract method 0x7f58a7e5.
Solidity: function setBaseCollateral(uint256 _baseCollateral) returns()
func (*EcpCollateralTransactor) SetCollateralRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) SetCollateralRatio(opts *bind.TransactOpts, _collateralRatio *big.Int) (*types.Transaction, error)
SetCollateralRatio is a paid mutator transaction binding the contract method 0x6060663e.
Solidity: function setCollateralRatio(uint256 _collateralRatio) returns()
func (*EcpCollateralTransactor) SetCollateralToken ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) SetCollateralToken(opts *bind.TransactOpts, tokenAddress common.Address) (*types.Transaction, error)
SetCollateralToken is a paid mutator transaction binding the contract method 0x666181a9.
Solidity: function setCollateralToken(address tokenAddress) returns()
func (*EcpCollateralTransactor) SetSlashRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) SetSlashRatio(opts *bind.TransactOpts, _slashRatio *big.Int) (*types.Transaction, error)
SetSlashRatio is a paid mutator transaction binding the contract method 0xce3518aa.
Solidity: function setSlashRatio(uint256 _slashRatio) returns()
func (*EcpCollateralTransactor) SetWithdrawDelay ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) SetWithdrawDelay(opts *bind.TransactOpts, _withdrawDelay *big.Int) (*types.Transaction, error)
SetWithdrawDelay is a paid mutator transaction binding the contract method 0x72f0cb30.
Solidity: function setWithdrawDelay(uint256 _withdrawDelay) returns()
func (*EcpCollateralTransactor) SlashCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) SlashCollateral(opts *bind.TransactOpts, cp common.Address, slashAmount *big.Int) (*types.Transaction, error)
SlashCollateral is a paid mutator transaction binding the contract method 0x1d47a62d.
Solidity: function slashCollateral(address cp, uint256 slashAmount) returns()
func (*EcpCollateralTransactor) TransferOwnership ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*EcpCollateralTransactor) UnlockCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) UnlockCollateral(opts *bind.TransactOpts, cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
UnlockCollateral is a paid mutator transaction binding the contract method 0x17f17498.
Solidity: function unlockCollateral(address cp, uint256 taskCollateral) returns()
func (*EcpCollateralTransactor) Withdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) Withdraw(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address cpAccount, uint256 amount) returns()
func (*EcpCollateralTransactor) WithdrawSlashedFunds ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactor) WithdrawSlashedFunds(opts *bind.TransactOpts, slashfund *big.Int) (*types.Transaction, error)
WithdrawSlashedFunds is a paid mutator transaction binding the contract method 0x2894493f.
Solidity: function withdrawSlashedFunds(uint256 slashfund) returns()
type EcpCollateralTransactorRaw ¶ added in v0.6.2
type EcpCollateralTransactorRaw struct {
Contract *EcpCollateralTransactor // Generic write-only contract binding to access the raw methods on
}
EcpCollateralTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EcpCollateralTransactorRaw) Transact ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EcpCollateralTransactorRaw) Transfer ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorRaw) 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 EcpCollateralTransactorSession ¶ added in v0.6.2
type EcpCollateralTransactorSession struct { Contract *EcpCollateralTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EcpCollateralTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*EcpCollateralTransactorSession) AddAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) AddAdmin(newAdmin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address newAdmin) returns()
func (*EcpCollateralTransactorSession) BatchLock ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) BatchLock(cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
BatchLock is a paid mutator transaction binding the contract method 0x63215bb7.
Solidity: function batchLock(address[] cps, uint256[] taskCollaterals) returns()
func (*EcpCollateralTransactorSession) BatchSlash ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) BatchSlash(cps []common.Address, slashAmounts []*big.Int) (*types.Transaction, error)
BatchSlash is a paid mutator transaction binding the contract method 0xc6ff4555.
Solidity: function batchSlash(address[] cps, uint256[] slashAmounts) returns()
func (*EcpCollateralTransactorSession) BatchUnlock ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) BatchUnlock(cps []common.Address, taskCollaterals []*big.Int) (*types.Transaction, error)
BatchUnlock is a paid mutator transaction binding the contract method 0x5f7d0e84.
Solidity: function batchUnlock(address[] cps, uint256[] taskCollaterals) returns()
func (*EcpCollateralTransactorSession) CancelWithdrawRequest ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) CancelWithdrawRequest(cpAccount common.Address) (*types.Transaction, error)
CancelWithdrawRequest is a paid mutator transaction binding the contract method 0x5d2cd2a7.
Solidity: function cancelWithdrawRequest(address cpAccount) returns()
func (*EcpCollateralTransactorSession) ConfirmWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) ConfirmWithdraw(cpAccount common.Address) (*types.Transaction, error)
ConfirmWithdraw is a paid mutator transaction binding the contract method 0xd2bfc1c7.
Solidity: function confirmWithdraw(address cpAccount) returns()
func (*EcpCollateralTransactorSession) Deposit ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) Deposit(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address cpAccount, uint256 amount) returns()
func (*EcpCollateralTransactorSession) DisputeProof ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) DisputeProof(taskContractAddress common.Address, cpAccount common.Address, taskID *big.Int) (*types.Transaction, error)
DisputeProof is a paid mutator transaction binding the contract method 0x8331f8e5.
Solidity: function disputeProof(address taskContractAddress, address cpAccount, uint256 taskID) returns()
func (*EcpCollateralTransactorSession) LockCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) LockCollateral(cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
LockCollateral is a paid mutator transaction binding the contract method 0x47a7d107.
Solidity: function lockCollateral(address cp, uint256 taskCollateral) returns()
func (*EcpCollateralTransactorSession) RemoveAdmin ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) RemoveAdmin(admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address admin) returns()
func (*EcpCollateralTransactorSession) RenounceOwnership ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EcpCollateralTransactorSession) RequestWithdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) RequestWithdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
RequestWithdraw is a paid mutator transaction binding the contract method 0x397a1b28.
Solidity: function requestWithdraw(address cpAccount, uint256 amount) returns()
func (*EcpCollateralTransactorSession) SetBaseCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) SetBaseCollateral(_baseCollateral *big.Int) (*types.Transaction, error)
SetBaseCollateral is a paid mutator transaction binding the contract method 0x7f58a7e5.
Solidity: function setBaseCollateral(uint256 _baseCollateral) returns()
func (*EcpCollateralTransactorSession) SetCollateralRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) SetCollateralRatio(_collateralRatio *big.Int) (*types.Transaction, error)
SetCollateralRatio is a paid mutator transaction binding the contract method 0x6060663e.
Solidity: function setCollateralRatio(uint256 _collateralRatio) returns()
func (*EcpCollateralTransactorSession) SetCollateralToken ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) SetCollateralToken(tokenAddress common.Address) (*types.Transaction, error)
SetCollateralToken is a paid mutator transaction binding the contract method 0x666181a9.
Solidity: function setCollateralToken(address tokenAddress) returns()
func (*EcpCollateralTransactorSession) SetSlashRatio ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) SetSlashRatio(_slashRatio *big.Int) (*types.Transaction, error)
SetSlashRatio is a paid mutator transaction binding the contract method 0xce3518aa.
Solidity: function setSlashRatio(uint256 _slashRatio) returns()
func (*EcpCollateralTransactorSession) SetWithdrawDelay ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) SetWithdrawDelay(_withdrawDelay *big.Int) (*types.Transaction, error)
SetWithdrawDelay is a paid mutator transaction binding the contract method 0x72f0cb30.
Solidity: function setWithdrawDelay(uint256 _withdrawDelay) returns()
func (*EcpCollateralTransactorSession) SlashCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) SlashCollateral(cp common.Address, slashAmount *big.Int) (*types.Transaction, error)
SlashCollateral is a paid mutator transaction binding the contract method 0x1d47a62d.
Solidity: function slashCollateral(address cp, uint256 slashAmount) returns()
func (*EcpCollateralTransactorSession) TransferOwnership ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*EcpCollateralTransactorSession) UnlockCollateral ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) UnlockCollateral(cp common.Address, taskCollateral *big.Int) (*types.Transaction, error)
UnlockCollateral is a paid mutator transaction binding the contract method 0x17f17498.
Solidity: function unlockCollateral(address cp, uint256 taskCollateral) returns()
func (*EcpCollateralTransactorSession) Withdraw ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address cpAccount, uint256 amount) returns()
func (*EcpCollateralTransactorSession) WithdrawSlashedFunds ¶ added in v0.6.2
func (_EcpCollateral *EcpCollateralTransactorSession) WithdrawSlashedFunds(slashfund *big.Int) (*types.Transaction, error)
WithdrawSlashedFunds is a paid mutator transaction binding the contract method 0x2894493f.
Solidity: function withdrawSlashedFunds(uint256 slashfund) returns()
type EcpCollateralWithdraw ¶ added in v0.6.2
type EcpCollateralWithdraw struct { CpOwner common.Address CpAccount common.Address WithdrawAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralWithdraw represents a Withdraw event raised by the EcpCollateral contract.
type EcpCollateralWithdrawConfirmed ¶ added in v0.6.2
type EcpCollateralWithdrawConfirmed struct { Cp common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralWithdrawConfirmed represents a WithdrawConfirmed event raised by the EcpCollateral contract.
type EcpCollateralWithdrawConfirmedIterator ¶ added in v0.6.2
type EcpCollateralWithdrawConfirmedIterator struct { Event *EcpCollateralWithdrawConfirmed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralWithdrawConfirmedIterator is returned from FilterWithdrawConfirmed and is used to iterate over the raw logs and unpacked data for WithdrawConfirmed events raised by the EcpCollateral contract.
func (*EcpCollateralWithdrawConfirmedIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralWithdrawConfirmedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralWithdrawConfirmedIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralWithdrawConfirmedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralWithdrawConfirmedIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralWithdrawConfirmedIterator) 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 EcpCollateralWithdrawIterator ¶ added in v0.6.2
type EcpCollateralWithdrawIterator struct { Event *EcpCollateralWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the EcpCollateral contract.
func (*EcpCollateralWithdrawIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralWithdrawIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralWithdrawIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralWithdrawIterator) 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 EcpCollateralWithdrawRequestCanceled ¶ added in v0.6.2
type EcpCollateralWithdrawRequestCanceled struct { Cp common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralWithdrawRequestCanceled represents a WithdrawRequestCanceled event raised by the EcpCollateral contract.
type EcpCollateralWithdrawRequestCanceledIterator ¶ added in v0.6.2
type EcpCollateralWithdrawRequestCanceledIterator struct { Event *EcpCollateralWithdrawRequestCanceled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralWithdrawRequestCanceledIterator is returned from FilterWithdrawRequestCanceled and is used to iterate over the raw logs and unpacked data for WithdrawRequestCanceled events raised by the EcpCollateral contract.
func (*EcpCollateralWithdrawRequestCanceledIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralWithdrawRequestCanceledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralWithdrawRequestCanceledIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralWithdrawRequestCanceledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralWithdrawRequestCanceledIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralWithdrawRequestCanceledIterator) 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 EcpCollateralWithdrawRequested ¶ added in v0.6.2
type EcpCollateralWithdrawRequested struct { Cp common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralWithdrawRequested represents a WithdrawRequested event raised by the EcpCollateral contract.
type EcpCollateralWithdrawRequestedIterator ¶ added in v0.6.2
type EcpCollateralWithdrawRequestedIterator struct { Event *EcpCollateralWithdrawRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralWithdrawRequestedIterator is returned from FilterWithdrawRequested and is used to iterate over the raw logs and unpacked data for WithdrawRequested events raised by the EcpCollateral contract.
func (*EcpCollateralWithdrawRequestedIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralWithdrawRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralWithdrawRequestedIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralWithdrawRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralWithdrawRequestedIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralWithdrawRequestedIterator) 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 EcpCollateralWithdrawSlash ¶ added in v0.6.2
type EcpCollateralWithdrawSlash struct { CollateralContratOwner common.Address Slashfund *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpCollateralWithdrawSlash represents a WithdrawSlash event raised by the EcpCollateral contract.
type EcpCollateralWithdrawSlashIterator ¶ added in v0.6.2
type EcpCollateralWithdrawSlashIterator struct { Event *EcpCollateralWithdrawSlash // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpCollateralWithdrawSlashIterator is returned from FilterWithdrawSlash and is used to iterate over the raw logs and unpacked data for WithdrawSlash events raised by the EcpCollateral contract.
func (*EcpCollateralWithdrawSlashIterator) Close ¶ added in v0.6.2
func (it *EcpCollateralWithdrawSlashIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpCollateralWithdrawSlashIterator) Error ¶ added in v0.6.2
func (it *EcpCollateralWithdrawSlashIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpCollateralWithdrawSlashIterator) Next ¶ added in v0.6.2
func (it *EcpCollateralWithdrawSlashIterator) 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 EcpSequencer ¶ added in v0.6.2
type EcpSequencer struct { EcpSequencerCaller // Read-only binding to the contract EcpSequencerTransactor // Write-only binding to the contract EcpSequencerFilterer // Log filterer for contract events }
EcpSequencer is an auto generated Go binding around an Ethereum contract.
func DeployEcpSequencer ¶ added in v0.6.2
func DeployEcpSequencer(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *EcpSequencer, error)
DeployEcpSequencer deploys a new Ethereum contract, binding an instance of EcpSequencer to it.
func NewEcpSequencer ¶ added in v0.6.2
func NewEcpSequencer(address common.Address, backend bind.ContractBackend) (*EcpSequencer, error)
NewEcpSequencer creates a new instance of EcpSequencer, bound to a specific deployed contract.
type EcpSequencerAdminAdded ¶ added in v0.6.2
type EcpSequencerAdminAdded struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
EcpSequencerAdminAdded represents a AdminAdded event raised by the EcpSequencer contract.
type EcpSequencerAdminAddedIterator ¶ added in v0.6.2
type EcpSequencerAdminAddedIterator struct { Event *EcpSequencerAdminAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerAdminAddedIterator is returned from FilterAdminAdded and is used to iterate over the raw logs and unpacked data for AdminAdded events raised by the EcpSequencer contract.
func (*EcpSequencerAdminAddedIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerAdminAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerAdminAddedIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerAdminAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerAdminAddedIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerAdminAddedIterator) 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 EcpSequencerAdminRemoved ¶ added in v0.6.2
type EcpSequencerAdminRemoved struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
EcpSequencerAdminRemoved represents a AdminRemoved event raised by the EcpSequencer contract.
type EcpSequencerAdminRemovedIterator ¶ added in v0.6.2
type EcpSequencerAdminRemovedIterator struct { Event *EcpSequencerAdminRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerAdminRemovedIterator is returned from FilterAdminRemoved and is used to iterate over the raw logs and unpacked data for AdminRemoved events raised by the EcpSequencer contract.
func (*EcpSequencerAdminRemovedIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerAdminRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerAdminRemovedIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerAdminRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerAdminRemovedIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerAdminRemovedIterator) 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 EcpSequencerBatchTransferredToEscrow ¶ added in v0.6.2
type EcpSequencerBatchTransferredToEscrow struct { Admin common.Address CpAccounts []common.Address Amounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
EcpSequencerBatchTransferredToEscrow represents a BatchTransferredToEscrow event raised by the EcpSequencer contract.
type EcpSequencerBatchTransferredToEscrowIterator ¶ added in v0.6.2
type EcpSequencerBatchTransferredToEscrowIterator struct { Event *EcpSequencerBatchTransferredToEscrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerBatchTransferredToEscrowIterator is returned from FilterBatchTransferredToEscrow and is used to iterate over the raw logs and unpacked data for BatchTransferredToEscrow events raised by the EcpSequencer contract.
func (*EcpSequencerBatchTransferredToEscrowIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerBatchTransferredToEscrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerBatchTransferredToEscrowIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerBatchTransferredToEscrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerBatchTransferredToEscrowIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerBatchTransferredToEscrowIterator) 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 EcpSequencerCaller ¶ added in v0.6.2
type EcpSequencerCaller struct {
// contains filtered or unexported fields
}
EcpSequencerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEcpSequencerCaller ¶ added in v0.6.2
func NewEcpSequencerCaller(address common.Address, caller bind.ContractCaller) (*EcpSequencerCaller, error)
NewEcpSequencerCaller creates a new read-only instance of EcpSequencer, bound to a specific deployed contract.
func (*EcpSequencerCaller) Admins ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*EcpSequencerCaller) Balances ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(int256)
func (*EcpSequencerCaller) EscrowBalance ¶ added in v0.6.2
EscrowBalance is a free data retrieval call binding the contract method 0xe11e1b0c.
Solidity: function escrowBalance() view returns(uint256)
func (*EcpSequencerCaller) GetCPBalance ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerCaller) GetCPBalance(opts *bind.CallOpts, cpAccount common.Address) (*big.Int, error)
GetCPBalance is a free data retrieval call binding the contract method 0x922f126a.
Solidity: function getCPBalance(address cpAccount) view returns(int256)
type EcpSequencerCallerRaw ¶ added in v0.6.2
type EcpSequencerCallerRaw struct {
Contract *EcpSequencerCaller // Generic read-only contract binding to access the raw methods on
}
EcpSequencerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EcpSequencerCallerRaw) Call ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerCallerRaw) 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 EcpSequencerCallerSession ¶ added in v0.6.2
type EcpSequencerCallerSession struct { Contract *EcpSequencerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EcpSequencerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EcpSequencerCallerSession) Admins ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerCallerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*EcpSequencerCallerSession) Balances ¶ added in v0.6.2
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(int256)
func (*EcpSequencerCallerSession) EscrowBalance ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerCallerSession) EscrowBalance() (*big.Int, error)
EscrowBalance is a free data retrieval call binding the contract method 0xe11e1b0c.
Solidity: function escrowBalance() view returns(uint256)
func (*EcpSequencerCallerSession) GetCPBalance ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerCallerSession) GetCPBalance(cpAccount common.Address) (*big.Int, error)
GetCPBalance is a free data retrieval call binding the contract method 0x922f126a.
Solidity: function getCPBalance(address cpAccount) view returns(int256)
type EcpSequencerDeposited ¶ added in v0.6.2
type EcpSequencerDeposited struct { CpAccount common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpSequencerDeposited represents a Deposited event raised by the EcpSequencer contract.
type EcpSequencerDepositedIterator ¶ added in v0.6.2
type EcpSequencerDepositedIterator struct { Event *EcpSequencerDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the EcpSequencer contract.
func (*EcpSequencerDepositedIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerDepositedIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerDepositedIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerDepositedIterator) 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 EcpSequencerFilterer ¶ added in v0.6.2
type EcpSequencerFilterer struct {
// contains filtered or unexported fields
}
EcpSequencerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEcpSequencerFilterer ¶ added in v0.6.2
func NewEcpSequencerFilterer(address common.Address, filterer bind.ContractFilterer) (*EcpSequencerFilterer, error)
NewEcpSequencerFilterer creates a new log filterer instance of EcpSequencer, bound to a specific deployed contract.
func (*EcpSequencerFilterer) FilterAdminAdded ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterAdminAdded(opts *bind.FilterOpts, admin []common.Address) (*EcpSequencerAdminAddedIterator, error)
FilterAdminAdded is a free log retrieval operation binding the contract event 0x44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e339.
Solidity: event AdminAdded(address indexed admin)
func (*EcpSequencerFilterer) FilterAdminRemoved ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterAdminRemoved(opts *bind.FilterOpts, admin []common.Address) (*EcpSequencerAdminRemovedIterator, error)
FilterAdminRemoved is a free log retrieval operation binding the contract event 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f.
Solidity: event AdminRemoved(address indexed admin)
func (*EcpSequencerFilterer) FilterBatchTransferredToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterBatchTransferredToEscrow(opts *bind.FilterOpts, admin []common.Address) (*EcpSequencerBatchTransferredToEscrowIterator, error)
FilterBatchTransferredToEscrow is a free log retrieval operation binding the contract event 0x5a5b8c52e21fd816e73687ac900bbb3238b4e80ddcb10c216085993299e64ed5.
Solidity: event BatchTransferredToEscrow(address indexed admin, address[] cpAccounts, uint256[] amounts)
func (*EcpSequencerFilterer) FilterDeposited ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterDeposited(opts *bind.FilterOpts, cpAccount []common.Address) (*EcpSequencerDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.
Solidity: event Deposited(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) FilterOwnerChanged ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterOwnerChanged(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*EcpSequencerOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed previousOwner, address indexed newOwner)
func (*EcpSequencerFilterer) FilterOwnershipTransferred ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*EcpSequencerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*EcpSequencerFilterer) FilterTransferredToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterTransferredToEscrow(opts *bind.FilterOpts, cpAccount []common.Address) (*EcpSequencerTransferredToEscrowIterator, error)
FilterTransferredToEscrow is a free log retrieval operation binding the contract event 0x8aa981417e2c3a0dadea5dd2eb5eab703d6d9c074ae83d377ce454dd6a93bfa7.
Solidity: event TransferredToEscrow(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) FilterWithdrawn ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterWithdrawn(opts *bind.FilterOpts, cpAccount []common.Address) (*EcpSequencerWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) FilterWithdrawnFromEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) FilterWithdrawnFromEscrow(opts *bind.FilterOpts) (*EcpSequencerWithdrawnFromEscrowIterator, error)
FilterWithdrawnFromEscrow is a free log retrieval operation binding the contract event 0xd1f01ada3f4d4c0d5d81675b458e3f5c4dda3e79a82d07b03459147644bc7b7b.
Solidity: event WithdrawnFromEscrow(uint256 amount)
func (*EcpSequencerFilterer) ParseAdminAdded ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseAdminAdded(log types.Log) (*EcpSequencerAdminAdded, error)
ParseAdminAdded is a log parse operation binding the contract event 0x44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e339.
Solidity: event AdminAdded(address indexed admin)
func (*EcpSequencerFilterer) ParseAdminRemoved ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseAdminRemoved(log types.Log) (*EcpSequencerAdminRemoved, error)
ParseAdminRemoved is a log parse operation binding the contract event 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f.
Solidity: event AdminRemoved(address indexed admin)
func (*EcpSequencerFilterer) ParseBatchTransferredToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseBatchTransferredToEscrow(log types.Log) (*EcpSequencerBatchTransferredToEscrow, error)
ParseBatchTransferredToEscrow is a log parse operation binding the contract event 0x5a5b8c52e21fd816e73687ac900bbb3238b4e80ddcb10c216085993299e64ed5.
Solidity: event BatchTransferredToEscrow(address indexed admin, address[] cpAccounts, uint256[] amounts)
func (*EcpSequencerFilterer) ParseDeposited ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseDeposited(log types.Log) (*EcpSequencerDeposited, error)
ParseDeposited is a log parse operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.
Solidity: event Deposited(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) ParseOwnerChanged ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseOwnerChanged(log types.Log) (*EcpSequencerOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed previousOwner, address indexed newOwner)
func (*EcpSequencerFilterer) ParseOwnershipTransferred ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseOwnershipTransferred(log types.Log) (*EcpSequencerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*EcpSequencerFilterer) ParseTransferredToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseTransferredToEscrow(log types.Log) (*EcpSequencerTransferredToEscrow, error)
ParseTransferredToEscrow is a log parse operation binding the contract event 0x8aa981417e2c3a0dadea5dd2eb5eab703d6d9c074ae83d377ce454dd6a93bfa7.
Solidity: event TransferredToEscrow(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) ParseWithdrawn ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseWithdrawn(log types.Log) (*EcpSequencerWithdrawn, error)
ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) ParseWithdrawnFromEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) ParseWithdrawnFromEscrow(log types.Log) (*EcpSequencerWithdrawnFromEscrow, error)
ParseWithdrawnFromEscrow is a log parse operation binding the contract event 0xd1f01ada3f4d4c0d5d81675b458e3f5c4dda3e79a82d07b03459147644bc7b7b.
Solidity: event WithdrawnFromEscrow(uint256 amount)
func (*EcpSequencerFilterer) WatchAdminAdded ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchAdminAdded(opts *bind.WatchOpts, sink chan<- *EcpSequencerAdminAdded, admin []common.Address) (event.Subscription, error)
WatchAdminAdded is a free log subscription operation binding the contract event 0x44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e339.
Solidity: event AdminAdded(address indexed admin)
func (*EcpSequencerFilterer) WatchAdminRemoved ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchAdminRemoved(opts *bind.WatchOpts, sink chan<- *EcpSequencerAdminRemoved, admin []common.Address) (event.Subscription, error)
WatchAdminRemoved is a free log subscription operation binding the contract event 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f.
Solidity: event AdminRemoved(address indexed admin)
func (*EcpSequencerFilterer) WatchBatchTransferredToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchBatchTransferredToEscrow(opts *bind.WatchOpts, sink chan<- *EcpSequencerBatchTransferredToEscrow, admin []common.Address) (event.Subscription, error)
WatchBatchTransferredToEscrow is a free log subscription operation binding the contract event 0x5a5b8c52e21fd816e73687ac900bbb3238b4e80ddcb10c216085993299e64ed5.
Solidity: event BatchTransferredToEscrow(address indexed admin, address[] cpAccounts, uint256[] amounts)
func (*EcpSequencerFilterer) WatchDeposited ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *EcpSequencerDeposited, cpAccount []common.Address) (event.Subscription, error)
WatchDeposited is a free log subscription operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.
Solidity: event Deposited(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) WatchOwnerChanged ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *EcpSequencerOwnerChanged, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed previousOwner, address indexed newOwner)
func (*EcpSequencerFilterer) WatchOwnershipTransferred ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EcpSequencerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*EcpSequencerFilterer) WatchTransferredToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchTransferredToEscrow(opts *bind.WatchOpts, sink chan<- *EcpSequencerTransferredToEscrow, cpAccount []common.Address) (event.Subscription, error)
WatchTransferredToEscrow is a free log subscription operation binding the contract event 0x8aa981417e2c3a0dadea5dd2eb5eab703d6d9c074ae83d377ce454dd6a93bfa7.
Solidity: event TransferredToEscrow(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) WatchWithdrawn ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *EcpSequencerWithdrawn, cpAccount []common.Address) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address indexed cpAccount, uint256 amount)
func (*EcpSequencerFilterer) WatchWithdrawnFromEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerFilterer) WatchWithdrawnFromEscrow(opts *bind.WatchOpts, sink chan<- *EcpSequencerWithdrawnFromEscrow) (event.Subscription, error)
WatchWithdrawnFromEscrow is a free log subscription operation binding the contract event 0xd1f01ada3f4d4c0d5d81675b458e3f5c4dda3e79a82d07b03459147644bc7b7b.
Solidity: event WithdrawnFromEscrow(uint256 amount)
type EcpSequencerOwnerChanged ¶ added in v0.6.2
type EcpSequencerOwnerChanged struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
EcpSequencerOwnerChanged represents a OwnerChanged event raised by the EcpSequencer contract.
type EcpSequencerOwnerChangedIterator ¶ added in v0.6.2
type EcpSequencerOwnerChangedIterator struct { Event *EcpSequencerOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the EcpSequencer contract.
func (*EcpSequencerOwnerChangedIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerOwnerChangedIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerOwnerChangedIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerOwnerChangedIterator) 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 EcpSequencerOwnershipTransferred ¶ added in v0.6.2
type EcpSequencerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
EcpSequencerOwnershipTransferred represents a OwnershipTransferred event raised by the EcpSequencer contract.
type EcpSequencerOwnershipTransferredIterator ¶ added in v0.6.2
type EcpSequencerOwnershipTransferredIterator struct { Event *EcpSequencerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the EcpSequencer contract.
func (*EcpSequencerOwnershipTransferredIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerOwnershipTransferredIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerOwnershipTransferredIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerOwnershipTransferredIterator) 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 EcpSequencerRaw ¶ added in v0.6.2
type EcpSequencerRaw struct {
Contract *EcpSequencer // Generic contract binding to access the raw methods on
}
EcpSequencerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EcpSequencerRaw) Call ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerRaw) 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 (*EcpSequencerRaw) Transact ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EcpSequencerRaw) Transfer ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerRaw) 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 EcpSequencerSession ¶ added in v0.6.2
type EcpSequencerSession struct { Contract *EcpSequencer // 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 }
EcpSequencerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EcpSequencerSession) AddAdmin ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) AddAdmin(_admin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _admin) returns()
func (*EcpSequencerSession) Admins ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*EcpSequencerSession) Balances ¶ added in v0.6.2
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(int256)
func (*EcpSequencerSession) BatchTransferToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) BatchTransferToEscrow(cpAccounts []common.Address, amounts []*big.Int) (*types.Transaction, error)
BatchTransferToEscrow is a paid mutator transaction binding the contract method 0x1485fef9.
Solidity: function batchTransferToEscrow(address[] cpAccounts, uint256[] amounts) returns()
func (*EcpSequencerSession) ChangeOwner ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*EcpSequencerSession) Deposit ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) Deposit(cpAccount common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xf340fa01.
Solidity: function deposit(address cpAccount) payable returns()
func (*EcpSequencerSession) EscrowBalance ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) EscrowBalance() (*big.Int, error)
EscrowBalance is a free data retrieval call binding the contract method 0xe11e1b0c.
Solidity: function escrowBalance() view returns(uint256)
func (*EcpSequencerSession) GetCPBalance ¶ added in v0.6.2
GetCPBalance is a free data retrieval call binding the contract method 0x922f126a.
Solidity: function getCPBalance(address cpAccount) view returns(int256)
func (*EcpSequencerSession) Owner ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*EcpSequencerSession) Receive ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*EcpSequencerSession) RemoveAdmin ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) RemoveAdmin(_admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _admin) returns()
func (*EcpSequencerSession) RenounceOwnership ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EcpSequencerSession) TransferOwnership ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*EcpSequencerSession) TransferToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) TransferToEscrow(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
TransferToEscrow is a paid mutator transaction binding the contract method 0x9e88fd81.
Solidity: function transferToEscrow(address cpAccount, uint256 amount) returns()
func (*EcpSequencerSession) Withdraw ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address cpAccount, uint256 amount) returns()
func (*EcpSequencerSession) WithdrawFromEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerSession) WithdrawFromEscrow(amount *big.Int) (*types.Transaction, error)
WithdrawFromEscrow is a paid mutator transaction binding the contract method 0xbe47afda.
Solidity: function withdrawFromEscrow(uint256 amount) returns()
type EcpSequencerTransactor ¶ added in v0.6.2
type EcpSequencerTransactor struct {
// contains filtered or unexported fields
}
EcpSequencerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEcpSequencerTransactor ¶ added in v0.6.2
func NewEcpSequencerTransactor(address common.Address, transactor bind.ContractTransactor) (*EcpSequencerTransactor, error)
NewEcpSequencerTransactor creates a new write-only instance of EcpSequencer, bound to a specific deployed contract.
func (*EcpSequencerTransactor) AddAdmin ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) AddAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _admin) returns()
func (*EcpSequencerTransactor) BatchTransferToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) BatchTransferToEscrow(opts *bind.TransactOpts, cpAccounts []common.Address, amounts []*big.Int) (*types.Transaction, error)
BatchTransferToEscrow is a paid mutator transaction binding the contract method 0x1485fef9.
Solidity: function batchTransferToEscrow(address[] cpAccounts, uint256[] amounts) returns()
func (*EcpSequencerTransactor) ChangeOwner ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*EcpSequencerTransactor) Deposit ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) Deposit(opts *bind.TransactOpts, cpAccount common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xf340fa01.
Solidity: function deposit(address cpAccount) payable returns()
func (*EcpSequencerTransactor) Receive ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*EcpSequencerTransactor) RemoveAdmin ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) RemoveAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _admin) returns()
func (*EcpSequencerTransactor) RenounceOwnership ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EcpSequencerTransactor) TransferOwnership ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*EcpSequencerTransactor) TransferToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) TransferToEscrow(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
TransferToEscrow is a paid mutator transaction binding the contract method 0x9e88fd81.
Solidity: function transferToEscrow(address cpAccount, uint256 amount) returns()
func (*EcpSequencerTransactor) Withdraw ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) Withdraw(opts *bind.TransactOpts, cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address cpAccount, uint256 amount) returns()
func (*EcpSequencerTransactor) WithdrawFromEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactor) WithdrawFromEscrow(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
WithdrawFromEscrow is a paid mutator transaction binding the contract method 0xbe47afda.
Solidity: function withdrawFromEscrow(uint256 amount) returns()
type EcpSequencerTransactorRaw ¶ added in v0.6.2
type EcpSequencerTransactorRaw struct {
Contract *EcpSequencerTransactor // Generic write-only contract binding to access the raw methods on
}
EcpSequencerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EcpSequencerTransactorRaw) Transact ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EcpSequencerTransactorRaw) Transfer ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorRaw) 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 EcpSequencerTransactorSession ¶ added in v0.6.2
type EcpSequencerTransactorSession struct { Contract *EcpSequencerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EcpSequencerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*EcpSequencerTransactorSession) AddAdmin ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) AddAdmin(_admin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _admin) returns()
func (*EcpSequencerTransactorSession) BatchTransferToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) BatchTransferToEscrow(cpAccounts []common.Address, amounts []*big.Int) (*types.Transaction, error)
BatchTransferToEscrow is a paid mutator transaction binding the contract method 0x1485fef9.
Solidity: function batchTransferToEscrow(address[] cpAccounts, uint256[] amounts) returns()
func (*EcpSequencerTransactorSession) ChangeOwner ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*EcpSequencerTransactorSession) Deposit ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) Deposit(cpAccount common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xf340fa01.
Solidity: function deposit(address cpAccount) payable returns()
func (*EcpSequencerTransactorSession) Receive ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*EcpSequencerTransactorSession) RemoveAdmin ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) RemoveAdmin(_admin common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _admin) returns()
func (*EcpSequencerTransactorSession) RenounceOwnership ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*EcpSequencerTransactorSession) TransferOwnership ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*EcpSequencerTransactorSession) TransferToEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) TransferToEscrow(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
TransferToEscrow is a paid mutator transaction binding the contract method 0x9e88fd81.
Solidity: function transferToEscrow(address cpAccount, uint256 amount) returns()
func (*EcpSequencerTransactorSession) Withdraw ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) Withdraw(cpAccount common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address cpAccount, uint256 amount) returns()
func (*EcpSequencerTransactorSession) WithdrawFromEscrow ¶ added in v0.6.2
func (_EcpSequencer *EcpSequencerTransactorSession) WithdrawFromEscrow(amount *big.Int) (*types.Transaction, error)
WithdrawFromEscrow is a paid mutator transaction binding the contract method 0xbe47afda.
Solidity: function withdrawFromEscrow(uint256 amount) returns()
type EcpSequencerTransferredToEscrow ¶ added in v0.6.2
type EcpSequencerTransferredToEscrow struct { CpAccount common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpSequencerTransferredToEscrow represents a TransferredToEscrow event raised by the EcpSequencer contract.
type EcpSequencerTransferredToEscrowIterator ¶ added in v0.6.2
type EcpSequencerTransferredToEscrowIterator struct { Event *EcpSequencerTransferredToEscrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerTransferredToEscrowIterator is returned from FilterTransferredToEscrow and is used to iterate over the raw logs and unpacked data for TransferredToEscrow events raised by the EcpSequencer contract.
func (*EcpSequencerTransferredToEscrowIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerTransferredToEscrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerTransferredToEscrowIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerTransferredToEscrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerTransferredToEscrowIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerTransferredToEscrowIterator) 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 EcpSequencerWithdrawn ¶ added in v0.6.2
type EcpSequencerWithdrawn struct { CpAccount common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpSequencerWithdrawn represents a Withdrawn event raised by the EcpSequencer contract.
type EcpSequencerWithdrawnFromEscrow ¶ added in v0.6.2
type EcpSequencerWithdrawnFromEscrow struct { Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EcpSequencerWithdrawnFromEscrow represents a WithdrawnFromEscrow event raised by the EcpSequencer contract.
type EcpSequencerWithdrawnFromEscrowIterator ¶ added in v0.6.2
type EcpSequencerWithdrawnFromEscrowIterator struct { Event *EcpSequencerWithdrawnFromEscrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerWithdrawnFromEscrowIterator is returned from FilterWithdrawnFromEscrow and is used to iterate over the raw logs and unpacked data for WithdrawnFromEscrow events raised by the EcpSequencer contract.
func (*EcpSequencerWithdrawnFromEscrowIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerWithdrawnFromEscrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerWithdrawnFromEscrowIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerWithdrawnFromEscrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerWithdrawnFromEscrowIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerWithdrawnFromEscrowIterator) 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 EcpSequencerWithdrawnIterator ¶ added in v0.6.2
type EcpSequencerWithdrawnIterator struct { Event *EcpSequencerWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EcpSequencerWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the EcpSequencer contract.
func (*EcpSequencerWithdrawnIterator) Close ¶ added in v0.6.2
func (it *EcpSequencerWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EcpSequencerWithdrawnIterator) Error ¶ added in v0.6.2
func (it *EcpSequencerWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EcpSequencerWithdrawnIterator) Next ¶ added in v0.6.2
func (it *EcpSequencerWithdrawnIterator) 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 SequencerOption ¶ added in v0.6.2
type SequencerOption func(*SequencerStub)
func WithSequencerCpAccountAddress ¶ added in v0.6.2
func WithSequencerCpAccountAddress(cpAccountAddress string) SequencerOption
func WithSequencerPrivateKey ¶ added in v0.6.2
func WithSequencerPrivateKey(pk string) SequencerOption
type SequencerStub ¶ added in v0.6.2
type SequencerStub struct {
// contains filtered or unexported fields
}
func NewSequencerStub ¶ added in v0.6.2
func NewSequencerStub(client *ethclient.Client, options ...SequencerOption) (*SequencerStub, error)
func (*SequencerStub) Deposit ¶ added in v0.6.2
func (s *SequencerStub) Deposit(amount *big.Int) (string, error)
func (*SequencerStub) GetCPBalance ¶ added in v0.6.2
func (s *SequencerStub) GetCPBalance() (string, error)
type Task ¶
type Task struct { TaskCaller // Read-only binding to the contract TaskTransactor // Write-only binding to the contract TaskFilterer // Log filterer for contract events }
Task is an auto generated Go binding around an Ethereum contract.
func DeployTask ¶
func DeployTask(auth *bind.TransactOpts, backend bind.ContractBackend, _taskID *big.Int, _taskType *big.Int, _resourceType *big.Int, _inputParam string, _verifyParam string, _cpAccount common.Address, _proof string, _deadline *big.Int, _taskRegistryContract common.Address, _checkCode string) (common.Address, *types.Transaction, *Task, error)
DeployTask deploys a new Ethereum contract, binding an instance of Task to it.
type TaskCaller ¶
type TaskCaller struct {
// contains filtered or unexported fields
}
TaskCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTaskCaller ¶
func NewTaskCaller(address common.Address, caller bind.ContractCaller) (*TaskCaller, error)
NewTaskCaller creates a new read-only instance of Task, bound to a specific deployed contract.
func (*TaskCaller) TaskInfo ¶ added in v0.6.2
func (_Task *TaskCaller) TaskInfo(opts *bind.CallOpts) (struct { TaskID *big.Int TaskType *big.Int ResourceType *big.Int InputParam string VerifyParam string CpAccount common.Address Proof string Deadline *big.Int TaskRegistryContract common.Address CheckCode string Owner common.Address Version string }, error)
TaskInfo is a free data retrieval call binding the contract method 0xac722551.
Solidity: function taskInfo() view returns(uint256 taskID, uint256 taskType, uint256 resourceType, string inputParam, string verifyParam, address cpAccount, string proof, uint256 deadline, address taskRegistryContract, string checkCode, address owner, string version)
type TaskCallerRaw ¶
type TaskCallerRaw struct {
Contract *TaskCaller // Generic read-only contract binding to access the raw methods on
}
TaskCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TaskCallerRaw) Call ¶
func (_Task *TaskCallerRaw) 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 TaskCallerSession ¶
type TaskCallerSession struct { Contract *TaskCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TaskCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TaskCallerSession) TaskInfo ¶ added in v0.6.2
func (_Task *TaskCallerSession) TaskInfo() (struct { TaskID *big.Int TaskType *big.Int ResourceType *big.Int InputParam string VerifyParam string CpAccount common.Address Proof string Deadline *big.Int TaskRegistryContract common.Address CheckCode string Owner common.Address Version string }, error)
TaskInfo is a free data retrieval call binding the contract method 0xac722551.
Solidity: function taskInfo() view returns(uint256 taskID, uint256 taskType, uint256 resourceType, string inputParam, string verifyParam, address cpAccount, string proof, uint256 deadline, address taskRegistryContract, string checkCode, address owner, string version)
func (*TaskCallerSession) Version ¶
func (_Task *TaskCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type TaskFilterer ¶
type TaskFilterer struct {
// contains filtered or unexported fields
}
TaskFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTaskFilterer ¶
func NewTaskFilterer(address common.Address, filterer bind.ContractFilterer) (*TaskFilterer, error)
NewTaskFilterer creates a new log filterer instance of Task, bound to a specific deployed contract.
func (*TaskFilterer) FilterRegisteredToTaskRegistry ¶ added in v0.6.2
func (_Task *TaskFilterer) FilterRegisteredToTaskRegistry(opts *bind.FilterOpts, taskContract []common.Address, owner []common.Address) (*TaskRegisteredToTaskRegistryIterator, error)
FilterRegisteredToTaskRegistry is a free log retrieval operation binding the contract event 0x411a83d4fcdb8a204895aa1c817c68da89892ae8a277620988dcd6ea44650b7f.
Solidity: event RegisteredToTaskRegistry(address indexed taskContract, address indexed owner)
func (*TaskFilterer) FilterTaskCreated ¶ added in v0.6.2
func (_Task *TaskFilterer) FilterTaskCreated(opts *bind.FilterOpts) (*TaskTaskCreatedIterator, error)
FilterTaskCreated is a free log retrieval operation binding the contract event 0x7494b64152547ee0befdc148256d2de656f0aa9a5d6bf982acdf988ba8ff202e.
Solidity: event TaskCreated(uint256 taskID, address cpAccount, string inputParam, uint256 deadline, string checkCode)
func (*TaskFilterer) ParseRegisteredToTaskRegistry ¶ added in v0.6.2
func (_Task *TaskFilterer) ParseRegisteredToTaskRegistry(log types.Log) (*TaskRegisteredToTaskRegistry, error)
ParseRegisteredToTaskRegistry is a log parse operation binding the contract event 0x411a83d4fcdb8a204895aa1c817c68da89892ae8a277620988dcd6ea44650b7f.
Solidity: event RegisteredToTaskRegistry(address indexed taskContract, address indexed owner)
func (*TaskFilterer) ParseTaskCreated ¶ added in v0.6.2
func (_Task *TaskFilterer) ParseTaskCreated(log types.Log) (*TaskTaskCreated, error)
ParseTaskCreated is a log parse operation binding the contract event 0x7494b64152547ee0befdc148256d2de656f0aa9a5d6bf982acdf988ba8ff202e.
Solidity: event TaskCreated(uint256 taskID, address cpAccount, string inputParam, uint256 deadline, string checkCode)
func (*TaskFilterer) WatchRegisteredToTaskRegistry ¶ added in v0.6.2
func (_Task *TaskFilterer) WatchRegisteredToTaskRegistry(opts *bind.WatchOpts, sink chan<- *TaskRegisteredToTaskRegistry, taskContract []common.Address, owner []common.Address) (event.Subscription, error)
WatchRegisteredToTaskRegistry is a free log subscription operation binding the contract event 0x411a83d4fcdb8a204895aa1c817c68da89892ae8a277620988dcd6ea44650b7f.
Solidity: event RegisteredToTaskRegistry(address indexed taskContract, address indexed owner)
func (*TaskFilterer) WatchTaskCreated ¶ added in v0.6.2
func (_Task *TaskFilterer) WatchTaskCreated(opts *bind.WatchOpts, sink chan<- *TaskTaskCreated) (event.Subscription, error)
WatchTaskCreated is a free log subscription operation binding the contract event 0x7494b64152547ee0befdc148256d2de656f0aa9a5d6bf982acdf988ba8ff202e.
Solidity: event TaskCreated(uint256 taskID, address cpAccount, string inputParam, uint256 deadline, string checkCode)
type TaskOption ¶
type TaskOption func(*TaskStub)
func WithTaskContractAddress ¶
func WithTaskContractAddress(contractAddress string) TaskOption
func WithTaskPrivateKey ¶
func WithTaskPrivateKey(pk string) TaskOption
type TaskRaw ¶
type TaskRaw struct {
Contract *Task // Generic contract binding to access the raw methods on
}
TaskRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TaskRaw) Call ¶
func (_Task *TaskRaw) 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 (*TaskRaw) Transact ¶
func (_Task *TaskRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TaskRaw) Transfer ¶
func (_Task *TaskRaw) 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 TaskRegisteredToTaskRegistry ¶ added in v0.6.2
type TaskRegisteredToTaskRegistry struct { TaskContract common.Address Owner common.Address Raw types.Log // Blockchain specific contextual infos }
TaskRegisteredToTaskRegistry represents a RegisteredToTaskRegistry event raised by the Task contract.
type TaskRegisteredToTaskRegistryIterator ¶ added in v0.6.2
type TaskRegisteredToTaskRegistryIterator struct { Event *TaskRegisteredToTaskRegistry // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaskRegisteredToTaskRegistryIterator is returned from FilterRegisteredToTaskRegistry and is used to iterate over the raw logs and unpacked data for RegisteredToTaskRegistry events raised by the Task contract.
func (*TaskRegisteredToTaskRegistryIterator) Close ¶ added in v0.6.2
func (it *TaskRegisteredToTaskRegistryIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaskRegisteredToTaskRegistryIterator) Error ¶ added in v0.6.2
func (it *TaskRegisteredToTaskRegistryIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaskRegisteredToTaskRegistryIterator) Next ¶ added in v0.6.2
func (it *TaskRegisteredToTaskRegistryIterator) 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 TaskSession ¶
type TaskSession struct { Contract *Task // 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 }
TaskSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TaskSession) TaskInfo ¶ added in v0.6.2
func (_Task *TaskSession) TaskInfo() (struct { TaskID *big.Int TaskType *big.Int ResourceType *big.Int InputParam string VerifyParam string CpAccount common.Address Proof string Deadline *big.Int TaskRegistryContract common.Address CheckCode string Owner common.Address Version string }, error)
TaskInfo is a free data retrieval call binding the contract method 0xac722551.
Solidity: function taskInfo() view returns(uint256 taskID, uint256 taskType, uint256 resourceType, string inputParam, string verifyParam, address cpAccount, string proof, uint256 deadline, address taskRegistryContract, string checkCode, address owner, string version)
func (*TaskSession) Version ¶
func (_Task *TaskSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type TaskStub ¶
type TaskStub struct { ContractAddress string // contains filtered or unexported fields }
func NewTaskStub ¶
func NewTaskStub(client *ethclient.Client, options ...TaskOption) (*TaskStub, error)
func (*TaskStub) CreateTaskContract ¶ added in v0.6.2
func (*TaskStub) GetTaskInfo ¶
func (s *TaskStub) GetTaskInfo() (models.EcpTaskInfo, error)
func (*TaskStub) IncrementNonce ¶
func (s *TaskStub) IncrementNonce()
type TaskTaskCreated ¶ added in v0.6.2
type TaskTaskCreated struct { TaskID *big.Int CpAccount common.Address InputParam string Deadline *big.Int CheckCode string Raw types.Log // Blockchain specific contextual infos }
TaskTaskCreated represents a TaskCreated event raised by the Task contract.
type TaskTaskCreatedIterator ¶ added in v0.6.2
type TaskTaskCreatedIterator struct { Event *TaskTaskCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaskTaskCreatedIterator is returned from FilterTaskCreated and is used to iterate over the raw logs and unpacked data for TaskCreated events raised by the Task contract.
func (*TaskTaskCreatedIterator) Close ¶ added in v0.6.2
func (it *TaskTaskCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaskTaskCreatedIterator) Error ¶ added in v0.6.2
func (it *TaskTaskCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaskTaskCreatedIterator) Next ¶ added in v0.6.2
func (it *TaskTaskCreatedIterator) 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 TaskTransactor ¶
type TaskTransactor struct {
// contains filtered or unexported fields
}
TaskTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTaskTransactor ¶
func NewTaskTransactor(address common.Address, transactor bind.ContractTransactor) (*TaskTransactor, error)
NewTaskTransactor creates a new write-only instance of Task, bound to a specific deployed contract.
type TaskTransactorRaw ¶
type TaskTransactorRaw struct {
Contract *TaskTransactor // Generic write-only contract binding to access the raw methods on
}
TaskTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TaskTransactorRaw) Transact ¶
func (_Task *TaskTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TaskTransactorRaw) Transfer ¶
func (_Task *TaskTransactorRaw) 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 TaskTransactorSession ¶
type TaskTransactorSession struct { Contract *TaskTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TaskTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.