Documentation ¶
Index ¶
- Variables
- type Account
- type Agent
- type AgentCaller
- func (_Agent *AgentCaller) Administration(opts *bind.CallOpts) (common.Address, error)
- func (_Agent *AgentCaller) AdoRequestKey(opts *bind.CallOpts) (common.Address, error)
- func (_Agent *AgentCaller) Defaulted(opts *bind.CallOpts) (bool, error)
- func (_Agent *AgentCaller) FaultySectorStartEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Agent *AgentCaller) Id(opts *bind.CallOpts) (*big.Int, error)
- func (_Agent *AgentCaller) LiquidAssets(opts *bind.CallOpts) (*big.Int, error)
- func (_Agent *AgentCaller) NewAgent(opts *bind.CallOpts) (common.Address, error)
- func (_Agent *AgentCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_Agent *AgentCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Agent *AgentCaller) PendingOperator(opts *bind.CallOpts) (common.Address, error)
- func (_Agent *AgentCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_Agent *AgentCaller) Version(opts *bind.CallOpts) (uint8, error)
- type AgentCallerRaw
- type AgentCallerSession
- func (_Agent *AgentCallerSession) Administration() (common.Address, error)
- func (_Agent *AgentCallerSession) AdoRequestKey() (common.Address, error)
- func (_Agent *AgentCallerSession) Defaulted() (bool, error)
- func (_Agent *AgentCallerSession) FaultySectorStartEpoch() (*big.Int, error)
- func (_Agent *AgentCallerSession) Id() (*big.Int, error)
- func (_Agent *AgentCallerSession) LiquidAssets() (*big.Int, error)
- func (_Agent *AgentCallerSession) NewAgent() (common.Address, error)
- func (_Agent *AgentCallerSession) Operator() (common.Address, error)
- func (_Agent *AgentCallerSession) Owner() (common.Address, error)
- func (_Agent *AgentCallerSession) PendingOperator() (common.Address, error)
- func (_Agent *AgentCallerSession) PendingOwner() (common.Address, error)
- func (_Agent *AgentCallerSession) Version() (uint8, error)
- type AgentDeployer
- type AgentDeployerCaller
- type AgentDeployerCallerRaw
- type AgentDeployerCallerSession
- type AgentDeployerFilterer
- type AgentDeployerRaw
- func (_AgentDeployer *AgentDeployerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AgentDeployer *AgentDeployerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AgentDeployer *AgentDeployerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentDeployerSession
- type AgentDeployerTransactor
- type AgentDeployerTransactorRaw
- type AgentDeployerTransactorSession
- type AgentFactory
- type AgentFactoryCaller
- func (_AgentFactory *AgentFactoryCaller) AgentCount(opts *bind.CallOpts) (*big.Int, error)
- func (_AgentFactory *AgentFactoryCaller) Agents(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_AgentFactory *AgentFactoryCaller) IsAgent(opts *bind.CallOpts, agent common.Address) (bool, error)
- type AgentFactoryCallerRaw
- type AgentFactoryCallerSession
- type AgentFactoryCreateAgent
- type AgentFactoryCreateAgentIterator
- type AgentFactoryFilterer
- func (_AgentFactory *AgentFactoryFilterer) FilterCreateAgent(opts *bind.FilterOpts, agentID []*big.Int, agent []common.Address, ...) (*AgentFactoryCreateAgentIterator, error)
- func (_AgentFactory *AgentFactoryFilterer) ParseCreateAgent(log types.Log) (*AgentFactoryCreateAgent, error)
- func (_AgentFactory *AgentFactoryFilterer) WatchCreateAgent(opts *bind.WatchOpts, sink chan<- *AgentFactoryCreateAgent, agentID []*big.Int, ...) (event.Subscription, error)
- type AgentFactoryRaw
- func (_AgentFactory *AgentFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AgentFactory *AgentFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AgentFactory *AgentFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentFactorySession
- func (_AgentFactory *AgentFactorySession) AgentCount() (*big.Int, error)
- func (_AgentFactory *AgentFactorySession) Agents(arg0 common.Address) (*big.Int, error)
- func (_AgentFactory *AgentFactorySession) Create(owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)
- func (_AgentFactory *AgentFactorySession) IsAgent(agent common.Address) (bool, error)
- func (_AgentFactory *AgentFactorySession) UpgradeAgent(agent common.Address) (*types.Transaction, error)
- type AgentFactoryTransactor
- type AgentFactoryTransactorRaw
- type AgentFactoryTransactorSession
- type AgentFilterer
- type AgentPoliceV2
- type AgentPoliceV2Caller
- func (_AgentPoliceV2 *AgentPoliceV2Caller) AccountLevel(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) AgentApproved(opts *bind.CallOpts, vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2Caller) AgentLiquidated(opts *bind.CallOpts, agentID *big.Int) (bool, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) BorrowDTL(opts *bind.CallOpts) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) ConfirmRmAdministration(opts *bind.CallOpts, vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2Caller) ConfirmRmEquity(opts *bind.CallOpts, vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2Caller) CredentialUsed(opts *bind.CallOpts, vc VerifiableCredential) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) DeriveStructHash(opts *bind.CallOpts, vc VerifiableCredential) ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) Digest(opts *bind.CallOpts, vc VerifiableCredential) ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) Eip712Domain(opts *bind.CallOpts) (struct{ ... }, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) IsValidCredential(opts *bind.CallOpts, agent *big.Int, action [4]byte, sc SignedCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2Caller) Levels(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) LiquidationDTL(opts *bind.CallOpts) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) LiquidationFee(opts *bind.CallOpts) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) MaxMiners(opts *bind.CallOpts) (uint32, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) Paused(opts *bind.CallOpts) (bool, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) PendingOperator(opts *bind.CallOpts) (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) Recover(opts *bind.CallOpts, sc SignedCredential) (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) SectorFaultyTolerancePercent(opts *bind.CallOpts) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) VERIFIABLECREDENTIALTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2Caller) ValidateCred(opts *bind.CallOpts, agent *big.Int, selector [4]byte, sc SignedCredential) error
- type AgentPoliceV2CallerRaw
- type AgentPoliceV2CallerSession
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) AccountLevel(arg0 *big.Int) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) AgentApproved(vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) AgentLiquidated(agentID *big.Int) (bool, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) BorrowDTL() (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) ConfirmRmAdministration(vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) ConfirmRmEquity(vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) CredentialUsed(vc VerifiableCredential) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) DeriveStructHash(vc VerifiableCredential) ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Digest(vc VerifiableCredential) ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Eip712Domain() (struct{ ... }, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) IsValidCredential(agent *big.Int, action [4]byte, sc SignedCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Levels(arg0 *big.Int) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) LiquidationDTL() (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) LiquidationFee() (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) MaxMiners() (uint32, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Operator() (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Owner() (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Paused() (bool, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) PendingOperator() (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) PendingOwner() (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Recover(sc SignedCredential) (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) SectorFaultyTolerancePercent() (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) VERIFIABLECREDENTIALTYPEHASH() ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2CallerSession) ValidateCred(agent *big.Int, selector [4]byte, sc SignedCredential) error
- type AgentPoliceV2CredentialUsed
- type AgentPoliceV2CredentialUsedIterator
- type AgentPoliceV2Defaulted
- type AgentPoliceV2DefaultedIterator
- type AgentPoliceV2EIP712DomainChanged
- type AgentPoliceV2EIP712DomainChangedIterator
- type AgentPoliceV2FaultySectors
- type AgentPoliceV2FaultySectorsIterator
- type AgentPoliceV2Filterer
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterCredentialUsed(opts *bind.FilterOpts, agentID []*big.Int, action [][4]byte) (*AgentPoliceV2CredentialUsedIterator, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterDefaulted(opts *bind.FilterOpts) (*AgentPoliceV2DefaultedIterator, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*AgentPoliceV2EIP712DomainChangedIterator, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterFaultySectors(opts *bind.FilterOpts, agentID []common.Address) (*AgentPoliceV2FaultySectorsIterator, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterOnAdministration(opts *bind.FilterOpts) (*AgentPoliceV2OnAdministrationIterator, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterPaused(opts *bind.FilterOpts) (*AgentPoliceV2PausedIterator, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*AgentPoliceV2UnpausedIterator, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseCredentialUsed(log types.Log) (*AgentPoliceV2CredentialUsed, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseDefaulted(log types.Log) (*AgentPoliceV2Defaulted, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseEIP712DomainChanged(log types.Log) (*AgentPoliceV2EIP712DomainChanged, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseFaultySectors(log types.Log) (*AgentPoliceV2FaultySectors, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseOnAdministration(log types.Log) (*AgentPoliceV2OnAdministration, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParsePaused(log types.Log) (*AgentPoliceV2Paused, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseUnpaused(log types.Log) (*AgentPoliceV2Unpaused, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchCredentialUsed(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2CredentialUsed, ...) (event.Subscription, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchDefaulted(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2Defaulted) (event.Subscription, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2EIP712DomainChanged) (event.Subscription, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchFaultySectors(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2FaultySectors, ...) (event.Subscription, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchOnAdministration(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2OnAdministration) (event.Subscription, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2Paused) (event.Subscription, error)
- func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2Unpaused) (event.Subscription, error)
- type AgentPoliceV2OnAdministration
- type AgentPoliceV2OnAdministrationIterator
- type AgentPoliceV2Paused
- type AgentPoliceV2PausedIterator
- type AgentPoliceV2Raw
- func (_AgentPoliceV2 *AgentPoliceV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AgentPoliceV2 *AgentPoliceV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentPoliceV2Session
- func (_AgentPoliceV2 *AgentPoliceV2Session) AcceptOperator() (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) AcceptOwnership() (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) AccountLevel(arg0 *big.Int) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) AgentApproved(vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2Session) AgentLiquidated(agentID *big.Int) (bool, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) BorrowDTL() (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) ConfirmRmAdministration(vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2Session) ConfirmRmEquity(vc VerifiableCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2Session) CredentialUsed(vc VerifiableCredential) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) DeriveStructHash(vc VerifiableCredential) ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) Digest(vc VerifiableCredential) ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) DistributeLiquidatedFunds(agent common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) Eip712Domain() (struct{ ... }, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) IsValidCredential(agent *big.Int, action [4]byte, sc SignedCredential) error
- func (_AgentPoliceV2 *AgentPoliceV2Session) Levels(arg0 *big.Int) (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) LiquidationDTL() (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) LiquidationFee() (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) MaxMiners() (uint32, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) Operator() (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) Owner() (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) Pause() (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) Paused() (bool, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) PendingOperator() (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) PendingOwner() (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) PrepareMinerForLiquidation(agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) PutAgentOnAdministration(agent common.Address, sc SignedCredential, administration common.Address) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) Recover(sc SignedCredential) (common.Address, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) RegisterCredentialUseBlock(sc SignedCredential) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SectorFaultyTolerancePercent() (*big.Int, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SetAgentDefaultDTL(agent common.Address, sc SignedCredential) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SetAgentLevels(agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SetBorrowDTL(_borrowDTL *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SetLevels(_levels [10]*big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SetLiquidationDTL(_liquidationDTL *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SetLiquidationFee(_liquidationFee *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SetMaxMiners(_maxMiners uint32) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) SetSectorFaultyTolerancePercent(_sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) TransferOperator(newOperator common.Address) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) Unpause() (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) VERIFIABLECREDENTIALTYPEHASH() ([32]byte, error)
- func (_AgentPoliceV2 *AgentPoliceV2Session) ValidateCred(agent *big.Int, selector [4]byte, sc SignedCredential) error
- type AgentPoliceV2Transactor
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) AcceptOperator(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) DistributeLiquidatedFunds(opts *bind.TransactOpts, agent common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) PrepareMinerForLiquidation(opts *bind.TransactOpts, agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) PutAgentOnAdministration(opts *bind.TransactOpts, agent common.Address, sc SignedCredential, ...) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) RegisterCredentialUseBlock(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetAgentDefaultDTL(opts *bind.TransactOpts, agent common.Address, sc SignedCredential) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetAgentLevels(opts *bind.TransactOpts, agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetBorrowDTL(opts *bind.TransactOpts, _borrowDTL *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetLevels(opts *bind.TransactOpts, _levels [10]*big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetLiquidationDTL(opts *bind.TransactOpts, _liquidationDTL *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetLiquidationFee(opts *bind.TransactOpts, _liquidationFee *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetMaxMiners(opts *bind.TransactOpts, _maxMiners uint32) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetSectorFaultyTolerancePercent(opts *bind.TransactOpts, _sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) TransferOperator(opts *bind.TransactOpts, newOperator common.Address) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentPoliceV2TransactorRaw
- type AgentPoliceV2TransactorSession
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) AcceptOperator() (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) DistributeLiquidatedFunds(agent common.Address, amount *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) Pause() (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) PrepareMinerForLiquidation(agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) PutAgentOnAdministration(agent common.Address, sc SignedCredential, administration common.Address) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) RegisterCredentialUseBlock(sc SignedCredential) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetAgentDefaultDTL(agent common.Address, sc SignedCredential) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetAgentLevels(agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetBorrowDTL(_borrowDTL *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetLevels(_levels [10]*big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetLiquidationDTL(_liquidationDTL *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetLiquidationFee(_liquidationFee *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetMaxMiners(_maxMiners uint32) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetSectorFaultyTolerancePercent(_sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) Unpause() (*types.Transaction, error)
- type AgentPoliceV2Unpaused
- type AgentPoliceV2UnpausedIterator
- type AgentRaw
- func (_Agent *AgentRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Agent *AgentRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Agent *AgentRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentSession
- func (_Agent *AgentSession) AcceptOperator() (*types.Transaction, error)
- func (_Agent *AgentSession) AcceptOwnership() (*types.Transaction, error)
- func (_Agent *AgentSession) AddMiner(sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentSession) Administration() (common.Address, error)
- func (_Agent *AgentSession) AdoRequestKey() (common.Address, error)
- func (_Agent *AgentSession) Borrow(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentSession) ChangeMinerWorker(miner uint64, worker uint64, controlAddresses []uint64) (*types.Transaction, error)
- func (_Agent *AgentSession) ConfirmChangeMinerWorker(miner uint64) (*types.Transaction, error)
- func (_Agent *AgentSession) DecommissionAgent(_newAgent common.Address) (*types.Transaction, error)
- func (_Agent *AgentSession) Defaulted() (bool, error)
- func (_Agent *AgentSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Agent *AgentSession) FaultySectorStartEpoch() (*big.Int, error)
- func (_Agent *AgentSession) Id() (*big.Int, error)
- func (_Agent *AgentSession) LiquidAssets() (*big.Int, error)
- func (_Agent *AgentSession) MigrateMiner(miner uint64) (*types.Transaction, error)
- func (_Agent *AgentSession) NewAgent() (common.Address, error)
- func (_Agent *AgentSession) Operator() (common.Address, error)
- func (_Agent *AgentSession) Owner() (common.Address, error)
- func (_Agent *AgentSession) Pay(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentSession) PendingOperator() (common.Address, error)
- func (_Agent *AgentSession) PendingOwner() (common.Address, error)
- func (_Agent *AgentSession) PrepareMinerForLiquidation(miner uint64, liquidator uint64) (*types.Transaction, error)
- func (_Agent *AgentSession) PullFunds(sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentSession) PushFunds(sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentSession) Receive() (*types.Transaction, error)
- func (_Agent *AgentSession) RefreshRoutes() (*types.Transaction, error)
- func (_Agent *AgentSession) RemoveMiner(newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentSession) SetAdministration(_administration common.Address) (*types.Transaction, error)
- func (_Agent *AgentSession) SetAdoRequestKey(_newKey common.Address) (*types.Transaction, error)
- func (_Agent *AgentSession) SetFaulty() (*types.Transaction, error)
- func (_Agent *AgentSession) SetInDefault() (*types.Transaction, error)
- func (_Agent *AgentSession) SetRecovered(sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)
- func (_Agent *AgentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Agent *AgentSession) Version() (uint8, error)
- func (_Agent *AgentSession) Withdraw(receiver common.Address, sc SignedCredential) (*types.Transaction, error)
- type AgentTransactor
- func (_Agent *AgentTransactor) AcceptOperator(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Agent *AgentTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Agent *AgentTransactor) AddMiner(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactor) Borrow(opts *bind.TransactOpts, poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactor) ChangeMinerWorker(opts *bind.TransactOpts, miner uint64, worker uint64, ...) (*types.Transaction, error)
- func (_Agent *AgentTransactor) ConfirmChangeMinerWorker(opts *bind.TransactOpts, miner uint64) (*types.Transaction, error)
- func (_Agent *AgentTransactor) DecommissionAgent(opts *bind.TransactOpts, _newAgent common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_Agent *AgentTransactor) MigrateMiner(opts *bind.TransactOpts, miner uint64) (*types.Transaction, error)
- func (_Agent *AgentTransactor) Pay(opts *bind.TransactOpts, poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactor) PrepareMinerForLiquidation(opts *bind.TransactOpts, miner uint64, liquidator uint64) (*types.Transaction, error)
- func (_Agent *AgentTransactor) PullFunds(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactor) PushFunds(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Agent *AgentTransactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Agent *AgentTransactor) RemoveMiner(opts *bind.TransactOpts, newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactor) SetAdministration(opts *bind.TransactOpts, _administration common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactor) SetAdoRequestKey(opts *bind.TransactOpts, _newKey common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactor) SetFaulty(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Agent *AgentTransactor) SetInDefault(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Agent *AgentTransactor) SetRecovered(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactor) TransferOperator(opts *bind.TransactOpts, newOperator common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactor) Withdraw(opts *bind.TransactOpts, receiver common.Address, sc SignedCredential) (*types.Transaction, error)
- type AgentTransactorRaw
- type AgentTransactorSession
- func (_Agent *AgentTransactorSession) AcceptOperator() (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) AddMiner(sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) Borrow(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) ChangeMinerWorker(miner uint64, worker uint64, controlAddresses []uint64) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) ConfirmChangeMinerWorker(miner uint64) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) DecommissionAgent(_newAgent common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) MigrateMiner(miner uint64) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) Pay(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) PrepareMinerForLiquidation(miner uint64, liquidator uint64) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) PullFunds(sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) PushFunds(sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) Receive() (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) RefreshRoutes() (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) RemoveMiner(newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) SetAdministration(_administration common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) SetAdoRequestKey(_newKey common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) SetFaulty() (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) SetInDefault() (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) SetRecovered(sc SignedCredential) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Agent *AgentTransactorSession) Withdraw(receiver common.Address, sc SignedCredential) (*types.Transaction, error)
- type CredParser
- type CredParserCaller
- func (_CredParser *CredParserCaller) GetAgentValue(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCaller) GetCollateralValue(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCaller) GetExpectedDailyRewards(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCaller) GetFaultySectors(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCaller) GetGCRED(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCaller) GetGreenScore(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCaller) GetLiveSectors(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCaller) GetPrincipal(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCaller) GetQAPower(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
- type CredParserCallerRaw
- type CredParserCallerSession
- func (_CredParser *CredParserCallerSession) GetAgentValue(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCallerSession) GetCollateralValue(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCallerSession) GetExpectedDailyRewards(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCallerSession) GetFaultySectors(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCallerSession) GetGCRED(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCallerSession) GetGreenScore(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCallerSession) GetLiveSectors(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCallerSession) GetPrincipal(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserCallerSession) GetQAPower(_agentData []byte) (*big.Int, error)
- type CredParserFilterer
- type CredParserRaw
- func (_CredParser *CredParserRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CredParser *CredParserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CredParser *CredParserRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CredParserSession
- func (_CredParser *CredParserSession) GetAgentValue(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserSession) GetCollateralValue(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserSession) GetExpectedDailyRewards(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserSession) GetFaultySectors(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserSession) GetGCRED(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserSession) GetGreenScore(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserSession) GetLiveSectors(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserSession) GetPrincipal(_agentData []byte) (*big.Int, error)
- func (_CredParser *CredParserSession) GetQAPower(_agentData []byte) (*big.Int, error)
- type CredParserTransactor
- type CredParserTransactorRaw
- type CredParserTransactorSession
- type FilForwarder
- type FilForwarderCaller
- type FilForwarderCallerRaw
- type FilForwarderCallerSession
- type FilForwarderFilterer
- type FilForwarderRaw
- func (_FilForwarder *FilForwarderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FilForwarder *FilForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FilForwarder *FilForwarderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FilForwarderSession
- type FilForwarderTransactor
- type FilForwarderTransactorRaw
- type FilForwarderTransactorSession
- type InfinityPoolV2
- type InfinityPoolV2Borrow
- type InfinityPoolV2BorrowIterator
- type InfinityPoolV2Caller
- func (_InfinityPoolV2 *InfinityPoolV2Caller) AllPools(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) AllPoolsLength(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) Asset(opts *bind.CallOpts) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) ConvertToAssets(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) ConvertToShares(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) CredParser(opts *bind.CallOpts) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) GetAbsMinLiquidity(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) GetAgentBorrowed(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) GetAgentDebt(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) GetAgentInterestOwed(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) GetLiquidAssets(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) GetRate(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) Id(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) IsShuttingDown(opts *bind.CallOpts) (bool, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) LastAccountingUpdateEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) LiquidStakingToken(opts *bind.CallOpts) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) Lm(opts *bind.CallOpts) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) LpRewards(opts *bind.CallOpts) (RewardAccrual, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) MaxMint(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) MaxRedeem(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) MaxWithdraw(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) MinimumLiquidity(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) Paused(opts *bind.CallOpts) (bool, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) PreviewDeposit(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) PreviewMint(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) RateUpdate(opts *bind.CallOpts) (RateUpdate, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) TotalAssets(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) TotalBorrowableAssets(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) TotalBorrowed(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) TreasuryFeeRate(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) TreasuryFeesOwed(opts *bind.CallOpts) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Caller) TreasuryRewards(opts *bind.CallOpts) (RewardAccrual, error)
- type InfinityPoolV2CallerRaw
- type InfinityPoolV2CallerSession
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) AllPools(arg0 *big.Int) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) AllPoolsLength() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Asset() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) ConvertToAssets(shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) ConvertToShares(assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) CredParser() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetAbsMinLiquidity() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetAgentBorrowed(agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetAgentDebt(agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetAgentInterestOwed(agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetLiquidAssets() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetRate() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Id() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) IsShuttingDown() (bool, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) LastAccountingUpdateEpoch() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) LiquidStakingToken() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Lm() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) LpRewards() (RewardAccrual, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MaxMint(arg0 common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MaxRedeem(owner common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MaxWithdraw(owner common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MinimumLiquidity() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Owner() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Paused() (bool, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PendingOwner() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PreviewDeposit(assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PreviewMint(shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PreviewRedeem(shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) RateUpdate() (RateUpdate, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TotalAssets() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TotalBorrowableAssets() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TotalBorrowed() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TreasuryFeeRate() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TreasuryFeesOwed() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TreasuryRewards() (RewardAccrual, error)
- type InfinityPoolV2Deposit
- type InfinityPoolV2DepositIterator
- type InfinityPoolV2Filterer
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterBorrow(opts *bind.FilterOpts, agent []*big.Int) (*InfinityPoolV2BorrowIterator, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterDeposit(opts *bind.FilterOpts, caller []common.Address, owner []common.Address) (*InfinityPoolV2DepositIterator, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterPaused(opts *bind.FilterOpts) (*InfinityPoolV2PausedIterator, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterPay(opts *bind.FilterOpts, agent []*big.Int) (*InfinityPoolV2PayIterator, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*InfinityPoolV2UnpausedIterator, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterUpdateAccounting(opts *bind.FilterOpts) (*InfinityPoolV2UpdateAccountingIterator, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterWithdraw(opts *bind.FilterOpts, caller []common.Address, receiver []common.Address, ...) (*InfinityPoolV2WithdrawIterator, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterWriteOff(opts *bind.FilterOpts, agentID []*big.Int) (*InfinityPoolV2WriteOffIterator, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseBorrow(log types.Log) (*InfinityPoolV2Borrow, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseDeposit(log types.Log) (*InfinityPoolV2Deposit, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParsePaused(log types.Log) (*InfinityPoolV2Paused, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParsePay(log types.Log) (*InfinityPoolV2Pay, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseUnpaused(log types.Log) (*InfinityPoolV2Unpaused, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseUpdateAccounting(log types.Log) (*InfinityPoolV2UpdateAccounting, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseWithdraw(log types.Log) (*InfinityPoolV2Withdraw, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseWriteOff(log types.Log) (*InfinityPoolV2WriteOff, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Borrow, agent []*big.Int) (event.Subscription, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Deposit, ...) (event.Subscription, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Paused) (event.Subscription, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchPay(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Pay, agent []*big.Int) (event.Subscription, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Unpaused) (event.Subscription, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchUpdateAccounting(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2UpdateAccounting) (event.Subscription, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Withdraw, ...) (event.Subscription, error)
- func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchWriteOff(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2WriteOff, agentID []*big.Int) (event.Subscription, error)
- type InfinityPoolV2Paused
- type InfinityPoolV2PausedIterator
- type InfinityPoolV2Pay
- type InfinityPoolV2PayIterator
- type InfinityPoolV2Raw
- func (_InfinityPoolV2 *InfinityPoolV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InfinityPoolV2 *InfinityPoolV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InfinityPoolV2Session
- func (_InfinityPoolV2 *InfinityPoolV2Session) AcceptOwnership() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) AllPools(arg0 *big.Int) (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) AllPoolsLength() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Asset() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Borrow(vc VerifiableCredential) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) ContinueRateUpdate() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) ConvertToAssets(shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) ConvertToShares(assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) CredParser() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) DecommissionPool(newPool common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Deposit0(receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Fallback(calldata []byte) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) GetAbsMinLiquidity() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) GetAgentBorrowed(agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) GetAgentDebt(agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) GetAgentInterestOwed(agentID *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) GetLiquidAssets() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) GetRate() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) HarvestFees(harvestAmount *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Id() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) IsShuttingDown() (bool, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) JumpStartAccount(receiver common.Address, agentID *big.Int, accountPrincipal *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) JumpStartTotalBorrowed(amount *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) LastAccountingUpdateEpoch() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) LiquidStakingToken() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Lm() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) LpRewards() (RewardAccrual, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) MaxDeposit(arg0 common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) MaxMint(arg0 common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) MaxRedeem(owner common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) MaxWithdraw(owner common.Address) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) MinimumLiquidity() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Owner() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Pause() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Paused() (bool, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Pay(vc VerifiableCredential) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) PendingOwner() (common.Address, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) PreviewDeposit(assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) PreviewMint(shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) PreviewRedeem(shares *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) PreviewWithdraw(assets *big.Int) (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) RateUpdate() (RateUpdate, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Receive() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) RecoverERC20(receiver common.Address, token common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) RecoverFIL(receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Redeem(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Redeem0(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) RedeemF(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) RedeemF0(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) RefreshRoutes() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) SetLiquidityMine(_liquidityMine common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) SetMaxAccountsToUpdatePerBatch(maxAccountsToUpdatePerBatch_ *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) SetMinimumLiquidity(_minimumLiquidity *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) SetTreasuryFeeRate(_treasuryFeeRate *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) ShutDown() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) StartRateUpdate(rentalFeesOwedPerEpoch_ *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) TotalAssets() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) TotalBorrowableAssets() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) TotalBorrowed() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) TreasuryFeeRate() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) TreasuryFeesOwed() (*big.Int, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) TreasuryRewards() (RewardAccrual, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Unpause() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) UpdateAccounting() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) UpdateCredParser() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Withdraw(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) Withdraw0(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) WithdrawF(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) WithdrawF0(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Session) WriteOff(agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)
- type InfinityPoolV2Transactor
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Borrow(opts *bind.TransactOpts, vc VerifiableCredential) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) ContinueRateUpdate(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) DecommissionPool(opts *bind.TransactOpts, newPool common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Deposit(opts *bind.TransactOpts, assets *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Deposit0(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) HarvestFees(opts *bind.TransactOpts, harvestAmount *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) JumpStartAccount(opts *bind.TransactOpts, receiver common.Address, agentID *big.Int, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) JumpStartTotalBorrowed(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Mint(opts *bind.TransactOpts, shares *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Pay(opts *bind.TransactOpts, vc VerifiableCredential) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) RecoverERC20(opts *bind.TransactOpts, receiver common.Address, token common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) RecoverFIL(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Redeem(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Redeem0(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) RedeemF(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) RedeemF0(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) SetLiquidityMine(opts *bind.TransactOpts, _liquidityMine common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) SetMaxAccountsToUpdatePerBatch(opts *bind.TransactOpts, maxAccountsToUpdatePerBatch_ *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) SetMinimumLiquidity(opts *bind.TransactOpts, _minimumLiquidity *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) SetTreasuryFeeRate(opts *bind.TransactOpts, _treasuryFeeRate *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) ShutDown(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) StartRateUpdate(opts *bind.TransactOpts, rentalFeesOwedPerEpoch_ *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) UpdateAccounting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) UpdateCredParser(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) Withdraw0(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) WithdrawF(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) WithdrawF0(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2Transactor) WriteOff(opts *bind.TransactOpts, agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)
- type InfinityPoolV2TransactorRaw
- type InfinityPoolV2TransactorSession
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Borrow(vc VerifiableCredential) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) ContinueRateUpdate() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) DecommissionPool(newPool common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Deposit0(receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) HarvestFees(harvestAmount *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) JumpStartAccount(receiver common.Address, agentID *big.Int, accountPrincipal *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) JumpStartTotalBorrowed(amount *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Pause() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Pay(vc VerifiableCredential) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Receive() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RecoverERC20(receiver common.Address, token common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RecoverFIL(receiver common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Redeem0(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RedeemF(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RedeemF0(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RefreshRoutes() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) SetLiquidityMine(_liquidityMine common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) SetMaxAccountsToUpdatePerBatch(maxAccountsToUpdatePerBatch_ *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) SetMinimumLiquidity(_minimumLiquidity *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) SetTreasuryFeeRate(_treasuryFeeRate *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) ShutDown() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) StartRateUpdate(rentalFeesOwedPerEpoch_ *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Unpause() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) UpdateAccounting() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) UpdateCredParser() (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Withdraw0(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) WithdrawF(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) WithdrawF0(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) WriteOff(agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)
- type InfinityPoolV2Unpaused
- type InfinityPoolV2UnpausedIterator
- type InfinityPoolV2UpdateAccounting
- type InfinityPoolV2UpdateAccountingIterator
- type InfinityPoolV2Withdraw
- type InfinityPoolV2WithdrawIterator
- type InfinityPoolV2WriteOff
- type InfinityPoolV2WriteOffIterator
- type MinerRegistry
- type MinerRegistryAddMiner
- type MinerRegistryAddMinerIterator
- type MinerRegistryCaller
- func (_MinerRegistry *MinerRegistryCaller) GetMiner(opts *bind.CallOpts, agentID *big.Int, index *big.Int) (uint64, error)
- func (_MinerRegistry *MinerRegistryCaller) MinerRegistered(opts *bind.CallOpts, agentID *big.Int, miner uint64) (bool, error)
- func (_MinerRegistry *MinerRegistryCaller) MinersCount(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)
- type MinerRegistryCallerRaw
- type MinerRegistryCallerSession
- func (_MinerRegistry *MinerRegistryCallerSession) GetMiner(agentID *big.Int, index *big.Int) (uint64, error)
- func (_MinerRegistry *MinerRegistryCallerSession) MinerRegistered(agentID *big.Int, miner uint64) (bool, error)
- func (_MinerRegistry *MinerRegistryCallerSession) MinersCount(agentID *big.Int) (*big.Int, error)
- type MinerRegistryFilterer
- func (_MinerRegistry *MinerRegistryFilterer) FilterAddMiner(opts *bind.FilterOpts, agent []common.Address, miner []uint64) (*MinerRegistryAddMinerIterator, error)
- func (_MinerRegistry *MinerRegistryFilterer) FilterRemoveMiner(opts *bind.FilterOpts, agent []common.Address, miner []uint64) (*MinerRegistryRemoveMinerIterator, error)
- func (_MinerRegistry *MinerRegistryFilterer) ParseAddMiner(log types.Log) (*MinerRegistryAddMiner, error)
- func (_MinerRegistry *MinerRegistryFilterer) ParseRemoveMiner(log types.Log) (*MinerRegistryRemoveMiner, error)
- func (_MinerRegistry *MinerRegistryFilterer) WatchAddMiner(opts *bind.WatchOpts, sink chan<- *MinerRegistryAddMiner, ...) (event.Subscription, error)
- func (_MinerRegistry *MinerRegistryFilterer) WatchRemoveMiner(opts *bind.WatchOpts, sink chan<- *MinerRegistryRemoveMiner, ...) (event.Subscription, error)
- type MinerRegistryRaw
- func (_MinerRegistry *MinerRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MinerRegistry *MinerRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MinerRegistry *MinerRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MinerRegistryRemoveMiner
- type MinerRegistryRemoveMinerIterator
- type MinerRegistrySession
- func (_MinerRegistry *MinerRegistrySession) AddMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)
- func (_MinerRegistry *MinerRegistrySession) GetMiner(agentID *big.Int, index *big.Int) (uint64, error)
- func (_MinerRegistry *MinerRegistrySession) MinerRegistered(agentID *big.Int, miner uint64) (bool, error)
- func (_MinerRegistry *MinerRegistrySession) MinersCount(agentID *big.Int) (*big.Int, error)
- func (_MinerRegistry *MinerRegistrySession) RefreshRoutes() (*types.Transaction, error)
- func (_MinerRegistry *MinerRegistrySession) RemoveMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)
- type MinerRegistryTransactor
- func (_MinerRegistry *MinerRegistryTransactor) AddMiner(opts *bind.TransactOpts, agentID *big.Int, miner uint64) (*types.Transaction, error)
- func (_MinerRegistry *MinerRegistryTransactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MinerRegistry *MinerRegistryTransactor) RemoveMiner(opts *bind.TransactOpts, agentID *big.Int, miner uint64) (*types.Transaction, error)
- type MinerRegistryTransactorRaw
- type MinerRegistryTransactorSession
- func (_MinerRegistry *MinerRegistryTransactorSession) AddMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)
- func (_MinerRegistry *MinerRegistryTransactorSession) RefreshRoutes() (*types.Transaction, error)
- func (_MinerRegistry *MinerRegistryTransactorSession) RemoveMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)
- type PoolToken
- type PoolTokenApproval
- type PoolTokenApprovalIterator
- type PoolTokenCaller
- func (_PoolToken *PoolTokenCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenCaller) Burner(opts *bind.CallOpts) (common.Address, error)
- func (_PoolToken *PoolTokenCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_PoolToken *PoolTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_PoolToken *PoolTokenCaller) Minter(opts *bind.CallOpts) (common.Address, error)
- func (_PoolToken *PoolTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_PoolToken *PoolTokenCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_PoolToken *PoolTokenCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_PoolToken *PoolTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_PoolToken *PoolTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type PoolTokenCallerRaw
- type PoolTokenCallerSession
- func (_PoolToken *PoolTokenCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenCallerSession) Burner() (common.Address, error)
- func (_PoolToken *PoolTokenCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_PoolToken *PoolTokenCallerSession) Decimals() (uint8, error)
- func (_PoolToken *PoolTokenCallerSession) Minter() (common.Address, error)
- func (_PoolToken *PoolTokenCallerSession) Name() (string, error)
- func (_PoolToken *PoolTokenCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenCallerSession) Owner() (common.Address, error)
- func (_PoolToken *PoolTokenCallerSession) PendingOwner() (common.Address, error)
- func (_PoolToken *PoolTokenCallerSession) Symbol() (string, error)
- func (_PoolToken *PoolTokenCallerSession) TotalSupply() (*big.Int, error)
- type PoolTokenFilterer
- func (_PoolToken *PoolTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PoolTokenApprovalIterator, error)
- func (_PoolToken *PoolTokenFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*PoolTokenOwnershipTransferStartedIterator, error)
- func (_PoolToken *PoolTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*PoolTokenOwnershipTransferredIterator, error)
- func (_PoolToken *PoolTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PoolTokenTransferIterator, error)
- func (_PoolToken *PoolTokenFilterer) ParseApproval(log types.Log) (*PoolTokenApproval, error)
- func (_PoolToken *PoolTokenFilterer) ParseOwnershipTransferStarted(log types.Log) (*PoolTokenOwnershipTransferStarted, error)
- func (_PoolToken *PoolTokenFilterer) ParseOwnershipTransferred(log types.Log) (*PoolTokenOwnershipTransferred, error)
- func (_PoolToken *PoolTokenFilterer) ParseTransfer(log types.Log) (*PoolTokenTransfer, error)
- func (_PoolToken *PoolTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PoolTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_PoolToken *PoolTokenFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *PoolTokenOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_PoolToken *PoolTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PoolTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_PoolToken *PoolTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PoolTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type PoolTokenOwnershipTransferStarted
- type PoolTokenOwnershipTransferStartedIterator
- type PoolTokenOwnershipTransferred
- type PoolTokenOwnershipTransferredIterator
- type PoolTokenRaw
- func (_PoolToken *PoolTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PoolToken *PoolTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PoolToken *PoolTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PoolTokenSession
- func (_PoolToken *PoolTokenSession) AcceptOwnership() (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) Burner() (common.Address, error)
- func (_PoolToken *PoolTokenSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_PoolToken *PoolTokenSession) Decimals() (uint8, error)
- func (_PoolToken *PoolTokenSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) Minter() (common.Address, error)
- func (_PoolToken *PoolTokenSession) Name() (string, error)
- func (_PoolToken *PoolTokenSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_PoolToken *PoolTokenSession) Owner() (common.Address, error)
- func (_PoolToken *PoolTokenSession) PendingOwner() (common.Address, error)
- func (_PoolToken *PoolTokenSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) SetBurner(_burner common.Address) (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) SetMinter(_minter common.Address) (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) Symbol() (string, error)
- func (_PoolToken *PoolTokenSession) TotalSupply() (*big.Int, error)
- func (_PoolToken *PoolTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type PoolTokenTransactor
- func (_PoolToken *PoolTokenTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) Burn(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) SetBurner(opts *bind.TransactOpts, _burner common.Address) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type PoolTokenTransactorRaw
- type PoolTokenTransactorSession
- func (_PoolToken *PoolTokenTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) SetBurner(_burner common.Address) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_PoolToken *PoolTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type PoolTokenTransfer
- type PoolTokenTransferIterator
- type RateUpdate
- type RewardAccrual
- type Router
- type RouterCaller
- func (_Router *RouterCaller) CreateAccountKey(opts *bind.CallOpts, agentID *big.Int, poolID *big.Int) ([32]byte, error)
- func (_Router *RouterCaller) GetAccount(opts *bind.CallOpts, agentID *big.Int, poolID *big.Int) (Account, error)
- func (_Router *RouterCaller) GetRoute(opts *bind.CallOpts, id [4]byte) (common.Address, error)
- func (_Router *RouterCaller) GetRoute0(opts *bind.CallOpts, id string) (common.Address, error)
- func (_Router *RouterCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Router *RouterCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_Router *RouterCaller) Route(opts *bind.CallOpts, arg0 [4]byte) (common.Address, error)
- type RouterCallerRaw
- type RouterCallerSession
- func (_Router *RouterCallerSession) CreateAccountKey(agentID *big.Int, poolID *big.Int) ([32]byte, error)
- func (_Router *RouterCallerSession) GetAccount(agentID *big.Int, poolID *big.Int) (Account, error)
- func (_Router *RouterCallerSession) GetRoute(id [4]byte) (common.Address, error)
- func (_Router *RouterCallerSession) GetRoute0(id string) (common.Address, error)
- func (_Router *RouterCallerSession) Owner() (common.Address, error)
- func (_Router *RouterCallerSession) PendingOwner() (common.Address, error)
- func (_Router *RouterCallerSession) Route(arg0 [4]byte) (common.Address, error)
- type RouterFilterer
- func (_Router *RouterFilterer) FilterPushRoute(opts *bind.FilterOpts) (*RouterPushRouteIterator, error)
- func (_Router *RouterFilterer) ParsePushRoute(log types.Log) (*RouterPushRoute, error)
- func (_Router *RouterFilterer) WatchPushRoute(opts *bind.WatchOpts, sink chan<- *RouterPushRoute) (event.Subscription, error)
- type RouterPushRoute
- type RouterPushRouteIterator
- type RouterRaw
- func (_Router *RouterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Router *RouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Router *RouterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RouterSession
- func (_Router *RouterSession) AcceptOwnership() (*types.Transaction, error)
- func (_Router *RouterSession) CreateAccountKey(agentID *big.Int, poolID *big.Int) ([32]byte, error)
- func (_Router *RouterSession) GetAccount(agentID *big.Int, poolID *big.Int) (Account, error)
- func (_Router *RouterSession) GetRoute(id [4]byte) (common.Address, error)
- func (_Router *RouterSession) GetRoute0(id string) (common.Address, error)
- func (_Router *RouterSession) Owner() (common.Address, error)
- func (_Router *RouterSession) PendingOwner() (common.Address, error)
- func (_Router *RouterSession) PushRoute(id string, newRoute common.Address) (*types.Transaction, error)
- func (_Router *RouterSession) PushRoute0(id [4]byte, newRoute common.Address) (*types.Transaction, error)
- func (_Router *RouterSession) PushRoutes(ids []string, newRoutes []common.Address) (*types.Transaction, error)
- func (_Router *RouterSession) PushRoutes0(ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)
- func (_Router *RouterSession) Route(arg0 [4]byte) (common.Address, error)
- func (_Router *RouterSession) SetAccount(agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)
- func (_Router *RouterSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type RouterTransactor
- func (_Router *RouterTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Router *RouterTransactor) PushRoute(opts *bind.TransactOpts, id string, newRoute common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactor) PushRoute0(opts *bind.TransactOpts, id [4]byte, newRoute common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactor) PushRoutes(opts *bind.TransactOpts, ids []string, newRoutes []common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactor) PushRoutes0(opts *bind.TransactOpts, ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactor) SetAccount(opts *bind.TransactOpts, agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)
- func (_Router *RouterTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type RouterTransactorRaw
- type RouterTransactorSession
- func (_Router *RouterTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_Router *RouterTransactorSession) PushRoute(id string, newRoute common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactorSession) PushRoute0(id [4]byte, newRoute common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactorSession) PushRoutes(ids []string, newRoutes []common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactorSession) PushRoutes0(ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)
- func (_Router *RouterTransactorSession) SetAccount(agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)
- func (_Router *RouterTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SignedCredential
- type SignedCredential_duplicate
- type UpgradeToV2
- type UpgradeToV2Caller
- func (_UpgradeToV2 *UpgradeToV2Caller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_UpgradeToV2 *UpgradeToV2Caller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_UpgradeToV2 *UpgradeToV2Caller) VerifyTotalAssets(opts *bind.CallOpts, newInterestAccrued *big.Int) (bool, error)
- type UpgradeToV2CallerRaw
- type UpgradeToV2CallerSession
- type UpgradeToV2Filterer
- type UpgradeToV2Raw
- func (_UpgradeToV2 *UpgradeToV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UpgradeToV2 *UpgradeToV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UpgradeToV2Session
- func (_UpgradeToV2 *UpgradeToV2Session) AcceptOwnership() (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Session) Fallback(calldata []byte) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Session) Owner() (common.Address, error)
- func (_UpgradeToV2 *UpgradeToV2Session) PendingOwner() (common.Address, error)
- func (_UpgradeToV2 *UpgradeToV2Session) Receive() (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Session) RefreshProtocolRoutes(agents []common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Session) SetOwner(_auth common.Address, _newOwner common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Session) Upgrade(agentPolice common.Address, pool common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Session) VerifyTotalAssets(newInterestAccrued *big.Int) (bool, error)
- type UpgradeToV2Transactor
- func (_UpgradeToV2 *UpgradeToV2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Transactor) RefreshProtocolRoutes(opts *bind.TransactOpts, agents []common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Transactor) SetOwner(opts *bind.TransactOpts, _auth common.Address, _newOwner common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2Transactor) Upgrade(opts *bind.TransactOpts, agentPolice common.Address, pool common.Address) (*types.Transaction, error)
- type UpgradeToV2TransactorRaw
- type UpgradeToV2TransactorSession
- func (_UpgradeToV2 *UpgradeToV2TransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2TransactorSession) Receive() (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2TransactorSession) RefreshProtocolRoutes(agents []common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2TransactorSession) SetOwner(_auth common.Address, _newOwner common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UpgradeToV2 *UpgradeToV2TransactorSession) Upgrade(agentPolice common.Address, pool common.Address) (*types.Transaction, error)
- type VerifiableCredential
- type VerifiableCredential_duplicate
- type VerifiableCredential_duplicate3
- type WFIL
- type WFILApproval
- type WFILApprovalIterator
- type WFILCaller
- func (_WFIL *WFILCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WFIL *WFILCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_WFIL *WFILCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_WFIL *WFILCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_WFIL *WFILCaller) Name(opts *bind.CallOpts) (string, error)
- func (_WFIL *WFILCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_WFIL *WFILCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_WFIL *WFILCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type WFILCallerRaw
- type WFILCallerSession
- func (_WFIL *WFILCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WFIL *WFILCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_WFIL *WFILCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_WFIL *WFILCallerSession) Decimals() (uint8, error)
- func (_WFIL *WFILCallerSession) Name() (string, error)
- func (_WFIL *WFILCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_WFIL *WFILCallerSession) Symbol() (string, error)
- func (_WFIL *WFILCallerSession) TotalSupply() (*big.Int, error)
- type WFILDeposit
- type WFILDepositIterator
- type WFILFilterer
- func (_WFIL *WFILFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WFILApprovalIterator, error)
- func (_WFIL *WFILFilterer) FilterDeposit(opts *bind.FilterOpts, from []common.Address) (*WFILDepositIterator, error)
- func (_WFIL *WFILFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WFILTransferIterator, error)
- func (_WFIL *WFILFilterer) FilterWithdrawal(opts *bind.FilterOpts, to []common.Address) (*WFILWithdrawalIterator, error)
- func (_WFIL *WFILFilterer) ParseApproval(log types.Log) (*WFILApproval, error)
- func (_WFIL *WFILFilterer) ParseDeposit(log types.Log) (*WFILDeposit, error)
- func (_WFIL *WFILFilterer) ParseTransfer(log types.Log) (*WFILTransfer, error)
- func (_WFIL *WFILFilterer) ParseWithdrawal(log types.Log) (*WFILWithdrawal, error)
- func (_WFIL *WFILFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WFILApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_WFIL *WFILFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WFILDeposit, from []common.Address) (event.Subscription, error)
- func (_WFIL *WFILFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WFILTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_WFIL *WFILFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WFILWithdrawal, to []common.Address) (event.Subscription, error)
- type WFILRaw
- func (_WFIL *WFILRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_WFIL *WFILRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WFIL *WFILRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WFILSession
- func (_WFIL *WFILSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WFIL *WFILSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WFIL *WFILSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_WFIL *WFILSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_WFIL *WFILSession) Decimals() (uint8, error)
- func (_WFIL *WFILSession) Deposit() (*types.Transaction, error)
- func (_WFIL *WFILSession) Name() (string, error)
- func (_WFIL *WFILSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_WFIL *WFILSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_WFIL *WFILSession) Receive() (*types.Transaction, error)
- func (_WFIL *WFILSession) Symbol() (string, error)
- func (_WFIL *WFILSession) TotalSupply() (*big.Int, error)
- func (_WFIL *WFILSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WFIL *WFILSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WFIL *WFILSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- type WFILTransactor
- func (_WFIL *WFILTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WFIL *WFILTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WFIL *WFILTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_WFIL *WFILTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WFIL *WFILTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WFIL *WFILTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_WFIL *WFILTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- type WFILTransactorRaw
- type WFILTransactorSession
- func (_WFIL *WFILTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WFIL *WFILTransactorSession) Deposit() (*types.Transaction, error)
- func (_WFIL *WFILTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_WFIL *WFILTransactorSession) Receive() (*types.Transaction, error)
- func (_WFIL *WFILTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WFIL *WFILTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WFIL *WFILTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- type WFILTransfer
- type WFILTransferIterator
- type WFILWithdrawal
- type WFILWithdrawalIterator
Constants ¶
This section is empty.
Variables ¶
var AgentABI = AgentMetaData.ABI
AgentABI is the input ABI used to generate the binding from. Deprecated: Use AgentMetaData.ABI instead.
var AgentDeployerABI = AgentDeployerMetaData.ABI
AgentDeployerABI is the input ABI used to generate the binding from. Deprecated: Use AgentDeployerMetaData.ABI instead.
var AgentDeployerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"agentId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adoRequestKey\",\"type\":\"address\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
AgentDeployerMetaData contains all meta data concerning the AgentDeployer contract.
var AgentFactoryABI = AgentFactoryMetaData.ABI
AgentFactoryABI is the input ABI used to generate the binding from. Deprecated: Use AgentFactoryMetaData.ABI instead.
var AgentFactoryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"}],\"name\":\"CreateAgent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"agentCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"agents\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adoRequestKey\",\"type\":\"address\"}],\"name\":\"create\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"isAgent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"upgradeAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"newAgent\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
AgentFactoryMetaData contains all meta data concerning the AgentFactory contract.
var AgentMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"agentRouter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"apiRequestKey\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BadAgentState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"acceptOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"addMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"administration\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adoRequestKey\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"borrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"worker\",\"type\":\"uint64\"},{\"internalType\":\"uint64[]\",\"name\":\"controlAddresses\",\"type\":\"uint64[]\"}],\"name\":\"changeMinerWorker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"confirmChangeMinerWorker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newAgent\",\"type\":\"address\"}],\"name\":\"decommissionAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaulted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"faultySectorStartEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"id\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"migrateMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"pay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principalPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"refund\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOperator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"liquidator\",\"type\":\"uint64\"}],\"name\":\"prepareMinerForLiquidation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"pullFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"pushFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refreshRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newMinerOwner\",\"type\":\"uint64\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"removeMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_administration\",\"type\":\"address\"}],\"name\":\"setAdministration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newKey\",\"type\":\"address\"}],\"name\":\"setAdoRequestKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setFaulty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setInDefault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"setRecovered\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOperator\",\"type\":\"address\"}],\"name\":\"transferOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
AgentMetaData contains all meta data concerning the Agent contract.
var AgentPoliceV2ABI = AgentPoliceV2MetaData.ABI
AgentPoliceV2ABI is the input ABI used to generate the binding from. Deprecated: Use AgentPoliceV2MetaData.ABI instead.
var AgentPoliceV2Bin = AgentPoliceV2MetaData.Bin
AgentPoliceV2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use AgentPoliceV2MetaData.Bin instead.
var AgentPoliceV2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_version\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AgentStateRejected\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EnforcedPause\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExpectedPause\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCredential\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LiquidationValueTooHigh\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxMinersReached\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"faultySectors\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liveSectors\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxTolerance\",\"type\":\"uint256\"}],\"name\":\"OverFaultySectorLimit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"debt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationValue\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dtl\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"OverLimitDTL\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"debt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"OverLimitQuota\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RateChangeInProcess\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"agentAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"}],\"name\":\"CredentialUsed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"Defaulted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agentID\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"faultEpoch\",\"type\":\"uint256\"}],\"name\":\"FaultySectors\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"OnAdministration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"_VERIFIABLE_CREDENTIAL_TYPE_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"accountLevel\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"agentApproved\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"agentLiquidated\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"borrowDTL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"confirmRmAdministration\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"confirmRmEquity\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"credentialUsed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"deriveStructHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"digest\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"distributeLiquidatedFunds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agent\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"isValidCredential\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"levels\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidationDTL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidationFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxMiners\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOperator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"liquidator\",\"type\":\"uint64\"}],\"name\":\"prepareMinerForLiquidation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"administration\",\"type\":\"address\"}],\"name\":\"putAgentOnAdministration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"recover\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"registerCredentialUseBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sectorFaultyTolerancePercent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"setAgentDefaultDTL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"agentIDs\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"level\",\"type\":\"uint256[]\"}],\"name\":\"setAgentLevels\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_borrowDTL\",\"type\":\"uint256\"}],\"name\":\"setBorrowDTL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[10]\",\"name\":\"_levels\",\"type\":\"uint256[10]\"}],\"name\":\"setLevels\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_liquidationDTL\",\"type\":\"uint256\"}],\"name\":\"setLiquidationDTL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_liquidationFee\",\"type\":\"uint256\"}],\"name\":\"setLiquidationFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_maxMiners\",\"type\":\"uint32\"}],\"name\":\"setMaxMiners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_sectorFaultyTolerancePercent\",\"type\":\"uint256\"}],\"name\":\"setSectorFaultyTolerancePercent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOperator\",\"type\":\"address\"}],\"name\":\"transferOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agent\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignedCredential\",\"name\":\"sc\",\"type\":\"tuple\"}],\"name\":\"validateCred\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x66038d7ea4c6800060085567016345785d8a0000600955600a805463ffffffff1916603217815561030060405269152d02c7e14af68000006101c09081526934f086f3b33b684000006101e0526969e10de76676d08000006102005269d3c21bcecceda1000000610220526a01a784379d99db42000000610240526a027b46536c66c8e3000000610260526a034f086f3b33b684000000610280526a0422ca8b0a00a4250000006102a0526a04f68ca6d8cd91c60000006102c0526a06342fd08f00f6378000006102e052620000d991600c9190620005f8565b50348015620000e6575f80fd5b5060405162004f3c38038062004f3c83398101604081905262000109916200073e565b82828187878582826200011d825f62000354565b610120526200012e81600162000354565b61014052815160208084019190912060e052815190820120610100524660a052620001bb60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805250503060c0526001600160a01b0390811661016052620001e39250831690506200038c565b90506001600160a01b0381166200020d57604051635435b28960e11b815260040160405180910390fd5b6200021881620003d6565b506200022d6001600160a01b0382166200038c565b90506001600160a01b0381166200025757604051635435b28960e11b815260040160405180910390fd5b62000262816200041d565b50506005805460ff60a01b19169055670a688906bd8b0000600655670bcbce7f1b15000060075560408051808201825260118152702927aaaa22a92faba324a62faa27a5a2a760791b60209091015251630d37324f60e11b815263aee0a13560e01b60048201526001600160a01b03821690631a6e649e90602401602060405180830381865afa158015620002f9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200031f9190620007da565b6001600160a01b031661018052610160516200033b9062000464565b6001600160a01b03166101a05250620009a99350505050565b5f60208351101562000373576200036b8362000508565b905062000386565b8162000380848262000889565b5060ff90505b92915050565b5f80806200039a8462000553565b9150915081620003ac57509192915050565b5f80620003b98362000585565b9150915081620003cd575093949350505050565b95945050505050565b600380546001600160a01b0319169055620003fa6001600160a01b0382166200038c565b600280546001600160a01b0319166001600160a01b039290921691909117905550565b600580546001600160a01b0319169055620004416001600160a01b0382166200038c565b600480546001600160a01b0319166001600160a01b039290921691909117905550565b604080518082018252601581527f524f555445525f4d494e45525f5245474953545259000000000000000000000060209091015251630d37324f60e11b8152635324607160e01b60048201525f906001600160a01b03831690631a6e649e90602401602060405180830381865afa158015620004e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620003869190620007da565b5f80829050601f815111156200053e578260405163305a27a960e01b815260040162000535919062000951565b60405180910390fd5b80516200054b8262000985565b179392505050565b5f80600160401b600160a01b03831660ff60981b81036200057f57600192506001600160401b03841691505b50915091565b5f80825f526016600a60205f73fe000000000000000000000000000000000000025afa91505f51806001600160a01b031691508060a01c61ffff16905061040a8114620005d3575f92505f91505b50811580620005e357503d601614155b15620005f357505f928392509050565b915091565b82600a810192821562000634579160200282015b828111156200063457825182906001600160581b03169055916020019190600101906200060c565b506200064292915062000646565b5090565b5b8082111562000642575f815560010162000647565b634e487b7160e01b5f52604160045260245ffd5b5f5b838110156200068c57818101518382015260200162000672565b50505f910152565b5f82601f830112620006a4575f80fd5b81516001600160401b0380821115620006c157620006c16200065c565b604051601f8301601f19908116603f01168101908282118183101715620006ec57620006ec6200065c565b8160405283815286602085880101111562000705575f80fd5b6200071884602083016020890162000670565b9695505050505050565b80516001600160a01b038116811462000739575f80fd5b919050565b5f805f805f60a0868803121562000753575f80fd5b85516001600160401b03808211156200076a575f80fd5b6200077889838a0162000694565b965060208801519150808211156200078e575f80fd5b506200079d8882890162000694565b945050620007ae6040870162000722565b9250620007be6060870162000722565b9150620007ce6080870162000722565b90509295509295909350565b5f60208284031215620007eb575f80fd5b620007f68262000722565b9392505050565b600181811c908216806200081257607f821691505b6020821081036200083157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000884575f81815260208120601f850160051c810160208610156200085f5750805b601f850160051c820191505b8181101562000880578281556001016200086b565b5050505b505050565b81516001600160401b03811115620008a557620008a56200065c565b620008bd81620008b68454620007fd565b8462000837565b602080601f831160018114620008f3575f8415620008db5750858301515b5f19600386901b1c1916600185901b17855562000880565b5f85815260208120601f198616915b82811015620009235788860151825594840194600190910190840162000902565b50858210156200094157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b602081525f82518060208401526200097181604085016020870162000670565b601f01601f19169190910160400192915050565b8051602080830151919081101562000831575f1960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516144b362000a895f395f81816119fa01528181613050015261312e01525f8181611323015281816113fb01528181611519015281816115cf015281816116c8015281816118120152612fd701525f818161083501528181610d1d01528181610f550152818161160e015281816118510152818161213c015281816121ed015281816123bf015261270901525f612b6c01525f612b4001525f61377a01525f61375201525f6136ad01525f6136d701525f61370101526144b35ff3fe608060405234801561000f575f80fd5b50600436106102cd575f3560e01c806376048dc41161017c578063a2f3c210116100dd578063db6fccda11610093578063f2fde38b1161006e578063f2fde38b14610616578063fcad444814610629578063fef0bec814610631575f80fd5b8063db6fccda146105be578063e30c3978146105e3578063e5a8a2cb14610603575f80fd5b8063ac7e534e116100c3578063ac7e534e14610578578063b2596a6714610598578063b4e45883146105ab575f80fd5b8063a2f3c2101461055c578063a36a36301461056f575f80fd5b80638830d8c3116101325780639b83b8cd116101185780639b83b8cd146105175780639c18625f1461052a578063a0c9119a14610549575f80fd5b80638830d8c3146104e45780638da5cb5b146104f7575f80fd5b80637a018032116101625780637a018032146104ae5780638456cb59146104c157806384b0196e146104c9575f80fd5b806376048dc41461049357806379ba5097146104a6575f80fd5b8063472910d811610231578063570ca735116101e75780635e7981de116101c25780635e7981de14610464578063680af724146104775780636ec87bd01461048a575f80fd5b8063570ca7351461040e5780635c975abb1461042e5780635cf6862f14610451575f80fd5b8063516921491161021757806351692149146103c5578063529e2512146103e85780635654657a146103fb575f80fd5b8063472910d81461037a5780634ead15271461038d575f80fd5b80632b85012b116102865780633f4ba83a1161026c5780633f4ba83a1461034c578063403bb79d1461035457806340444c7c14610367575f80fd5b80632b85012b1461033b5780633727948814610343575f80fd5b8063260e63c6116102b6578063260e63c61461030c57806329605e771461031f57806329865d2a14610332575f80fd5b80630e927f74146102d15780631f2218de146102e6575b5f80fd5b6102e46102df36600461398d565b610644565b005b6102f96102f43660046139ed565b6109a2565b6040519081526020015b60405180910390f35b6102e461031a3660046139ed565b6109c7565b6102e461032d366004613a25565b6109ea565b6102f960065481565b6102f9610a39565b6102f960085481565b6102e4610a7b565b6102e4610362366004613cc4565b610a8d565b6102f9610375366004613d17565b610b7c565b6102e4610388366004613d49565b610ccd565b6103a061039b366004613d60565b610cda565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610303565b6103d86103d3366004613d49565b610d04565b6040519015158152602001610303565b6102e46103f6366004613d60565b610d18565b6102e46104093660046139ed565b610e9d565b6004546103a09073ffffffffffffffffffffffffffffffffffffffff1681565b60055474010000000000000000000000000000000000000000900460ff166103d8565b6102e461045f3660046139ed565b610f4f565b6102e4610472366004613d92565b6110de565b6102e4610485366004613d49565b611912565b6102f960075481565b6102e46104a1366004613dbc565b61191f565b6102e4611ab1565b6102e46104bc366004613e05565b611b0b565b6102e4611d64565b6104d1611d74565b6040516103039796959493929190613ebd565b6102e46104f2366004613f7a565b611dd2565b6002546103a09073ffffffffffffffffffffffffffffffffffffffff1681565b6102e4610525366004613f9d565b611e11565b6102f9610538366004613d49565b60166020525f908152604090205481565b6102e461055736600461401b565b611ea1565b6102f961056a366004613d17565b611f45565b6102f960095481565b6005546103a09073ffffffffffffffffffffffffffffffffffffffff1681565b6102f96105a6366004613d49565b611f57565b6102e46105b9366004613d49565b611f6d565b600a546105ce9063ffffffff1681565b60405163ffffffff9091168152602001610303565b6003546103a09073ffffffffffffffffffffffffffffffffffffffff1681565b6102e4610611366004614082565b611f7a565b6102e4610624366004613a25565b611f93565b6102e4612002565b6102e461063f366004613d49565b61205c565b61064c612069565b6106546120ba565b73ffffffffffffffffffffffffffffffffffffffff16630c7290f26040518163ffffffff1660e01b815260040160a060405180830381865afa15801561069c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c091906140b9565b60800151156106fb576040517f6aefdaab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107988373ffffffffffffffffffffffffffffffffffffffff1663af640d0f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610747573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076b919061412b565b7fffffffff000000000000000000000000000000000000000000000000000000005f351661036285614142565b5f61085e6107b26107a9858061414d565b602001356121bf565b6107bc858061414d565b6107c46120ba565b73ffffffffffffffffffffffffffffffffffffffff1663679aefce6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561080c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610830919061412b565b6108597f0000000000000000000000000000000000000000000000000000000000000000612213565b6122f4565b5050905060065481101561089e576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff16639e4d74cc6108d98473ffffffffffffffffffffffffffffffffffffffff1661236d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff90911660048201526024015f604051808303815f87803b15801561093c575f80fd5b505af115801561094e573d5f803e3d5ffd5b505060405173ffffffffffffffffffffffffffffffffffffffff871681527fcd2997877d26346cc62bc950a5d0a8a22f65bed07abe918de90bd967f79718c29250602001905060405180910390a150505050565b5f600b816109b261056a85614189565b81526020019081526020015f20549050919050565b6109e733826109d984602001356121bf565b6109e16120ba565b5f6123b1565b50565b6109f2612069565b600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6040518060c00160405280609681526020016143e860969139604051602001610a629190614194565b6040516020818303038152906040528051906020012081565b610a83612069565b610a8b6125f1565b565b5f610a9782610cda565b82515190915073ffffffffffffffffffffffffffffffffffffffff8083169116141580610aca5750610ac88161266e565b155b80610ada57508151602001518414155b80610b0f5750815160a001517fffffffff00000000000000000000000000000000000000000000000000000000848116911614155b80610b3157508151604001514310801590610b2f57508151606001514311155b155b80610b3f5750815160200151155b15610b76576040517fcaa03ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b5f6040518060c00160405280609681526020016143e860969139604051602001610ba69190614194565b60405160208183030381529060405280519060200120825f015183602001518460400151856060015186608001518760a001518860c001518960e00151604051602001610bf39190614194565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083019a909a5273ffffffffffffffffffffffffffffffffffffffff909816978101979097526060870195909552608086019390935260a085019190915260c08401527fffffffff000000000000000000000000000000000000000000000000000000001660e083015267ffffffffffffffff1661010082015261012081019190915261014001604051602081830303815290604052805190602001209050919050565b610cd5612069565b600755565b5f610cfe610cea835f0151611f45565b836020015184604001518560600151612791565b92915050565b5f610d0e826121bf565b6060015192915050565b610d427f0000000000000000000000000000000000000000000000000000000000000000336127bd565b805f0151602001513373ffffffffffffffffffffffffffffffffffffffff1663af640d0f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db7919061412b565b14610dee576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b43600b5f610dfe845f0151611f45565b815260208082019290925260409081015f2092909255825160a081015181830151608083015160c09093015185513381529485019390935267ffffffffffffffff9092168385015292517fffffffff000000000000000000000000000000000000000000000000000000009093169290917f700450a0d828409c6031b95d040684b8a2eba879416b6960dfa8c818f245ddf4919081900360600190a350565b5f610eab82602001356121bf565b90505f610eb66120ba565b9050608083013515610ed857610ed33384848487608001356123b1565b505050565b5f610ee960e0850160c086016141a5565b67ffffffffffffffff161115610f1d57610ed333848484610f18610f1360e0850160c086016141a5565b61288c565b6123b1565b6040517fcaa03ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f610f797f0000000000000000000000000000000000000000000000000000000000000000612213565b90505f805f611009610f8e86602001356121bf565b86610f976120ba565b73ffffffffffffffffffffffffffffffffffffffff1663679aefce6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611003919061412b565b876122f4565b92509250925060065483111561106c576006546040517f0203b0e600000000000000000000000000000000000000000000000000000000815260048101849052602481018390526044810185905260648101919091526084015b60405180910390fd5b5f808061108161107b89614189565b88612908565b92509250925080156110d4576008546040517f4c1b369700000000000000000000000000000000000000000000000000000000815260048101859052602481018490526044810191909152606401611063565b5050505050505050565b6110e6612069565b6110ee6120ba565b73ffffffffffffffffffffffffffffffffffffffff16630c7290f26040518163ffffffff1660e01b815260040160a060405180830381865afa158015611136573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115a91906140b9565b6080015115611195576040517f6aefdaab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166369e25ec16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120291906141c0565b611238576040517f06dac5ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8273ffffffffffffffffffffffffffffffffffffffff1663af640d0f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611282573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a6919061412b565b90506112b181610d04565b156112e8576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906323b872dd906064016020604051808303815f875af115801561137e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113a291906141c0565b505f6113ac6120ba565b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8083166004830152602482018690529192507f00000000000000000000000000000000000000000000000000000000000000009091169063095ea7b3906044016020604051808303815f875af1158015611443573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146791906141c0565b506040517fc564f772000000000000000000000000000000000000000000000000000000008152600481018390526024810184905273ffffffffffffffffffffffffffffffffffffffff82169063c564f772906044015f604051808303815f87803b1580156114d4575f80fd5b505af11580156114e6573d5f803e3d5ffd5b50506040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201525f92507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1691506370a0823190602401602060405180830381865afa158015611574573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611598919061412b565b9050801561190b575f6115ab8286614206565b90505f6115c36009548361297a90919063ffffffff16565b905080831115611810577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6116327f0000000000000000000000000000000000000000000000000000000000000000612995565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602481018490526044016020604051808303815f875af11580156116a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c591906141c0565b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8873ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561174b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176f9190614219565b6117798487614206565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303815f875af11580156117e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061180a91906141c0565b50611908565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6118757f0000000000000000000000000000000000000000000000000000000000000000612995565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602481018690526044016020604051808303815f875af11580156118e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d491906141c0565b50505b5050505050565b61191a612069565b600855565b61192d838361036284614142565b5f61193b6102f4838061414d565b1115611973576040517fcaa03ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffff0000000000000000000000000000000000000000000000000000000082167f2bb9af4300000000000000000000000000000000000000000000000000000000148015611a7a5750600a546040517fe34413650000000000000000000000000000000000000000000000000000000081526004810185905263ffffffff909116907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e344136590602401602060405180830381865afa158015611a54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a78919061412b565b115b15610ed3576040517f189bdc8d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60035473ffffffffffffffffffffffffffffffffffffffff163314611b02576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a8b33612a3b565b611b13612069565b611b1b6120ba565b73ffffffffffffffffffffffffffffffffffffffff16630c7290f26040518163ffffffff1660e01b815260040160a060405180830381865afa158015611b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8791906140b9565b6080015115611bc2576040517f6aefdaab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c5f8273ffffffffffffffffffffffffffffffffffffffff1663af640d0f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c32919061412b565b7fffffffff000000000000000000000000000000000000000000000000000000005f351661036284614142565b5f611c7a611c706107a9848061414d565b6107bc848061414d565b50509050600754811015611cba576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663615d92116040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611cff575f80fd5b505af1158015611d11573d5f803e3d5ffd5b505060405173ffffffffffffffffffffffffffffffffffffffff861681527f0be58193d1ccca9f578279acffb21de6a55ce255b7c4901d2d3f4fbcd15db8b19250602001905060405180910390a1505050565b611d6c612069565b610a8b612aca565b5f6060805f805f6060611d85612b39565b611d8d612b65565b604080515f808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b611dda612b92565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff92909216919091179055565b611e19612069565b6040517ff794a92300000000000000000000000000000000000000000000000000000000815267ffffffffffffffff80841660048301528216602482015273ffffffffffffffffffffffffffffffffffffffff84169063f794a923906044015f604051808303815f87803b158015611e8f575f80fd5b505af1158015611908573d5f803e3d5ffd5b611ea9612069565b828114611ee2576040517fa86b651200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8381101561190b57828282818110611efe57611efe614234565b9050602002013560165f878785818110611f1a57611f1a614234565b9050602002013581526020019081526020015f20819055508080611f3d90614261565b915050611ee4565b5f610cfe611f5283610b7c565b612c09565b600c81600a8110611f66575f80fd5b0154905081565b611f75612069565b600655565b611f82612b92565b611f8f600c82600a6138f4565b5050565b611f9b612069565b611fba8173ffffffffffffffffffffffffffffffffffffffff1661236d565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b60055473ffffffffffffffffffffffffffffffffffffffff163314612053576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a8b33612c50565b612064612069565b600955565b60025473ffffffffffffffffffffffffffffffffffffffff163314610a8b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082018252601481527f524f555445525f494e46494e4954595f504f4f4c000000000000000000000000602090910152517f1a6e649e0000000000000000000000000000000000000000000000000000000081527f392104570000000000000000000000000000000000000000000000000000000060048201525f907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690631a6e649e90602401602060405180830381865afa158015612196573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ba9190614219565b905090565b6121e860405180608001604052805f81526020015f81526020015f81526020015f151581525090565b610cfe7f0000000000000000000000000000000000000000000000000000000000000000835f612cdf565b604080518082018252601281527f524f555445525f435245445f5041525345520000000000000000000000000000602090910152517f1a6e649e0000000000000000000000000000000000000000000000000000000081527fd26df3b70000000000000000000000000000000000000000000000000000000060048201525f9073ffffffffffffffffffffffffffffffffffffffff831690631a6e649e906024015b602060405180830381865afa1580156122d0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfe9190614219565b5f805f6123018786612da4565b91506123168461231088614189565b90612dc3565b9050815f03612327575f9250612363565b805f03612356577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9250612363565b6123608282612e59565b92505b9450945094915050565b5f805f61237984612e6d565b915091508161238a57509192915050565b5f8061239583612eb9565b91509150816123a8575093949350505050565b95945050505050565b6123b9612f36565b5f6123e37f0000000000000000000000000000000000000000000000000000000000000000612213565b60208501519091505f8190036123fa57505061190b565b5f805f612475888a8973ffffffffffffffffffffffffffffffffffffffff1663679aefce6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561244b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061246f919061412b565b886122f4565b92509250925061248b8a8a602001358389612f8b565b6006548311156124e3576006546040517f0203b0e60000000000000000000000000000000000000000000000000000000081526004810184905260248101839052604481018590526064810191909152608401611063565b5f80806124f86124f28d614189565b89612908565b925092509250801561254b576008546040517f4c1b369700000000000000000000000000000000000000000000000000000000815260048101859052602481018490526044810191909152606401611063565b600c60165f8e6020013581526020019081526020015f2054600a811061257357612573614234565b01548511156125e25784600c60165f8f6020013581526020019081526020015f2054600a81106125a5576125a5614234565b01546040517f9598576400000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401611063565b50505050505050505050505050565b6125f9613217565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b604080518082018252601081527f524f555445525f56435f49535355455200000000000000000000000000000000602090910152517f1a6e649e0000000000000000000000000000000000000000000000000000000081527f1603a47a0000000000000000000000000000000000000000000000000000000060048201525f9073ffffffffffffffffffffffffffffffffffffffff838116917f000000000000000000000000000000000000000000000000000000000000000090911690631a6e649e90602401602060405180830381865afa158015612750573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127749190614219565b73ffffffffffffffffffffffffffffffffffffffff161492915050565b5f805f806127a18888888861326b565b9250925092506127b1828261335a565b50909695505050505050565b6127c68261345d565b6040517f1ffbb06400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301529190911690631ffbb06490602401602060405180830381865afa158015612832573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061285691906141c0565b611f8f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fff0000000000000000000000000000000000000000000000000000000000000060208201527fffffffffffffffff00000000000000000000000000000000000000000000000060c083901b16602c8201525f906034016040516020818303038152906040526128fe90614298565b60601c3192915050565b5f80806129158585613503565b9250612921858561355a565b91508115801561292f575082155b1561293b57505f612973565b8115801561294857505f83115b1561295557506001612973565b6008546129628484612e59565b111561297057506001612973565b505f5b9250925092565b5f61298e8383670de0b6b3a76400006135b1565b9392505050565b604080518082018252600f81527f524f555445525f54524541535552590000000000000000000000000000000000602090910152517f1a6e649e0000000000000000000000000000000000000000000000000000000081527fa1858d5f0000000000000000000000000000000000000000000000000000000060048201525f9073ffffffffffffffffffffffffffffffffffffffff831690631a6e649e906024016122b5565b600380547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055612a8273ffffffffffffffffffffffffffffffffffffffff821661236d565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b612ad2612f36565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126443390565b60606121ba7f00000000000000000000000000000000000000000000000000000000000000005f6135eb565b60606121ba7f000000000000000000000000000000000000000000000000000000000000000060016135eb565b60045473ffffffffffffffffffffffffffffffffffffffff163314801590612bd2575060025473ffffffffffffffffffffffffffffffffffffffff163314155b15610a8b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f610cfe612c15613694565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055612c9773ffffffffffffffffffffffffffffffffffffffff821661236d565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b612d0860405180608001604052805f81526020015f81526020015f81526020015f151581525090565b6040517f6361f6de000000000000000000000000000000000000000000000000000000008152600481018490526024810183905273ffffffffffffffffffffffffffffffffffffffff851690636361f6de90604401608060405180830381865afa158015612d78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d9c91906142e7565b949350505050565b5f80612db084846137ca565b509050808460200151612d9c919061432f565b60e08201516040517f1b2b5fad0000000000000000000000000000000000000000000000000000000081525f9173ffffffffffffffffffffffffffffffffffffffff841691631b2b5fad91612e1a91600401614342565b602060405180830381865afa158015612e35573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061298e919061412b565b5f61298e83670de0b6b3a7640000846135b1565b5f8073ffffffffffffffffffffffff0000000000000000831673ff000000000000000000000000000000000000008103612eb3576001925067ffffffffffffffff841691505b50915091565b5f80825f526016600a60205f73fe000000000000000000000000000000000000025afa91505f518073ffffffffffffffffffffffffffffffffffffffff1691508060a01c61ffff16905061040a8114612f13575f92505f91505b50811580612f2257503d601614155b15612f3157505f928392509050565b915091565b60055474010000000000000000000000000000000000000000900460ff1615610a8b576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808616600483018190525f929031917f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa15801561301c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613040919061412b565b61304a919061432f565b90505f807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e3441365876040518263ffffffff1660e01b81526004016130a991815260200190565b602060405180830381865afa1580156130c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130e8919061412b565b90505f5b818110156131ca576040517f3d874d9f00000000000000000000000000000000000000000000000000000000815260048101889052602481018290526131ac907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690633d874d9f90604401602060405180830381865afa158015613188573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f139190614354565b6131b6908461432f565b9250806131c281614261565b9150506130ec565b506131d5828461432f565b6131df858761432f565b1115611908576040517fb750281700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055474010000000000000000000000000000000000000000900460ff16610a8b576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411156132a457505f91506003905082612363565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156132f5573d5f803e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661334b57505f925060019150829050612363565b975f9750879650945050505050565b5f82600381111561336d5761336d61436f565b03613376575050565b600182600381111561338a5761338a61436f565b036133c1576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028260038111156133d5576133d561436f565b0361340f576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401611063565b60038260038111156134235761342361436f565b03611f8f576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401611063565b604080518082018252601481527f524f555445525f4147454e545f464143544f5259000000000000000000000000602090910152517f1a6e649e0000000000000000000000000000000000000000000000000000000081527f29f616da0000000000000000000000000000000000000000000000000000000060048201525f9073ffffffffffffffffffffffffffffffffffffffff831690631a6e649e906024016122b5565b60e08201516040517f07124c060000000000000000000000000000000000000000000000000000000081525f9173ffffffffffffffffffffffffffffffffffffffff8416916307124c0691612e1a91600401614342565b60e08201516040517f402ed8cb0000000000000000000000000000000000000000000000000000000081525f9173ffffffffffffffffffffffffffffffffffffffff84169163402ed8cb91612e1a91600401614342565b5f827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04841183021582026135e4575f80fd5b5091020490565b606060ff8314613605576135fe836137e3565b9050610cfe565b8180546136119061439c565b80601f016020809104026020016040519081016040528092919081815260200182805461363d9061439c565b80156136885780601f1061365f57610100808354040283529160200191613688565b820191905f5260205f20905b81548152906001019060200180831161366b57829003601f168201915b50505050509050610cfe565b5f3073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480156136f957507f000000000000000000000000000000000000000000000000000000000000000046145b1561372357507f000000000000000000000000000000000000000000000000000000000000000090565b6121ba604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b5f806137d7848443613820565b915091505b9250929050565b60605f6137ef83613856565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f805f8560400151846138339190614206565b905061383f8686613896565b915061384b82826138a3565b925050935093915050565b5f60ff8216601f811115610cfe576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208201515f9061298e90835b5f61298e8383670de0b6b3a76400005f827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04841183021582026138e5575f80fd5b50910281810615159190040190565b82600a8101928215613922579160200282015b82811115613922578235825591602001919060010190613907565b5061392e929150613932565b5090565b5b8082111561392e575f8155600101613933565b73ffffffffffffffffffffffffffffffffffffffff811681146109e7575f80fd5b803561397281613946565b919050565b5f60808284031215613987575f80fd5b50919050565b5f805f6060848603121561399f575f80fd5b83356139aa81613946565b9250602084013567ffffffffffffffff8111156139c5575f80fd5b6139d186828701613977565b92505060408401356139e281613946565b809150509250925092565b5f602082840312156139fd575f80fd5b813567ffffffffffffffff811115613a13575f80fd5b8201610100818503121561298e575f80fd5b5f60208284031215613a35575f80fd5b813561298e81613946565b80357fffffffff0000000000000000000000000000000000000000000000000000000081168114613972575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b604051610100810167ffffffffffffffff81118282101715613ac057613ac0613a6f565b60405290565b6040516080810167ffffffffffffffff81118282101715613ac057613ac0613a6f565b67ffffffffffffffff811681146109e7575f80fd5b803561397281613ae9565b5f82601f830112613b18575f80fd5b813567ffffffffffffffff80821115613b3357613b33613a6f565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613b7957613b79613a6f565b81604052838152866020858801011115613b91575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f6101008284031215613bc1575f80fd5b613bc9613a9c565b9050613bd482613967565b815260208201356020820152604082013560408201526060820135606082015260808201356080820152613c0a60a08301613a40565b60a0820152613c1b60c08301613afe565b60c082015260e082013567ffffffffffffffff811115613c39575f80fd5b613c4584828501613b09565b60e08301525092915050565b5f60808284031215613c61575f80fd5b613c69613ac6565b9050813567ffffffffffffffff811115613c81575f80fd5b613c8d84828501613bb0565b825250602082013560ff81168114613ca3575f80fd5b80602083015250604082013560408201526060820135606082015292915050565b5f805f60608486031215613cd6575f80fd5b83359250613ce660208501613a40565b9150604084013567ffffffffffffffff811115613d01575f80fd5b613d0d86828701613c51565b9150509250925092565b5f60208284031215613d27575f80fd5b813567ffffffffffffffff811115613d3d575f80fd5b612d9c84828501613bb0565b5f60208284031215613d59575f80fd5b5035919050565b5f60208284031215613d70575f80fd5b813567ffffffffffffffff811115613d86575f80fd5b612d9c84828501613c51565b5f8060408385031215613da3575f80fd5b8235613dae81613946565b946020939093013593505050565b5f805f60608486031215613dce575f80fd5b83359250613dde60208501613a40565b9150604084013567ffffffffffffffff811115613df9575f80fd5b613d0d86828701613977565b5f8060408385031215613e16575f80fd5b8235613e2181613946565b9150602083013567ffffffffffffffff811115613e3c575f80fd5b613e4885828601613977565b9150509250929050565b5f5b83811015613e6c578181015183820152602001613e54565b50505f910152565b5f8151808452613e8b816020860160208601613e52565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b7fff00000000000000000000000000000000000000000000000000000000000000881681525f602060e081840152613ef860e084018a613e74565b8381036040850152613f0a818a613e74565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c086015285518082528387019250908301905f5b81811015613f6857835183529284019291840191600101613f4c565b50909c9b505050505050505050505050565b5f60208284031215613f8a575f80fd5b813563ffffffff8116811461298e575f80fd5b5f805f60608486031215613faf575f80fd5b8335613fba81613946565b92506020840135613fca81613ae9565b915060408401356139e281613ae9565b5f8083601f840112613fea575f80fd5b50813567ffffffffffffffff811115614001575f80fd5b6020830191508360208260051b85010111156137dc575f80fd5b5f805f806040858703121561402e575f80fd5b843567ffffffffffffffff80821115614045575f80fd5b61405188838901613fda565b90965094506020870135915080821115614069575f80fd5b5061407687828801613fda565b95989497509550505050565b5f610140808385031215614094575f80fd5b8381840111156140a2575f80fd5b509092915050565b80518015158114613972575f80fd5b5f60a082840312156140c9575f80fd5b60405160a0810181811067ffffffffffffffff821117156140ec576140ec613a6f565b80604052508251815260208301516020820152604083015160408201526060830151606082015261411f608084016140aa565b60808201529392505050565b5f6020828403121561413b575f80fd5b5051919050565b5f610cfe3683613c51565b5f82357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0183360301811261417f575f80fd5b9190910192915050565b5f610cfe3683613bb0565b5f825161417f818460208701613e52565b5f602082840312156141b5575f80fd5b813561298e81613ae9565b5f602082840312156141d0575f80fd5b61298e826140aa565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b81810381811115610cfe57610cfe6141d9565b5f60208284031215614229575f80fd5b815161298e81613946565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614291576142916141d9565b5060010190565b5f815160208301517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000808216935060148310156142df5780818460140360031b1b83161693505b505050919050565b5f608082840312156142f7575f80fd5b6142ff613ac6565b825181526020830151602082015260408301516040820152614323606084016140aa565b60608201529392505050565b80820180821115610cfe57610cfe6141d9565b602081525f61298e6020830184613e74565b5f60208284031215614364575f80fd5b815161298e81613ae9565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600181811c908216806143b057607f821691505b602082108103613987577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffdfe56657269666961626c6543726564656e7469616c2861646472657373206973737565722c75696e74323536207375626a6563742c75696e743235362065706f63684973737565642c75696e743235362065706f636856616c6964556e74696c2c75696e743235362076616c75652c62797465733420616374696f6e2c75696e743634207461726765742c627974657320636c61696d29a2646970667358221220d04c74663c3dd6783588683125aae3c800fd7bc5222886d0873f60f173789e4864736f6c63430008150033",
}
AgentPoliceV2MetaData contains all meta data concerning the AgentPoliceV2 contract.
var CredParserABI = CredParserMetaData.ABI
CredParserABI is the input ABI used to generate the binding from. Deprecated: Use CredParserMetaData.ABI instead.
var CredParserMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getAgentValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getCollateralValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getExpectedDailyRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getFaultySectors\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getGCRED\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getGreenScore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getLiveSectors\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getPrincipal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_agentData\",\"type\":\"bytes\"}],\"name\":\"getQAPower\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}
CredParserMetaData contains all meta data concerning the CredParser contract.
var FilForwarderABI = FilForwarderMetaData.ABI
FilForwarderABI is the input ABI used to generate the binding from. Deprecated: Use FilForwarderMetaData.ABI instead.
var FilForwarderMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"errorCode\",\"type\":\"int256\"}],\"name\":\"ActorError\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailToCallActor\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"addr\",\"type\":\"bytes\"}],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"InvalidCodec\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidResponseLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"NotEnoughBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"destination\",\"type\":\"bytes\"}],\"name\":\"forward\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}
FilForwarderMetaData contains all meta data concerning the FilForwarder contract.
var InfinityPoolV2ABI = InfinityPoolV2MetaData.ABI
InfinityPoolV2ABI is the input ABI used to generate the binding from. Deprecated: Use InfinityPoolV2MetaData.ABI instead.
var InfinityPoolV2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"router_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"liquidStakingToken_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minimumLiquidity_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"id_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccountDNE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDefaulted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EnforcedPause\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExpectedPause\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientFunds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientLiquidity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolShuttingDown\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epochsPaidCursor\",\"type\":\"uint256\"}],\"name\":\"Borrow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"interest\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epochsPaidCursor\",\"type\":\"uint256\"}],\"name\":\"Pay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newEarnings\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAssets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBorrowed\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assetBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"iFILPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"iFILSupply\",\"type\":\"uint256\"}],\"name\":\"UpdateAccounting\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"recoveredFunds\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lostFunds\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lostTFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"interestPaid\",\"type\":\"uint256\"}],\"name\":\"WriteOff\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPools\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allPoolsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"borrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"continueRateUpdate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"credParser\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPool\",\"type\":\"address\"}],\"name\":\"decommissionPool\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"borrowedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAbsMinLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"getAgentBorrowed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"getAgentDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"getAgentInterestOwed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLiquidAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"harvestAmount\",\"type\":\"uint256\"}],\"name\":\"harvestFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"id\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isShuttingDown\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accountPrincipal\",\"type\":\"uint256\"}],\"name\":\"jumpStartAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"jumpStartTotalBorrowed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastAccountingUpdateEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidStakingToken\",\"outputs\":[{\"internalType\":\"contractIPoolToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lm\",\"outputs\":[{\"internalType\":\"contractILiquidityMineSP\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpRewards\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"accrued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lost\",\"type\":\"uint256\"}],\"internalType\":\"structRewardAccrual\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subject\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochIssued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochValidUntil\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"},{\"internalType\":\"uint64\",\"name\":\"target\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"claim\",\"type\":\"bytes\"}],\"internalType\":\"structVerifiableCredential\",\"name\":\"vc\",\"type\":\"tuple\"}],\"name\":\"pay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principalPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"refund\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rateUpdate\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"totalAccountsAtUpdate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAccountsClosed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newRate\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"inProcess\",\"type\":\"bool\"}],\"internalType\":\"structRateUpdate\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"recoverERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"recoverFIL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"redeemF\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"redeemF\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refreshRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_liquidityMine\",\"type\":\"address\"}],\"name\":\"setLiquidityMine\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAccountsToUpdatePerBatch_\",\"type\":\"uint256\"}],\"name\":\"setMaxAccountsToUpdatePerBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumLiquidity\",\"type\":\"uint256\"}],\"name\":\"setMinimumLiquidity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_treasuryFeeRate\",\"type\":\"uint256\"}],\"name\":\"setTreasuryFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"shutDown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"rentalFeesOwedPerEpoch_\",\"type\":\"uint256\"}],\"name\":\"startRateUpdate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBorrowableAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBorrowed\",\"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\":[],\"name\":\"treasuryFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasuryFeesOwed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasuryRewards\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"accrued\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lost\",\"type\":\"uint256\"}],\"internalType\":\"structRewardAccrual\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateAccounting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateCredParser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawF\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withdrawF\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"recoveredFunds\",\"type\":\"uint256\"}],\"name\":\"writeOff\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "",
}
InfinityPoolV2MetaData contains all meta data concerning the InfinityPoolV2 contract.
var MinerRegistryABI = MinerRegistryMetaData.ABI
MinerRegistryABI is the input ABI used to generate the binding from. Deprecated: Use MinerRegistryMetaData.ABI instead.
var MinerRegistryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"},{\"internalType\":\"contractIAgentFactory\",\"name\":\"_agentFactory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"AddMiner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"RemoveMiner\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"addMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getMiner\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"minerRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"}],\"name\":\"minersCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refreshRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"miner\",\"type\":\"uint64\"}],\"name\":\"removeMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
MinerRegistryMetaData contains all meta data concerning the MinerRegistry contract.
var PoolTokenABI = PoolTokenMetaData.ABI
PoolTokenABI is the input ABI used to generate the binding from. Deprecated: Use PoolTokenMetaData.ABI instead.
var PoolTokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"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\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"burner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_burner\",\"type\":\"address\"}],\"name\":\"setBurner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"}],\"name\":\"setMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
PoolTokenMetaData contains all meta data concerning the PoolToken contract.
var RouterABI = RouterMetaData.ABI
RouterABI is the input ABI used to generate the binding from. Deprecated: Use RouterMetaData.ABI instead.
var RouterMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RouteDNE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newRoute\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"id\",\"type\":\"bytes4\"}],\"name\":\"PushRoute\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"createAccountKey\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"}],\"name\":\"getAccount\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"defaulted\",\"type\":\"bool\"}],\"internalType\":\"structAccount\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"id\",\"type\":\"bytes4\"}],\"name\":\"getRoute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"}],\"name\":\"getRoute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"newRoute\",\"type\":\"address\"}],\"name\":\"pushRoute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"id\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"newRoute\",\"type\":\"address\"}],\"name\":\"pushRoute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"ids\",\"type\":\"string[]\"},{\"internalType\":\"address[]\",\"name\":\"newRoutes\",\"type\":\"address[]\"}],\"name\":\"pushRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4[]\",\"name\":\"ids\",\"type\":\"bytes4[]\"},{\"internalType\":\"address[]\",\"name\":\"newRoutes\",\"type\":\"address[]\"}],\"name\":\"pushRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"name\":\"route\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"agentID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"principal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPaid\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"defaulted\",\"type\":\"bool\"}],\"internalType\":\"structAccount\",\"name\":\"account\",\"type\":\"tuple\"}],\"name\":\"setAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
RouterMetaData contains all meta data concerning the Router contract.
var UpgradeToV2ABI = UpgradeToV2MetaData.ABI
UpgradeToV2ABI is the input ABI used to generate the binding from. Deprecated: Use UpgradeToV2MetaData.ABI instead.
var UpgradeToV2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidParams\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPoolID\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"oldPoolBalance\",\"type\":\"uint256\"}],\"name\":\"OldPoolNotShutDownProperly\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"varName\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"PoolVarMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"varName\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"PoolVarMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"agents\",\"type\":\"address[]\"}],\"name\":\"refreshProtocolRoutes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIAuth\",\"name\":\"_auth\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agentPolice\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newInterestAccrued\",\"type\":\"uint256\"}],\"name\":\"verifyTotalAssets\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
UpgradeToV2MetaData contains all meta data concerning the UpgradeToV2 contract.
var WFILABI = WFILMetaData.ABI
WFILABI is the input ABI used to generate the binding from. Deprecated: Use WFILMetaData.ABI instead.
var WFILMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
WFILMetaData contains all meta data concerning the WFIL contract.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { AgentCaller // Read-only binding to the contract AgentTransactor // Write-only binding to the contract AgentFilterer // Log filterer for contract events }
Agent is an auto generated Go binding around an Ethereum contract.
type AgentCaller ¶
type AgentCaller struct {
// contains filtered or unexported fields
}
AgentCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAgentCaller ¶
func NewAgentCaller(address common.Address, caller bind.ContractCaller) (*AgentCaller, error)
NewAgentCaller creates a new read-only instance of Agent, bound to a specific deployed contract.
func (*AgentCaller) Administration ¶
Administration is a free data retrieval call binding the contract method 0x3847cb59.
Solidity: function administration() view returns(address)
func (*AgentCaller) AdoRequestKey ¶
AdoRequestKey is a free data retrieval call binding the contract method 0xd502cc1f.
Solidity: function adoRequestKey() view returns(address)
func (*AgentCaller) Defaulted ¶
func (_Agent *AgentCaller) Defaulted(opts *bind.CallOpts) (bool, error)
Defaulted is a free data retrieval call binding the contract method 0x69e25ec1.
Solidity: function defaulted() view returns(bool)
func (*AgentCaller) FaultySectorStartEpoch ¶
FaultySectorStartEpoch is a free data retrieval call binding the contract method 0x8903f7f0.
Solidity: function faultySectorStartEpoch() view returns(uint256)
func (*AgentCaller) Id ¶
Id is a free data retrieval call binding the contract method 0xaf640d0f.
Solidity: function id() view returns(uint256)
func (*AgentCaller) LiquidAssets ¶
LiquidAssets is a free data retrieval call binding the contract method 0xe492cdce.
Solidity: function liquidAssets() view returns(uint256)
func (*AgentCaller) NewAgent ¶
NewAgent is a free data retrieval call binding the contract method 0x56c01ad6.
Solidity: function newAgent() view returns(address)
func (*AgentCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*AgentCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentCaller) PendingOperator ¶
PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.
Solidity: function pendingOperator() view returns(address)
func (*AgentCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
type AgentCallerRaw ¶
type AgentCallerRaw struct {
Contract *AgentCaller // Generic read-only contract binding to access the raw methods on
}
AgentCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AgentCallerRaw) Call ¶
func (_Agent *AgentCallerRaw) 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 AgentCallerSession ¶
type AgentCallerSession struct { Contract *AgentCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AgentCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AgentCallerSession) Administration ¶
func (_Agent *AgentCallerSession) Administration() (common.Address, error)
Administration is a free data retrieval call binding the contract method 0x3847cb59.
Solidity: function administration() view returns(address)
func (*AgentCallerSession) AdoRequestKey ¶
func (_Agent *AgentCallerSession) AdoRequestKey() (common.Address, error)
AdoRequestKey is a free data retrieval call binding the contract method 0xd502cc1f.
Solidity: function adoRequestKey() view returns(address)
func (*AgentCallerSession) Defaulted ¶
func (_Agent *AgentCallerSession) Defaulted() (bool, error)
Defaulted is a free data retrieval call binding the contract method 0x69e25ec1.
Solidity: function defaulted() view returns(bool)
func (*AgentCallerSession) FaultySectorStartEpoch ¶
func (_Agent *AgentCallerSession) FaultySectorStartEpoch() (*big.Int, error)
FaultySectorStartEpoch is a free data retrieval call binding the contract method 0x8903f7f0.
Solidity: function faultySectorStartEpoch() view returns(uint256)
func (*AgentCallerSession) Id ¶
func (_Agent *AgentCallerSession) Id() (*big.Int, error)
Id is a free data retrieval call binding the contract method 0xaf640d0f.
Solidity: function id() view returns(uint256)
func (*AgentCallerSession) LiquidAssets ¶
func (_Agent *AgentCallerSession) LiquidAssets() (*big.Int, error)
LiquidAssets is a free data retrieval call binding the contract method 0xe492cdce.
Solidity: function liquidAssets() view returns(uint256)
func (*AgentCallerSession) NewAgent ¶
func (_Agent *AgentCallerSession) NewAgent() (common.Address, error)
NewAgent is a free data retrieval call binding the contract method 0x56c01ad6.
Solidity: function newAgent() view returns(address)
func (*AgentCallerSession) Operator ¶
func (_Agent *AgentCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*AgentCallerSession) Owner ¶
func (_Agent *AgentCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentCallerSession) PendingOperator ¶
func (_Agent *AgentCallerSession) PendingOperator() (common.Address, error)
PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.
Solidity: function pendingOperator() view returns(address)
func (*AgentCallerSession) PendingOwner ¶
func (_Agent *AgentCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*AgentCallerSession) Version ¶
func (_Agent *AgentCallerSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
type AgentDeployer ¶
type AgentDeployer struct { AgentDeployerCaller // Read-only binding to the contract AgentDeployerTransactor // Write-only binding to the contract AgentDeployerFilterer // Log filterer for contract events }
AgentDeployer is an auto generated Go binding around an Ethereum contract.
func NewAgentDeployer ¶
func NewAgentDeployer(address common.Address, backend bind.ContractBackend) (*AgentDeployer, error)
NewAgentDeployer creates a new instance of AgentDeployer, bound to a specific deployed contract.
type AgentDeployerCaller ¶
type AgentDeployerCaller struct {
// contains filtered or unexported fields
}
AgentDeployerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAgentDeployerCaller ¶
func NewAgentDeployerCaller(address common.Address, caller bind.ContractCaller) (*AgentDeployerCaller, error)
NewAgentDeployerCaller creates a new read-only instance of AgentDeployer, bound to a specific deployed contract.
type AgentDeployerCallerRaw ¶
type AgentDeployerCallerRaw struct {
Contract *AgentDeployerCaller // Generic read-only contract binding to access the raw methods on
}
AgentDeployerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AgentDeployerCallerRaw) Call ¶
func (_AgentDeployer *AgentDeployerCallerRaw) 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 AgentDeployerCallerSession ¶
type AgentDeployerCallerSession struct { Contract *AgentDeployerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AgentDeployerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AgentDeployerCallerSession) Version ¶
func (_AgentDeployer *AgentDeployerCallerSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
type AgentDeployerFilterer ¶
type AgentDeployerFilterer struct {
// contains filtered or unexported fields
}
AgentDeployerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAgentDeployerFilterer ¶
func NewAgentDeployerFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentDeployerFilterer, error)
NewAgentDeployerFilterer creates a new log filterer instance of AgentDeployer, bound to a specific deployed contract.
type AgentDeployerRaw ¶
type AgentDeployerRaw struct {
Contract *AgentDeployer // Generic contract binding to access the raw methods on
}
AgentDeployerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AgentDeployerRaw) Call ¶
func (_AgentDeployer *AgentDeployerRaw) 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 (*AgentDeployerRaw) Transact ¶
func (_AgentDeployer *AgentDeployerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentDeployerRaw) Transfer ¶
func (_AgentDeployer *AgentDeployerRaw) 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 AgentDeployerSession ¶
type AgentDeployerSession struct { Contract *AgentDeployer // 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 }
AgentDeployerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AgentDeployerSession) Deploy ¶
func (_AgentDeployer *AgentDeployerSession) Deploy(router common.Address, agentId *big.Int, owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0x09b01d0f.
Solidity: function deploy(address router, uint256 agentId, address owner, address operator, address adoRequestKey) returns(address agent)
func (*AgentDeployerSession) Version ¶
func (_AgentDeployer *AgentDeployerSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
type AgentDeployerTransactor ¶
type AgentDeployerTransactor struct {
// contains filtered or unexported fields
}
AgentDeployerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAgentDeployerTransactor ¶
func NewAgentDeployerTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentDeployerTransactor, error)
NewAgentDeployerTransactor creates a new write-only instance of AgentDeployer, bound to a specific deployed contract.
func (*AgentDeployerTransactor) Deploy ¶
func (_AgentDeployer *AgentDeployerTransactor) Deploy(opts *bind.TransactOpts, router common.Address, agentId *big.Int, owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0x09b01d0f.
Solidity: function deploy(address router, uint256 agentId, address owner, address operator, address adoRequestKey) returns(address agent)
type AgentDeployerTransactorRaw ¶
type AgentDeployerTransactorRaw struct {
Contract *AgentDeployerTransactor // Generic write-only contract binding to access the raw methods on
}
AgentDeployerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AgentDeployerTransactorRaw) Transact ¶
func (_AgentDeployer *AgentDeployerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentDeployerTransactorRaw) Transfer ¶
func (_AgentDeployer *AgentDeployerTransactorRaw) 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 AgentDeployerTransactorSession ¶
type AgentDeployerTransactorSession struct { Contract *AgentDeployerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentDeployerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AgentDeployerTransactorSession) Deploy ¶
func (_AgentDeployer *AgentDeployerTransactorSession) Deploy(router common.Address, agentId *big.Int, owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0x09b01d0f.
Solidity: function deploy(address router, uint256 agentId, address owner, address operator, address adoRequestKey) returns(address agent)
type AgentFactory ¶
type AgentFactory struct { AgentFactoryCaller // Read-only binding to the contract AgentFactoryTransactor // Write-only binding to the contract AgentFactoryFilterer // Log filterer for contract events }
AgentFactory is an auto generated Go binding around an Ethereum contract.
func NewAgentFactory ¶
func NewAgentFactory(address common.Address, backend bind.ContractBackend) (*AgentFactory, error)
NewAgentFactory creates a new instance of AgentFactory, bound to a specific deployed contract.
type AgentFactoryCaller ¶
type AgentFactoryCaller struct {
// contains filtered or unexported fields
}
AgentFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAgentFactoryCaller ¶
func NewAgentFactoryCaller(address common.Address, caller bind.ContractCaller) (*AgentFactoryCaller, error)
NewAgentFactoryCaller creates a new read-only instance of AgentFactory, bound to a specific deployed contract.
func (*AgentFactoryCaller) AgentCount ¶
AgentCount is a free data retrieval call binding the contract method 0xb7dc1284.
Solidity: function agentCount() view returns(uint256)
type AgentFactoryCallerRaw ¶
type AgentFactoryCallerRaw struct {
Contract *AgentFactoryCaller // Generic read-only contract binding to access the raw methods on
}
AgentFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AgentFactoryCallerRaw) Call ¶
func (_AgentFactory *AgentFactoryCallerRaw) 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 AgentFactoryCallerSession ¶
type AgentFactoryCallerSession struct { Contract *AgentFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AgentFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AgentFactoryCallerSession) AgentCount ¶
func (_AgentFactory *AgentFactoryCallerSession) AgentCount() (*big.Int, error)
AgentCount is a free data retrieval call binding the contract method 0xb7dc1284.
Solidity: function agentCount() view returns(uint256)
type AgentFactoryCreateAgent ¶
type AgentFactoryCreateAgent struct { AgentID *big.Int Agent common.Address Creator common.Address Raw types.Log // Blockchain specific contextual infos }
AgentFactoryCreateAgent represents a CreateAgent event raised by the AgentFactory contract.
type AgentFactoryCreateAgentIterator ¶
type AgentFactoryCreateAgentIterator struct { Event *AgentFactoryCreateAgent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentFactoryCreateAgentIterator is returned from FilterCreateAgent and is used to iterate over the raw logs and unpacked data for CreateAgent events raised by the AgentFactory contract.
func (*AgentFactoryCreateAgentIterator) Close ¶
func (it *AgentFactoryCreateAgentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentFactoryCreateAgentIterator) Error ¶
func (it *AgentFactoryCreateAgentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentFactoryCreateAgentIterator) Next ¶
func (it *AgentFactoryCreateAgentIterator) 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 AgentFactoryFilterer ¶
type AgentFactoryFilterer struct {
// contains filtered or unexported fields
}
AgentFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAgentFactoryFilterer ¶
func NewAgentFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentFactoryFilterer, error)
NewAgentFactoryFilterer creates a new log filterer instance of AgentFactory, bound to a specific deployed contract.
func (*AgentFactoryFilterer) FilterCreateAgent ¶
func (_AgentFactory *AgentFactoryFilterer) FilterCreateAgent(opts *bind.FilterOpts, agentID []*big.Int, agent []common.Address, creator []common.Address) (*AgentFactoryCreateAgentIterator, error)
FilterCreateAgent is a free log retrieval operation binding the contract event 0x804d5b2bc79ae16fc8fefb3681f47fbc5dd07c51404c26ef178a24dc8c037c4b.
Solidity: event CreateAgent(uint256 indexed agentID, address indexed agent, address indexed creator)
func (*AgentFactoryFilterer) ParseCreateAgent ¶
func (_AgentFactory *AgentFactoryFilterer) ParseCreateAgent(log types.Log) (*AgentFactoryCreateAgent, error)
ParseCreateAgent is a log parse operation binding the contract event 0x804d5b2bc79ae16fc8fefb3681f47fbc5dd07c51404c26ef178a24dc8c037c4b.
Solidity: event CreateAgent(uint256 indexed agentID, address indexed agent, address indexed creator)
func (*AgentFactoryFilterer) WatchCreateAgent ¶
func (_AgentFactory *AgentFactoryFilterer) WatchCreateAgent(opts *bind.WatchOpts, sink chan<- *AgentFactoryCreateAgent, agentID []*big.Int, agent []common.Address, creator []common.Address) (event.Subscription, error)
WatchCreateAgent is a free log subscription operation binding the contract event 0x804d5b2bc79ae16fc8fefb3681f47fbc5dd07c51404c26ef178a24dc8c037c4b.
Solidity: event CreateAgent(uint256 indexed agentID, address indexed agent, address indexed creator)
type AgentFactoryRaw ¶
type AgentFactoryRaw struct {
Contract *AgentFactory // Generic contract binding to access the raw methods on
}
AgentFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AgentFactoryRaw) Call ¶
func (_AgentFactory *AgentFactoryRaw) 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 (*AgentFactoryRaw) Transact ¶
func (_AgentFactory *AgentFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentFactoryRaw) Transfer ¶
func (_AgentFactory *AgentFactoryRaw) 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 AgentFactorySession ¶
type AgentFactorySession struct { Contract *AgentFactory // 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 }
AgentFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AgentFactorySession) AgentCount ¶
func (_AgentFactory *AgentFactorySession) AgentCount() (*big.Int, error)
AgentCount is a free data retrieval call binding the contract method 0xb7dc1284.
Solidity: function agentCount() view returns(uint256)
func (*AgentFactorySession) Agents ¶
Agents is a free data retrieval call binding the contract method 0xfd66091e.
Solidity: function agents(address ) view returns(uint256)
func (*AgentFactorySession) Create ¶
func (_AgentFactory *AgentFactorySession) Create(owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x9c041ebd.
Solidity: function create(address owner, address operator, address adoRequestKey) returns(address agent)
func (*AgentFactorySession) IsAgent ¶
func (_AgentFactory *AgentFactorySession) IsAgent(agent common.Address) (bool, error)
IsAgent is a free data retrieval call binding the contract method 0x1ffbb064.
Solidity: function isAgent(address agent) view returns(bool)
func (*AgentFactorySession) UpgradeAgent ¶
func (_AgentFactory *AgentFactorySession) UpgradeAgent(agent common.Address) (*types.Transaction, error)
UpgradeAgent is a paid mutator transaction binding the contract method 0xe4513014.
Solidity: function upgradeAgent(address agent) returns(address newAgent)
type AgentFactoryTransactor ¶
type AgentFactoryTransactor struct {
// contains filtered or unexported fields
}
AgentFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAgentFactoryTransactor ¶
func NewAgentFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentFactoryTransactor, error)
NewAgentFactoryTransactor creates a new write-only instance of AgentFactory, bound to a specific deployed contract.
func (*AgentFactoryTransactor) Create ¶
func (_AgentFactory *AgentFactoryTransactor) Create(opts *bind.TransactOpts, owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x9c041ebd.
Solidity: function create(address owner, address operator, address adoRequestKey) returns(address agent)
func (*AgentFactoryTransactor) UpgradeAgent ¶
func (_AgentFactory *AgentFactoryTransactor) UpgradeAgent(opts *bind.TransactOpts, agent common.Address) (*types.Transaction, error)
UpgradeAgent is a paid mutator transaction binding the contract method 0xe4513014.
Solidity: function upgradeAgent(address agent) returns(address newAgent)
type AgentFactoryTransactorRaw ¶
type AgentFactoryTransactorRaw struct {
Contract *AgentFactoryTransactor // Generic write-only contract binding to access the raw methods on
}
AgentFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AgentFactoryTransactorRaw) Transact ¶
func (_AgentFactory *AgentFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentFactoryTransactorRaw) Transfer ¶
func (_AgentFactory *AgentFactoryTransactorRaw) 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 AgentFactoryTransactorSession ¶
type AgentFactoryTransactorSession struct { Contract *AgentFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AgentFactoryTransactorSession) Create ¶
func (_AgentFactory *AgentFactoryTransactorSession) Create(owner common.Address, operator common.Address, adoRequestKey common.Address) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x9c041ebd.
Solidity: function create(address owner, address operator, address adoRequestKey) returns(address agent)
func (*AgentFactoryTransactorSession) UpgradeAgent ¶
func (_AgentFactory *AgentFactoryTransactorSession) UpgradeAgent(agent common.Address) (*types.Transaction, error)
UpgradeAgent is a paid mutator transaction binding the contract method 0xe4513014.
Solidity: function upgradeAgent(address agent) returns(address newAgent)
type AgentFilterer ¶
type AgentFilterer struct {
// contains filtered or unexported fields
}
AgentFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAgentFilterer ¶
func NewAgentFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentFilterer, error)
NewAgentFilterer creates a new log filterer instance of Agent, bound to a specific deployed contract.
type AgentPoliceV2 ¶ added in v1.1.0
type AgentPoliceV2 struct { AgentPoliceV2Caller // Read-only binding to the contract AgentPoliceV2Transactor // Write-only binding to the contract AgentPoliceV2Filterer // Log filterer for contract events }
AgentPoliceV2 is an auto generated Go binding around an Ethereum contract.
func DeployAgentPoliceV2 ¶ added in v1.1.0
func DeployAgentPoliceV2(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _version string, _owner common.Address, _operator common.Address, _router common.Address) (common.Address, *types.Transaction, *AgentPoliceV2, error)
DeployAgentPoliceV2 deploys a new Ethereum contract, binding an instance of AgentPoliceV2 to it.
func NewAgentPoliceV2 ¶ added in v1.1.0
func NewAgentPoliceV2(address common.Address, backend bind.ContractBackend) (*AgentPoliceV2, error)
NewAgentPoliceV2 creates a new instance of AgentPoliceV2, bound to a specific deployed contract.
type AgentPoliceV2Caller ¶ added in v1.1.0
type AgentPoliceV2Caller struct {
// contains filtered or unexported fields
}
AgentPoliceV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewAgentPoliceV2Caller ¶ added in v1.1.0
func NewAgentPoliceV2Caller(address common.Address, caller bind.ContractCaller) (*AgentPoliceV2Caller, error)
NewAgentPoliceV2Caller creates a new read-only instance of AgentPoliceV2, bound to a specific deployed contract.
func (*AgentPoliceV2Caller) AccountLevel ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) AccountLevel(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
AccountLevel is a free data retrieval call binding the contract method 0x9c18625f.
Solidity: function accountLevel(uint256 ) view returns(uint256)
func (*AgentPoliceV2Caller) AgentApproved ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) AgentApproved(opts *bind.CallOpts, vc VerifiableCredential) error
AgentApproved is a free data retrieval call binding the contract method 0x260e63c6.
Solidity: function agentApproved((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2Caller) AgentLiquidated ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) AgentLiquidated(opts *bind.CallOpts, agentID *big.Int) (bool, error)
AgentLiquidated is a free data retrieval call binding the contract method 0x51692149.
Solidity: function agentLiquidated(uint256 agentID) view returns(bool)
func (*AgentPoliceV2Caller) BorrowDTL ¶ added in v1.1.0
BorrowDTL is a free data retrieval call binding the contract method 0x29865d2a.
Solidity: function borrowDTL() view returns(uint256)
func (*AgentPoliceV2Caller) ConfirmRmAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) ConfirmRmAdministration(opts *bind.CallOpts, vc VerifiableCredential) error
ConfirmRmAdministration is a free data retrieval call binding the contract method 0x5cf6862f.
Solidity: function confirmRmAdministration((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2Caller) ConfirmRmEquity ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) ConfirmRmEquity(opts *bind.CallOpts, vc VerifiableCredential) error
ConfirmRmEquity is a free data retrieval call binding the contract method 0x5654657a.
Solidity: function confirmRmEquity((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2Caller) CredentialUsed ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) CredentialUsed(opts *bind.CallOpts, vc VerifiableCredential) (*big.Int, error)
CredentialUsed is a free data retrieval call binding the contract method 0x1f2218de.
Solidity: function credentialUsed((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256)
func (*AgentPoliceV2Caller) DeriveStructHash ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) DeriveStructHash(opts *bind.CallOpts, vc VerifiableCredential) ([32]byte, error)
DeriveStructHash is a free data retrieval call binding the contract method 0x40444c7c.
Solidity: function deriveStructHash((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) pure returns(bytes32)
func (*AgentPoliceV2Caller) Digest ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) Digest(opts *bind.CallOpts, vc VerifiableCredential) ([32]byte, error)
Digest is a free data retrieval call binding the contract method 0xa2f3c210.
Solidity: function digest((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bytes32)
func (*AgentPoliceV2Caller) Eip712Domain ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) Eip712Domain(opts *bind.CallOpts) (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*AgentPoliceV2Caller) IsValidCredential ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) IsValidCredential(opts *bind.CallOpts, agent *big.Int, action [4]byte, sc SignedCredential) error
IsValidCredential is a free data retrieval call binding the contract method 0x76048dc4.
Solidity: function isValidCredential(uint256 agent, bytes4 action, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()
func (*AgentPoliceV2Caller) Levels ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) Levels(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
Levels is a free data retrieval call binding the contract method 0xb2596a67.
Solidity: function levels(uint256 ) view returns(uint256)
func (*AgentPoliceV2Caller) LiquidationDTL ¶ added in v1.1.0
LiquidationDTL is a free data retrieval call binding the contract method 0x6ec87bd0.
Solidity: function liquidationDTL() view returns(uint256)
func (*AgentPoliceV2Caller) LiquidationFee ¶ added in v1.1.0
LiquidationFee is a free data retrieval call binding the contract method 0xa36a3630.
Solidity: function liquidationFee() view returns(uint256)
func (*AgentPoliceV2Caller) MaxMiners ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) MaxMiners(opts *bind.CallOpts) (uint32, error)
MaxMiners is a free data retrieval call binding the contract method 0xdb6fccda.
Solidity: function maxMiners() view returns(uint32)
func (*AgentPoliceV2Caller) Operator ¶ added in v1.1.0
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*AgentPoliceV2Caller) Owner ¶ added in v1.1.0
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentPoliceV2Caller) Paused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*AgentPoliceV2Caller) PendingOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) PendingOperator(opts *bind.CallOpts) (common.Address, error)
PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.
Solidity: function pendingOperator() view returns(address)
func (*AgentPoliceV2Caller) PendingOwner ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*AgentPoliceV2Caller) Recover ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) Recover(opts *bind.CallOpts, sc SignedCredential) (common.Address, error)
Recover is a free data retrieval call binding the contract method 0x4ead1527.
Solidity: function recover(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns(address)
func (*AgentPoliceV2Caller) SectorFaultyTolerancePercent ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) SectorFaultyTolerancePercent(opts *bind.CallOpts) (*big.Int, error)
SectorFaultyTolerancePercent is a free data retrieval call binding the contract method 0x37279488.
Solidity: function sectorFaultyTolerancePercent() view returns(uint256)
func (*AgentPoliceV2Caller) VERIFIABLECREDENTIALTYPEHASH ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) VERIFIABLECREDENTIALTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
VERIFIABLECREDENTIALTYPEHASH is a free data retrieval call binding the contract method 0x2b85012b.
Solidity: function _VERIFIABLE_CREDENTIAL_TYPE_HASH() view returns(bytes32)
func (*AgentPoliceV2Caller) ValidateCred ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Caller) ValidateCred(opts *bind.CallOpts, agent *big.Int, selector [4]byte, sc SignedCredential) error
ValidateCred is a free data retrieval call binding the contract method 0x403bb79d.
Solidity: function validateCred(uint256 agent, bytes4 selector, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()
type AgentPoliceV2CallerRaw ¶ added in v1.1.0
type AgentPoliceV2CallerRaw struct {
Contract *AgentPoliceV2Caller // Generic read-only contract binding to access the raw methods on
}
AgentPoliceV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AgentPoliceV2CallerRaw) Call ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerRaw) 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 AgentPoliceV2CallerSession ¶ added in v1.1.0
type AgentPoliceV2CallerSession struct { Contract *AgentPoliceV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AgentPoliceV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AgentPoliceV2CallerSession) AccountLevel ¶ added in v1.1.0
AccountLevel is a free data retrieval call binding the contract method 0x9c18625f.
Solidity: function accountLevel(uint256 ) view returns(uint256)
func (*AgentPoliceV2CallerSession) AgentApproved ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) AgentApproved(vc VerifiableCredential) error
AgentApproved is a free data retrieval call binding the contract method 0x260e63c6.
Solidity: function agentApproved((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2CallerSession) AgentLiquidated ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) AgentLiquidated(agentID *big.Int) (bool, error)
AgentLiquidated is a free data retrieval call binding the contract method 0x51692149.
Solidity: function agentLiquidated(uint256 agentID) view returns(bool)
func (*AgentPoliceV2CallerSession) BorrowDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) BorrowDTL() (*big.Int, error)
BorrowDTL is a free data retrieval call binding the contract method 0x29865d2a.
Solidity: function borrowDTL() view returns(uint256)
func (*AgentPoliceV2CallerSession) ConfirmRmAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) ConfirmRmAdministration(vc VerifiableCredential) error
ConfirmRmAdministration is a free data retrieval call binding the contract method 0x5cf6862f.
Solidity: function confirmRmAdministration((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2CallerSession) ConfirmRmEquity ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) ConfirmRmEquity(vc VerifiableCredential) error
ConfirmRmEquity is a free data retrieval call binding the contract method 0x5654657a.
Solidity: function confirmRmEquity((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2CallerSession) CredentialUsed ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) CredentialUsed(vc VerifiableCredential) (*big.Int, error)
CredentialUsed is a free data retrieval call binding the contract method 0x1f2218de.
Solidity: function credentialUsed((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256)
func (*AgentPoliceV2CallerSession) DeriveStructHash ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) DeriveStructHash(vc VerifiableCredential) ([32]byte, error)
DeriveStructHash is a free data retrieval call binding the contract method 0x40444c7c.
Solidity: function deriveStructHash((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) pure returns(bytes32)
func (*AgentPoliceV2CallerSession) Digest ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Digest(vc VerifiableCredential) ([32]byte, error)
Digest is a free data retrieval call binding the contract method 0xa2f3c210.
Solidity: function digest((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bytes32)
func (*AgentPoliceV2CallerSession) Eip712Domain ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*AgentPoliceV2CallerSession) IsValidCredential ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) IsValidCredential(agent *big.Int, action [4]byte, sc SignedCredential) error
IsValidCredential is a free data retrieval call binding the contract method 0x76048dc4.
Solidity: function isValidCredential(uint256 agent, bytes4 action, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()
func (*AgentPoliceV2CallerSession) Levels ¶ added in v1.1.0
Levels is a free data retrieval call binding the contract method 0xb2596a67.
Solidity: function levels(uint256 ) view returns(uint256)
func (*AgentPoliceV2CallerSession) LiquidationDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) LiquidationDTL() (*big.Int, error)
LiquidationDTL is a free data retrieval call binding the contract method 0x6ec87bd0.
Solidity: function liquidationDTL() view returns(uint256)
func (*AgentPoliceV2CallerSession) LiquidationFee ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) LiquidationFee() (*big.Int, error)
LiquidationFee is a free data retrieval call binding the contract method 0xa36a3630.
Solidity: function liquidationFee() view returns(uint256)
func (*AgentPoliceV2CallerSession) MaxMiners ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) MaxMiners() (uint32, error)
MaxMiners is a free data retrieval call binding the contract method 0xdb6fccda.
Solidity: function maxMiners() view returns(uint32)
func (*AgentPoliceV2CallerSession) Operator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*AgentPoliceV2CallerSession) Owner ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentPoliceV2CallerSession) Paused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*AgentPoliceV2CallerSession) PendingOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) PendingOperator() (common.Address, error)
PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.
Solidity: function pendingOperator() view returns(address)
func (*AgentPoliceV2CallerSession) PendingOwner ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*AgentPoliceV2CallerSession) Recover ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) Recover(sc SignedCredential) (common.Address, error)
Recover is a free data retrieval call binding the contract method 0x4ead1527.
Solidity: function recover(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns(address)
func (*AgentPoliceV2CallerSession) SectorFaultyTolerancePercent ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) SectorFaultyTolerancePercent() (*big.Int, error)
SectorFaultyTolerancePercent is a free data retrieval call binding the contract method 0x37279488.
Solidity: function sectorFaultyTolerancePercent() view returns(uint256)
func (*AgentPoliceV2CallerSession) VERIFIABLECREDENTIALTYPEHASH ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) VERIFIABLECREDENTIALTYPEHASH() ([32]byte, error)
VERIFIABLECREDENTIALTYPEHASH is a free data retrieval call binding the contract method 0x2b85012b.
Solidity: function _VERIFIABLE_CREDENTIAL_TYPE_HASH() view returns(bytes32)
func (*AgentPoliceV2CallerSession) ValidateCred ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2CallerSession) ValidateCred(agent *big.Int, selector [4]byte, sc SignedCredential) error
ValidateCred is a free data retrieval call binding the contract method 0x403bb79d.
Solidity: function validateCred(uint256 agent, bytes4 selector, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()
type AgentPoliceV2CredentialUsed ¶ added in v1.1.0
type AgentPoliceV2CredentialUsed struct { AgentID *big.Int Action [4]byte AgentAddr common.Address Value *big.Int Target uint64 Raw types.Log // Blockchain specific contextual infos }
AgentPoliceV2CredentialUsed represents a CredentialUsed event raised by the AgentPoliceV2 contract.
type AgentPoliceV2CredentialUsedIterator ¶ added in v1.1.0
type AgentPoliceV2CredentialUsedIterator struct { Event *AgentPoliceV2CredentialUsed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentPoliceV2CredentialUsedIterator is returned from FilterCredentialUsed and is used to iterate over the raw logs and unpacked data for CredentialUsed events raised by the AgentPoliceV2 contract.
func (*AgentPoliceV2CredentialUsedIterator) Close ¶ added in v1.1.0
func (it *AgentPoliceV2CredentialUsedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentPoliceV2CredentialUsedIterator) Error ¶ added in v1.1.0
func (it *AgentPoliceV2CredentialUsedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentPoliceV2CredentialUsedIterator) Next ¶ added in v1.1.0
func (it *AgentPoliceV2CredentialUsedIterator) 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 AgentPoliceV2Defaulted ¶ added in v1.1.0
type AgentPoliceV2Defaulted struct { Agent common.Address Raw types.Log // Blockchain specific contextual infos }
AgentPoliceV2Defaulted represents a Defaulted event raised by the AgentPoliceV2 contract.
type AgentPoliceV2DefaultedIterator ¶ added in v1.1.0
type AgentPoliceV2DefaultedIterator struct { Event *AgentPoliceV2Defaulted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentPoliceV2DefaultedIterator is returned from FilterDefaulted and is used to iterate over the raw logs and unpacked data for Defaulted events raised by the AgentPoliceV2 contract.
func (*AgentPoliceV2DefaultedIterator) Close ¶ added in v1.1.0
func (it *AgentPoliceV2DefaultedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentPoliceV2DefaultedIterator) Error ¶ added in v1.1.0
func (it *AgentPoliceV2DefaultedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentPoliceV2DefaultedIterator) Next ¶ added in v1.1.0
func (it *AgentPoliceV2DefaultedIterator) 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 AgentPoliceV2EIP712DomainChanged ¶ added in v1.1.0
type AgentPoliceV2EIP712DomainChanged struct {
Raw types.Log // Blockchain specific contextual infos
}
AgentPoliceV2EIP712DomainChanged represents a EIP712DomainChanged event raised by the AgentPoliceV2 contract.
type AgentPoliceV2EIP712DomainChangedIterator ¶ added in v1.1.0
type AgentPoliceV2EIP712DomainChangedIterator struct { Event *AgentPoliceV2EIP712DomainChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentPoliceV2EIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the AgentPoliceV2 contract.
func (*AgentPoliceV2EIP712DomainChangedIterator) Close ¶ added in v1.1.0
func (it *AgentPoliceV2EIP712DomainChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentPoliceV2EIP712DomainChangedIterator) Error ¶ added in v1.1.0
func (it *AgentPoliceV2EIP712DomainChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentPoliceV2EIP712DomainChangedIterator) Next ¶ added in v1.1.0
func (it *AgentPoliceV2EIP712DomainChangedIterator) 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 AgentPoliceV2FaultySectors ¶ added in v1.1.0
type AgentPoliceV2FaultySectors struct { AgentID common.Address FaultEpoch *big.Int Raw types.Log // Blockchain specific contextual infos }
AgentPoliceV2FaultySectors represents a FaultySectors event raised by the AgentPoliceV2 contract.
type AgentPoliceV2FaultySectorsIterator ¶ added in v1.1.0
type AgentPoliceV2FaultySectorsIterator struct { Event *AgentPoliceV2FaultySectors // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentPoliceV2FaultySectorsIterator is returned from FilterFaultySectors and is used to iterate over the raw logs and unpacked data for FaultySectors events raised by the AgentPoliceV2 contract.
func (*AgentPoliceV2FaultySectorsIterator) Close ¶ added in v1.1.0
func (it *AgentPoliceV2FaultySectorsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentPoliceV2FaultySectorsIterator) Error ¶ added in v1.1.0
func (it *AgentPoliceV2FaultySectorsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentPoliceV2FaultySectorsIterator) Next ¶ added in v1.1.0
func (it *AgentPoliceV2FaultySectorsIterator) 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 AgentPoliceV2Filterer ¶ added in v1.1.0
type AgentPoliceV2Filterer struct {
// contains filtered or unexported fields
}
AgentPoliceV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAgentPoliceV2Filterer ¶ added in v1.1.0
func NewAgentPoliceV2Filterer(address common.Address, filterer bind.ContractFilterer) (*AgentPoliceV2Filterer, error)
NewAgentPoliceV2Filterer creates a new log filterer instance of AgentPoliceV2, bound to a specific deployed contract.
func (*AgentPoliceV2Filterer) FilterCredentialUsed ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterCredentialUsed(opts *bind.FilterOpts, agentID []*big.Int, action [][4]byte) (*AgentPoliceV2CredentialUsedIterator, error)
FilterCredentialUsed is a free log retrieval operation binding the contract event 0x700450a0d828409c6031b95d040684b8a2eba879416b6960dfa8c818f245ddf4.
Solidity: event CredentialUsed(uint256 indexed agentID, bytes4 indexed action, address agentAddr, uint256 value, uint64 target)
func (*AgentPoliceV2Filterer) FilterDefaulted ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterDefaulted(opts *bind.FilterOpts) (*AgentPoliceV2DefaultedIterator, error)
FilterDefaulted is a free log retrieval operation binding the contract event 0x0be58193d1ccca9f578279acffb21de6a55ce255b7c4901d2d3f4fbcd15db8b1.
Solidity: event Defaulted(address agent)
func (*AgentPoliceV2Filterer) FilterEIP712DomainChanged ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*AgentPoliceV2EIP712DomainChangedIterator, error)
FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*AgentPoliceV2Filterer) FilterFaultySectors ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterFaultySectors(opts *bind.FilterOpts, agentID []common.Address) (*AgentPoliceV2FaultySectorsIterator, error)
FilterFaultySectors is a free log retrieval operation binding the contract event 0xae3b2aa2246d19333b887bb4211187ae48506f786b1edae51bde48cef3f52bd6.
Solidity: event FaultySectors(address indexed agentID, uint256 faultEpoch)
func (*AgentPoliceV2Filterer) FilterOnAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterOnAdministration(opts *bind.FilterOpts) (*AgentPoliceV2OnAdministrationIterator, error)
FilterOnAdministration is a free log retrieval operation binding the contract event 0xcd2997877d26346cc62bc950a5d0a8a22f65bed07abe918de90bd967f79718c2.
Solidity: event OnAdministration(address agent)
func (*AgentPoliceV2Filterer) FilterPaused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterPaused(opts *bind.FilterOpts) (*AgentPoliceV2PausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*AgentPoliceV2Filterer) FilterUnpaused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*AgentPoliceV2UnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*AgentPoliceV2Filterer) ParseCredentialUsed ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseCredentialUsed(log types.Log) (*AgentPoliceV2CredentialUsed, error)
ParseCredentialUsed is a log parse operation binding the contract event 0x700450a0d828409c6031b95d040684b8a2eba879416b6960dfa8c818f245ddf4.
Solidity: event CredentialUsed(uint256 indexed agentID, bytes4 indexed action, address agentAddr, uint256 value, uint64 target)
func (*AgentPoliceV2Filterer) ParseDefaulted ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseDefaulted(log types.Log) (*AgentPoliceV2Defaulted, error)
ParseDefaulted is a log parse operation binding the contract event 0x0be58193d1ccca9f578279acffb21de6a55ce255b7c4901d2d3f4fbcd15db8b1.
Solidity: event Defaulted(address agent)
func (*AgentPoliceV2Filterer) ParseEIP712DomainChanged ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseEIP712DomainChanged(log types.Log) (*AgentPoliceV2EIP712DomainChanged, error)
ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*AgentPoliceV2Filterer) ParseFaultySectors ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseFaultySectors(log types.Log) (*AgentPoliceV2FaultySectors, error)
ParseFaultySectors is a log parse operation binding the contract event 0xae3b2aa2246d19333b887bb4211187ae48506f786b1edae51bde48cef3f52bd6.
Solidity: event FaultySectors(address indexed agentID, uint256 faultEpoch)
func (*AgentPoliceV2Filterer) ParseOnAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseOnAdministration(log types.Log) (*AgentPoliceV2OnAdministration, error)
ParseOnAdministration is a log parse operation binding the contract event 0xcd2997877d26346cc62bc950a5d0a8a22f65bed07abe918de90bd967f79718c2.
Solidity: event OnAdministration(address agent)
func (*AgentPoliceV2Filterer) ParsePaused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParsePaused(log types.Log) (*AgentPoliceV2Paused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*AgentPoliceV2Filterer) ParseUnpaused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) ParseUnpaused(log types.Log) (*AgentPoliceV2Unpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*AgentPoliceV2Filterer) WatchCredentialUsed ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchCredentialUsed(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2CredentialUsed, agentID []*big.Int, action [][4]byte) (event.Subscription, error)
WatchCredentialUsed is a free log subscription operation binding the contract event 0x700450a0d828409c6031b95d040684b8a2eba879416b6960dfa8c818f245ddf4.
Solidity: event CredentialUsed(uint256 indexed agentID, bytes4 indexed action, address agentAddr, uint256 value, uint64 target)
func (*AgentPoliceV2Filterer) WatchDefaulted ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchDefaulted(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2Defaulted) (event.Subscription, error)
WatchDefaulted is a free log subscription operation binding the contract event 0x0be58193d1ccca9f578279acffb21de6a55ce255b7c4901d2d3f4fbcd15db8b1.
Solidity: event Defaulted(address agent)
func (*AgentPoliceV2Filterer) WatchEIP712DomainChanged ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2EIP712DomainChanged) (event.Subscription, error)
WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*AgentPoliceV2Filterer) WatchFaultySectors ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchFaultySectors(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2FaultySectors, agentID []common.Address) (event.Subscription, error)
WatchFaultySectors is a free log subscription operation binding the contract event 0xae3b2aa2246d19333b887bb4211187ae48506f786b1edae51bde48cef3f52bd6.
Solidity: event FaultySectors(address indexed agentID, uint256 faultEpoch)
func (*AgentPoliceV2Filterer) WatchOnAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchOnAdministration(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2OnAdministration) (event.Subscription, error)
WatchOnAdministration is a free log subscription operation binding the contract event 0xcd2997877d26346cc62bc950a5d0a8a22f65bed07abe918de90bd967f79718c2.
Solidity: event OnAdministration(address agent)
func (*AgentPoliceV2Filterer) WatchPaused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2Paused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*AgentPoliceV2Filterer) WatchUnpaused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *AgentPoliceV2Unpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type AgentPoliceV2OnAdministration ¶ added in v1.1.0
type AgentPoliceV2OnAdministration struct { Agent common.Address Raw types.Log // Blockchain specific contextual infos }
AgentPoliceV2OnAdministration represents a OnAdministration event raised by the AgentPoliceV2 contract.
type AgentPoliceV2OnAdministrationIterator ¶ added in v1.1.0
type AgentPoliceV2OnAdministrationIterator struct { Event *AgentPoliceV2OnAdministration // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentPoliceV2OnAdministrationIterator is returned from FilterOnAdministration and is used to iterate over the raw logs and unpacked data for OnAdministration events raised by the AgentPoliceV2 contract.
func (*AgentPoliceV2OnAdministrationIterator) Close ¶ added in v1.1.0
func (it *AgentPoliceV2OnAdministrationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentPoliceV2OnAdministrationIterator) Error ¶ added in v1.1.0
func (it *AgentPoliceV2OnAdministrationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentPoliceV2OnAdministrationIterator) Next ¶ added in v1.1.0
func (it *AgentPoliceV2OnAdministrationIterator) 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 AgentPoliceV2Paused ¶ added in v1.1.0
type AgentPoliceV2Paused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
AgentPoliceV2Paused represents a Paused event raised by the AgentPoliceV2 contract.
type AgentPoliceV2PausedIterator ¶ added in v1.1.0
type AgentPoliceV2PausedIterator struct { Event *AgentPoliceV2Paused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentPoliceV2PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the AgentPoliceV2 contract.
func (*AgentPoliceV2PausedIterator) Close ¶ added in v1.1.0
func (it *AgentPoliceV2PausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentPoliceV2PausedIterator) Error ¶ added in v1.1.0
func (it *AgentPoliceV2PausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentPoliceV2PausedIterator) Next ¶ added in v1.1.0
func (it *AgentPoliceV2PausedIterator) 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 AgentPoliceV2Raw ¶ added in v1.1.0
type AgentPoliceV2Raw struct {
Contract *AgentPoliceV2 // Generic contract binding to access the raw methods on
}
AgentPoliceV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*AgentPoliceV2Raw) Call ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Raw) 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 (*AgentPoliceV2Raw) Transact ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentPoliceV2Raw) Transfer ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Raw) 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 AgentPoliceV2Session ¶ added in v1.1.0
type AgentPoliceV2Session struct { Contract *AgentPoliceV2 // 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 }
AgentPoliceV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AgentPoliceV2Session) AcceptOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) AcceptOperator() (*types.Transaction, error)
AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.
Solidity: function acceptOperator() returns()
func (*AgentPoliceV2Session) AcceptOwnership ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*AgentPoliceV2Session) AccountLevel ¶ added in v1.1.0
AccountLevel is a free data retrieval call binding the contract method 0x9c18625f.
Solidity: function accountLevel(uint256 ) view returns(uint256)
func (*AgentPoliceV2Session) AgentApproved ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) AgentApproved(vc VerifiableCredential) error
AgentApproved is a free data retrieval call binding the contract method 0x260e63c6.
Solidity: function agentApproved((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2Session) AgentLiquidated ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) AgentLiquidated(agentID *big.Int) (bool, error)
AgentLiquidated is a free data retrieval call binding the contract method 0x51692149.
Solidity: function agentLiquidated(uint256 agentID) view returns(bool)
func (*AgentPoliceV2Session) BorrowDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) BorrowDTL() (*big.Int, error)
BorrowDTL is a free data retrieval call binding the contract method 0x29865d2a.
Solidity: function borrowDTL() view returns(uint256)
func (*AgentPoliceV2Session) ConfirmRmAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) ConfirmRmAdministration(vc VerifiableCredential) error
ConfirmRmAdministration is a free data retrieval call binding the contract method 0x5cf6862f.
Solidity: function confirmRmAdministration((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2Session) ConfirmRmEquity ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) ConfirmRmEquity(vc VerifiableCredential) error
ConfirmRmEquity is a free data retrieval call binding the contract method 0x5654657a.
Solidity: function confirmRmEquity((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns()
func (*AgentPoliceV2Session) CredentialUsed ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) CredentialUsed(vc VerifiableCredential) (*big.Int, error)
CredentialUsed is a free data retrieval call binding the contract method 0x1f2218de.
Solidity: function credentialUsed((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(uint256)
func (*AgentPoliceV2Session) DeriveStructHash ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) DeriveStructHash(vc VerifiableCredential) ([32]byte, error)
DeriveStructHash is a free data retrieval call binding the contract method 0x40444c7c.
Solidity: function deriveStructHash((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) pure returns(bytes32)
func (*AgentPoliceV2Session) Digest ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) Digest(vc VerifiableCredential) ([32]byte, error)
Digest is a free data retrieval call binding the contract method 0xa2f3c210.
Solidity: function digest((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) view returns(bytes32)
func (*AgentPoliceV2Session) DistributeLiquidatedFunds ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) DistributeLiquidatedFunds(agent common.Address, amount *big.Int) (*types.Transaction, error)
DistributeLiquidatedFunds is a paid mutator transaction binding the contract method 0x5e7981de.
Solidity: function distributeLiquidatedFunds(address agent, uint256 amount) returns()
func (*AgentPoliceV2Session) Eip712Domain ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*AgentPoliceV2Session) IsValidCredential ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) IsValidCredential(agent *big.Int, action [4]byte, sc SignedCredential) error
IsValidCredential is a free data retrieval call binding the contract method 0x76048dc4.
Solidity: function isValidCredential(uint256 agent, bytes4 action, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()
func (*AgentPoliceV2Session) Levels ¶ added in v1.1.0
Levels is a free data retrieval call binding the contract method 0xb2596a67.
Solidity: function levels(uint256 ) view returns(uint256)
func (*AgentPoliceV2Session) LiquidationDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) LiquidationDTL() (*big.Int, error)
LiquidationDTL is a free data retrieval call binding the contract method 0x6ec87bd0.
Solidity: function liquidationDTL() view returns(uint256)
func (*AgentPoliceV2Session) LiquidationFee ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) LiquidationFee() (*big.Int, error)
LiquidationFee is a free data retrieval call binding the contract method 0xa36a3630.
Solidity: function liquidationFee() view returns(uint256)
func (*AgentPoliceV2Session) MaxMiners ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) MaxMiners() (uint32, error)
MaxMiners is a free data retrieval call binding the contract method 0xdb6fccda.
Solidity: function maxMiners() view returns(uint32)
func (*AgentPoliceV2Session) Operator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*AgentPoliceV2Session) Owner ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentPoliceV2Session) Pause ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*AgentPoliceV2Session) Paused ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*AgentPoliceV2Session) PendingOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) PendingOperator() (common.Address, error)
PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.
Solidity: function pendingOperator() view returns(address)
func (*AgentPoliceV2Session) PendingOwner ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*AgentPoliceV2Session) PrepareMinerForLiquidation ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) PrepareMinerForLiquidation(agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)
PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0x9b83b8cd.
Solidity: function prepareMinerForLiquidation(address agent, uint64 miner, uint64 liquidator) returns()
func (*AgentPoliceV2Session) PutAgentOnAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) PutAgentOnAdministration(agent common.Address, sc SignedCredential, administration common.Address) (*types.Transaction, error)
PutAgentOnAdministration is a paid mutator transaction binding the contract method 0x0e927f74.
Solidity: function putAgentOnAdministration(address agent, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc, address administration) returns()
func (*AgentPoliceV2Session) Recover ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) Recover(sc SignedCredential) (common.Address, error)
Recover is a free data retrieval call binding the contract method 0x4ead1527.
Solidity: function recover(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns(address)
func (*AgentPoliceV2Session) RegisterCredentialUseBlock ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) RegisterCredentialUseBlock(sc SignedCredential) (*types.Transaction, error)
RegisterCredentialUseBlock is a paid mutator transaction binding the contract method 0x529e2512.
Solidity: function registerCredentialUseBlock(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentPoliceV2Session) SectorFaultyTolerancePercent ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SectorFaultyTolerancePercent() (*big.Int, error)
SectorFaultyTolerancePercent is a free data retrieval call binding the contract method 0x37279488.
Solidity: function sectorFaultyTolerancePercent() view returns(uint256)
func (*AgentPoliceV2Session) SetAgentDefaultDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SetAgentDefaultDTL(agent common.Address, sc SignedCredential) (*types.Transaction, error)
SetAgentDefaultDTL is a paid mutator transaction binding the contract method 0x7a018032.
Solidity: function setAgentDefaultDTL(address agent, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentPoliceV2Session) SetAgentLevels ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SetAgentLevels(agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)
SetAgentLevels is a paid mutator transaction binding the contract method 0xa0c9119a.
Solidity: function setAgentLevels(uint256[] agentIDs, uint256[] level) returns()
func (*AgentPoliceV2Session) SetBorrowDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SetBorrowDTL(_borrowDTL *big.Int) (*types.Transaction, error)
SetBorrowDTL is a paid mutator transaction binding the contract method 0xb4e45883.
Solidity: function setBorrowDTL(uint256 _borrowDTL) returns()
func (*AgentPoliceV2Session) SetLevels ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SetLevels(_levels [10]*big.Int) (*types.Transaction, error)
SetLevels is a paid mutator transaction binding the contract method 0xe5a8a2cb.
Solidity: function setLevels(uint256[10] _levels) returns()
func (*AgentPoliceV2Session) SetLiquidationDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SetLiquidationDTL(_liquidationDTL *big.Int) (*types.Transaction, error)
SetLiquidationDTL is a paid mutator transaction binding the contract method 0x472910d8.
Solidity: function setLiquidationDTL(uint256 _liquidationDTL) returns()
func (*AgentPoliceV2Session) SetLiquidationFee ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SetLiquidationFee(_liquidationFee *big.Int) (*types.Transaction, error)
SetLiquidationFee is a paid mutator transaction binding the contract method 0xfef0bec8.
Solidity: function setLiquidationFee(uint256 _liquidationFee) returns()
func (*AgentPoliceV2Session) SetMaxMiners ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SetMaxMiners(_maxMiners uint32) (*types.Transaction, error)
SetMaxMiners is a paid mutator transaction binding the contract method 0x8830d8c3.
Solidity: function setMaxMiners(uint32 _maxMiners) returns()
func (*AgentPoliceV2Session) SetSectorFaultyTolerancePercent ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) SetSectorFaultyTolerancePercent(_sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)
SetSectorFaultyTolerancePercent is a paid mutator transaction binding the contract method 0x680af724.
Solidity: function setSectorFaultyTolerancePercent(uint256 _sectorFaultyTolerancePercent) returns()
func (*AgentPoliceV2Session) TransferOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) TransferOperator(newOperator common.Address) (*types.Transaction, error)
TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.
Solidity: function transferOperator(address newOperator) returns()
func (*AgentPoliceV2Session) TransferOwnership ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) 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 (*AgentPoliceV2Session) Unpause ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*AgentPoliceV2Session) VERIFIABLECREDENTIALTYPEHASH ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) VERIFIABLECREDENTIALTYPEHASH() ([32]byte, error)
VERIFIABLECREDENTIALTYPEHASH is a free data retrieval call binding the contract method 0x2b85012b.
Solidity: function _VERIFIABLE_CREDENTIAL_TYPE_HASH() view returns(bytes32)
func (*AgentPoliceV2Session) ValidateCred ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Session) ValidateCred(agent *big.Int, selector [4]byte, sc SignedCredential) error
ValidateCred is a free data retrieval call binding the contract method 0x403bb79d.
Solidity: function validateCred(uint256 agent, bytes4 selector, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) view returns()
type AgentPoliceV2Transactor ¶ added in v1.1.0
type AgentPoliceV2Transactor struct {
// contains filtered or unexported fields
}
AgentPoliceV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAgentPoliceV2Transactor ¶ added in v1.1.0
func NewAgentPoliceV2Transactor(address common.Address, transactor bind.ContractTransactor) (*AgentPoliceV2Transactor, error)
NewAgentPoliceV2Transactor creates a new write-only instance of AgentPoliceV2, bound to a specific deployed contract.
func (*AgentPoliceV2Transactor) AcceptOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) AcceptOperator(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.
Solidity: function acceptOperator() returns()
func (*AgentPoliceV2Transactor) AcceptOwnership ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*AgentPoliceV2Transactor) DistributeLiquidatedFunds ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) DistributeLiquidatedFunds(opts *bind.TransactOpts, agent common.Address, amount *big.Int) (*types.Transaction, error)
DistributeLiquidatedFunds is a paid mutator transaction binding the contract method 0x5e7981de.
Solidity: function distributeLiquidatedFunds(address agent, uint256 amount) returns()
func (*AgentPoliceV2Transactor) Pause ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*AgentPoliceV2Transactor) PrepareMinerForLiquidation ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) PrepareMinerForLiquidation(opts *bind.TransactOpts, agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)
PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0x9b83b8cd.
Solidity: function prepareMinerForLiquidation(address agent, uint64 miner, uint64 liquidator) returns()
func (*AgentPoliceV2Transactor) PutAgentOnAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) PutAgentOnAdministration(opts *bind.TransactOpts, agent common.Address, sc SignedCredential, administration common.Address) (*types.Transaction, error)
PutAgentOnAdministration is a paid mutator transaction binding the contract method 0x0e927f74.
Solidity: function putAgentOnAdministration(address agent, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc, address administration) returns()
func (*AgentPoliceV2Transactor) RegisterCredentialUseBlock ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) RegisterCredentialUseBlock(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
RegisterCredentialUseBlock is a paid mutator transaction binding the contract method 0x529e2512.
Solidity: function registerCredentialUseBlock(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentPoliceV2Transactor) SetAgentDefaultDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetAgentDefaultDTL(opts *bind.TransactOpts, agent common.Address, sc SignedCredential) (*types.Transaction, error)
SetAgentDefaultDTL is a paid mutator transaction binding the contract method 0x7a018032.
Solidity: function setAgentDefaultDTL(address agent, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentPoliceV2Transactor) SetAgentLevels ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetAgentLevels(opts *bind.TransactOpts, agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)
SetAgentLevels is a paid mutator transaction binding the contract method 0xa0c9119a.
Solidity: function setAgentLevels(uint256[] agentIDs, uint256[] level) returns()
func (*AgentPoliceV2Transactor) SetBorrowDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetBorrowDTL(opts *bind.TransactOpts, _borrowDTL *big.Int) (*types.Transaction, error)
SetBorrowDTL is a paid mutator transaction binding the contract method 0xb4e45883.
Solidity: function setBorrowDTL(uint256 _borrowDTL) returns()
func (*AgentPoliceV2Transactor) SetLevels ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetLevels(opts *bind.TransactOpts, _levels [10]*big.Int) (*types.Transaction, error)
SetLevels is a paid mutator transaction binding the contract method 0xe5a8a2cb.
Solidity: function setLevels(uint256[10] _levels) returns()
func (*AgentPoliceV2Transactor) SetLiquidationDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetLiquidationDTL(opts *bind.TransactOpts, _liquidationDTL *big.Int) (*types.Transaction, error)
SetLiquidationDTL is a paid mutator transaction binding the contract method 0x472910d8.
Solidity: function setLiquidationDTL(uint256 _liquidationDTL) returns()
func (*AgentPoliceV2Transactor) SetLiquidationFee ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetLiquidationFee(opts *bind.TransactOpts, _liquidationFee *big.Int) (*types.Transaction, error)
SetLiquidationFee is a paid mutator transaction binding the contract method 0xfef0bec8.
Solidity: function setLiquidationFee(uint256 _liquidationFee) returns()
func (*AgentPoliceV2Transactor) SetMaxMiners ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetMaxMiners(opts *bind.TransactOpts, _maxMiners uint32) (*types.Transaction, error)
SetMaxMiners is a paid mutator transaction binding the contract method 0x8830d8c3.
Solidity: function setMaxMiners(uint32 _maxMiners) returns()
func (*AgentPoliceV2Transactor) SetSectorFaultyTolerancePercent ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) SetSectorFaultyTolerancePercent(opts *bind.TransactOpts, _sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)
SetSectorFaultyTolerancePercent is a paid mutator transaction binding the contract method 0x680af724.
Solidity: function setSectorFaultyTolerancePercent(uint256 _sectorFaultyTolerancePercent) returns()
func (*AgentPoliceV2Transactor) TransferOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) TransferOperator(opts *bind.TransactOpts, newOperator common.Address) (*types.Transaction, error)
TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.
Solidity: function transferOperator(address newOperator) returns()
func (*AgentPoliceV2Transactor) TransferOwnership ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) 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 (*AgentPoliceV2Transactor) Unpause ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type AgentPoliceV2TransactorRaw ¶ added in v1.1.0
type AgentPoliceV2TransactorRaw struct {
Contract *AgentPoliceV2Transactor // Generic write-only contract binding to access the raw methods on
}
AgentPoliceV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AgentPoliceV2TransactorRaw) Transact ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentPoliceV2TransactorRaw) Transfer ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorRaw) 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 AgentPoliceV2TransactorSession ¶ added in v1.1.0
type AgentPoliceV2TransactorSession struct { Contract *AgentPoliceV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentPoliceV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AgentPoliceV2TransactorSession) AcceptOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) AcceptOperator() (*types.Transaction, error)
AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.
Solidity: function acceptOperator() returns()
func (*AgentPoliceV2TransactorSession) AcceptOwnership ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*AgentPoliceV2TransactorSession) DistributeLiquidatedFunds ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) DistributeLiquidatedFunds(agent common.Address, amount *big.Int) (*types.Transaction, error)
DistributeLiquidatedFunds is a paid mutator transaction binding the contract method 0x5e7981de.
Solidity: function distributeLiquidatedFunds(address agent, uint256 amount) returns()
func (*AgentPoliceV2TransactorSession) Pause ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*AgentPoliceV2TransactorSession) PrepareMinerForLiquidation ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) PrepareMinerForLiquidation(agent common.Address, miner uint64, liquidator uint64) (*types.Transaction, error)
PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0x9b83b8cd.
Solidity: function prepareMinerForLiquidation(address agent, uint64 miner, uint64 liquidator) returns()
func (*AgentPoliceV2TransactorSession) PutAgentOnAdministration ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) PutAgentOnAdministration(agent common.Address, sc SignedCredential, administration common.Address) (*types.Transaction, error)
PutAgentOnAdministration is a paid mutator transaction binding the contract method 0x0e927f74.
Solidity: function putAgentOnAdministration(address agent, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc, address administration) returns()
func (*AgentPoliceV2TransactorSession) RegisterCredentialUseBlock ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) RegisterCredentialUseBlock(sc SignedCredential) (*types.Transaction, error)
RegisterCredentialUseBlock is a paid mutator transaction binding the contract method 0x529e2512.
Solidity: function registerCredentialUseBlock(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentPoliceV2TransactorSession) SetAgentDefaultDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetAgentDefaultDTL(agent common.Address, sc SignedCredential) (*types.Transaction, error)
SetAgentDefaultDTL is a paid mutator transaction binding the contract method 0x7a018032.
Solidity: function setAgentDefaultDTL(address agent, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentPoliceV2TransactorSession) SetAgentLevels ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetAgentLevels(agentIDs []*big.Int, level []*big.Int) (*types.Transaction, error)
SetAgentLevels is a paid mutator transaction binding the contract method 0xa0c9119a.
Solidity: function setAgentLevels(uint256[] agentIDs, uint256[] level) returns()
func (*AgentPoliceV2TransactorSession) SetBorrowDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetBorrowDTL(_borrowDTL *big.Int) (*types.Transaction, error)
SetBorrowDTL is a paid mutator transaction binding the contract method 0xb4e45883.
Solidity: function setBorrowDTL(uint256 _borrowDTL) returns()
func (*AgentPoliceV2TransactorSession) SetLevels ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetLevels(_levels [10]*big.Int) (*types.Transaction, error)
SetLevels is a paid mutator transaction binding the contract method 0xe5a8a2cb.
Solidity: function setLevels(uint256[10] _levels) returns()
func (*AgentPoliceV2TransactorSession) SetLiquidationDTL ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetLiquidationDTL(_liquidationDTL *big.Int) (*types.Transaction, error)
SetLiquidationDTL is a paid mutator transaction binding the contract method 0x472910d8.
Solidity: function setLiquidationDTL(uint256 _liquidationDTL) returns()
func (*AgentPoliceV2TransactorSession) SetLiquidationFee ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetLiquidationFee(_liquidationFee *big.Int) (*types.Transaction, error)
SetLiquidationFee is a paid mutator transaction binding the contract method 0xfef0bec8.
Solidity: function setLiquidationFee(uint256 _liquidationFee) returns()
func (*AgentPoliceV2TransactorSession) SetMaxMiners ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetMaxMiners(_maxMiners uint32) (*types.Transaction, error)
SetMaxMiners is a paid mutator transaction binding the contract method 0x8830d8c3.
Solidity: function setMaxMiners(uint32 _maxMiners) returns()
func (*AgentPoliceV2TransactorSession) SetSectorFaultyTolerancePercent ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) SetSectorFaultyTolerancePercent(_sectorFaultyTolerancePercent *big.Int) (*types.Transaction, error)
SetSectorFaultyTolerancePercent is a paid mutator transaction binding the contract method 0x680af724.
Solidity: function setSectorFaultyTolerancePercent(uint256 _sectorFaultyTolerancePercent) returns()
func (*AgentPoliceV2TransactorSession) TransferOperator ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)
TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.
Solidity: function transferOperator(address newOperator) returns()
func (*AgentPoliceV2TransactorSession) TransferOwnership ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) 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 (*AgentPoliceV2TransactorSession) Unpause ¶ added in v1.1.0
func (_AgentPoliceV2 *AgentPoliceV2TransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type AgentPoliceV2Unpaused ¶ added in v1.1.0
type AgentPoliceV2Unpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
AgentPoliceV2Unpaused represents a Unpaused event raised by the AgentPoliceV2 contract.
type AgentPoliceV2UnpausedIterator ¶ added in v1.1.0
type AgentPoliceV2UnpausedIterator struct { Event *AgentPoliceV2Unpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentPoliceV2UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the AgentPoliceV2 contract.
func (*AgentPoliceV2UnpausedIterator) Close ¶ added in v1.1.0
func (it *AgentPoliceV2UnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentPoliceV2UnpausedIterator) Error ¶ added in v1.1.0
func (it *AgentPoliceV2UnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentPoliceV2UnpausedIterator) Next ¶ added in v1.1.0
func (it *AgentPoliceV2UnpausedIterator) 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 AgentRaw ¶
type AgentRaw struct {
Contract *Agent // Generic contract binding to access the raw methods on
}
AgentRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AgentRaw) Call ¶
func (_Agent *AgentRaw) 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 (*AgentRaw) Transact ¶
func (_Agent *AgentRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentRaw) Transfer ¶
func (_Agent *AgentRaw) 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 AgentSession ¶
type AgentSession struct { Contract *Agent // 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 }
AgentSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AgentSession) AcceptOperator ¶
func (_Agent *AgentSession) AcceptOperator() (*types.Transaction, error)
AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.
Solidity: function acceptOperator() returns()
func (*AgentSession) AcceptOwnership ¶
func (_Agent *AgentSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*AgentSession) AddMiner ¶
func (_Agent *AgentSession) AddMiner(sc SignedCredential) (*types.Transaction, error)
AddMiner is a paid mutator transaction binding the contract method 0x2bb9af43.
Solidity: function addMiner(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentSession) Administration ¶
func (_Agent *AgentSession) Administration() (common.Address, error)
Administration is a free data retrieval call binding the contract method 0x3847cb59.
Solidity: function administration() view returns(address)
func (*AgentSession) AdoRequestKey ¶
func (_Agent *AgentSession) AdoRequestKey() (common.Address, error)
AdoRequestKey is a free data retrieval call binding the contract method 0xd502cc1f.
Solidity: function adoRequestKey() view returns(address)
func (*AgentSession) Borrow ¶
func (_Agent *AgentSession) Borrow(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0x5859117d.
Solidity: function borrow(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentSession) ChangeMinerWorker ¶
func (_Agent *AgentSession) ChangeMinerWorker(miner uint64, worker uint64, controlAddresses []uint64) (*types.Transaction, error)
ChangeMinerWorker is a paid mutator transaction binding the contract method 0x8194360e.
Solidity: function changeMinerWorker(uint64 miner, uint64 worker, uint64[] controlAddresses) returns()
func (*AgentSession) ConfirmChangeMinerWorker ¶
func (_Agent *AgentSession) ConfirmChangeMinerWorker(miner uint64) (*types.Transaction, error)
ConfirmChangeMinerWorker is a paid mutator transaction binding the contract method 0xd16ac933.
Solidity: function confirmChangeMinerWorker(uint64 miner) returns()
func (*AgentSession) DecommissionAgent ¶
func (_Agent *AgentSession) DecommissionAgent(_newAgent common.Address) (*types.Transaction, error)
DecommissionAgent is a paid mutator transaction binding the contract method 0x11756607.
Solidity: function decommissionAgent(address _newAgent) returns()
func (*AgentSession) Defaulted ¶
func (_Agent *AgentSession) Defaulted() (bool, error)
Defaulted is a free data retrieval call binding the contract method 0x69e25ec1.
Solidity: function defaulted() view returns(bool)
func (*AgentSession) Fallback ¶
func (_Agent *AgentSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*AgentSession) FaultySectorStartEpoch ¶
func (_Agent *AgentSession) FaultySectorStartEpoch() (*big.Int, error)
FaultySectorStartEpoch is a free data retrieval call binding the contract method 0x8903f7f0.
Solidity: function faultySectorStartEpoch() view returns(uint256)
func (*AgentSession) Id ¶
func (_Agent *AgentSession) Id() (*big.Int, error)
Id is a free data retrieval call binding the contract method 0xaf640d0f.
Solidity: function id() view returns(uint256)
func (*AgentSession) LiquidAssets ¶
func (_Agent *AgentSession) LiquidAssets() (*big.Int, error)
LiquidAssets is a free data retrieval call binding the contract method 0xe492cdce.
Solidity: function liquidAssets() view returns(uint256)
func (*AgentSession) MigrateMiner ¶
func (_Agent *AgentSession) MigrateMiner(miner uint64) (*types.Transaction, error)
MigrateMiner is a paid mutator transaction binding the contract method 0x81b0149a.
Solidity: function migrateMiner(uint64 miner) returns()
func (*AgentSession) NewAgent ¶
func (_Agent *AgentSession) NewAgent() (common.Address, error)
NewAgent is a free data retrieval call binding the contract method 0x56c01ad6.
Solidity: function newAgent() view returns(address)
func (*AgentSession) Operator ¶
func (_Agent *AgentSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*AgentSession) Owner ¶
func (_Agent *AgentSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentSession) Pay ¶
func (_Agent *AgentSession) Pay(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x9ba7e551.
Solidity: function pay(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)
func (*AgentSession) PendingOperator ¶
func (_Agent *AgentSession) PendingOperator() (common.Address, error)
PendingOperator is a free data retrieval call binding the contract method 0xac7e534e.
Solidity: function pendingOperator() view returns(address)
func (*AgentSession) PendingOwner ¶
func (_Agent *AgentSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*AgentSession) PrepareMinerForLiquidation ¶
func (_Agent *AgentSession) PrepareMinerForLiquidation(miner uint64, liquidator uint64) (*types.Transaction, error)
PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0xf794a923.
Solidity: function prepareMinerForLiquidation(uint64 miner, uint64 liquidator) returns()
func (*AgentSession) PullFunds ¶
func (_Agent *AgentSession) PullFunds(sc SignedCredential) (*types.Transaction, error)
PullFunds is a paid mutator transaction binding the contract method 0x7b8686ed.
Solidity: function pullFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentSession) PushFunds ¶
func (_Agent *AgentSession) PushFunds(sc SignedCredential) (*types.Transaction, error)
PushFunds is a paid mutator transaction binding the contract method 0xf1991b54.
Solidity: function pushFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentSession) Receive ¶
func (_Agent *AgentSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*AgentSession) RefreshRoutes ¶
func (_Agent *AgentSession) RefreshRoutes() (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*AgentSession) RemoveMiner ¶
func (_Agent *AgentSession) RemoveMiner(newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)
RemoveMiner is a paid mutator transaction binding the contract method 0x86423c9a.
Solidity: function removeMiner(uint64 newMinerOwner, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentSession) SetAdministration ¶
func (_Agent *AgentSession) SetAdministration(_administration common.Address) (*types.Transaction, error)
SetAdministration is a paid mutator transaction binding the contract method 0x9e4d74cc.
Solidity: function setAdministration(address _administration) returns()
func (*AgentSession) SetAdoRequestKey ¶
func (_Agent *AgentSession) SetAdoRequestKey(_newKey common.Address) (*types.Transaction, error)
SetAdoRequestKey is a paid mutator transaction binding the contract method 0x1aba0c5c.
Solidity: function setAdoRequestKey(address _newKey) returns()
func (*AgentSession) SetFaulty ¶
func (_Agent *AgentSession) SetFaulty() (*types.Transaction, error)
SetFaulty is a paid mutator transaction binding the contract method 0xa7180449.
Solidity: function setFaulty() returns()
func (*AgentSession) SetInDefault ¶
func (_Agent *AgentSession) SetInDefault() (*types.Transaction, error)
SetInDefault is a paid mutator transaction binding the contract method 0x615d9211.
Solidity: function setInDefault() returns()
func (*AgentSession) SetRecovered ¶
func (_Agent *AgentSession) SetRecovered(sc SignedCredential) (*types.Transaction, error)
SetRecovered is a paid mutator transaction binding the contract method 0x99efd9e1.
Solidity: function setRecovered(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentSession) TransferOperator ¶
func (_Agent *AgentSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)
TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.
Solidity: function transferOperator(address newOperator) returns()
func (*AgentSession) TransferOwnership ¶
func (_Agent *AgentSession) 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 (*AgentSession) Version ¶
func (_Agent *AgentSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
func (*AgentSession) Withdraw ¶
func (_Agent *AgentSession) Withdraw(receiver common.Address, sc SignedCredential) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x67a01c22.
Solidity: function withdraw(address receiver, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
type AgentTransactor ¶
type AgentTransactor struct {
// contains filtered or unexported fields
}
AgentTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAgentTransactor ¶
func NewAgentTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentTransactor, error)
NewAgentTransactor creates a new write-only instance of Agent, bound to a specific deployed contract.
func (*AgentTransactor) AcceptOperator ¶
func (_Agent *AgentTransactor) AcceptOperator(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.
Solidity: function acceptOperator() returns()
func (*AgentTransactor) AcceptOwnership ¶
func (_Agent *AgentTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*AgentTransactor) AddMiner ¶
func (_Agent *AgentTransactor) AddMiner(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
AddMiner is a paid mutator transaction binding the contract method 0x2bb9af43.
Solidity: function addMiner(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactor) Borrow ¶
func (_Agent *AgentTransactor) Borrow(opts *bind.TransactOpts, poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0x5859117d.
Solidity: function borrow(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactor) ChangeMinerWorker ¶
func (_Agent *AgentTransactor) ChangeMinerWorker(opts *bind.TransactOpts, miner uint64, worker uint64, controlAddresses []uint64) (*types.Transaction, error)
ChangeMinerWorker is a paid mutator transaction binding the contract method 0x8194360e.
Solidity: function changeMinerWorker(uint64 miner, uint64 worker, uint64[] controlAddresses) returns()
func (*AgentTransactor) ConfirmChangeMinerWorker ¶
func (_Agent *AgentTransactor) ConfirmChangeMinerWorker(opts *bind.TransactOpts, miner uint64) (*types.Transaction, error)
ConfirmChangeMinerWorker is a paid mutator transaction binding the contract method 0xd16ac933.
Solidity: function confirmChangeMinerWorker(uint64 miner) returns()
func (*AgentTransactor) DecommissionAgent ¶
func (_Agent *AgentTransactor) DecommissionAgent(opts *bind.TransactOpts, _newAgent common.Address) (*types.Transaction, error)
DecommissionAgent is a paid mutator transaction binding the contract method 0x11756607.
Solidity: function decommissionAgent(address _newAgent) returns()
func (*AgentTransactor) Fallback ¶
func (_Agent *AgentTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*AgentTransactor) MigrateMiner ¶
func (_Agent *AgentTransactor) MigrateMiner(opts *bind.TransactOpts, miner uint64) (*types.Transaction, error)
MigrateMiner is a paid mutator transaction binding the contract method 0x81b0149a.
Solidity: function migrateMiner(uint64 miner) returns()
func (*AgentTransactor) Pay ¶
func (_Agent *AgentTransactor) Pay(opts *bind.TransactOpts, poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x9ba7e551.
Solidity: function pay(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)
func (*AgentTransactor) PrepareMinerForLiquidation ¶
func (_Agent *AgentTransactor) PrepareMinerForLiquidation(opts *bind.TransactOpts, miner uint64, liquidator uint64) (*types.Transaction, error)
PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0xf794a923.
Solidity: function prepareMinerForLiquidation(uint64 miner, uint64 liquidator) returns()
func (*AgentTransactor) PullFunds ¶
func (_Agent *AgentTransactor) PullFunds(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
PullFunds is a paid mutator transaction binding the contract method 0x7b8686ed.
Solidity: function pullFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactor) PushFunds ¶
func (_Agent *AgentTransactor) PushFunds(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
PushFunds is a paid mutator transaction binding the contract method 0xf1991b54.
Solidity: function pushFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactor) Receive ¶
func (_Agent *AgentTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*AgentTransactor) RefreshRoutes ¶
func (_Agent *AgentTransactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*AgentTransactor) RemoveMiner ¶
func (_Agent *AgentTransactor) RemoveMiner(opts *bind.TransactOpts, newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)
RemoveMiner is a paid mutator transaction binding the contract method 0x86423c9a.
Solidity: function removeMiner(uint64 newMinerOwner, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactor) SetAdministration ¶
func (_Agent *AgentTransactor) SetAdministration(opts *bind.TransactOpts, _administration common.Address) (*types.Transaction, error)
SetAdministration is a paid mutator transaction binding the contract method 0x9e4d74cc.
Solidity: function setAdministration(address _administration) returns()
func (*AgentTransactor) SetAdoRequestKey ¶
func (_Agent *AgentTransactor) SetAdoRequestKey(opts *bind.TransactOpts, _newKey common.Address) (*types.Transaction, error)
SetAdoRequestKey is a paid mutator transaction binding the contract method 0x1aba0c5c.
Solidity: function setAdoRequestKey(address _newKey) returns()
func (*AgentTransactor) SetFaulty ¶
func (_Agent *AgentTransactor) SetFaulty(opts *bind.TransactOpts) (*types.Transaction, error)
SetFaulty is a paid mutator transaction binding the contract method 0xa7180449.
Solidity: function setFaulty() returns()
func (*AgentTransactor) SetInDefault ¶
func (_Agent *AgentTransactor) SetInDefault(opts *bind.TransactOpts) (*types.Transaction, error)
SetInDefault is a paid mutator transaction binding the contract method 0x615d9211.
Solidity: function setInDefault() returns()
func (*AgentTransactor) SetRecovered ¶
func (_Agent *AgentTransactor) SetRecovered(opts *bind.TransactOpts, sc SignedCredential) (*types.Transaction, error)
SetRecovered is a paid mutator transaction binding the contract method 0x99efd9e1.
Solidity: function setRecovered(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactor) TransferOperator ¶
func (_Agent *AgentTransactor) TransferOperator(opts *bind.TransactOpts, newOperator common.Address) (*types.Transaction, error)
TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.
Solidity: function transferOperator(address newOperator) returns()
func (*AgentTransactor) TransferOwnership ¶
func (_Agent *AgentTransactor) 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 (*AgentTransactor) Withdraw ¶
func (_Agent *AgentTransactor) Withdraw(opts *bind.TransactOpts, receiver common.Address, sc SignedCredential) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x67a01c22.
Solidity: function withdraw(address receiver, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
type AgentTransactorRaw ¶
type AgentTransactorRaw struct {
Contract *AgentTransactor // Generic write-only contract binding to access the raw methods on
}
AgentTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AgentTransactorRaw) Transact ¶
func (_Agent *AgentTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentTransactorRaw) Transfer ¶
func (_Agent *AgentTransactorRaw) 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 AgentTransactorSession ¶
type AgentTransactorSession struct { Contract *AgentTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AgentTransactorSession) AcceptOperator ¶
func (_Agent *AgentTransactorSession) AcceptOperator() (*types.Transaction, error)
AcceptOperator is a paid mutator transaction binding the contract method 0xfcad4448.
Solidity: function acceptOperator() returns()
func (*AgentTransactorSession) AcceptOwnership ¶
func (_Agent *AgentTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*AgentTransactorSession) AddMiner ¶
func (_Agent *AgentTransactorSession) AddMiner(sc SignedCredential) (*types.Transaction, error)
AddMiner is a paid mutator transaction binding the contract method 0x2bb9af43.
Solidity: function addMiner(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactorSession) Borrow ¶
func (_Agent *AgentTransactorSession) Borrow(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0x5859117d.
Solidity: function borrow(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactorSession) ChangeMinerWorker ¶
func (_Agent *AgentTransactorSession) ChangeMinerWorker(miner uint64, worker uint64, controlAddresses []uint64) (*types.Transaction, error)
ChangeMinerWorker is a paid mutator transaction binding the contract method 0x8194360e.
Solidity: function changeMinerWorker(uint64 miner, uint64 worker, uint64[] controlAddresses) returns()
func (*AgentTransactorSession) ConfirmChangeMinerWorker ¶
func (_Agent *AgentTransactorSession) ConfirmChangeMinerWorker(miner uint64) (*types.Transaction, error)
ConfirmChangeMinerWorker is a paid mutator transaction binding the contract method 0xd16ac933.
Solidity: function confirmChangeMinerWorker(uint64 miner) returns()
func (*AgentTransactorSession) DecommissionAgent ¶
func (_Agent *AgentTransactorSession) DecommissionAgent(_newAgent common.Address) (*types.Transaction, error)
DecommissionAgent is a paid mutator transaction binding the contract method 0x11756607.
Solidity: function decommissionAgent(address _newAgent) returns()
func (*AgentTransactorSession) Fallback ¶
func (_Agent *AgentTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*AgentTransactorSession) MigrateMiner ¶
func (_Agent *AgentTransactorSession) MigrateMiner(miner uint64) (*types.Transaction, error)
MigrateMiner is a paid mutator transaction binding the contract method 0x81b0149a.
Solidity: function migrateMiner(uint64 miner) returns()
func (*AgentTransactorSession) Pay ¶
func (_Agent *AgentTransactorSession) Pay(poolID *big.Int, sc SignedCredential) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x9ba7e551.
Solidity: function pay(uint256 poolID, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)
func (*AgentTransactorSession) PrepareMinerForLiquidation ¶
func (_Agent *AgentTransactorSession) PrepareMinerForLiquidation(miner uint64, liquidator uint64) (*types.Transaction, error)
PrepareMinerForLiquidation is a paid mutator transaction binding the contract method 0xf794a923.
Solidity: function prepareMinerForLiquidation(uint64 miner, uint64 liquidator) returns()
func (*AgentTransactorSession) PullFunds ¶
func (_Agent *AgentTransactorSession) PullFunds(sc SignedCredential) (*types.Transaction, error)
PullFunds is a paid mutator transaction binding the contract method 0x7b8686ed.
Solidity: function pullFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactorSession) PushFunds ¶
func (_Agent *AgentTransactorSession) PushFunds(sc SignedCredential) (*types.Transaction, error)
PushFunds is a paid mutator transaction binding the contract method 0xf1991b54.
Solidity: function pushFunds(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactorSession) Receive ¶
func (_Agent *AgentTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*AgentTransactorSession) RefreshRoutes ¶
func (_Agent *AgentTransactorSession) RefreshRoutes() (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*AgentTransactorSession) RemoveMiner ¶
func (_Agent *AgentTransactorSession) RemoveMiner(newMinerOwner uint64, sc SignedCredential) (*types.Transaction, error)
RemoveMiner is a paid mutator transaction binding the contract method 0x86423c9a.
Solidity: function removeMiner(uint64 newMinerOwner, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactorSession) SetAdministration ¶
func (_Agent *AgentTransactorSession) SetAdministration(_administration common.Address) (*types.Transaction, error)
SetAdministration is a paid mutator transaction binding the contract method 0x9e4d74cc.
Solidity: function setAdministration(address _administration) returns()
func (*AgentTransactorSession) SetAdoRequestKey ¶
func (_Agent *AgentTransactorSession) SetAdoRequestKey(_newKey common.Address) (*types.Transaction, error)
SetAdoRequestKey is a paid mutator transaction binding the contract method 0x1aba0c5c.
Solidity: function setAdoRequestKey(address _newKey) returns()
func (*AgentTransactorSession) SetFaulty ¶
func (_Agent *AgentTransactorSession) SetFaulty() (*types.Transaction, error)
SetFaulty is a paid mutator transaction binding the contract method 0xa7180449.
Solidity: function setFaulty() returns()
func (*AgentTransactorSession) SetInDefault ¶
func (_Agent *AgentTransactorSession) SetInDefault() (*types.Transaction, error)
SetInDefault is a paid mutator transaction binding the contract method 0x615d9211.
Solidity: function setInDefault() returns()
func (*AgentTransactorSession) SetRecovered ¶
func (_Agent *AgentTransactorSession) SetRecovered(sc SignedCredential) (*types.Transaction, error)
SetRecovered is a paid mutator transaction binding the contract method 0x99efd9e1.
Solidity: function setRecovered(((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
func (*AgentTransactorSession) TransferOperator ¶
func (_Agent *AgentTransactorSession) TransferOperator(newOperator common.Address) (*types.Transaction, error)
TransferOperator is a paid mutator transaction binding the contract method 0x29605e77.
Solidity: function transferOperator(address newOperator) returns()
func (*AgentTransactorSession) TransferOwnership ¶
func (_Agent *AgentTransactorSession) 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 (*AgentTransactorSession) Withdraw ¶
func (_Agent *AgentTransactorSession) Withdraw(receiver common.Address, sc SignedCredential) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x67a01c22.
Solidity: function withdraw(address receiver, ((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes),uint8,bytes32,bytes32) sc) returns()
type CredParser ¶
type CredParser struct { CredParserCaller // Read-only binding to the contract CredParserTransactor // Write-only binding to the contract CredParserFilterer // Log filterer for contract events }
CredParser is an auto generated Go binding around an Ethereum contract.
func NewCredParser ¶
func NewCredParser(address common.Address, backend bind.ContractBackend) (*CredParser, error)
NewCredParser creates a new instance of CredParser, bound to a specific deployed contract.
type CredParserCaller ¶
type CredParserCaller struct {
// contains filtered or unexported fields
}
CredParserCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCredParserCaller ¶
func NewCredParserCaller(address common.Address, caller bind.ContractCaller) (*CredParserCaller, error)
NewCredParserCaller creates a new read-only instance of CredParser, bound to a specific deployed contract.
func (*CredParserCaller) GetAgentValue ¶
func (_CredParser *CredParserCaller) GetAgentValue(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetAgentValue is a free data retrieval call binding the contract method 0x6bb0d0cc.
Solidity: function getAgentValue(bytes _agentData) pure returns(uint256)
func (*CredParserCaller) GetCollateralValue ¶
func (_CredParser *CredParserCaller) GetCollateralValue(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetCollateralValue is a free data retrieval call binding the contract method 0x1b2b5fad.
Solidity: function getCollateralValue(bytes _agentData) pure returns(uint256)
func (*CredParserCaller) GetExpectedDailyRewards ¶
func (_CredParser *CredParserCaller) GetExpectedDailyRewards(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetExpectedDailyRewards is a free data retrieval call binding the contract method 0xd9bc1b73.
Solidity: function getExpectedDailyRewards(bytes _agentData) pure returns(uint256)
func (*CredParserCaller) GetFaultySectors ¶
func (_CredParser *CredParserCaller) GetFaultySectors(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetFaultySectors is a free data retrieval call binding the contract method 0x07124c06.
Solidity: function getFaultySectors(bytes _agentData) pure returns(uint256)
func (*CredParserCaller) GetGCRED ¶
func (_CredParser *CredParserCaller) GetGCRED(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetGCRED is a free data retrieval call binding the contract method 0x68fd63d3.
Solidity: function getGCRED(bytes _agentData) pure returns(uint256)
func (*CredParserCaller) GetGreenScore ¶
func (_CredParser *CredParserCaller) GetGreenScore(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetGreenScore is a free data retrieval call binding the contract method 0xb661e482.
Solidity: function getGreenScore(bytes _agentData) pure returns(uint256)
func (*CredParserCaller) GetLiveSectors ¶
func (_CredParser *CredParserCaller) GetLiveSectors(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetLiveSectors is a free data retrieval call binding the contract method 0x402ed8cb.
Solidity: function getLiveSectors(bytes _agentData) pure returns(uint256)
func (*CredParserCaller) GetPrincipal ¶
func (_CredParser *CredParserCaller) GetPrincipal(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetPrincipal is a free data retrieval call binding the contract method 0x17bbd29a.
Solidity: function getPrincipal(bytes _agentData) pure returns(uint256)
func (*CredParserCaller) GetQAPower ¶
func (_CredParser *CredParserCaller) GetQAPower(opts *bind.CallOpts, _agentData []byte) (*big.Int, error)
GetQAPower is a free data retrieval call binding the contract method 0x50543540.
Solidity: function getQAPower(bytes _agentData) pure returns(uint256)
type CredParserCallerRaw ¶
type CredParserCallerRaw struct {
Contract *CredParserCaller // Generic read-only contract binding to access the raw methods on
}
CredParserCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CredParserCallerRaw) Call ¶
func (_CredParser *CredParserCallerRaw) 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 CredParserCallerSession ¶
type CredParserCallerSession struct { Contract *CredParserCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CredParserCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CredParserCallerSession) GetAgentValue ¶
func (_CredParser *CredParserCallerSession) GetAgentValue(_agentData []byte) (*big.Int, error)
GetAgentValue is a free data retrieval call binding the contract method 0x6bb0d0cc.
Solidity: function getAgentValue(bytes _agentData) pure returns(uint256)
func (*CredParserCallerSession) GetCollateralValue ¶
func (_CredParser *CredParserCallerSession) GetCollateralValue(_agentData []byte) (*big.Int, error)
GetCollateralValue is a free data retrieval call binding the contract method 0x1b2b5fad.
Solidity: function getCollateralValue(bytes _agentData) pure returns(uint256)
func (*CredParserCallerSession) GetExpectedDailyRewards ¶
func (_CredParser *CredParserCallerSession) GetExpectedDailyRewards(_agentData []byte) (*big.Int, error)
GetExpectedDailyRewards is a free data retrieval call binding the contract method 0xd9bc1b73.
Solidity: function getExpectedDailyRewards(bytes _agentData) pure returns(uint256)
func (*CredParserCallerSession) GetFaultySectors ¶
func (_CredParser *CredParserCallerSession) GetFaultySectors(_agentData []byte) (*big.Int, error)
GetFaultySectors is a free data retrieval call binding the contract method 0x07124c06.
Solidity: function getFaultySectors(bytes _agentData) pure returns(uint256)
func (*CredParserCallerSession) GetGCRED ¶
func (_CredParser *CredParserCallerSession) GetGCRED(_agentData []byte) (*big.Int, error)
GetGCRED is a free data retrieval call binding the contract method 0x68fd63d3.
Solidity: function getGCRED(bytes _agentData) pure returns(uint256)
func (*CredParserCallerSession) GetGreenScore ¶
func (_CredParser *CredParserCallerSession) GetGreenScore(_agentData []byte) (*big.Int, error)
GetGreenScore is a free data retrieval call binding the contract method 0xb661e482.
Solidity: function getGreenScore(bytes _agentData) pure returns(uint256)
func (*CredParserCallerSession) GetLiveSectors ¶
func (_CredParser *CredParserCallerSession) GetLiveSectors(_agentData []byte) (*big.Int, error)
GetLiveSectors is a free data retrieval call binding the contract method 0x402ed8cb.
Solidity: function getLiveSectors(bytes _agentData) pure returns(uint256)
func (*CredParserCallerSession) GetPrincipal ¶
func (_CredParser *CredParserCallerSession) GetPrincipal(_agentData []byte) (*big.Int, error)
GetPrincipal is a free data retrieval call binding the contract method 0x17bbd29a.
Solidity: function getPrincipal(bytes _agentData) pure returns(uint256)
func (*CredParserCallerSession) GetQAPower ¶
func (_CredParser *CredParserCallerSession) GetQAPower(_agentData []byte) (*big.Int, error)
GetQAPower is a free data retrieval call binding the contract method 0x50543540.
Solidity: function getQAPower(bytes _agentData) pure returns(uint256)
type CredParserFilterer ¶
type CredParserFilterer struct {
// contains filtered or unexported fields
}
CredParserFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCredParserFilterer ¶
func NewCredParserFilterer(address common.Address, filterer bind.ContractFilterer) (*CredParserFilterer, error)
NewCredParserFilterer creates a new log filterer instance of CredParser, bound to a specific deployed contract.
type CredParserRaw ¶
type CredParserRaw struct {
Contract *CredParser // Generic contract binding to access the raw methods on
}
CredParserRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CredParserRaw) Call ¶
func (_CredParser *CredParserRaw) 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 (*CredParserRaw) Transact ¶
func (_CredParser *CredParserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CredParserRaw) Transfer ¶
func (_CredParser *CredParserRaw) 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 CredParserSession ¶
type CredParserSession struct { Contract *CredParser // 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 }
CredParserSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CredParserSession) GetAgentValue ¶
func (_CredParser *CredParserSession) GetAgentValue(_agentData []byte) (*big.Int, error)
GetAgentValue is a free data retrieval call binding the contract method 0x6bb0d0cc.
Solidity: function getAgentValue(bytes _agentData) pure returns(uint256)
func (*CredParserSession) GetCollateralValue ¶
func (_CredParser *CredParserSession) GetCollateralValue(_agentData []byte) (*big.Int, error)
GetCollateralValue is a free data retrieval call binding the contract method 0x1b2b5fad.
Solidity: function getCollateralValue(bytes _agentData) pure returns(uint256)
func (*CredParserSession) GetExpectedDailyRewards ¶
func (_CredParser *CredParserSession) GetExpectedDailyRewards(_agentData []byte) (*big.Int, error)
GetExpectedDailyRewards is a free data retrieval call binding the contract method 0xd9bc1b73.
Solidity: function getExpectedDailyRewards(bytes _agentData) pure returns(uint256)
func (*CredParserSession) GetFaultySectors ¶
func (_CredParser *CredParserSession) GetFaultySectors(_agentData []byte) (*big.Int, error)
GetFaultySectors is a free data retrieval call binding the contract method 0x07124c06.
Solidity: function getFaultySectors(bytes _agentData) pure returns(uint256)
func (*CredParserSession) GetGCRED ¶
func (_CredParser *CredParserSession) GetGCRED(_agentData []byte) (*big.Int, error)
GetGCRED is a free data retrieval call binding the contract method 0x68fd63d3.
Solidity: function getGCRED(bytes _agentData) pure returns(uint256)
func (*CredParserSession) GetGreenScore ¶
func (_CredParser *CredParserSession) GetGreenScore(_agentData []byte) (*big.Int, error)
GetGreenScore is a free data retrieval call binding the contract method 0xb661e482.
Solidity: function getGreenScore(bytes _agentData) pure returns(uint256)
func (*CredParserSession) GetLiveSectors ¶
func (_CredParser *CredParserSession) GetLiveSectors(_agentData []byte) (*big.Int, error)
GetLiveSectors is a free data retrieval call binding the contract method 0x402ed8cb.
Solidity: function getLiveSectors(bytes _agentData) pure returns(uint256)
func (*CredParserSession) GetPrincipal ¶
func (_CredParser *CredParserSession) GetPrincipal(_agentData []byte) (*big.Int, error)
GetPrincipal is a free data retrieval call binding the contract method 0x17bbd29a.
Solidity: function getPrincipal(bytes _agentData) pure returns(uint256)
func (*CredParserSession) GetQAPower ¶
func (_CredParser *CredParserSession) GetQAPower(_agentData []byte) (*big.Int, error)
GetQAPower is a free data retrieval call binding the contract method 0x50543540.
Solidity: function getQAPower(bytes _agentData) pure returns(uint256)
type CredParserTransactor ¶
type CredParserTransactor struct {
// contains filtered or unexported fields
}
CredParserTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCredParserTransactor ¶
func NewCredParserTransactor(address common.Address, transactor bind.ContractTransactor) (*CredParserTransactor, error)
NewCredParserTransactor creates a new write-only instance of CredParser, bound to a specific deployed contract.
type CredParserTransactorRaw ¶
type CredParserTransactorRaw struct {
Contract *CredParserTransactor // Generic write-only contract binding to access the raw methods on
}
CredParserTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CredParserTransactorRaw) Transact ¶
func (_CredParser *CredParserTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CredParserTransactorRaw) Transfer ¶
func (_CredParser *CredParserTransactorRaw) 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 CredParserTransactorSession ¶
type CredParserTransactorSession struct { Contract *CredParserTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CredParserTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type FilForwarder ¶
type FilForwarder struct { FilForwarderCaller // Read-only binding to the contract FilForwarderTransactor // Write-only binding to the contract FilForwarderFilterer // Log filterer for contract events }
FilForwarder is an auto generated Go binding around an Ethereum contract.
func NewFilForwarder ¶
func NewFilForwarder(address common.Address, backend bind.ContractBackend) (*FilForwarder, error)
NewFilForwarder creates a new instance of FilForwarder, bound to a specific deployed contract.
type FilForwarderCaller ¶
type FilForwarderCaller struct {
// contains filtered or unexported fields
}
FilForwarderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFilForwarderCaller ¶
func NewFilForwarderCaller(address common.Address, caller bind.ContractCaller) (*FilForwarderCaller, error)
NewFilForwarderCaller creates a new read-only instance of FilForwarder, bound to a specific deployed contract.
type FilForwarderCallerRaw ¶
type FilForwarderCallerRaw struct {
Contract *FilForwarderCaller // Generic read-only contract binding to access the raw methods on
}
FilForwarderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FilForwarderCallerRaw) Call ¶
func (_FilForwarder *FilForwarderCallerRaw) 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 FilForwarderCallerSession ¶
type FilForwarderCallerSession struct { Contract *FilForwarderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FilForwarderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type FilForwarderFilterer ¶
type FilForwarderFilterer struct {
// contains filtered or unexported fields
}
FilForwarderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFilForwarderFilterer ¶
func NewFilForwarderFilterer(address common.Address, filterer bind.ContractFilterer) (*FilForwarderFilterer, error)
NewFilForwarderFilterer creates a new log filterer instance of FilForwarder, bound to a specific deployed contract.
type FilForwarderRaw ¶
type FilForwarderRaw struct {
Contract *FilForwarder // Generic contract binding to access the raw methods on
}
FilForwarderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FilForwarderRaw) Call ¶
func (_FilForwarder *FilForwarderRaw) 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 (*FilForwarderRaw) Transact ¶
func (_FilForwarder *FilForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FilForwarderRaw) Transfer ¶
func (_FilForwarder *FilForwarderRaw) 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 FilForwarderSession ¶
type FilForwarderSession struct { Contract *FilForwarder // 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 }
FilForwarderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FilForwarderSession) Forward ¶
func (_FilForwarder *FilForwarderSession) Forward(destination []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0xd948d468.
Solidity: function forward(bytes destination) payable returns()
type FilForwarderTransactor ¶
type FilForwarderTransactor struct {
// contains filtered or unexported fields
}
FilForwarderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFilForwarderTransactor ¶
func NewFilForwarderTransactor(address common.Address, transactor bind.ContractTransactor) (*FilForwarderTransactor, error)
NewFilForwarderTransactor creates a new write-only instance of FilForwarder, bound to a specific deployed contract.
func (*FilForwarderTransactor) Forward ¶
func (_FilForwarder *FilForwarderTransactor) Forward(opts *bind.TransactOpts, destination []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0xd948d468.
Solidity: function forward(bytes destination) payable returns()
type FilForwarderTransactorRaw ¶
type FilForwarderTransactorRaw struct {
Contract *FilForwarderTransactor // Generic write-only contract binding to access the raw methods on
}
FilForwarderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FilForwarderTransactorRaw) Transact ¶
func (_FilForwarder *FilForwarderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FilForwarderTransactorRaw) Transfer ¶
func (_FilForwarder *FilForwarderTransactorRaw) 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 FilForwarderTransactorSession ¶
type FilForwarderTransactorSession struct { Contract *FilForwarderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FilForwarderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FilForwarderTransactorSession) Forward ¶
func (_FilForwarder *FilForwarderTransactorSession) Forward(destination []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0xd948d468.
Solidity: function forward(bytes destination) payable returns()
type InfinityPoolV2 ¶ added in v1.1.0
type InfinityPoolV2 struct { InfinityPoolV2Caller // Read-only binding to the contract InfinityPoolV2Transactor // Write-only binding to the contract InfinityPoolV2Filterer // Log filterer for contract events }
InfinityPoolV2 is an auto generated Go binding around an Ethereum contract.
func NewInfinityPoolV2 ¶ added in v1.1.0
func NewInfinityPoolV2(address common.Address, backend bind.ContractBackend) (*InfinityPoolV2, error)
NewInfinityPoolV2 creates a new instance of InfinityPoolV2, bound to a specific deployed contract.
type InfinityPoolV2Borrow ¶ added in v1.1.0
type InfinityPoolV2Borrow struct { Agent *big.Int Amount *big.Int EpochsPaidCursor *big.Int Raw types.Log // Blockchain specific contextual infos }
InfinityPoolV2Borrow represents a Borrow event raised by the InfinityPoolV2 contract.
type InfinityPoolV2BorrowIterator ¶ added in v1.1.0
type InfinityPoolV2BorrowIterator struct { Event *InfinityPoolV2Borrow // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InfinityPoolV2BorrowIterator is returned from FilterBorrow and is used to iterate over the raw logs and unpacked data for Borrow events raised by the InfinityPoolV2 contract.
func (*InfinityPoolV2BorrowIterator) Close ¶ added in v1.1.0
func (it *InfinityPoolV2BorrowIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InfinityPoolV2BorrowIterator) Error ¶ added in v1.1.0
func (it *InfinityPoolV2BorrowIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InfinityPoolV2BorrowIterator) Next ¶ added in v1.1.0
func (it *InfinityPoolV2BorrowIterator) 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 InfinityPoolV2Caller ¶ added in v1.1.0
type InfinityPoolV2Caller struct {
// contains filtered or unexported fields
}
InfinityPoolV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewInfinityPoolV2Caller ¶ added in v1.1.0
func NewInfinityPoolV2Caller(address common.Address, caller bind.ContractCaller) (*InfinityPoolV2Caller, error)
NewInfinityPoolV2Caller creates a new read-only instance of InfinityPoolV2, bound to a specific deployed contract.
func (*InfinityPoolV2Caller) AllPools ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) AllPools(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
AllPools is a free data retrieval call binding the contract method 0x41d1de97.
Solidity: function allPools(uint256 ) view returns(address)
func (*InfinityPoolV2Caller) AllPoolsLength ¶ added in v1.1.0
AllPoolsLength is a free data retrieval call binding the contract method 0xefde4e64.
Solidity: function allPoolsLength() pure returns(uint256)
func (*InfinityPoolV2Caller) Asset ¶ added in v1.1.0
Asset is a free data retrieval call binding the contract method 0x38d52e0f.
Solidity: function asset() view returns(address)
func (*InfinityPoolV2Caller) ConvertToAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) ConvertToAssets(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.
Solidity: function convertToAssets(uint256 shares) view returns(uint256)
func (*InfinityPoolV2Caller) ConvertToShares ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) ConvertToShares(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.
Solidity: function convertToShares(uint256 assets) view returns(uint256)
func (*InfinityPoolV2Caller) CredParser ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) CredParser(opts *bind.CallOpts) (common.Address, error)
CredParser is a free data retrieval call binding the contract method 0x77c0f07d.
Solidity: function credParser() view returns(address)
func (*InfinityPoolV2Caller) GetAbsMinLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) GetAbsMinLiquidity(opts *bind.CallOpts) (*big.Int, error)
GetAbsMinLiquidity is a free data retrieval call binding the contract method 0xf1ccc3df.
Solidity: function getAbsMinLiquidity() view returns(uint256)
func (*InfinityPoolV2Caller) GetAgentBorrowed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) GetAgentBorrowed(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)
GetAgentBorrowed is a free data retrieval call binding the contract method 0x5fc2faf7.
Solidity: function getAgentBorrowed(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2Caller) GetAgentDebt ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) GetAgentDebt(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)
GetAgentDebt is a free data retrieval call binding the contract method 0x9f4326d7.
Solidity: function getAgentDebt(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2Caller) GetAgentInterestOwed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) GetAgentInterestOwed(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)
GetAgentInterestOwed is a free data retrieval call binding the contract method 0xf086ce60.
Solidity: function getAgentInterestOwed(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2Caller) GetLiquidAssets ¶ added in v1.1.0
GetLiquidAssets is a free data retrieval call binding the contract method 0x5d66b00a.
Solidity: function getLiquidAssets() view returns(uint256)
func (*InfinityPoolV2Caller) GetRate ¶ added in v1.1.0
GetRate is a free data retrieval call binding the contract method 0x679aefce.
Solidity: function getRate() view returns(uint256 rate)
func (*InfinityPoolV2Caller) Id ¶ added in v1.1.0
Id is a free data retrieval call binding the contract method 0xaf640d0f.
Solidity: function id() view returns(uint256)
func (*InfinityPoolV2Caller) IsShuttingDown ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) IsShuttingDown(opts *bind.CallOpts) (bool, error)
IsShuttingDown is a free data retrieval call binding the contract method 0xb2bcb002.
Solidity: function isShuttingDown() view returns(bool)
func (*InfinityPoolV2Caller) LastAccountingUpdateEpoch ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) LastAccountingUpdateEpoch(opts *bind.CallOpts) (*big.Int, error)
LastAccountingUpdateEpoch is a free data retrieval call binding the contract method 0x90fd6bc6.
Solidity: function lastAccountingUpdateEpoch() view returns(uint256)
func (*InfinityPoolV2Caller) LiquidStakingToken ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) LiquidStakingToken(opts *bind.CallOpts) (common.Address, error)
LiquidStakingToken is a free data retrieval call binding the contract method 0x1cbe8df6.
Solidity: function liquidStakingToken() view returns(address)
func (*InfinityPoolV2Caller) Lm ¶ added in v1.1.0
Lm is a free data retrieval call binding the contract method 0x803ba97e.
Solidity: function lm() view returns(address)
func (*InfinityPoolV2Caller) LpRewards ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) LpRewards(opts *bind.CallOpts) (RewardAccrual, error)
LpRewards is a free data retrieval call binding the contract method 0x0c762141.
Solidity: function lpRewards() view returns((uint256,uint256,uint256))
func (*InfinityPoolV2Caller) MaxDeposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.
Solidity: function maxDeposit(address ) pure returns(uint256)
func (*InfinityPoolV2Caller) MaxMint ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) MaxMint(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.
Solidity: function maxMint(address ) pure returns(uint256)
func (*InfinityPoolV2Caller) MaxRedeem ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) MaxRedeem(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.
Solidity: function maxRedeem(address owner) view returns(uint256 shares)
func (*InfinityPoolV2Caller) MaxWithdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) MaxWithdraw(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.
Solidity: function maxWithdraw(address owner) view returns(uint256)
func (*InfinityPoolV2Caller) MinimumLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) MinimumLiquidity(opts *bind.CallOpts) (*big.Int, error)
MinimumLiquidity is a free data retrieval call binding the contract method 0xb56cf011.
Solidity: function minimumLiquidity() view returns(uint256)
func (*InfinityPoolV2Caller) Owner ¶ added in v1.1.0
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*InfinityPoolV2Caller) Paused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*InfinityPoolV2Caller) PendingOwner ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*InfinityPoolV2Caller) PreviewDeposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) PreviewDeposit(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.
Solidity: function previewDeposit(uint256 assets) view returns(uint256)
func (*InfinityPoolV2Caller) PreviewMint ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) PreviewMint(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.
Solidity: function previewMint(uint256 shares) view returns(uint256)
func (*InfinityPoolV2Caller) PreviewRedeem ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.
Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)
func (*InfinityPoolV2Caller) PreviewWithdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.
Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)
func (*InfinityPoolV2Caller) RateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) RateUpdate(opts *bind.CallOpts) (RateUpdate, error)
RateUpdate is a free data retrieval call binding the contract method 0x0c7290f2.
Solidity: function rateUpdate() view returns((uint256,uint256,uint256,uint256,bool))
func (*InfinityPoolV2Caller) TotalAssets ¶ added in v1.1.0
TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.
Solidity: function totalAssets() view returns(uint256)
func (*InfinityPoolV2Caller) TotalBorrowableAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) TotalBorrowableAssets(opts *bind.CallOpts) (*big.Int, error)
TotalBorrowableAssets is a free data retrieval call binding the contract method 0x86a2c988.
Solidity: function totalBorrowableAssets() view returns(uint256)
func (*InfinityPoolV2Caller) TotalBorrowed ¶ added in v1.1.0
TotalBorrowed is a free data retrieval call binding the contract method 0x4c19386c.
Solidity: function totalBorrowed() view returns(uint256)
func (*InfinityPoolV2Caller) TreasuryFeeRate ¶ added in v1.1.0
TreasuryFeeRate is a free data retrieval call binding the contract method 0x66601032.
Solidity: function treasuryFeeRate() view returns(uint256)
func (*InfinityPoolV2Caller) TreasuryFeesOwed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) TreasuryFeesOwed(opts *bind.CallOpts) (*big.Int, error)
TreasuryFeesOwed is a free data retrieval call binding the contract method 0x6b285af1.
Solidity: function treasuryFeesOwed() view returns(uint256)
func (*InfinityPoolV2Caller) TreasuryRewards ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Caller) TreasuryRewards(opts *bind.CallOpts) (RewardAccrual, error)
TreasuryRewards is a free data retrieval call binding the contract method 0x6af1a7e8.
Solidity: function treasuryRewards() view returns((uint256,uint256,uint256))
type InfinityPoolV2CallerRaw ¶ added in v1.1.0
type InfinityPoolV2CallerRaw struct {
Contract *InfinityPoolV2Caller // Generic read-only contract binding to access the raw methods on
}
InfinityPoolV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InfinityPoolV2CallerRaw) Call ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerRaw) 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 InfinityPoolV2CallerSession ¶ added in v1.1.0
type InfinityPoolV2CallerSession struct { Contract *InfinityPoolV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InfinityPoolV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InfinityPoolV2CallerSession) AllPools ¶ added in v1.1.0
AllPools is a free data retrieval call binding the contract method 0x41d1de97.
Solidity: function allPools(uint256 ) view returns(address)
func (*InfinityPoolV2CallerSession) AllPoolsLength ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) AllPoolsLength() (*big.Int, error)
AllPoolsLength is a free data retrieval call binding the contract method 0xefde4e64.
Solidity: function allPoolsLength() pure returns(uint256)
func (*InfinityPoolV2CallerSession) Asset ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Asset() (common.Address, error)
Asset is a free data retrieval call binding the contract method 0x38d52e0f.
Solidity: function asset() view returns(address)
func (*InfinityPoolV2CallerSession) ConvertToAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) ConvertToAssets(shares *big.Int) (*big.Int, error)
ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.
Solidity: function convertToAssets(uint256 shares) view returns(uint256)
func (*InfinityPoolV2CallerSession) ConvertToShares ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) ConvertToShares(assets *big.Int) (*big.Int, error)
ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.
Solidity: function convertToShares(uint256 assets) view returns(uint256)
func (*InfinityPoolV2CallerSession) CredParser ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) CredParser() (common.Address, error)
CredParser is a free data retrieval call binding the contract method 0x77c0f07d.
Solidity: function credParser() view returns(address)
func (*InfinityPoolV2CallerSession) GetAbsMinLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetAbsMinLiquidity() (*big.Int, error)
GetAbsMinLiquidity is a free data retrieval call binding the contract method 0xf1ccc3df.
Solidity: function getAbsMinLiquidity() view returns(uint256)
func (*InfinityPoolV2CallerSession) GetAgentBorrowed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetAgentBorrowed(agentID *big.Int) (*big.Int, error)
GetAgentBorrowed is a free data retrieval call binding the contract method 0x5fc2faf7.
Solidity: function getAgentBorrowed(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2CallerSession) GetAgentDebt ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetAgentDebt(agentID *big.Int) (*big.Int, error)
GetAgentDebt is a free data retrieval call binding the contract method 0x9f4326d7.
Solidity: function getAgentDebt(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2CallerSession) GetAgentInterestOwed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetAgentInterestOwed(agentID *big.Int) (*big.Int, error)
GetAgentInterestOwed is a free data retrieval call binding the contract method 0xf086ce60.
Solidity: function getAgentInterestOwed(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2CallerSession) GetLiquidAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetLiquidAssets() (*big.Int, error)
GetLiquidAssets is a free data retrieval call binding the contract method 0x5d66b00a.
Solidity: function getLiquidAssets() view returns(uint256)
func (*InfinityPoolV2CallerSession) GetRate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) GetRate() (*big.Int, error)
GetRate is a free data retrieval call binding the contract method 0x679aefce.
Solidity: function getRate() view returns(uint256 rate)
func (*InfinityPoolV2CallerSession) Id ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Id() (*big.Int, error)
Id is a free data retrieval call binding the contract method 0xaf640d0f.
Solidity: function id() view returns(uint256)
func (*InfinityPoolV2CallerSession) IsShuttingDown ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) IsShuttingDown() (bool, error)
IsShuttingDown is a free data retrieval call binding the contract method 0xb2bcb002.
Solidity: function isShuttingDown() view returns(bool)
func (*InfinityPoolV2CallerSession) LastAccountingUpdateEpoch ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) LastAccountingUpdateEpoch() (*big.Int, error)
LastAccountingUpdateEpoch is a free data retrieval call binding the contract method 0x90fd6bc6.
Solidity: function lastAccountingUpdateEpoch() view returns(uint256)
func (*InfinityPoolV2CallerSession) LiquidStakingToken ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) LiquidStakingToken() (common.Address, error)
LiquidStakingToken is a free data retrieval call binding the contract method 0x1cbe8df6.
Solidity: function liquidStakingToken() view returns(address)
func (*InfinityPoolV2CallerSession) Lm ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Lm() (common.Address, error)
Lm is a free data retrieval call binding the contract method 0x803ba97e.
Solidity: function lm() view returns(address)
func (*InfinityPoolV2CallerSession) LpRewards ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) LpRewards() (RewardAccrual, error)
LpRewards is a free data retrieval call binding the contract method 0x0c762141.
Solidity: function lpRewards() view returns((uint256,uint256,uint256))
func (*InfinityPoolV2CallerSession) MaxDeposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)
MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.
Solidity: function maxDeposit(address ) pure returns(uint256)
func (*InfinityPoolV2CallerSession) MaxMint ¶ added in v1.1.0
MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.
Solidity: function maxMint(address ) pure returns(uint256)
func (*InfinityPoolV2CallerSession) MaxRedeem ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MaxRedeem(owner common.Address) (*big.Int, error)
MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.
Solidity: function maxRedeem(address owner) view returns(uint256 shares)
func (*InfinityPoolV2CallerSession) MaxWithdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MaxWithdraw(owner common.Address) (*big.Int, error)
MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.
Solidity: function maxWithdraw(address owner) view returns(uint256)
func (*InfinityPoolV2CallerSession) MinimumLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) MinimumLiquidity() (*big.Int, error)
MinimumLiquidity is a free data retrieval call binding the contract method 0xb56cf011.
Solidity: function minimumLiquidity() view returns(uint256)
func (*InfinityPoolV2CallerSession) Owner ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*InfinityPoolV2CallerSession) Paused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*InfinityPoolV2CallerSession) PendingOwner ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*InfinityPoolV2CallerSession) PreviewDeposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PreviewDeposit(assets *big.Int) (*big.Int, error)
PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.
Solidity: function previewDeposit(uint256 assets) view returns(uint256)
func (*InfinityPoolV2CallerSession) PreviewMint ¶ added in v1.1.0
PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.
Solidity: function previewMint(uint256 shares) view returns(uint256)
func (*InfinityPoolV2CallerSession) PreviewRedeem ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PreviewRedeem(shares *big.Int) (*big.Int, error)
PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.
Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)
func (*InfinityPoolV2CallerSession) PreviewWithdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)
PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.
Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)
func (*InfinityPoolV2CallerSession) RateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) RateUpdate() (RateUpdate, error)
RateUpdate is a free data retrieval call binding the contract method 0x0c7290f2.
Solidity: function rateUpdate() view returns((uint256,uint256,uint256,uint256,bool))
func (*InfinityPoolV2CallerSession) TotalAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TotalAssets() (*big.Int, error)
TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.
Solidity: function totalAssets() view returns(uint256)
func (*InfinityPoolV2CallerSession) TotalBorrowableAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TotalBorrowableAssets() (*big.Int, error)
TotalBorrowableAssets is a free data retrieval call binding the contract method 0x86a2c988.
Solidity: function totalBorrowableAssets() view returns(uint256)
func (*InfinityPoolV2CallerSession) TotalBorrowed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TotalBorrowed() (*big.Int, error)
TotalBorrowed is a free data retrieval call binding the contract method 0x4c19386c.
Solidity: function totalBorrowed() view returns(uint256)
func (*InfinityPoolV2CallerSession) TreasuryFeeRate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TreasuryFeeRate() (*big.Int, error)
TreasuryFeeRate is a free data retrieval call binding the contract method 0x66601032.
Solidity: function treasuryFeeRate() view returns(uint256)
func (*InfinityPoolV2CallerSession) TreasuryFeesOwed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TreasuryFeesOwed() (*big.Int, error)
TreasuryFeesOwed is a free data retrieval call binding the contract method 0x6b285af1.
Solidity: function treasuryFeesOwed() view returns(uint256)
func (*InfinityPoolV2CallerSession) TreasuryRewards ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2CallerSession) TreasuryRewards() (RewardAccrual, error)
TreasuryRewards is a free data retrieval call binding the contract method 0x6af1a7e8.
Solidity: function treasuryRewards() view returns((uint256,uint256,uint256))
type InfinityPoolV2Deposit ¶ added in v1.1.0
type InfinityPoolV2Deposit struct { Caller common.Address Owner common.Address Assets *big.Int Raw types.Log // Blockchain specific contextual infos }
InfinityPoolV2Deposit represents a Deposit event raised by the InfinityPoolV2 contract.
type InfinityPoolV2DepositIterator ¶ added in v1.1.0
type InfinityPoolV2DepositIterator struct { Event *InfinityPoolV2Deposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InfinityPoolV2DepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the InfinityPoolV2 contract.
func (*InfinityPoolV2DepositIterator) Close ¶ added in v1.1.0
func (it *InfinityPoolV2DepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InfinityPoolV2DepositIterator) Error ¶ added in v1.1.0
func (it *InfinityPoolV2DepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InfinityPoolV2DepositIterator) Next ¶ added in v1.1.0
func (it *InfinityPoolV2DepositIterator) 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 InfinityPoolV2Filterer ¶ added in v1.1.0
type InfinityPoolV2Filterer struct {
// contains filtered or unexported fields
}
InfinityPoolV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInfinityPoolV2Filterer ¶ added in v1.1.0
func NewInfinityPoolV2Filterer(address common.Address, filterer bind.ContractFilterer) (*InfinityPoolV2Filterer, error)
NewInfinityPoolV2Filterer creates a new log filterer instance of InfinityPoolV2, bound to a specific deployed contract.
func (*InfinityPoolV2Filterer) FilterBorrow ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterBorrow(opts *bind.FilterOpts, agent []*big.Int) (*InfinityPoolV2BorrowIterator, error)
FilterBorrow is a free log retrieval operation binding the contract event 0xd67bffb11f634e8d9df020d50462c82383a8dab0e8025486778c08f303353432.
Solidity: event Borrow(uint256 indexed agent, uint256 amount, uint256 epochsPaidCursor)
func (*InfinityPoolV2Filterer) FilterDeposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterDeposit(opts *bind.FilterOpts, caller []common.Address, owner []common.Address) (*InfinityPoolV2DepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.
Solidity: event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)
func (*InfinityPoolV2Filterer) FilterPaused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterPaused(opts *bind.FilterOpts) (*InfinityPoolV2PausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*InfinityPoolV2Filterer) FilterPay ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterPay(opts *bind.FilterOpts, agent []*big.Int) (*InfinityPoolV2PayIterator, error)
FilterPay is a free log retrieval operation binding the contract event 0xbf0d333142d8550a97625890e80f07dc447be1a140bf10f54fbc8da279668ff6.
Solidity: event Pay(uint256 indexed agent, uint256 amount, uint256 interest, uint256 principal, uint256 epochsPaidCursor)
func (*InfinityPoolV2Filterer) FilterUnpaused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*InfinityPoolV2UnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*InfinityPoolV2Filterer) FilterUpdateAccounting ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterUpdateAccounting(opts *bind.FilterOpts) (*InfinityPoolV2UpdateAccountingIterator, error)
FilterUpdateAccounting is a free log retrieval operation binding the contract event 0xa44f29ae5036974cc3cc64b097368e60ba4210a0fef291753e670437b9587bb2.
Solidity: event UpdateAccounting(uint256 newEarnings, uint256 totalAssets, uint256 totalBorrowed, uint256 assetBalance, uint256 iFILPrice, uint256 iFILSupply)
func (*InfinityPoolV2Filterer) FilterWithdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterWithdraw(opts *bind.FilterOpts, caller []common.Address, receiver []common.Address, owner []common.Address) (*InfinityPoolV2WithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.
Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
func (*InfinityPoolV2Filterer) FilterWriteOff ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) FilterWriteOff(opts *bind.FilterOpts, agentID []*big.Int) (*InfinityPoolV2WriteOffIterator, error)
FilterWriteOff is a free log retrieval operation binding the contract event 0xf02514bceabf2b74024e8529fdc9f423bebda69624841ff163ebd712c188f4a7.
Solidity: event WriteOff(uint256 indexed agentID, uint256 recoveredFunds, uint256 lostFunds, uint256 lostTFees, uint256 interestPaid)
func (*InfinityPoolV2Filterer) ParseBorrow ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseBorrow(log types.Log) (*InfinityPoolV2Borrow, error)
ParseBorrow is a log parse operation binding the contract event 0xd67bffb11f634e8d9df020d50462c82383a8dab0e8025486778c08f303353432.
Solidity: event Borrow(uint256 indexed agent, uint256 amount, uint256 epochsPaidCursor)
func (*InfinityPoolV2Filterer) ParseDeposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseDeposit(log types.Log) (*InfinityPoolV2Deposit, error)
ParseDeposit is a log parse operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.
Solidity: event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)
func (*InfinityPoolV2Filterer) ParsePaused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParsePaused(log types.Log) (*InfinityPoolV2Paused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*InfinityPoolV2Filterer) ParsePay ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParsePay(log types.Log) (*InfinityPoolV2Pay, error)
ParsePay is a log parse operation binding the contract event 0xbf0d333142d8550a97625890e80f07dc447be1a140bf10f54fbc8da279668ff6.
Solidity: event Pay(uint256 indexed agent, uint256 amount, uint256 interest, uint256 principal, uint256 epochsPaidCursor)
func (*InfinityPoolV2Filterer) ParseUnpaused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseUnpaused(log types.Log) (*InfinityPoolV2Unpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*InfinityPoolV2Filterer) ParseUpdateAccounting ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseUpdateAccounting(log types.Log) (*InfinityPoolV2UpdateAccounting, error)
ParseUpdateAccounting is a log parse operation binding the contract event 0xa44f29ae5036974cc3cc64b097368e60ba4210a0fef291753e670437b9587bb2.
Solidity: event UpdateAccounting(uint256 newEarnings, uint256 totalAssets, uint256 totalBorrowed, uint256 assetBalance, uint256 iFILPrice, uint256 iFILSupply)
func (*InfinityPoolV2Filterer) ParseWithdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseWithdraw(log types.Log) (*InfinityPoolV2Withdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.
Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
func (*InfinityPoolV2Filterer) ParseWriteOff ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) ParseWriteOff(log types.Log) (*InfinityPoolV2WriteOff, error)
ParseWriteOff is a log parse operation binding the contract event 0xf02514bceabf2b74024e8529fdc9f423bebda69624841ff163ebd712c188f4a7.
Solidity: event WriteOff(uint256 indexed agentID, uint256 recoveredFunds, uint256 lostFunds, uint256 lostTFees, uint256 interestPaid)
func (*InfinityPoolV2Filterer) WatchBorrow ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchBorrow(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Borrow, agent []*big.Int) (event.Subscription, error)
WatchBorrow is a free log subscription operation binding the contract event 0xd67bffb11f634e8d9df020d50462c82383a8dab0e8025486778c08f303353432.
Solidity: event Borrow(uint256 indexed agent, uint256 amount, uint256 epochsPaidCursor)
func (*InfinityPoolV2Filterer) WatchDeposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Deposit, caller []common.Address, owner []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.
Solidity: event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)
func (*InfinityPoolV2Filterer) WatchPaused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Paused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*InfinityPoolV2Filterer) WatchPay ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchPay(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Pay, agent []*big.Int) (event.Subscription, error)
WatchPay is a free log subscription operation binding the contract event 0xbf0d333142d8550a97625890e80f07dc447be1a140bf10f54fbc8da279668ff6.
Solidity: event Pay(uint256 indexed agent, uint256 amount, uint256 interest, uint256 principal, uint256 epochsPaidCursor)
func (*InfinityPoolV2Filterer) WatchUnpaused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Unpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*InfinityPoolV2Filterer) WatchUpdateAccounting ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchUpdateAccounting(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2UpdateAccounting) (event.Subscription, error)
WatchUpdateAccounting is a free log subscription operation binding the contract event 0xa44f29ae5036974cc3cc64b097368e60ba4210a0fef291753e670437b9587bb2.
Solidity: event UpdateAccounting(uint256 newEarnings, uint256 totalAssets, uint256 totalBorrowed, uint256 assetBalance, uint256 iFILPrice, uint256 iFILSupply)
func (*InfinityPoolV2Filterer) WatchWithdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2Withdraw, caller []common.Address, receiver []common.Address, owner []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.
Solidity: event Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
func (*InfinityPoolV2Filterer) WatchWriteOff ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Filterer) WatchWriteOff(opts *bind.WatchOpts, sink chan<- *InfinityPoolV2WriteOff, agentID []*big.Int) (event.Subscription, error)
WatchWriteOff is a free log subscription operation binding the contract event 0xf02514bceabf2b74024e8529fdc9f423bebda69624841ff163ebd712c188f4a7.
Solidity: event WriteOff(uint256 indexed agentID, uint256 recoveredFunds, uint256 lostFunds, uint256 lostTFees, uint256 interestPaid)
type InfinityPoolV2Paused ¶ added in v1.1.0
type InfinityPoolV2Paused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
InfinityPoolV2Paused represents a Paused event raised by the InfinityPoolV2 contract.
type InfinityPoolV2PausedIterator ¶ added in v1.1.0
type InfinityPoolV2PausedIterator struct { Event *InfinityPoolV2Paused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InfinityPoolV2PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the InfinityPoolV2 contract.
func (*InfinityPoolV2PausedIterator) Close ¶ added in v1.1.0
func (it *InfinityPoolV2PausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InfinityPoolV2PausedIterator) Error ¶ added in v1.1.0
func (it *InfinityPoolV2PausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InfinityPoolV2PausedIterator) Next ¶ added in v1.1.0
func (it *InfinityPoolV2PausedIterator) 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 InfinityPoolV2Pay ¶ added in v1.1.0
type InfinityPoolV2Pay struct { Agent *big.Int Amount *big.Int Interest *big.Int Principal *big.Int EpochsPaidCursor *big.Int Raw types.Log // Blockchain specific contextual infos }
InfinityPoolV2Pay represents a Pay event raised by the InfinityPoolV2 contract.
type InfinityPoolV2PayIterator ¶ added in v1.1.0
type InfinityPoolV2PayIterator struct { Event *InfinityPoolV2Pay // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InfinityPoolV2PayIterator is returned from FilterPay and is used to iterate over the raw logs and unpacked data for Pay events raised by the InfinityPoolV2 contract.
func (*InfinityPoolV2PayIterator) Close ¶ added in v1.1.0
func (it *InfinityPoolV2PayIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InfinityPoolV2PayIterator) Error ¶ added in v1.1.0
func (it *InfinityPoolV2PayIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InfinityPoolV2PayIterator) Next ¶ added in v1.1.0
func (it *InfinityPoolV2PayIterator) 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 InfinityPoolV2Raw ¶ added in v1.1.0
type InfinityPoolV2Raw struct {
Contract *InfinityPoolV2 // Generic contract binding to access the raw methods on
}
InfinityPoolV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*InfinityPoolV2Raw) Call ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Raw) 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 (*InfinityPoolV2Raw) Transact ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InfinityPoolV2Raw) Transfer ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Raw) 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 InfinityPoolV2Session ¶ added in v1.1.0
type InfinityPoolV2Session struct { Contract *InfinityPoolV2 // 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 }
InfinityPoolV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InfinityPoolV2Session) AcceptOwnership ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*InfinityPoolV2Session) AllPools ¶ added in v1.1.0
AllPools is a free data retrieval call binding the contract method 0x41d1de97.
Solidity: function allPools(uint256 ) view returns(address)
func (*InfinityPoolV2Session) AllPoolsLength ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) AllPoolsLength() (*big.Int, error)
AllPoolsLength is a free data retrieval call binding the contract method 0xefde4e64.
Solidity: function allPoolsLength() pure returns(uint256)
func (*InfinityPoolV2Session) Asset ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Asset() (common.Address, error)
Asset is a free data retrieval call binding the contract method 0x38d52e0f.
Solidity: function asset() view returns(address)
func (*InfinityPoolV2Session) Borrow ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Borrow(vc VerifiableCredential) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0x415e819d.
Solidity: function borrow((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns()
func (*InfinityPoolV2Session) ContinueRateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) ContinueRateUpdate() (*types.Transaction, error)
ContinueRateUpdate is a paid mutator transaction binding the contract method 0x0521a241.
Solidity: function continueRateUpdate() returns()
func (*InfinityPoolV2Session) ConvertToAssets ¶ added in v1.1.0
ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.
Solidity: function convertToAssets(uint256 shares) view returns(uint256)
func (*InfinityPoolV2Session) ConvertToShares ¶ added in v1.1.0
ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.
Solidity: function convertToShares(uint256 assets) view returns(uint256)
func (*InfinityPoolV2Session) CredParser ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) CredParser() (common.Address, error)
CredParser is a free data retrieval call binding the contract method 0x77c0f07d.
Solidity: function credParser() view returns(address)
func (*InfinityPoolV2Session) DecommissionPool ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) DecommissionPool(newPool common.Address) (*types.Transaction, error)
DecommissionPool is a paid mutator transaction binding the contract method 0x124dfd66.
Solidity: function decommissionPool(address newPool) returns(uint256 borrowedAmount)
func (*InfinityPoolV2Session) Deposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)
func (*InfinityPoolV2Session) Deposit0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Deposit0(receiver common.Address) (*types.Transaction, error)
Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.
Solidity: function deposit(address receiver) payable returns(uint256 shares)
func (*InfinityPoolV2Session) Fallback ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*InfinityPoolV2Session) GetAbsMinLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) GetAbsMinLiquidity() (*big.Int, error)
GetAbsMinLiquidity is a free data retrieval call binding the contract method 0xf1ccc3df.
Solidity: function getAbsMinLiquidity() view returns(uint256)
func (*InfinityPoolV2Session) GetAgentBorrowed ¶ added in v1.1.0
GetAgentBorrowed is a free data retrieval call binding the contract method 0x5fc2faf7.
Solidity: function getAgentBorrowed(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2Session) GetAgentDebt ¶ added in v1.1.0
GetAgentDebt is a free data retrieval call binding the contract method 0x9f4326d7.
Solidity: function getAgentDebt(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2Session) GetAgentInterestOwed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) GetAgentInterestOwed(agentID *big.Int) (*big.Int, error)
GetAgentInterestOwed is a free data retrieval call binding the contract method 0xf086ce60.
Solidity: function getAgentInterestOwed(uint256 agentID) view returns(uint256)
func (*InfinityPoolV2Session) GetLiquidAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) GetLiquidAssets() (*big.Int, error)
GetLiquidAssets is a free data retrieval call binding the contract method 0x5d66b00a.
Solidity: function getLiquidAssets() view returns(uint256)
func (*InfinityPoolV2Session) GetRate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) GetRate() (*big.Int, error)
GetRate is a free data retrieval call binding the contract method 0x679aefce.
Solidity: function getRate() view returns(uint256 rate)
func (*InfinityPoolV2Session) HarvestFees ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) HarvestFees(harvestAmount *big.Int) (*types.Transaction, error)
HarvestFees is a paid mutator transaction binding the contract method 0x6e3ac566.
Solidity: function harvestFees(uint256 harvestAmount) returns()
func (*InfinityPoolV2Session) Id ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Id() (*big.Int, error)
Id is a free data retrieval call binding the contract method 0xaf640d0f.
Solidity: function id() view returns(uint256)
func (*InfinityPoolV2Session) IsShuttingDown ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) IsShuttingDown() (bool, error)
IsShuttingDown is a free data retrieval call binding the contract method 0xb2bcb002.
Solidity: function isShuttingDown() view returns(bool)
func (*InfinityPoolV2Session) JumpStartAccount ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) JumpStartAccount(receiver common.Address, agentID *big.Int, accountPrincipal *big.Int) (*types.Transaction, error)
JumpStartAccount is a paid mutator transaction binding the contract method 0xf4765e9e.
Solidity: function jumpStartAccount(address receiver, uint256 agentID, uint256 accountPrincipal) returns()
func (*InfinityPoolV2Session) JumpStartTotalBorrowed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) JumpStartTotalBorrowed(amount *big.Int) (*types.Transaction, error)
JumpStartTotalBorrowed is a paid mutator transaction binding the contract method 0x59221e38.
Solidity: function jumpStartTotalBorrowed(uint256 amount) returns()
func (*InfinityPoolV2Session) LastAccountingUpdateEpoch ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) LastAccountingUpdateEpoch() (*big.Int, error)
LastAccountingUpdateEpoch is a free data retrieval call binding the contract method 0x90fd6bc6.
Solidity: function lastAccountingUpdateEpoch() view returns(uint256)
func (*InfinityPoolV2Session) LiquidStakingToken ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) LiquidStakingToken() (common.Address, error)
LiquidStakingToken is a free data retrieval call binding the contract method 0x1cbe8df6.
Solidity: function liquidStakingToken() view returns(address)
func (*InfinityPoolV2Session) Lm ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Lm() (common.Address, error)
Lm is a free data retrieval call binding the contract method 0x803ba97e.
Solidity: function lm() view returns(address)
func (*InfinityPoolV2Session) LpRewards ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) LpRewards() (RewardAccrual, error)
LpRewards is a free data retrieval call binding the contract method 0x0c762141.
Solidity: function lpRewards() view returns((uint256,uint256,uint256))
func (*InfinityPoolV2Session) MaxDeposit ¶ added in v1.1.0
MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.
Solidity: function maxDeposit(address ) pure returns(uint256)
func (*InfinityPoolV2Session) MaxMint ¶ added in v1.1.0
MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.
Solidity: function maxMint(address ) pure returns(uint256)
func (*InfinityPoolV2Session) MaxRedeem ¶ added in v1.1.0
MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.
Solidity: function maxRedeem(address owner) view returns(uint256 shares)
func (*InfinityPoolV2Session) MaxWithdraw ¶ added in v1.1.0
MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.
Solidity: function maxWithdraw(address owner) view returns(uint256)
func (*InfinityPoolV2Session) MinimumLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) MinimumLiquidity() (*big.Int, error)
MinimumLiquidity is a free data retrieval call binding the contract method 0xb56cf011.
Solidity: function minimumLiquidity() view returns(uint256)
func (*InfinityPoolV2Session) Mint ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)
func (*InfinityPoolV2Session) Owner ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*InfinityPoolV2Session) Pause ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*InfinityPoolV2Session) Paused ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*InfinityPoolV2Session) Pay ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Pay(vc VerifiableCredential) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x7d694730.
Solidity: function pay((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)
func (*InfinityPoolV2Session) PendingOwner ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*InfinityPoolV2Session) PreviewDeposit ¶ added in v1.1.0
PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.
Solidity: function previewDeposit(uint256 assets) view returns(uint256)
func (*InfinityPoolV2Session) PreviewMint ¶ added in v1.1.0
PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.
Solidity: function previewMint(uint256 shares) view returns(uint256)
func (*InfinityPoolV2Session) PreviewRedeem ¶ added in v1.1.0
PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.
Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)
func (*InfinityPoolV2Session) PreviewWithdraw ¶ added in v1.1.0
PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.
Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)
func (*InfinityPoolV2Session) RateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) RateUpdate() (RateUpdate, error)
RateUpdate is a free data retrieval call binding the contract method 0x0c7290f2.
Solidity: function rateUpdate() view returns((uint256,uint256,uint256,uint256,bool))
func (*InfinityPoolV2Session) Receive ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*InfinityPoolV2Session) RecoverERC20 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) RecoverERC20(receiver common.Address, token common.Address) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x886f039a.
Solidity: function recoverERC20(address receiver, address token) returns()
func (*InfinityPoolV2Session) RecoverFIL ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) RecoverFIL(receiver common.Address) (*types.Transaction, error)
RecoverFIL is a paid mutator transaction binding the contract method 0x7edc8fe7.
Solidity: function recoverFIL(address receiver) returns()
func (*InfinityPoolV2Session) Redeem ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Redeem(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x9f40a7b3.
Solidity: function redeem(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)
func (*InfinityPoolV2Session) Redeem0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Redeem0(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Redeem0 is a paid mutator transaction binding the contract method 0xba087652.
Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*InfinityPoolV2Session) RedeemF ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) RedeemF(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
RedeemF is a paid mutator transaction binding the contract method 0x0e0a7023.
Solidity: function redeemF(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)
func (*InfinityPoolV2Session) RedeemF0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) RedeemF0(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
RedeemF0 is a paid mutator transaction binding the contract method 0x9050c3d7.
Solidity: function redeemF(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*InfinityPoolV2Session) RefreshRoutes ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) RefreshRoutes() (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*InfinityPoolV2Session) SetLiquidityMine ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) SetLiquidityMine(_liquidityMine common.Address) (*types.Transaction, error)
SetLiquidityMine is a paid mutator transaction binding the contract method 0x43fd5dfe.
Solidity: function setLiquidityMine(address _liquidityMine) returns()
func (*InfinityPoolV2Session) SetMaxAccountsToUpdatePerBatch ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) SetMaxAccountsToUpdatePerBatch(maxAccountsToUpdatePerBatch_ *big.Int) (*types.Transaction, error)
SetMaxAccountsToUpdatePerBatch is a paid mutator transaction binding the contract method 0x549c5877.
Solidity: function setMaxAccountsToUpdatePerBatch(uint256 maxAccountsToUpdatePerBatch_) returns()
func (*InfinityPoolV2Session) SetMinimumLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) SetMinimumLiquidity(_minimumLiquidity *big.Int) (*types.Transaction, error)
SetMinimumLiquidity is a paid mutator transaction binding the contract method 0x282567b4.
Solidity: function setMinimumLiquidity(uint256 _minimumLiquidity) returns()
func (*InfinityPoolV2Session) SetTreasuryFeeRate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) SetTreasuryFeeRate(_treasuryFeeRate *big.Int) (*types.Transaction, error)
SetTreasuryFeeRate is a paid mutator transaction binding the contract method 0xce43303c.
Solidity: function setTreasuryFeeRate(uint256 _treasuryFeeRate) returns()
func (*InfinityPoolV2Session) ShutDown ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) ShutDown() (*types.Transaction, error)
ShutDown is a paid mutator transaction binding the contract method 0x10b9e583.
Solidity: function shutDown() returns()
func (*InfinityPoolV2Session) StartRateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) StartRateUpdate(rentalFeesOwedPerEpoch_ *big.Int) (*types.Transaction, error)
StartRateUpdate is a paid mutator transaction binding the contract method 0x9a33bc7c.
Solidity: function startRateUpdate(uint256 rentalFeesOwedPerEpoch_) returns()
func (*InfinityPoolV2Session) TotalAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) TotalAssets() (*big.Int, error)
TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.
Solidity: function totalAssets() view returns(uint256)
func (*InfinityPoolV2Session) TotalBorrowableAssets ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) TotalBorrowableAssets() (*big.Int, error)
TotalBorrowableAssets is a free data retrieval call binding the contract method 0x86a2c988.
Solidity: function totalBorrowableAssets() view returns(uint256)
func (*InfinityPoolV2Session) TotalBorrowed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) TotalBorrowed() (*big.Int, error)
TotalBorrowed is a free data retrieval call binding the contract method 0x4c19386c.
Solidity: function totalBorrowed() view returns(uint256)
func (*InfinityPoolV2Session) TransferOwnership ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) 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 (*InfinityPoolV2Session) TreasuryFeeRate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) TreasuryFeeRate() (*big.Int, error)
TreasuryFeeRate is a free data retrieval call binding the contract method 0x66601032.
Solidity: function treasuryFeeRate() view returns(uint256)
func (*InfinityPoolV2Session) TreasuryFeesOwed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) TreasuryFeesOwed() (*big.Int, error)
TreasuryFeesOwed is a free data retrieval call binding the contract method 0x6b285af1.
Solidity: function treasuryFeesOwed() view returns(uint256)
func (*InfinityPoolV2Session) TreasuryRewards ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) TreasuryRewards() (RewardAccrual, error)
TreasuryRewards is a free data retrieval call binding the contract method 0x6af1a7e8.
Solidity: function treasuryRewards() view returns((uint256,uint256,uint256))
func (*InfinityPoolV2Session) Unpause ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*InfinityPoolV2Session) UpdateAccounting ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) UpdateAccounting() (*types.Transaction, error)
UpdateAccounting is a paid mutator transaction binding the contract method 0x494347e7.
Solidity: function updateAccounting() returns()
func (*InfinityPoolV2Session) UpdateCredParser ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) UpdateCredParser() (*types.Transaction, error)
UpdateCredParser is a paid mutator transaction binding the contract method 0x773fcf64.
Solidity: function updateCredParser() returns()
func (*InfinityPoolV2Session) Withdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Withdraw(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xa318c1a4.
Solidity: function withdraw(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)
func (*InfinityPoolV2Session) Withdraw0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) Withdraw0(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0xb460af94.
Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)
func (*InfinityPoolV2Session) WithdrawF ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) WithdrawF(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
WithdrawF is a paid mutator transaction binding the contract method 0x0c462c5f.
Solidity: function withdrawF(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)
func (*InfinityPoolV2Session) WithdrawF0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) WithdrawF0(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
WithdrawF0 is a paid mutator transaction binding the contract method 0x870f77cf.
Solidity: function withdrawF(uint256 assets, address receiver, address owner) returns(uint256 shares)
func (*InfinityPoolV2Session) WriteOff ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Session) WriteOff(agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)
WriteOff is a paid mutator transaction binding the contract method 0xc564f772.
Solidity: function writeOff(uint256 agentID, uint256 recoveredFunds) returns()
type InfinityPoolV2Transactor ¶ added in v1.1.0
type InfinityPoolV2Transactor struct {
// contains filtered or unexported fields
}
InfinityPoolV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInfinityPoolV2Transactor ¶ added in v1.1.0
func NewInfinityPoolV2Transactor(address common.Address, transactor bind.ContractTransactor) (*InfinityPoolV2Transactor, error)
NewInfinityPoolV2Transactor creates a new write-only instance of InfinityPoolV2, bound to a specific deployed contract.
func (*InfinityPoolV2Transactor) AcceptOwnership ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*InfinityPoolV2Transactor) Borrow ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Borrow(opts *bind.TransactOpts, vc VerifiableCredential) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0x415e819d.
Solidity: function borrow((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns()
func (*InfinityPoolV2Transactor) ContinueRateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) ContinueRateUpdate(opts *bind.TransactOpts) (*types.Transaction, error)
ContinueRateUpdate is a paid mutator transaction binding the contract method 0x0521a241.
Solidity: function continueRateUpdate() returns()
func (*InfinityPoolV2Transactor) DecommissionPool ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) DecommissionPool(opts *bind.TransactOpts, newPool common.Address) (*types.Transaction, error)
DecommissionPool is a paid mutator transaction binding the contract method 0x124dfd66.
Solidity: function decommissionPool(address newPool) returns(uint256 borrowedAmount)
func (*InfinityPoolV2Transactor) Deposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Deposit(opts *bind.TransactOpts, assets *big.Int, receiver common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)
func (*InfinityPoolV2Transactor) Deposit0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Deposit0(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.
Solidity: function deposit(address receiver) payable returns(uint256 shares)
func (*InfinityPoolV2Transactor) Fallback ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*InfinityPoolV2Transactor) HarvestFees ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) HarvestFees(opts *bind.TransactOpts, harvestAmount *big.Int) (*types.Transaction, error)
HarvestFees is a paid mutator transaction binding the contract method 0x6e3ac566.
Solidity: function harvestFees(uint256 harvestAmount) returns()
func (*InfinityPoolV2Transactor) JumpStartAccount ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) JumpStartAccount(opts *bind.TransactOpts, receiver common.Address, agentID *big.Int, accountPrincipal *big.Int) (*types.Transaction, error)
JumpStartAccount is a paid mutator transaction binding the contract method 0xf4765e9e.
Solidity: function jumpStartAccount(address receiver, uint256 agentID, uint256 accountPrincipal) returns()
func (*InfinityPoolV2Transactor) JumpStartTotalBorrowed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) JumpStartTotalBorrowed(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
JumpStartTotalBorrowed is a paid mutator transaction binding the contract method 0x59221e38.
Solidity: function jumpStartTotalBorrowed(uint256 amount) returns()
func (*InfinityPoolV2Transactor) Mint ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Mint(opts *bind.TransactOpts, shares *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)
func (*InfinityPoolV2Transactor) Pause ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*InfinityPoolV2Transactor) Pay ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Pay(opts *bind.TransactOpts, vc VerifiableCredential) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x7d694730.
Solidity: function pay((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)
func (*InfinityPoolV2Transactor) Receive ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*InfinityPoolV2Transactor) RecoverERC20 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) RecoverERC20(opts *bind.TransactOpts, receiver common.Address, token common.Address) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x886f039a.
Solidity: function recoverERC20(address receiver, address token) returns()
func (*InfinityPoolV2Transactor) RecoverFIL ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) RecoverFIL(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
RecoverFIL is a paid mutator transaction binding the contract method 0x7edc8fe7.
Solidity: function recoverFIL(address receiver) returns()
func (*InfinityPoolV2Transactor) Redeem ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Redeem(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x9f40a7b3.
Solidity: function redeem(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)
func (*InfinityPoolV2Transactor) Redeem0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Redeem0(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Redeem0 is a paid mutator transaction binding the contract method 0xba087652.
Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*InfinityPoolV2Transactor) RedeemF ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) RedeemF(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
RedeemF is a paid mutator transaction binding the contract method 0x0e0a7023.
Solidity: function redeemF(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)
func (*InfinityPoolV2Transactor) RedeemF0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) RedeemF0(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
RedeemF0 is a paid mutator transaction binding the contract method 0x9050c3d7.
Solidity: function redeemF(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*InfinityPoolV2Transactor) RefreshRoutes ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*InfinityPoolV2Transactor) SetLiquidityMine ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) SetLiquidityMine(opts *bind.TransactOpts, _liquidityMine common.Address) (*types.Transaction, error)
SetLiquidityMine is a paid mutator transaction binding the contract method 0x43fd5dfe.
Solidity: function setLiquidityMine(address _liquidityMine) returns()
func (*InfinityPoolV2Transactor) SetMaxAccountsToUpdatePerBatch ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) SetMaxAccountsToUpdatePerBatch(opts *bind.TransactOpts, maxAccountsToUpdatePerBatch_ *big.Int) (*types.Transaction, error)
SetMaxAccountsToUpdatePerBatch is a paid mutator transaction binding the contract method 0x549c5877.
Solidity: function setMaxAccountsToUpdatePerBatch(uint256 maxAccountsToUpdatePerBatch_) returns()
func (*InfinityPoolV2Transactor) SetMinimumLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) SetMinimumLiquidity(opts *bind.TransactOpts, _minimumLiquidity *big.Int) (*types.Transaction, error)
SetMinimumLiquidity is a paid mutator transaction binding the contract method 0x282567b4.
Solidity: function setMinimumLiquidity(uint256 _minimumLiquidity) returns()
func (*InfinityPoolV2Transactor) SetTreasuryFeeRate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) SetTreasuryFeeRate(opts *bind.TransactOpts, _treasuryFeeRate *big.Int) (*types.Transaction, error)
SetTreasuryFeeRate is a paid mutator transaction binding the contract method 0xce43303c.
Solidity: function setTreasuryFeeRate(uint256 _treasuryFeeRate) returns()
func (*InfinityPoolV2Transactor) ShutDown ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) ShutDown(opts *bind.TransactOpts) (*types.Transaction, error)
ShutDown is a paid mutator transaction binding the contract method 0x10b9e583.
Solidity: function shutDown() returns()
func (*InfinityPoolV2Transactor) StartRateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) StartRateUpdate(opts *bind.TransactOpts, rentalFeesOwedPerEpoch_ *big.Int) (*types.Transaction, error)
StartRateUpdate is a paid mutator transaction binding the contract method 0x9a33bc7c.
Solidity: function startRateUpdate(uint256 rentalFeesOwedPerEpoch_) returns()
func (*InfinityPoolV2Transactor) TransferOwnership ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) 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 (*InfinityPoolV2Transactor) Unpause ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*InfinityPoolV2Transactor) UpdateAccounting ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) UpdateAccounting(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateAccounting is a paid mutator transaction binding the contract method 0x494347e7.
Solidity: function updateAccounting() returns()
func (*InfinityPoolV2Transactor) UpdateCredParser ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) UpdateCredParser(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateCredParser is a paid mutator transaction binding the contract method 0x773fcf64.
Solidity: function updateCredParser() returns()
func (*InfinityPoolV2Transactor) Withdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xa318c1a4.
Solidity: function withdraw(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)
func (*InfinityPoolV2Transactor) Withdraw0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) Withdraw0(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0xb460af94.
Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)
func (*InfinityPoolV2Transactor) WithdrawF ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) WithdrawF(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
WithdrawF is a paid mutator transaction binding the contract method 0x0c462c5f.
Solidity: function withdrawF(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)
func (*InfinityPoolV2Transactor) WithdrawF0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) WithdrawF0(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
WithdrawF0 is a paid mutator transaction binding the contract method 0x870f77cf.
Solidity: function withdrawF(uint256 assets, address receiver, address owner) returns(uint256 shares)
func (*InfinityPoolV2Transactor) WriteOff ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2Transactor) WriteOff(opts *bind.TransactOpts, agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)
WriteOff is a paid mutator transaction binding the contract method 0xc564f772.
Solidity: function writeOff(uint256 agentID, uint256 recoveredFunds) returns()
type InfinityPoolV2TransactorRaw ¶ added in v1.1.0
type InfinityPoolV2TransactorRaw struct {
Contract *InfinityPoolV2Transactor // Generic write-only contract binding to access the raw methods on
}
InfinityPoolV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InfinityPoolV2TransactorRaw) Transact ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InfinityPoolV2TransactorRaw) Transfer ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorRaw) 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 InfinityPoolV2TransactorSession ¶ added in v1.1.0
type InfinityPoolV2TransactorSession struct { Contract *InfinityPoolV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InfinityPoolV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InfinityPoolV2TransactorSession) AcceptOwnership ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*InfinityPoolV2TransactorSession) Borrow ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Borrow(vc VerifiableCredential) (*types.Transaction, error)
Borrow is a paid mutator transaction binding the contract method 0x415e819d.
Solidity: function borrow((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns()
func (*InfinityPoolV2TransactorSession) ContinueRateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) ContinueRateUpdate() (*types.Transaction, error)
ContinueRateUpdate is a paid mutator transaction binding the contract method 0x0521a241.
Solidity: function continueRateUpdate() returns()
func (*InfinityPoolV2TransactorSession) DecommissionPool ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) DecommissionPool(newPool common.Address) (*types.Transaction, error)
DecommissionPool is a paid mutator transaction binding the contract method 0x124dfd66.
Solidity: function decommissionPool(address newPool) returns(uint256 borrowedAmount)
func (*InfinityPoolV2TransactorSession) Deposit ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)
func (*InfinityPoolV2TransactorSession) Deposit0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Deposit0(receiver common.Address) (*types.Transaction, error)
Deposit0 is a paid mutator transaction binding the contract method 0xf340fa01.
Solidity: function deposit(address receiver) payable returns(uint256 shares)
func (*InfinityPoolV2TransactorSession) Fallback ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*InfinityPoolV2TransactorSession) HarvestFees ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) HarvestFees(harvestAmount *big.Int) (*types.Transaction, error)
HarvestFees is a paid mutator transaction binding the contract method 0x6e3ac566.
Solidity: function harvestFees(uint256 harvestAmount) returns()
func (*InfinityPoolV2TransactorSession) JumpStartAccount ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) JumpStartAccount(receiver common.Address, agentID *big.Int, accountPrincipal *big.Int) (*types.Transaction, error)
JumpStartAccount is a paid mutator transaction binding the contract method 0xf4765e9e.
Solidity: function jumpStartAccount(address receiver, uint256 agentID, uint256 accountPrincipal) returns()
func (*InfinityPoolV2TransactorSession) JumpStartTotalBorrowed ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) JumpStartTotalBorrowed(amount *big.Int) (*types.Transaction, error)
JumpStartTotalBorrowed is a paid mutator transaction binding the contract method 0x59221e38.
Solidity: function jumpStartTotalBorrowed(uint256 amount) returns()
func (*InfinityPoolV2TransactorSession) Mint ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)
func (*InfinityPoolV2TransactorSession) Pause ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*InfinityPoolV2TransactorSession) Pay ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Pay(vc VerifiableCredential) (*types.Transaction, error)
Pay is a paid mutator transaction binding the contract method 0x7d694730.
Solidity: function pay((address,uint256,uint256,uint256,uint256,bytes4,uint64,bytes) vc) returns(uint256 rate, uint256 epochsPaid, uint256 principalPaid, uint256 refund)
func (*InfinityPoolV2TransactorSession) Receive ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*InfinityPoolV2TransactorSession) RecoverERC20 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RecoverERC20(receiver common.Address, token common.Address) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x886f039a.
Solidity: function recoverERC20(address receiver, address token) returns()
func (*InfinityPoolV2TransactorSession) RecoverFIL ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RecoverFIL(receiver common.Address) (*types.Transaction, error)
RecoverFIL is a paid mutator transaction binding the contract method 0x7edc8fe7.
Solidity: function recoverFIL(address receiver) returns()
func (*InfinityPoolV2TransactorSession) Redeem ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0x9f40a7b3.
Solidity: function redeem(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)
func (*InfinityPoolV2TransactorSession) Redeem0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Redeem0(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Redeem0 is a paid mutator transaction binding the contract method 0xba087652.
Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*InfinityPoolV2TransactorSession) RedeemF ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RedeemF(shares *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
RedeemF is a paid mutator transaction binding the contract method 0x0e0a7023.
Solidity: function redeemF(uint256 shares, address receiver, address owner, uint256 ) returns(uint256 assets)
func (*InfinityPoolV2TransactorSession) RedeemF0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RedeemF0(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
RedeemF0 is a paid mutator transaction binding the contract method 0x9050c3d7.
Solidity: function redeemF(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*InfinityPoolV2TransactorSession) RefreshRoutes ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) RefreshRoutes() (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*InfinityPoolV2TransactorSession) SetLiquidityMine ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) SetLiquidityMine(_liquidityMine common.Address) (*types.Transaction, error)
SetLiquidityMine is a paid mutator transaction binding the contract method 0x43fd5dfe.
Solidity: function setLiquidityMine(address _liquidityMine) returns()
func (*InfinityPoolV2TransactorSession) SetMaxAccountsToUpdatePerBatch ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) SetMaxAccountsToUpdatePerBatch(maxAccountsToUpdatePerBatch_ *big.Int) (*types.Transaction, error)
SetMaxAccountsToUpdatePerBatch is a paid mutator transaction binding the contract method 0x549c5877.
Solidity: function setMaxAccountsToUpdatePerBatch(uint256 maxAccountsToUpdatePerBatch_) returns()
func (*InfinityPoolV2TransactorSession) SetMinimumLiquidity ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) SetMinimumLiquidity(_minimumLiquidity *big.Int) (*types.Transaction, error)
SetMinimumLiquidity is a paid mutator transaction binding the contract method 0x282567b4.
Solidity: function setMinimumLiquidity(uint256 _minimumLiquidity) returns()
func (*InfinityPoolV2TransactorSession) SetTreasuryFeeRate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) SetTreasuryFeeRate(_treasuryFeeRate *big.Int) (*types.Transaction, error)
SetTreasuryFeeRate is a paid mutator transaction binding the contract method 0xce43303c.
Solidity: function setTreasuryFeeRate(uint256 _treasuryFeeRate) returns()
func (*InfinityPoolV2TransactorSession) ShutDown ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) ShutDown() (*types.Transaction, error)
ShutDown is a paid mutator transaction binding the contract method 0x10b9e583.
Solidity: function shutDown() returns()
func (*InfinityPoolV2TransactorSession) StartRateUpdate ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) StartRateUpdate(rentalFeesOwedPerEpoch_ *big.Int) (*types.Transaction, error)
StartRateUpdate is a paid mutator transaction binding the contract method 0x9a33bc7c.
Solidity: function startRateUpdate(uint256 rentalFeesOwedPerEpoch_) returns()
func (*InfinityPoolV2TransactorSession) TransferOwnership ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) 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 (*InfinityPoolV2TransactorSession) Unpause ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*InfinityPoolV2TransactorSession) UpdateAccounting ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) UpdateAccounting() (*types.Transaction, error)
UpdateAccounting is a paid mutator transaction binding the contract method 0x494347e7.
Solidity: function updateAccounting() returns()
func (*InfinityPoolV2TransactorSession) UpdateCredParser ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) UpdateCredParser() (*types.Transaction, error)
UpdateCredParser is a paid mutator transaction binding the contract method 0x773fcf64.
Solidity: function updateCredParser() returns()
func (*InfinityPoolV2TransactorSession) Withdraw ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xa318c1a4.
Solidity: function withdraw(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)
func (*InfinityPoolV2TransactorSession) Withdraw0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) Withdraw0(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0xb460af94.
Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)
func (*InfinityPoolV2TransactorSession) WithdrawF ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) WithdrawF(assets *big.Int, receiver common.Address, owner common.Address, arg3 *big.Int) (*types.Transaction, error)
WithdrawF is a paid mutator transaction binding the contract method 0x0c462c5f.
Solidity: function withdrawF(uint256 assets, address receiver, address owner, uint256 ) returns(uint256 shares)
func (*InfinityPoolV2TransactorSession) WithdrawF0 ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) WithdrawF0(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
WithdrawF0 is a paid mutator transaction binding the contract method 0x870f77cf.
Solidity: function withdrawF(uint256 assets, address receiver, address owner) returns(uint256 shares)
func (*InfinityPoolV2TransactorSession) WriteOff ¶ added in v1.1.0
func (_InfinityPoolV2 *InfinityPoolV2TransactorSession) WriteOff(agentID *big.Int, recoveredFunds *big.Int) (*types.Transaction, error)
WriteOff is a paid mutator transaction binding the contract method 0xc564f772.
Solidity: function writeOff(uint256 agentID, uint256 recoveredFunds) returns()
type InfinityPoolV2Unpaused ¶ added in v1.1.0
type InfinityPoolV2Unpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
InfinityPoolV2Unpaused represents a Unpaused event raised by the InfinityPoolV2 contract.
type InfinityPoolV2UnpausedIterator ¶ added in v1.1.0
type InfinityPoolV2UnpausedIterator struct { Event *InfinityPoolV2Unpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InfinityPoolV2UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the InfinityPoolV2 contract.
func (*InfinityPoolV2UnpausedIterator) Close ¶ added in v1.1.0
func (it *InfinityPoolV2UnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InfinityPoolV2UnpausedIterator) Error ¶ added in v1.1.0
func (it *InfinityPoolV2UnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InfinityPoolV2UnpausedIterator) Next ¶ added in v1.1.0
func (it *InfinityPoolV2UnpausedIterator) 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 InfinityPoolV2UpdateAccounting ¶ added in v1.1.0
type InfinityPoolV2UpdateAccounting struct { NewEarnings *big.Int TotalAssets *big.Int TotalBorrowed *big.Int AssetBalance *big.Int IFILPrice *big.Int IFILSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
InfinityPoolV2UpdateAccounting represents a UpdateAccounting event raised by the InfinityPoolV2 contract.
type InfinityPoolV2UpdateAccountingIterator ¶ added in v1.1.0
type InfinityPoolV2UpdateAccountingIterator struct { Event *InfinityPoolV2UpdateAccounting // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InfinityPoolV2UpdateAccountingIterator is returned from FilterUpdateAccounting and is used to iterate over the raw logs and unpacked data for UpdateAccounting events raised by the InfinityPoolV2 contract.
func (*InfinityPoolV2UpdateAccountingIterator) Close ¶ added in v1.1.0
func (it *InfinityPoolV2UpdateAccountingIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InfinityPoolV2UpdateAccountingIterator) Error ¶ added in v1.1.0
func (it *InfinityPoolV2UpdateAccountingIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InfinityPoolV2UpdateAccountingIterator) Next ¶ added in v1.1.0
func (it *InfinityPoolV2UpdateAccountingIterator) 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 InfinityPoolV2Withdraw ¶ added in v1.1.0
type InfinityPoolV2Withdraw struct { Caller common.Address Receiver common.Address Owner common.Address Assets *big.Int Raw types.Log // Blockchain specific contextual infos }
InfinityPoolV2Withdraw represents a Withdraw event raised by the InfinityPoolV2 contract.
type InfinityPoolV2WithdrawIterator ¶ added in v1.1.0
type InfinityPoolV2WithdrawIterator struct { Event *InfinityPoolV2Withdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InfinityPoolV2WithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the InfinityPoolV2 contract.
func (*InfinityPoolV2WithdrawIterator) Close ¶ added in v1.1.0
func (it *InfinityPoolV2WithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InfinityPoolV2WithdrawIterator) Error ¶ added in v1.1.0
func (it *InfinityPoolV2WithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InfinityPoolV2WithdrawIterator) Next ¶ added in v1.1.0
func (it *InfinityPoolV2WithdrawIterator) 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 InfinityPoolV2WriteOff ¶ added in v1.1.0
type InfinityPoolV2WriteOff struct { AgentID *big.Int RecoveredFunds *big.Int LostFunds *big.Int LostTFees *big.Int InterestPaid *big.Int Raw types.Log // Blockchain specific contextual infos }
InfinityPoolV2WriteOff represents a WriteOff event raised by the InfinityPoolV2 contract.
type InfinityPoolV2WriteOffIterator ¶ added in v1.1.0
type InfinityPoolV2WriteOffIterator struct { Event *InfinityPoolV2WriteOff // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InfinityPoolV2WriteOffIterator is returned from FilterWriteOff and is used to iterate over the raw logs and unpacked data for WriteOff events raised by the InfinityPoolV2 contract.
func (*InfinityPoolV2WriteOffIterator) Close ¶ added in v1.1.0
func (it *InfinityPoolV2WriteOffIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InfinityPoolV2WriteOffIterator) Error ¶ added in v1.1.0
func (it *InfinityPoolV2WriteOffIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InfinityPoolV2WriteOffIterator) Next ¶ added in v1.1.0
func (it *InfinityPoolV2WriteOffIterator) 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 MinerRegistry ¶
type MinerRegistry struct { MinerRegistryCaller // Read-only binding to the contract MinerRegistryTransactor // Write-only binding to the contract MinerRegistryFilterer // Log filterer for contract events }
MinerRegistry is an auto generated Go binding around an Ethereum contract.
func NewMinerRegistry ¶
func NewMinerRegistry(address common.Address, backend bind.ContractBackend) (*MinerRegistry, error)
NewMinerRegistry creates a new instance of MinerRegistry, bound to a specific deployed contract.
type MinerRegistryAddMiner ¶
type MinerRegistryAddMiner struct { Agent common.Address Miner uint64 Raw types.Log // Blockchain specific contextual infos }
MinerRegistryAddMiner represents a AddMiner event raised by the MinerRegistry contract.
type MinerRegistryAddMinerIterator ¶
type MinerRegistryAddMinerIterator struct { Event *MinerRegistryAddMiner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MinerRegistryAddMinerIterator is returned from FilterAddMiner and is used to iterate over the raw logs and unpacked data for AddMiner events raised by the MinerRegistry contract.
func (*MinerRegistryAddMinerIterator) Close ¶
func (it *MinerRegistryAddMinerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MinerRegistryAddMinerIterator) Error ¶
func (it *MinerRegistryAddMinerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MinerRegistryAddMinerIterator) Next ¶
func (it *MinerRegistryAddMinerIterator) 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 MinerRegistryCaller ¶
type MinerRegistryCaller struct {
// contains filtered or unexported fields
}
MinerRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMinerRegistryCaller ¶
func NewMinerRegistryCaller(address common.Address, caller bind.ContractCaller) (*MinerRegistryCaller, error)
NewMinerRegistryCaller creates a new read-only instance of MinerRegistry, bound to a specific deployed contract.
func (*MinerRegistryCaller) GetMiner ¶
func (_MinerRegistry *MinerRegistryCaller) GetMiner(opts *bind.CallOpts, agentID *big.Int, index *big.Int) (uint64, error)
GetMiner is a free data retrieval call binding the contract method 0x3d874d9f.
Solidity: function getMiner(uint256 agentID, uint256 index) view returns(uint64)
func (*MinerRegistryCaller) MinerRegistered ¶
func (_MinerRegistry *MinerRegistryCaller) MinerRegistered(opts *bind.CallOpts, agentID *big.Int, miner uint64) (bool, error)
MinerRegistered is a free data retrieval call binding the contract method 0x37d3362a.
Solidity: function minerRegistered(uint256 agentID, uint64 miner) view returns(bool)
func (*MinerRegistryCaller) MinersCount ¶
func (_MinerRegistry *MinerRegistryCaller) MinersCount(opts *bind.CallOpts, agentID *big.Int) (*big.Int, error)
MinersCount is a free data retrieval call binding the contract method 0xe3441365.
Solidity: function minersCount(uint256 agentID) view returns(uint256)
type MinerRegistryCallerRaw ¶
type MinerRegistryCallerRaw struct {
Contract *MinerRegistryCaller // Generic read-only contract binding to access the raw methods on
}
MinerRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MinerRegistryCallerRaw) Call ¶
func (_MinerRegistry *MinerRegistryCallerRaw) 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 MinerRegistryCallerSession ¶
type MinerRegistryCallerSession struct { Contract *MinerRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MinerRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MinerRegistryCallerSession) GetMiner ¶
func (_MinerRegistry *MinerRegistryCallerSession) GetMiner(agentID *big.Int, index *big.Int) (uint64, error)
GetMiner is a free data retrieval call binding the contract method 0x3d874d9f.
Solidity: function getMiner(uint256 agentID, uint256 index) view returns(uint64)
func (*MinerRegistryCallerSession) MinerRegistered ¶
func (_MinerRegistry *MinerRegistryCallerSession) MinerRegistered(agentID *big.Int, miner uint64) (bool, error)
MinerRegistered is a free data retrieval call binding the contract method 0x37d3362a.
Solidity: function minerRegistered(uint256 agentID, uint64 miner) view returns(bool)
func (*MinerRegistryCallerSession) MinersCount ¶
MinersCount is a free data retrieval call binding the contract method 0xe3441365.
Solidity: function minersCount(uint256 agentID) view returns(uint256)
type MinerRegistryFilterer ¶
type MinerRegistryFilterer struct {
// contains filtered or unexported fields
}
MinerRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMinerRegistryFilterer ¶
func NewMinerRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*MinerRegistryFilterer, error)
NewMinerRegistryFilterer creates a new log filterer instance of MinerRegistry, bound to a specific deployed contract.
func (*MinerRegistryFilterer) FilterAddMiner ¶
func (_MinerRegistry *MinerRegistryFilterer) FilterAddMiner(opts *bind.FilterOpts, agent []common.Address, miner []uint64) (*MinerRegistryAddMinerIterator, error)
FilterAddMiner is a free log retrieval operation binding the contract event 0x16dc2cbf4fac6621252a619403d8f179259201c83ee0cfb9c1210f36f49e8765.
Solidity: event AddMiner(address indexed agent, uint64 indexed miner)
func (*MinerRegistryFilterer) FilterRemoveMiner ¶
func (_MinerRegistry *MinerRegistryFilterer) FilterRemoveMiner(opts *bind.FilterOpts, agent []common.Address, miner []uint64) (*MinerRegistryRemoveMinerIterator, error)
FilterRemoveMiner is a free log retrieval operation binding the contract event 0xb9d2bc5634927c75cf1ec9264544a54f7da51cba5fe5da9185b635e8a82f3c43.
Solidity: event RemoveMiner(address indexed agent, uint64 indexed miner)
func (*MinerRegistryFilterer) ParseAddMiner ¶
func (_MinerRegistry *MinerRegistryFilterer) ParseAddMiner(log types.Log) (*MinerRegistryAddMiner, error)
ParseAddMiner is a log parse operation binding the contract event 0x16dc2cbf4fac6621252a619403d8f179259201c83ee0cfb9c1210f36f49e8765.
Solidity: event AddMiner(address indexed agent, uint64 indexed miner)
func (*MinerRegistryFilterer) ParseRemoveMiner ¶
func (_MinerRegistry *MinerRegistryFilterer) ParseRemoveMiner(log types.Log) (*MinerRegistryRemoveMiner, error)
ParseRemoveMiner is a log parse operation binding the contract event 0xb9d2bc5634927c75cf1ec9264544a54f7da51cba5fe5da9185b635e8a82f3c43.
Solidity: event RemoveMiner(address indexed agent, uint64 indexed miner)
func (*MinerRegistryFilterer) WatchAddMiner ¶
func (_MinerRegistry *MinerRegistryFilterer) WatchAddMiner(opts *bind.WatchOpts, sink chan<- *MinerRegistryAddMiner, agent []common.Address, miner []uint64) (event.Subscription, error)
WatchAddMiner is a free log subscription operation binding the contract event 0x16dc2cbf4fac6621252a619403d8f179259201c83ee0cfb9c1210f36f49e8765.
Solidity: event AddMiner(address indexed agent, uint64 indexed miner)
func (*MinerRegistryFilterer) WatchRemoveMiner ¶
func (_MinerRegistry *MinerRegistryFilterer) WatchRemoveMiner(opts *bind.WatchOpts, sink chan<- *MinerRegistryRemoveMiner, agent []common.Address, miner []uint64) (event.Subscription, error)
WatchRemoveMiner is a free log subscription operation binding the contract event 0xb9d2bc5634927c75cf1ec9264544a54f7da51cba5fe5da9185b635e8a82f3c43.
Solidity: event RemoveMiner(address indexed agent, uint64 indexed miner)
type MinerRegistryRaw ¶
type MinerRegistryRaw struct {
Contract *MinerRegistry // Generic contract binding to access the raw methods on
}
MinerRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MinerRegistryRaw) Call ¶
func (_MinerRegistry *MinerRegistryRaw) 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 (*MinerRegistryRaw) Transact ¶
func (_MinerRegistry *MinerRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MinerRegistryRaw) Transfer ¶
func (_MinerRegistry *MinerRegistryRaw) 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 MinerRegistryRemoveMiner ¶
type MinerRegistryRemoveMiner struct { Agent common.Address Miner uint64 Raw types.Log // Blockchain specific contextual infos }
MinerRegistryRemoveMiner represents a RemoveMiner event raised by the MinerRegistry contract.
type MinerRegistryRemoveMinerIterator ¶
type MinerRegistryRemoveMinerIterator struct { Event *MinerRegistryRemoveMiner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MinerRegistryRemoveMinerIterator is returned from FilterRemoveMiner and is used to iterate over the raw logs and unpacked data for RemoveMiner events raised by the MinerRegistry contract.
func (*MinerRegistryRemoveMinerIterator) Close ¶
func (it *MinerRegistryRemoveMinerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MinerRegistryRemoveMinerIterator) Error ¶
func (it *MinerRegistryRemoveMinerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MinerRegistryRemoveMinerIterator) Next ¶
func (it *MinerRegistryRemoveMinerIterator) 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 MinerRegistrySession ¶
type MinerRegistrySession struct { Contract *MinerRegistry // 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 }
MinerRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MinerRegistrySession) AddMiner ¶
func (_MinerRegistry *MinerRegistrySession) AddMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)
AddMiner is a paid mutator transaction binding the contract method 0x60c9beaf.
Solidity: function addMiner(uint256 agentID, uint64 miner) returns()
func (*MinerRegistrySession) GetMiner ¶
func (_MinerRegistry *MinerRegistrySession) GetMiner(agentID *big.Int, index *big.Int) (uint64, error)
GetMiner is a free data retrieval call binding the contract method 0x3d874d9f.
Solidity: function getMiner(uint256 agentID, uint256 index) view returns(uint64)
func (*MinerRegistrySession) MinerRegistered ¶
func (_MinerRegistry *MinerRegistrySession) MinerRegistered(agentID *big.Int, miner uint64) (bool, error)
MinerRegistered is a free data retrieval call binding the contract method 0x37d3362a.
Solidity: function minerRegistered(uint256 agentID, uint64 miner) view returns(bool)
func (*MinerRegistrySession) MinersCount ¶
MinersCount is a free data retrieval call binding the contract method 0xe3441365.
Solidity: function minersCount(uint256 agentID) view returns(uint256)
func (*MinerRegistrySession) RefreshRoutes ¶
func (_MinerRegistry *MinerRegistrySession) RefreshRoutes() (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*MinerRegistrySession) RemoveMiner ¶
func (_MinerRegistry *MinerRegistrySession) RemoveMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)
RemoveMiner is a paid mutator transaction binding the contract method 0x3cbe1a26.
Solidity: function removeMiner(uint256 agentID, uint64 miner) returns()
type MinerRegistryTransactor ¶
type MinerRegistryTransactor struct {
// contains filtered or unexported fields
}
MinerRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMinerRegistryTransactor ¶
func NewMinerRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*MinerRegistryTransactor, error)
NewMinerRegistryTransactor creates a new write-only instance of MinerRegistry, bound to a specific deployed contract.
func (*MinerRegistryTransactor) AddMiner ¶
func (_MinerRegistry *MinerRegistryTransactor) AddMiner(opts *bind.TransactOpts, agentID *big.Int, miner uint64) (*types.Transaction, error)
AddMiner is a paid mutator transaction binding the contract method 0x60c9beaf.
Solidity: function addMiner(uint256 agentID, uint64 miner) returns()
func (*MinerRegistryTransactor) RefreshRoutes ¶
func (_MinerRegistry *MinerRegistryTransactor) RefreshRoutes(opts *bind.TransactOpts) (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*MinerRegistryTransactor) RemoveMiner ¶
func (_MinerRegistry *MinerRegistryTransactor) RemoveMiner(opts *bind.TransactOpts, agentID *big.Int, miner uint64) (*types.Transaction, error)
RemoveMiner is a paid mutator transaction binding the contract method 0x3cbe1a26.
Solidity: function removeMiner(uint256 agentID, uint64 miner) returns()
type MinerRegistryTransactorRaw ¶
type MinerRegistryTransactorRaw struct {
Contract *MinerRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
MinerRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MinerRegistryTransactorRaw) Transact ¶
func (_MinerRegistry *MinerRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MinerRegistryTransactorRaw) Transfer ¶
func (_MinerRegistry *MinerRegistryTransactorRaw) 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 MinerRegistryTransactorSession ¶
type MinerRegistryTransactorSession struct { Contract *MinerRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MinerRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MinerRegistryTransactorSession) AddMiner ¶
func (_MinerRegistry *MinerRegistryTransactorSession) AddMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)
AddMiner is a paid mutator transaction binding the contract method 0x60c9beaf.
Solidity: function addMiner(uint256 agentID, uint64 miner) returns()
func (*MinerRegistryTransactorSession) RefreshRoutes ¶
func (_MinerRegistry *MinerRegistryTransactorSession) RefreshRoutes() (*types.Transaction, error)
RefreshRoutes is a paid mutator transaction binding the contract method 0x338891eb.
Solidity: function refreshRoutes() returns()
func (*MinerRegistryTransactorSession) RemoveMiner ¶
func (_MinerRegistry *MinerRegistryTransactorSession) RemoveMiner(agentID *big.Int, miner uint64) (*types.Transaction, error)
RemoveMiner is a paid mutator transaction binding the contract method 0x3cbe1a26.
Solidity: function removeMiner(uint256 agentID, uint64 miner) returns()
type PoolToken ¶
type PoolToken struct { PoolTokenCaller // Read-only binding to the contract PoolTokenTransactor // Write-only binding to the contract PoolTokenFilterer // Log filterer for contract events }
PoolToken is an auto generated Go binding around an Ethereum contract.
func NewPoolToken ¶
NewPoolToken creates a new instance of PoolToken, bound to a specific deployed contract.
type PoolTokenApproval ¶
type PoolTokenApproval struct { Owner common.Address Spender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
PoolTokenApproval represents a Approval event raised by the PoolToken contract.
type PoolTokenApprovalIterator ¶
type PoolTokenApprovalIterator struct { Event *PoolTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the PoolToken contract.
func (*PoolTokenApprovalIterator) Close ¶
func (it *PoolTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolTokenApprovalIterator) Error ¶
func (it *PoolTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolTokenApprovalIterator) Next ¶
func (it *PoolTokenApprovalIterator) 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 PoolTokenCaller ¶
type PoolTokenCaller struct {
// contains filtered or unexported fields
}
PoolTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPoolTokenCaller ¶
func NewPoolTokenCaller(address common.Address, caller bind.ContractCaller) (*PoolTokenCaller, error)
NewPoolTokenCaller creates a new read-only instance of PoolToken, bound to a specific deployed contract.
func (*PoolTokenCaller) Allowance ¶
func (_PoolToken *PoolTokenCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*PoolTokenCaller) BalanceOf ¶
func (_PoolToken *PoolTokenCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*PoolTokenCaller) Burner ¶
Burner is a free data retrieval call binding the contract method 0x27810b6e.
Solidity: function burner() view returns(address)
func (*PoolTokenCaller) DOMAINSEPARATOR ¶
func (_PoolToken *PoolTokenCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*PoolTokenCaller) Decimals ¶
func (_PoolToken *PoolTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*PoolTokenCaller) Minter ¶
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*PoolTokenCaller) Name ¶
func (_PoolToken *PoolTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*PoolTokenCaller) Nonces ¶
func (_PoolToken *PoolTokenCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*PoolTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PoolTokenCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*PoolTokenCaller) Symbol ¶
func (_PoolToken *PoolTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*PoolTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type PoolTokenCallerRaw ¶
type PoolTokenCallerRaw struct {
Contract *PoolTokenCaller // Generic read-only contract binding to access the raw methods on
}
PoolTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PoolTokenCallerRaw) Call ¶
func (_PoolToken *PoolTokenCallerRaw) 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 PoolTokenCallerSession ¶
type PoolTokenCallerSession struct { Contract *PoolTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PoolTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PoolTokenCallerSession) Allowance ¶
func (_PoolToken *PoolTokenCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*PoolTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*PoolTokenCallerSession) Burner ¶
func (_PoolToken *PoolTokenCallerSession) Burner() (common.Address, error)
Burner is a free data retrieval call binding the contract method 0x27810b6e.
Solidity: function burner() view returns(address)
func (*PoolTokenCallerSession) DOMAINSEPARATOR ¶
func (_PoolToken *PoolTokenCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*PoolTokenCallerSession) Decimals ¶
func (_PoolToken *PoolTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*PoolTokenCallerSession) Minter ¶
func (_PoolToken *PoolTokenCallerSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*PoolTokenCallerSession) Name ¶
func (_PoolToken *PoolTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*PoolTokenCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*PoolTokenCallerSession) Owner ¶
func (_PoolToken *PoolTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PoolTokenCallerSession) PendingOwner ¶
func (_PoolToken *PoolTokenCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*PoolTokenCallerSession) Symbol ¶
func (_PoolToken *PoolTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*PoolTokenCallerSession) TotalSupply ¶
func (_PoolToken *PoolTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type PoolTokenFilterer ¶
type PoolTokenFilterer struct {
// contains filtered or unexported fields
}
PoolTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPoolTokenFilterer ¶
func NewPoolTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*PoolTokenFilterer, error)
NewPoolTokenFilterer creates a new log filterer instance of PoolToken, bound to a specific deployed contract.
func (*PoolTokenFilterer) FilterApproval ¶
func (_PoolToken *PoolTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PoolTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*PoolTokenFilterer) FilterOwnershipTransferStarted ¶
func (_PoolToken *PoolTokenFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PoolTokenOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*PoolTokenFilterer) FilterOwnershipTransferred ¶
func (_PoolToken *PoolTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PoolTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*PoolTokenFilterer) FilterTransfer ¶
func (_PoolToken *PoolTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PoolTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*PoolTokenFilterer) ParseApproval ¶
func (_PoolToken *PoolTokenFilterer) ParseApproval(log types.Log) (*PoolTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*PoolTokenFilterer) ParseOwnershipTransferStarted ¶
func (_PoolToken *PoolTokenFilterer) ParseOwnershipTransferStarted(log types.Log) (*PoolTokenOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*PoolTokenFilterer) ParseOwnershipTransferred ¶
func (_PoolToken *PoolTokenFilterer) ParseOwnershipTransferred(log types.Log) (*PoolTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*PoolTokenFilterer) ParseTransfer ¶
func (_PoolToken *PoolTokenFilterer) ParseTransfer(log types.Log) (*PoolTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*PoolTokenFilterer) WatchApproval ¶
func (_PoolToken *PoolTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PoolTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*PoolTokenFilterer) WatchOwnershipTransferStarted ¶
func (_PoolToken *PoolTokenFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *PoolTokenOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*PoolTokenFilterer) WatchOwnershipTransferred ¶
func (_PoolToken *PoolTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PoolTokenOwnershipTransferred, 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 (*PoolTokenFilterer) WatchTransfer ¶
func (_PoolToken *PoolTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PoolTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
type PoolTokenOwnershipTransferStarted ¶
type PoolTokenOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
PoolTokenOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the PoolToken contract.
type PoolTokenOwnershipTransferStartedIterator ¶
type PoolTokenOwnershipTransferStartedIterator struct { Event *PoolTokenOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolTokenOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the PoolToken contract.
func (*PoolTokenOwnershipTransferStartedIterator) Close ¶
func (it *PoolTokenOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolTokenOwnershipTransferStartedIterator) Error ¶
func (it *PoolTokenOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolTokenOwnershipTransferStartedIterator) Next ¶
func (it *PoolTokenOwnershipTransferStartedIterator) 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 PoolTokenOwnershipTransferred ¶
type PoolTokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
PoolTokenOwnershipTransferred represents a OwnershipTransferred event raised by the PoolToken contract.
type PoolTokenOwnershipTransferredIterator ¶
type PoolTokenOwnershipTransferredIterator struct { Event *PoolTokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the PoolToken contract.
func (*PoolTokenOwnershipTransferredIterator) Close ¶
func (it *PoolTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolTokenOwnershipTransferredIterator) Error ¶
func (it *PoolTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolTokenOwnershipTransferredIterator) Next ¶
func (it *PoolTokenOwnershipTransferredIterator) 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 PoolTokenRaw ¶
type PoolTokenRaw struct {
Contract *PoolToken // Generic contract binding to access the raw methods on
}
PoolTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PoolTokenRaw) Call ¶
func (_PoolToken *PoolTokenRaw) 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 (*PoolTokenRaw) Transact ¶
func (_PoolToken *PoolTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PoolTokenRaw) Transfer ¶
func (_PoolToken *PoolTokenRaw) 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 PoolTokenSession ¶
type PoolTokenSession struct { Contract *PoolToken // 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 }
PoolTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PoolTokenSession) AcceptOwnership ¶
func (_PoolToken *PoolTokenSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*PoolTokenSession) Allowance ¶
func (_PoolToken *PoolTokenSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*PoolTokenSession) Approve ¶
func (_PoolToken *PoolTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*PoolTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*PoolTokenSession) Burn ¶
func (_PoolToken *PoolTokenSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns(bool)
func (*PoolTokenSession) Burner ¶
func (_PoolToken *PoolTokenSession) Burner() (common.Address, error)
Burner is a free data retrieval call binding the contract method 0x27810b6e.
Solidity: function burner() view returns(address)
func (*PoolTokenSession) DOMAINSEPARATOR ¶
func (_PoolToken *PoolTokenSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*PoolTokenSession) Decimals ¶
func (_PoolToken *PoolTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*PoolTokenSession) Mint ¶
func (_PoolToken *PoolTokenSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns(bool)
func (*PoolTokenSession) Minter ¶
func (_PoolToken *PoolTokenSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*PoolTokenSession) Name ¶
func (_PoolToken *PoolTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*PoolTokenSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*PoolTokenSession) Owner ¶
func (_PoolToken *PoolTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PoolTokenSession) PendingOwner ¶
func (_PoolToken *PoolTokenSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*PoolTokenSession) Permit ¶
func (_PoolToken *PoolTokenSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*PoolTokenSession) SetBurner ¶
func (_PoolToken *PoolTokenSession) SetBurner(_burner common.Address) (*types.Transaction, error)
SetBurner is a paid mutator transaction binding the contract method 0xa996d6ce.
Solidity: function setBurner(address _burner) returns()
func (*PoolTokenSession) SetMinter ¶
func (_PoolToken *PoolTokenSession) SetMinter(_minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.
Solidity: function setMinter(address _minter) returns()
func (*PoolTokenSession) Symbol ¶
func (_PoolToken *PoolTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*PoolTokenSession) TotalSupply ¶
func (_PoolToken *PoolTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*PoolTokenSession) Transfer ¶
func (_PoolToken *PoolTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*PoolTokenSession) TransferFrom ¶
func (_PoolToken *PoolTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*PoolTokenSession) TransferOwnership ¶
func (_PoolToken *PoolTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type PoolTokenTransactor ¶
type PoolTokenTransactor struct {
// contains filtered or unexported fields
}
PoolTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPoolTokenTransactor ¶
func NewPoolTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*PoolTokenTransactor, error)
NewPoolTokenTransactor creates a new write-only instance of PoolToken, bound to a specific deployed contract.
func (*PoolTokenTransactor) AcceptOwnership ¶
func (_PoolToken *PoolTokenTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*PoolTokenTransactor) Approve ¶
func (_PoolToken *PoolTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*PoolTokenTransactor) Burn ¶
func (_PoolToken *PoolTokenTransactor) Burn(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns(bool)
func (*PoolTokenTransactor) Mint ¶
func (_PoolToken *PoolTokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns(bool)
func (*PoolTokenTransactor) Permit ¶
func (_PoolToken *PoolTokenTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*PoolTokenTransactor) SetBurner ¶
func (_PoolToken *PoolTokenTransactor) SetBurner(opts *bind.TransactOpts, _burner common.Address) (*types.Transaction, error)
SetBurner is a paid mutator transaction binding the contract method 0xa996d6ce.
Solidity: function setBurner(address _burner) returns()
func (*PoolTokenTransactor) SetMinter ¶
func (_PoolToken *PoolTokenTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.
Solidity: function setMinter(address _minter) returns()
func (*PoolTokenTransactor) Transfer ¶
func (_PoolToken *PoolTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*PoolTokenTransactor) TransferFrom ¶
func (_PoolToken *PoolTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*PoolTokenTransactor) TransferOwnership ¶
func (_PoolToken *PoolTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type PoolTokenTransactorRaw ¶
type PoolTokenTransactorRaw struct {
Contract *PoolTokenTransactor // Generic write-only contract binding to access the raw methods on
}
PoolTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PoolTokenTransactorRaw) Transact ¶
func (_PoolToken *PoolTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PoolTokenTransactorRaw) Transfer ¶
func (_PoolToken *PoolTokenTransactorRaw) 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 PoolTokenTransactorSession ¶
type PoolTokenTransactorSession struct { Contract *PoolTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PoolTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PoolTokenTransactorSession) AcceptOwnership ¶
func (_PoolToken *PoolTokenTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*PoolTokenTransactorSession) Approve ¶
func (_PoolToken *PoolTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*PoolTokenTransactorSession) Burn ¶
func (_PoolToken *PoolTokenTransactorSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns(bool)
func (*PoolTokenTransactorSession) Mint ¶
func (_PoolToken *PoolTokenTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns(bool)
func (*PoolTokenTransactorSession) Permit ¶
func (_PoolToken *PoolTokenTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*PoolTokenTransactorSession) SetBurner ¶
func (_PoolToken *PoolTokenTransactorSession) SetBurner(_burner common.Address) (*types.Transaction, error)
SetBurner is a paid mutator transaction binding the contract method 0xa996d6ce.
Solidity: function setBurner(address _burner) returns()
func (*PoolTokenTransactorSession) SetMinter ¶
func (_PoolToken *PoolTokenTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xfca3b5aa.
Solidity: function setMinter(address _minter) returns()
func (*PoolTokenTransactorSession) Transfer ¶
func (_PoolToken *PoolTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*PoolTokenTransactorSession) TransferFrom ¶
func (_PoolToken *PoolTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*PoolTokenTransactorSession) TransferOwnership ¶
func (_PoolToken *PoolTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type PoolTokenTransfer ¶
type PoolTokenTransfer struct { From common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
PoolTokenTransfer represents a Transfer event raised by the PoolToken contract.
type PoolTokenTransferIterator ¶
type PoolTokenTransferIterator struct { Event *PoolTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the PoolToken contract.
func (*PoolTokenTransferIterator) Close ¶
func (it *PoolTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolTokenTransferIterator) Error ¶
func (it *PoolTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolTokenTransferIterator) Next ¶
func (it *PoolTokenTransferIterator) 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 RateUpdate ¶ added in v1.1.0
type RateUpdate struct { TotalAccountsAtUpdate *big.Int TotalAccountsClosed *big.Int StartEpoch *big.Int NewRate *big.Int InProcess bool }
RateUpdate is an auto generated low-level Go binding around an user-defined struct.
type RewardAccrual ¶ added in v1.1.0
RewardAccrual is an auto generated low-level Go binding around an user-defined struct.
type Router ¶
type Router struct { RouterCaller // Read-only binding to the contract RouterTransactor // Write-only binding to the contract RouterFilterer // Log filterer for contract events }
Router is an auto generated Go binding around an Ethereum contract.
type RouterCaller ¶
type RouterCaller struct {
// contains filtered or unexported fields
}
RouterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRouterCaller ¶
func NewRouterCaller(address common.Address, caller bind.ContractCaller) (*RouterCaller, error)
NewRouterCaller creates a new read-only instance of Router, bound to a specific deployed contract.
func (*RouterCaller) CreateAccountKey ¶
func (_Router *RouterCaller) CreateAccountKey(opts *bind.CallOpts, agentID *big.Int, poolID *big.Int) ([32]byte, error)
CreateAccountKey is a free data retrieval call binding the contract method 0xb761b6f3.
Solidity: function createAccountKey(uint256 agentID, uint256 poolID) pure returns(bytes32)
func (*RouterCaller) GetAccount ¶
func (_Router *RouterCaller) GetAccount(opts *bind.CallOpts, agentID *big.Int, poolID *big.Int) (Account, error)
GetAccount is a free data retrieval call binding the contract method 0x6361f6de.
Solidity: function getAccount(uint256 agentID, uint256 poolID) view returns((uint256,uint256,uint256,bool))
func (*RouterCaller) GetRoute ¶
GetRoute is a free data retrieval call binding the contract method 0x1a6e649e.
Solidity: function getRoute(bytes4 id) view returns(address)
func (*RouterCaller) GetRoute0 ¶
GetRoute0 is a free data retrieval call binding the contract method 0x1b5f03a6.
Solidity: function getRoute(string id) view returns(address)
func (*RouterCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RouterCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
type RouterCallerRaw ¶
type RouterCallerRaw struct {
Contract *RouterCaller // Generic read-only contract binding to access the raw methods on
}
RouterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RouterCallerRaw) Call ¶
func (_Router *RouterCallerRaw) 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 RouterCallerSession ¶
type RouterCallerSession struct { Contract *RouterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RouterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RouterCallerSession) CreateAccountKey ¶
func (_Router *RouterCallerSession) CreateAccountKey(agentID *big.Int, poolID *big.Int) ([32]byte, error)
CreateAccountKey is a free data retrieval call binding the contract method 0xb761b6f3.
Solidity: function createAccountKey(uint256 agentID, uint256 poolID) pure returns(bytes32)
func (*RouterCallerSession) GetAccount ¶
GetAccount is a free data retrieval call binding the contract method 0x6361f6de.
Solidity: function getAccount(uint256 agentID, uint256 poolID) view returns((uint256,uint256,uint256,bool))
func (*RouterCallerSession) GetRoute ¶
func (_Router *RouterCallerSession) GetRoute(id [4]byte) (common.Address, error)
GetRoute is a free data retrieval call binding the contract method 0x1a6e649e.
Solidity: function getRoute(bytes4 id) view returns(address)
func (*RouterCallerSession) GetRoute0 ¶
func (_Router *RouterCallerSession) GetRoute0(id string) (common.Address, error)
GetRoute0 is a free data retrieval call binding the contract method 0x1b5f03a6.
Solidity: function getRoute(string id) view returns(address)
func (*RouterCallerSession) Owner ¶
func (_Router *RouterCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RouterCallerSession) PendingOwner ¶
func (_Router *RouterCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
type RouterFilterer ¶
type RouterFilterer struct {
// contains filtered or unexported fields
}
RouterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRouterFilterer ¶
func NewRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*RouterFilterer, error)
NewRouterFilterer creates a new log filterer instance of Router, bound to a specific deployed contract.
func (*RouterFilterer) FilterPushRoute ¶
func (_Router *RouterFilterer) FilterPushRoute(opts *bind.FilterOpts) (*RouterPushRouteIterator, error)
FilterPushRoute is a free log retrieval operation binding the contract event 0xd0bd3873536bdca53cdb3985d74c5be9fdb9172f717e7d305b3dab7828e1df87.
Solidity: event PushRoute(address newRoute, bytes4 id)
func (*RouterFilterer) ParsePushRoute ¶
func (_Router *RouterFilterer) ParsePushRoute(log types.Log) (*RouterPushRoute, error)
ParsePushRoute is a log parse operation binding the contract event 0xd0bd3873536bdca53cdb3985d74c5be9fdb9172f717e7d305b3dab7828e1df87.
Solidity: event PushRoute(address newRoute, bytes4 id)
func (*RouterFilterer) WatchPushRoute ¶
func (_Router *RouterFilterer) WatchPushRoute(opts *bind.WatchOpts, sink chan<- *RouterPushRoute) (event.Subscription, error)
WatchPushRoute is a free log subscription operation binding the contract event 0xd0bd3873536bdca53cdb3985d74c5be9fdb9172f717e7d305b3dab7828e1df87.
Solidity: event PushRoute(address newRoute, bytes4 id)
type RouterPushRoute ¶
type RouterPushRoute struct { NewRoute common.Address Id [4]byte Raw types.Log // Blockchain specific contextual infos }
RouterPushRoute represents a PushRoute event raised by the Router contract.
type RouterPushRouteIterator ¶
type RouterPushRouteIterator struct { Event *RouterPushRoute // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RouterPushRouteIterator is returned from FilterPushRoute and is used to iterate over the raw logs and unpacked data for PushRoute events raised by the Router contract.
func (*RouterPushRouteIterator) Close ¶
func (it *RouterPushRouteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RouterPushRouteIterator) Error ¶
func (it *RouterPushRouteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RouterPushRouteIterator) Next ¶
func (it *RouterPushRouteIterator) 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 RouterRaw ¶
type RouterRaw struct {
Contract *Router // Generic contract binding to access the raw methods on
}
RouterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RouterRaw) Call ¶
func (_Router *RouterRaw) 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 (*RouterRaw) Transact ¶
func (_Router *RouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RouterRaw) Transfer ¶
func (_Router *RouterRaw) 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 RouterSession ¶
type RouterSession struct { Contract *Router // 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 }
RouterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RouterSession) AcceptOwnership ¶
func (_Router *RouterSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*RouterSession) CreateAccountKey ¶
CreateAccountKey is a free data retrieval call binding the contract method 0xb761b6f3.
Solidity: function createAccountKey(uint256 agentID, uint256 poolID) pure returns(bytes32)
func (*RouterSession) GetAccount ¶
GetAccount is a free data retrieval call binding the contract method 0x6361f6de.
Solidity: function getAccount(uint256 agentID, uint256 poolID) view returns((uint256,uint256,uint256,bool))
func (*RouterSession) GetRoute ¶
func (_Router *RouterSession) GetRoute(id [4]byte) (common.Address, error)
GetRoute is a free data retrieval call binding the contract method 0x1a6e649e.
Solidity: function getRoute(bytes4 id) view returns(address)
func (*RouterSession) GetRoute0 ¶
func (_Router *RouterSession) GetRoute0(id string) (common.Address, error)
GetRoute0 is a free data retrieval call binding the contract method 0x1b5f03a6.
Solidity: function getRoute(string id) view returns(address)
func (*RouterSession) Owner ¶
func (_Router *RouterSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RouterSession) PendingOwner ¶
func (_Router *RouterSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*RouterSession) PushRoute ¶
func (_Router *RouterSession) PushRoute(id string, newRoute common.Address) (*types.Transaction, error)
PushRoute is a paid mutator transaction binding the contract method 0x19ac0743.
Solidity: function pushRoute(string id, address newRoute) returns()
func (*RouterSession) PushRoute0 ¶
func (_Router *RouterSession) PushRoute0(id [4]byte, newRoute common.Address) (*types.Transaction, error)
PushRoute0 is a paid mutator transaction binding the contract method 0x334908b2.
Solidity: function pushRoute(bytes4 id, address newRoute) returns()
func (*RouterSession) PushRoutes ¶
func (_Router *RouterSession) PushRoutes(ids []string, newRoutes []common.Address) (*types.Transaction, error)
PushRoutes is a paid mutator transaction binding the contract method 0x7df3be51.
Solidity: function pushRoutes(string[] ids, address[] newRoutes) returns()
func (*RouterSession) PushRoutes0 ¶
func (_Router *RouterSession) PushRoutes0(ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)
PushRoutes0 is a paid mutator transaction binding the contract method 0xef254abd.
Solidity: function pushRoutes(bytes4[] ids, address[] newRoutes) returns()
func (*RouterSession) Route ¶
func (_Router *RouterSession) Route(arg0 [4]byte) (common.Address, error)
Route is a free data retrieval call binding the contract method 0xc5ae7a11.
Solidity: function route(bytes4 ) view returns(address)
func (*RouterSession) SetAccount ¶
func (_Router *RouterSession) SetAccount(agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0xc7afd04b.
Solidity: function setAccount(uint256 agentID, uint256 poolID, (uint256,uint256,uint256,bool) account) returns()
func (*RouterSession) TransferOwnership ¶
func (_Router *RouterSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type RouterTransactor ¶
type RouterTransactor struct {
// contains filtered or unexported fields
}
RouterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRouterTransactor ¶
func NewRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*RouterTransactor, error)
NewRouterTransactor creates a new write-only instance of Router, bound to a specific deployed contract.
func (*RouterTransactor) AcceptOwnership ¶
func (_Router *RouterTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*RouterTransactor) PushRoute ¶
func (_Router *RouterTransactor) PushRoute(opts *bind.TransactOpts, id string, newRoute common.Address) (*types.Transaction, error)
PushRoute is a paid mutator transaction binding the contract method 0x19ac0743.
Solidity: function pushRoute(string id, address newRoute) returns()
func (*RouterTransactor) PushRoute0 ¶
func (_Router *RouterTransactor) PushRoute0(opts *bind.TransactOpts, id [4]byte, newRoute common.Address) (*types.Transaction, error)
PushRoute0 is a paid mutator transaction binding the contract method 0x334908b2.
Solidity: function pushRoute(bytes4 id, address newRoute) returns()
func (*RouterTransactor) PushRoutes ¶
func (_Router *RouterTransactor) PushRoutes(opts *bind.TransactOpts, ids []string, newRoutes []common.Address) (*types.Transaction, error)
PushRoutes is a paid mutator transaction binding the contract method 0x7df3be51.
Solidity: function pushRoutes(string[] ids, address[] newRoutes) returns()
func (*RouterTransactor) PushRoutes0 ¶
func (_Router *RouterTransactor) PushRoutes0(opts *bind.TransactOpts, ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)
PushRoutes0 is a paid mutator transaction binding the contract method 0xef254abd.
Solidity: function pushRoutes(bytes4[] ids, address[] newRoutes) returns()
func (*RouterTransactor) SetAccount ¶
func (_Router *RouterTransactor) SetAccount(opts *bind.TransactOpts, agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0xc7afd04b.
Solidity: function setAccount(uint256 agentID, uint256 poolID, (uint256,uint256,uint256,bool) account) returns()
func (*RouterTransactor) TransferOwnership ¶
func (_Router *RouterTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type RouterTransactorRaw ¶
type RouterTransactorRaw struct {
Contract *RouterTransactor // Generic write-only contract binding to access the raw methods on
}
RouterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RouterTransactorRaw) Transact ¶
func (_Router *RouterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RouterTransactorRaw) Transfer ¶
func (_Router *RouterTransactorRaw) 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 RouterTransactorSession ¶
type RouterTransactorSession struct { Contract *RouterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RouterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RouterTransactorSession) AcceptOwnership ¶
func (_Router *RouterTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*RouterTransactorSession) PushRoute ¶
func (_Router *RouterTransactorSession) PushRoute(id string, newRoute common.Address) (*types.Transaction, error)
PushRoute is a paid mutator transaction binding the contract method 0x19ac0743.
Solidity: function pushRoute(string id, address newRoute) returns()
func (*RouterTransactorSession) PushRoute0 ¶
func (_Router *RouterTransactorSession) PushRoute0(id [4]byte, newRoute common.Address) (*types.Transaction, error)
PushRoute0 is a paid mutator transaction binding the contract method 0x334908b2.
Solidity: function pushRoute(bytes4 id, address newRoute) returns()
func (*RouterTransactorSession) PushRoutes ¶
func (_Router *RouterTransactorSession) PushRoutes(ids []string, newRoutes []common.Address) (*types.Transaction, error)
PushRoutes is a paid mutator transaction binding the contract method 0x7df3be51.
Solidity: function pushRoutes(string[] ids, address[] newRoutes) returns()
func (*RouterTransactorSession) PushRoutes0 ¶
func (_Router *RouterTransactorSession) PushRoutes0(ids [][4]byte, newRoutes []common.Address) (*types.Transaction, error)
PushRoutes0 is a paid mutator transaction binding the contract method 0xef254abd.
Solidity: function pushRoutes(bytes4[] ids, address[] newRoutes) returns()
func (*RouterTransactorSession) SetAccount ¶
func (_Router *RouterTransactorSession) SetAccount(agentID *big.Int, poolID *big.Int, account Account) (*types.Transaction, error)
SetAccount is a paid mutator transaction binding the contract method 0xc7afd04b.
Solidity: function setAccount(uint256 agentID, uint256 poolID, (uint256,uint256,uint256,bool) account) returns()
func (*RouterTransactorSession) TransferOwnership ¶
func (_Router *RouterTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type SignedCredential ¶
type SignedCredential struct { Vc VerifiableCredential V uint8 R [32]byte S [32]byte }
SignedCredential is an auto generated low-level Go binding around an user-defined struct.
type SignedCredential_duplicate ¶
type SignedCredential_duplicate struct { Vc VerifiableCredential V uint8 R [32]byte S [32]byte }
SignedCredential is an auto generated low-level Go binding around an user-defined struct.
type UpgradeToV2 ¶ added in v1.1.0
type UpgradeToV2 struct { UpgradeToV2Caller // Read-only binding to the contract UpgradeToV2Transactor // Write-only binding to the contract UpgradeToV2Filterer // Log filterer for contract events }
UpgradeToV2 is an auto generated Go binding around an Ethereum contract.
func NewUpgradeToV2 ¶ added in v1.1.0
func NewUpgradeToV2(address common.Address, backend bind.ContractBackend) (*UpgradeToV2, error)
NewUpgradeToV2 creates a new instance of UpgradeToV2, bound to a specific deployed contract.
type UpgradeToV2Caller ¶ added in v1.1.0
type UpgradeToV2Caller struct {
// contains filtered or unexported fields
}
UpgradeToV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewUpgradeToV2Caller ¶ added in v1.1.0
func NewUpgradeToV2Caller(address common.Address, caller bind.ContractCaller) (*UpgradeToV2Caller, error)
NewUpgradeToV2Caller creates a new read-only instance of UpgradeToV2, bound to a specific deployed contract.
func (*UpgradeToV2Caller) Owner ¶ added in v1.1.0
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UpgradeToV2Caller) PendingOwner ¶ added in v1.1.0
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UpgradeToV2Caller) VerifyTotalAssets ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Caller) VerifyTotalAssets(opts *bind.CallOpts, newInterestAccrued *big.Int) (bool, error)
VerifyTotalAssets is a free data retrieval call binding the contract method 0x8287aa2d.
Solidity: function verifyTotalAssets(uint256 newInterestAccrued) view returns(bool)
type UpgradeToV2CallerRaw ¶ added in v1.1.0
type UpgradeToV2CallerRaw struct {
Contract *UpgradeToV2Caller // Generic read-only contract binding to access the raw methods on
}
UpgradeToV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UpgradeToV2CallerRaw) Call ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2CallerRaw) 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 UpgradeToV2CallerSession ¶ added in v1.1.0
type UpgradeToV2CallerSession struct { Contract *UpgradeToV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UpgradeToV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UpgradeToV2CallerSession) Owner ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UpgradeToV2CallerSession) PendingOwner ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2CallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UpgradeToV2CallerSession) VerifyTotalAssets ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2CallerSession) VerifyTotalAssets(newInterestAccrued *big.Int) (bool, error)
VerifyTotalAssets is a free data retrieval call binding the contract method 0x8287aa2d.
Solidity: function verifyTotalAssets(uint256 newInterestAccrued) view returns(bool)
type UpgradeToV2Filterer ¶ added in v1.1.0
type UpgradeToV2Filterer struct {
// contains filtered or unexported fields
}
UpgradeToV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUpgradeToV2Filterer ¶ added in v1.1.0
func NewUpgradeToV2Filterer(address common.Address, filterer bind.ContractFilterer) (*UpgradeToV2Filterer, error)
NewUpgradeToV2Filterer creates a new log filterer instance of UpgradeToV2, bound to a specific deployed contract.
type UpgradeToV2Raw ¶ added in v1.1.0
type UpgradeToV2Raw struct {
Contract *UpgradeToV2 // Generic contract binding to access the raw methods on
}
UpgradeToV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*UpgradeToV2Raw) Call ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Raw) 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 (*UpgradeToV2Raw) Transact ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UpgradeToV2Raw) Transfer ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Raw) 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 UpgradeToV2Session ¶ added in v1.1.0
type UpgradeToV2Session struct { Contract *UpgradeToV2 // 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 }
UpgradeToV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UpgradeToV2Session) AcceptOwnership ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*UpgradeToV2Session) Fallback ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*UpgradeToV2Session) Owner ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UpgradeToV2Session) PendingOwner ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UpgradeToV2Session) Receive ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UpgradeToV2Session) RefreshProtocolRoutes ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) RefreshProtocolRoutes(agents []common.Address) (*types.Transaction, error)
RefreshProtocolRoutes is a paid mutator transaction binding the contract method 0x7abe3913.
Solidity: function refreshProtocolRoutes(address[] agents) returns()
func (*UpgradeToV2Session) SetOwner ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) SetOwner(_auth common.Address, _newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x299a7bcc.
Solidity: function setOwner(address _auth, address _newOwner) returns()
func (*UpgradeToV2Session) TransferOwnership ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) 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 (*UpgradeToV2Session) Upgrade ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) Upgrade(agentPolice common.Address, pool common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x99a88ec4.
Solidity: function upgrade(address agentPolice, address pool) payable returns()
func (*UpgradeToV2Session) VerifyTotalAssets ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Session) VerifyTotalAssets(newInterestAccrued *big.Int) (bool, error)
VerifyTotalAssets is a free data retrieval call binding the contract method 0x8287aa2d.
Solidity: function verifyTotalAssets(uint256 newInterestAccrued) view returns(bool)
type UpgradeToV2Transactor ¶ added in v1.1.0
type UpgradeToV2Transactor struct {
// contains filtered or unexported fields
}
UpgradeToV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUpgradeToV2Transactor ¶ added in v1.1.0
func NewUpgradeToV2Transactor(address common.Address, transactor bind.ContractTransactor) (*UpgradeToV2Transactor, error)
NewUpgradeToV2Transactor creates a new write-only instance of UpgradeToV2, bound to a specific deployed contract.
func (*UpgradeToV2Transactor) AcceptOwnership ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*UpgradeToV2Transactor) Fallback ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Transactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*UpgradeToV2Transactor) Receive ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UpgradeToV2Transactor) RefreshProtocolRoutes ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Transactor) RefreshProtocolRoutes(opts *bind.TransactOpts, agents []common.Address) (*types.Transaction, error)
RefreshProtocolRoutes is a paid mutator transaction binding the contract method 0x7abe3913.
Solidity: function refreshProtocolRoutes(address[] agents) returns()
func (*UpgradeToV2Transactor) SetOwner ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Transactor) SetOwner(opts *bind.TransactOpts, _auth common.Address, _newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x299a7bcc.
Solidity: function setOwner(address _auth, address _newOwner) returns()
func (*UpgradeToV2Transactor) TransferOwnership ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Transactor) 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 (*UpgradeToV2Transactor) Upgrade ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2Transactor) Upgrade(opts *bind.TransactOpts, agentPolice common.Address, pool common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x99a88ec4.
Solidity: function upgrade(address agentPolice, address pool) payable returns()
type UpgradeToV2TransactorRaw ¶ added in v1.1.0
type UpgradeToV2TransactorRaw struct {
Contract *UpgradeToV2Transactor // Generic write-only contract binding to access the raw methods on
}
UpgradeToV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UpgradeToV2TransactorRaw) Transact ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UpgradeToV2TransactorRaw) Transfer ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorRaw) 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 UpgradeToV2TransactorSession ¶ added in v1.1.0
type UpgradeToV2TransactorSession struct { Contract *UpgradeToV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UpgradeToV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UpgradeToV2TransactorSession) AcceptOwnership ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*UpgradeToV2TransactorSession) Fallback ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*UpgradeToV2TransactorSession) Receive ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UpgradeToV2TransactorSession) RefreshProtocolRoutes ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorSession) RefreshProtocolRoutes(agents []common.Address) (*types.Transaction, error)
RefreshProtocolRoutes is a paid mutator transaction binding the contract method 0x7abe3913.
Solidity: function refreshProtocolRoutes(address[] agents) returns()
func (*UpgradeToV2TransactorSession) SetOwner ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorSession) SetOwner(_auth common.Address, _newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x299a7bcc.
Solidity: function setOwner(address _auth, address _newOwner) returns()
func (*UpgradeToV2TransactorSession) TransferOwnership ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorSession) 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 (*UpgradeToV2TransactorSession) Upgrade ¶ added in v1.1.0
func (_UpgradeToV2 *UpgradeToV2TransactorSession) Upgrade(agentPolice common.Address, pool common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x99a88ec4.
Solidity: function upgrade(address agentPolice, address pool) payable returns()
type VerifiableCredential ¶
type VerifiableCredential struct { Issuer common.Address Subject *big.Int EpochIssued *big.Int EpochValidUntil *big.Int Value *big.Int Action [4]byte Target uint64 Claim []byte }
VerifiableCredential is an auto generated low-level Go binding around an user-defined struct.
type VerifiableCredential_duplicate ¶ added in v1.1.0
type VerifiableCredential_duplicate struct { Issuer common.Address Subject *big.Int EpochIssued *big.Int EpochValidUntil *big.Int Value *big.Int Action [4]byte Target uint64 Claim []byte }
VerifiableCredential is an auto generated low-level Go binding around an user-defined struct.
type VerifiableCredential_duplicate3 ¶ added in v1.1.0
type VerifiableCredential_duplicate3 struct { Issuer common.Address Subject *big.Int EpochIssued *big.Int EpochValidUntil *big.Int Value *big.Int Action [4]byte Target uint64 Claim []byte }
VerifiableCredential is an auto generated low-level Go binding around an user-defined struct.
type WFIL ¶
type WFIL struct { WFILCaller // Read-only binding to the contract WFILTransactor // Write-only binding to the contract WFILFilterer // Log filterer for contract events }
WFIL is an auto generated Go binding around an Ethereum contract.
type WFILApproval ¶
type WFILApproval struct { Owner common.Address Spender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
WFILApproval represents a Approval event raised by the WFIL contract.
type WFILApprovalIterator ¶
type WFILApprovalIterator struct { Event *WFILApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WFILApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WFIL contract.
func (*WFILApprovalIterator) Close ¶
func (it *WFILApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WFILApprovalIterator) Error ¶
func (it *WFILApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WFILApprovalIterator) Next ¶
func (it *WFILApprovalIterator) 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 WFILCaller ¶
type WFILCaller struct {
// contains filtered or unexported fields
}
WFILCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWFILCaller ¶
func NewWFILCaller(address common.Address, caller bind.ContractCaller) (*WFILCaller, error)
NewWFILCaller creates a new read-only instance of WFIL, bound to a specific deployed contract.
func (*WFILCaller) Allowance ¶
func (_WFIL *WFILCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*WFILCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*WFILCaller) DOMAINSEPARATOR ¶
func (_WFIL *WFILCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WFILCaller) Decimals ¶
func (_WFIL *WFILCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WFILCaller) Name ¶
func (_WFIL *WFILCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WFILCaller) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*WFILCaller) Symbol ¶
func (_WFIL *WFILCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WFILCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WFILCallerRaw ¶
type WFILCallerRaw struct {
Contract *WFILCaller // Generic read-only contract binding to access the raw methods on
}
WFILCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WFILCallerRaw) Call ¶
func (_WFIL *WFILCallerRaw) 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 WFILCallerSession ¶
type WFILCallerSession struct { Contract *WFILCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WFILCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WFILCallerSession) Allowance ¶
func (_WFIL *WFILCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*WFILCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*WFILCallerSession) DOMAINSEPARATOR ¶
func (_WFIL *WFILCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WFILCallerSession) Decimals ¶
func (_WFIL *WFILCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WFILCallerSession) Name ¶
func (_WFIL *WFILCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WFILCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*WFILCallerSession) Symbol ¶
func (_WFIL *WFILCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WFILCallerSession) TotalSupply ¶
func (_WFIL *WFILCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WFILDeposit ¶
type WFILDeposit struct { From common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
WFILDeposit represents a Deposit event raised by the WFIL contract.
type WFILDepositIterator ¶
type WFILDepositIterator struct { Event *WFILDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WFILDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the WFIL contract.
func (*WFILDepositIterator) Close ¶
func (it *WFILDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WFILDepositIterator) Error ¶
func (it *WFILDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WFILDepositIterator) Next ¶
func (it *WFILDepositIterator) 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 WFILFilterer ¶
type WFILFilterer struct {
// contains filtered or unexported fields
}
WFILFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWFILFilterer ¶
func NewWFILFilterer(address common.Address, filterer bind.ContractFilterer) (*WFILFilterer, error)
NewWFILFilterer creates a new log filterer instance of WFIL, bound to a specific deployed contract.
func (*WFILFilterer) FilterApproval ¶
func (_WFIL *WFILFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WFILApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*WFILFilterer) FilterDeposit ¶
func (_WFIL *WFILFilterer) FilterDeposit(opts *bind.FilterOpts, from []common.Address) (*WFILDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed from, uint256 amount)
func (*WFILFilterer) FilterTransfer ¶
func (_WFIL *WFILFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WFILTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*WFILFilterer) FilterWithdrawal ¶
func (_WFIL *WFILFilterer) FilterWithdrawal(opts *bind.FilterOpts, to []common.Address) (*WFILWithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed to, uint256 amount)
func (*WFILFilterer) ParseApproval ¶
func (_WFIL *WFILFilterer) ParseApproval(log types.Log) (*WFILApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*WFILFilterer) ParseDeposit ¶
func (_WFIL *WFILFilterer) ParseDeposit(log types.Log) (*WFILDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed from, uint256 amount)
func (*WFILFilterer) ParseTransfer ¶
func (_WFIL *WFILFilterer) ParseTransfer(log types.Log) (*WFILTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*WFILFilterer) ParseWithdrawal ¶
func (_WFIL *WFILFilterer) ParseWithdrawal(log types.Log) (*WFILWithdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed to, uint256 amount)
func (*WFILFilterer) WatchApproval ¶
func (_WFIL *WFILFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WFILApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*WFILFilterer) WatchDeposit ¶
func (_WFIL *WFILFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WFILDeposit, from []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed from, uint256 amount)
func (*WFILFilterer) WatchTransfer ¶
func (_WFIL *WFILFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WFILTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*WFILFilterer) WatchWithdrawal ¶
func (_WFIL *WFILFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WFILWithdrawal, to []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed to, uint256 amount)
type WFILRaw ¶
type WFILRaw struct {
Contract *WFIL // Generic contract binding to access the raw methods on
}
WFILRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WFILRaw) Call ¶
func (_WFIL *WFILRaw) 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 (*WFILRaw) Transact ¶
func (_WFIL *WFILRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WFILRaw) Transfer ¶
func (_WFIL *WFILRaw) 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 WFILSession ¶
type WFILSession struct { Contract *WFIL // 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 }
WFILSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WFILSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*WFILSession) Approve ¶
func (_WFIL *WFILSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WFILSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*WFILSession) DOMAINSEPARATOR ¶
func (_WFIL *WFILSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WFILSession) Decimals ¶
func (_WFIL *WFILSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WFILSession) Deposit ¶
func (_WFIL *WFILSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*WFILSession) Name ¶
func (_WFIL *WFILSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WFILSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*WFILSession) Permit ¶
func (_WFIL *WFILSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WFILSession) Receive ¶
func (_WFIL *WFILSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WFILSession) Symbol ¶
func (_WFIL *WFILSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WFILSession) TotalSupply ¶
func (_WFIL *WFILSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*WFILSession) Transfer ¶
func (_WFIL *WFILSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*WFILSession) TransferFrom ¶
func (_WFIL *WFILSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*WFILSession) Withdraw ¶
func (_WFIL *WFILSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns()
type WFILTransactor ¶
type WFILTransactor struct {
// contains filtered or unexported fields
}
WFILTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWFILTransactor ¶
func NewWFILTransactor(address common.Address, transactor bind.ContractTransactor) (*WFILTransactor, error)
NewWFILTransactor creates a new write-only instance of WFIL, bound to a specific deployed contract.
func (*WFILTransactor) Approve ¶
func (_WFIL *WFILTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WFILTransactor) Deposit ¶
func (_WFIL *WFILTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*WFILTransactor) Permit ¶
func (_WFIL *WFILTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WFILTransactor) Receive ¶
func (_WFIL *WFILTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WFILTransactor) Transfer ¶
func (_WFIL *WFILTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*WFILTransactor) TransferFrom ¶
func (_WFIL *WFILTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*WFILTransactor) Withdraw ¶
func (_WFIL *WFILTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns()
type WFILTransactorRaw ¶
type WFILTransactorRaw struct {
Contract *WFILTransactor // Generic write-only contract binding to access the raw methods on
}
WFILTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WFILTransactorRaw) Transact ¶
func (_WFIL *WFILTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WFILTransactorRaw) Transfer ¶
func (_WFIL *WFILTransactorRaw) 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 WFILTransactorSession ¶
type WFILTransactorSession struct { Contract *WFILTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WFILTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WFILTransactorSession) Approve ¶
func (_WFIL *WFILTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*WFILTransactorSession) Deposit ¶
func (_WFIL *WFILTransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*WFILTransactorSession) Permit ¶
func (_WFIL *WFILTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WFILTransactorSession) Receive ¶
func (_WFIL *WFILTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WFILTransactorSession) Transfer ¶
func (_WFIL *WFILTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*WFILTransactorSession) TransferFrom ¶
func (_WFIL *WFILTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*WFILTransactorSession) Withdraw ¶
func (_WFIL *WFILTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns()
type WFILTransfer ¶
type WFILTransfer struct { From common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
WFILTransfer represents a Transfer event raised by the WFIL contract.
type WFILTransferIterator ¶
type WFILTransferIterator struct { Event *WFILTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WFILTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WFIL contract.
func (*WFILTransferIterator) Close ¶
func (it *WFILTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WFILTransferIterator) Error ¶
func (it *WFILTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WFILTransferIterator) Next ¶
func (it *WFILTransferIterator) 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 WFILWithdrawal ¶
type WFILWithdrawal struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
WFILWithdrawal represents a Withdrawal event raised by the WFIL contract.
type WFILWithdrawalIterator ¶
type WFILWithdrawalIterator struct { Event *WFILWithdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WFILWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the WFIL contract.
func (*WFILWithdrawalIterator) Close ¶
func (it *WFILWithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WFILWithdrawalIterator) Error ¶
func (it *WFILWithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WFILWithdrawalIterator) Next ¶
func (it *WFILWithdrawalIterator) 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.