Documentation ¶
Overview ¶
Package contract contains predefined Klaytn reward contracts.
Index ¶
- Constants
- type AddressBook
- type AddressBookActivateAddressBook
- type AddressBookActivateAddressBookIterator
- type AddressBookAddAdmin
- type AddressBookAddAdminIterator
- type AddressBookCaller
- func (_AddressBook *AddressBookCaller) CNNODEIDTYPE(opts *bind.CallOpts) (uint8, error)
- func (_AddressBook *AddressBookCaller) CNREWARDADDRESSTYPE(opts *bind.CallOpts) (uint8, error)
- func (_AddressBook *AddressBookCaller) CNSTAKINGADDRESSTYPE(opts *bind.CallOpts) (uint8, error)
- func (_AddressBook *AddressBookCaller) CONTRACTTYPE(opts *bind.CallOpts) (string, error)
- func (_AddressBook *AddressBookCaller) GetAllAddress(opts *bind.CallOpts) ([]uint8, []common.Address, error)
- func (_AddressBook *AddressBookCaller) GetAllAddressInfo(opts *bind.CallOpts) ([]common.Address, []common.Address, []common.Address, common.Address, ...)
- func (_AddressBook *AddressBookCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeId common.Address) (common.Address, common.Address, common.Address, error)
- func (_AddressBook *AddressBookCaller) GetPendingRequestList(opts *bind.CallOpts) ([][32]byte, error)
- func (_AddressBook *AddressBookCaller) GetRequestInfo(opts *bind.CallOpts, _id [32]byte) (uint8, [32]byte, [32]byte, [32]byte, []common.Address, *big.Int, uint8, error)
- func (_AddressBook *AddressBookCaller) GetRequestInfoByArgs(opts *bind.CallOpts, _functionId uint8, _firstArg [32]byte, ...) ([32]byte, []common.Address, *big.Int, uint8, error)
- func (_AddressBook *AddressBookCaller) GetState(opts *bind.CallOpts) ([]common.Address, *big.Int, error)
- func (_AddressBook *AddressBookCaller) IsActivated(opts *bind.CallOpts) (bool, error)
- func (_AddressBook *AddressBookCaller) IsConstructed(opts *bind.CallOpts) (bool, error)
- func (_AddressBook *AddressBookCaller) KIRCONTRACTTYPE(opts *bind.CallOpts) (uint8, error)
- func (_AddressBook *AddressBookCaller) KirContractAddress(opts *bind.CallOpts) (common.Address, error)
- func (_AddressBook *AddressBookCaller) MAXADMIN(opts *bind.CallOpts) (*big.Int, error)
- func (_AddressBook *AddressBookCaller) MAXPENDINGREQUEST(opts *bind.CallOpts) (*big.Int, error)
- func (_AddressBook *AddressBookCaller) ONEWEEK(opts *bind.CallOpts) (*big.Int, error)
- func (_AddressBook *AddressBookCaller) POCCONTRACTTYPE(opts *bind.CallOpts) (uint8, error)
- func (_AddressBook *AddressBookCaller) PocContractAddress(opts *bind.CallOpts) (common.Address, error)
- func (_AddressBook *AddressBookCaller) Requirement(opts *bind.CallOpts) (*big.Int, error)
- func (_AddressBook *AddressBookCaller) SpareContractAddress(opts *bind.CallOpts) (common.Address, error)
- func (_AddressBook *AddressBookCaller) TWOWEEKS(opts *bind.CallOpts) (*big.Int, error)
- func (_AddressBook *AddressBookCaller) VERSION(opts *bind.CallOpts) (*big.Int, error)
- type AddressBookCallerRaw
- type AddressBookCallerSession
- func (_AddressBook *AddressBookCallerSession) CNNODEIDTYPE() (uint8, error)
- func (_AddressBook *AddressBookCallerSession) CNREWARDADDRESSTYPE() (uint8, error)
- func (_AddressBook *AddressBookCallerSession) CNSTAKINGADDRESSTYPE() (uint8, error)
- func (_AddressBook *AddressBookCallerSession) CONTRACTTYPE() (string, error)
- func (_AddressBook *AddressBookCallerSession) GetAllAddress() ([]uint8, []common.Address, error)
- func (_AddressBook *AddressBookCallerSession) GetAllAddressInfo() ([]common.Address, []common.Address, []common.Address, common.Address, ...)
- func (_AddressBook *AddressBookCallerSession) GetCnInfo(_cnNodeId common.Address) (common.Address, common.Address, common.Address, error)
- func (_AddressBook *AddressBookCallerSession) GetPendingRequestList() ([][32]byte, error)
- func (_AddressBook *AddressBookCallerSession) GetRequestInfo(_id [32]byte) (uint8, [32]byte, [32]byte, [32]byte, []common.Address, *big.Int, uint8, error)
- func (_AddressBook *AddressBookCallerSession) GetRequestInfoByArgs(_functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) ([32]byte, []common.Address, *big.Int, uint8, error)
- func (_AddressBook *AddressBookCallerSession) GetState() ([]common.Address, *big.Int, error)
- func (_AddressBook *AddressBookCallerSession) IsActivated() (bool, error)
- func (_AddressBook *AddressBookCallerSession) IsConstructed() (bool, error)
- func (_AddressBook *AddressBookCallerSession) KIRCONTRACTTYPE() (uint8, error)
- func (_AddressBook *AddressBookCallerSession) KirContractAddress() (common.Address, error)
- func (_AddressBook *AddressBookCallerSession) MAXADMIN() (*big.Int, error)
- func (_AddressBook *AddressBookCallerSession) MAXPENDINGREQUEST() (*big.Int, error)
- func (_AddressBook *AddressBookCallerSession) ONEWEEK() (*big.Int, error)
- func (_AddressBook *AddressBookCallerSession) POCCONTRACTTYPE() (uint8, error)
- func (_AddressBook *AddressBookCallerSession) PocContractAddress() (common.Address, error)
- func (_AddressBook *AddressBookCallerSession) Requirement() (*big.Int, error)
- func (_AddressBook *AddressBookCallerSession) SpareContractAddress() (common.Address, error)
- func (_AddressBook *AddressBookCallerSession) TWOWEEKS() (*big.Int, error)
- func (_AddressBook *AddressBookCallerSession) VERSION() (*big.Int, error)
- type AddressBookCancelRequest
- type AddressBookCancelRequestIterator
- type AddressBookClearRequest
- type AddressBookClearRequestIterator
- type AddressBookDeleteAdmin
- type AddressBookDeleteAdminIterator
- type AddressBookDeployContract
- type AddressBookDeployContractIterator
- type AddressBookExecuteRequestFailure
- type AddressBookExecuteRequestFailureIterator
- type AddressBookExecuteRequestSuccess
- type AddressBookExecuteRequestSuccessIterator
- type AddressBookExpiredRequest
- type AddressBookExpiredRequestIterator
- type AddressBookFilterer
- func (_AddressBook *AddressBookFilterer) FilterActivateAddressBook(opts *bind.FilterOpts) (*AddressBookActivateAddressBookIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterAddAdmin(opts *bind.FilterOpts, admin []common.Address) (*AddressBookAddAdminIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterCancelRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookCancelRequestIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterClearRequest(opts *bind.FilterOpts) (*AddressBookClearRequestIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterDeleteAdmin(opts *bind.FilterOpts, admin []common.Address) (*AddressBookDeleteAdminIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterDeployContract(opts *bind.FilterOpts) (*AddressBookDeployContractIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterExecuteRequestFailure(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExecuteRequestFailureIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterExecuteRequestSuccess(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExecuteRequestSuccessIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterExpiredRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExpiredRequestIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterRegisterCnStakingContract(opts *bind.FilterOpts) (*AddressBookRegisterCnStakingContractIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterReviseRewardAddress(opts *bind.FilterOpts) (*AddressBookReviseRewardAddressIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterRevokeRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookRevokeRequestIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterSubmitRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookSubmitRequestIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterUnregisterCnStakingContract(opts *bind.FilterOpts) (*AddressBookUnregisterCnStakingContractIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterUpdateKirContract(opts *bind.FilterOpts) (*AddressBookUpdateKirContractIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterUpdatePocContract(opts *bind.FilterOpts) (*AddressBookUpdatePocContractIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterUpdateRequirement(opts *bind.FilterOpts) (*AddressBookUpdateRequirementIterator, error)
- func (_AddressBook *AddressBookFilterer) FilterUpdateSpareContract(opts *bind.FilterOpts) (*AddressBookUpdateSpareContractIterator, error)
- func (_AddressBook *AddressBookFilterer) WatchActivateAddressBook(opts *bind.WatchOpts, sink chan<- *AddressBookActivateAddressBook) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchAddAdmin(opts *bind.WatchOpts, sink chan<- *AddressBookAddAdmin, admin []common.Address) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchCancelRequest(opts *bind.WatchOpts, sink chan<- *AddressBookCancelRequest, id [][32]byte, ...) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchClearRequest(opts *bind.WatchOpts, sink chan<- *AddressBookClearRequest) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchDeleteAdmin(opts *bind.WatchOpts, sink chan<- *AddressBookDeleteAdmin, ...) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchDeployContract(opts *bind.WatchOpts, sink chan<- *AddressBookDeployContract) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchExecuteRequestFailure(opts *bind.WatchOpts, sink chan<- *AddressBookExecuteRequestFailure, ...) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchExecuteRequestSuccess(opts *bind.WatchOpts, sink chan<- *AddressBookExecuteRequestSuccess, ...) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchExpiredRequest(opts *bind.WatchOpts, sink chan<- *AddressBookExpiredRequest, id [][32]byte, ...) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchRegisterCnStakingContract(opts *bind.WatchOpts, sink chan<- *AddressBookRegisterCnStakingContract) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchReviseRewardAddress(opts *bind.WatchOpts, sink chan<- *AddressBookReviseRewardAddress) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchRevokeRequest(opts *bind.WatchOpts, sink chan<- *AddressBookRevokeRequest, id [][32]byte, ...) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchSubmitRequest(opts *bind.WatchOpts, sink chan<- *AddressBookSubmitRequest, id [][32]byte, ...) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchUnregisterCnStakingContract(opts *bind.WatchOpts, sink chan<- *AddressBookUnregisterCnStakingContract) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchUpdateKirContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateKirContract) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchUpdatePocContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdatePocContract) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchUpdateRequirement(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateRequirement) (event.Subscription, error)
- func (_AddressBook *AddressBookFilterer) WatchUpdateSpareContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateSpareContract) (event.Subscription, error)
- type AddressBookRaw
- func (_AddressBook *AddressBookRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_AddressBook *AddressBookRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AddressBook *AddressBookRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AddressBookRegisterCnStakingContract
- type AddressBookRegisterCnStakingContractIterator
- type AddressBookReviseRewardAddress
- type AddressBookReviseRewardAddressIterator
- type AddressBookRevokeRequest
- type AddressBookRevokeRequestIterator
- type AddressBookSession
- func (_AddressBook *AddressBookSession) ActivateAddressBook() (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) AddAdmin(_admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) CNNODEIDTYPE() (uint8, error)
- func (_AddressBook *AddressBookSession) CNREWARDADDRESSTYPE() (uint8, error)
- func (_AddressBook *AddressBookSession) CNSTAKINGADDRESSTYPE() (uint8, error)
- func (_AddressBook *AddressBookSession) CONTRACTTYPE() (string, error)
- func (_AddressBook *AddressBookSession) ClearRequest() (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) ConstructContract(_adminList []common.Address, _requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) DeleteAdmin(_admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) GetAllAddress() ([]uint8, []common.Address, error)
- func (_AddressBook *AddressBookSession) GetAllAddressInfo() ([]common.Address, []common.Address, []common.Address, common.Address, ...)
- func (_AddressBook *AddressBookSession) GetCnInfo(_cnNodeId common.Address) (common.Address, common.Address, common.Address, error)
- func (_AddressBook *AddressBookSession) GetPendingRequestList() ([][32]byte, error)
- func (_AddressBook *AddressBookSession) GetRequestInfo(_id [32]byte) (uint8, [32]byte, [32]byte, [32]byte, []common.Address, *big.Int, uint8, error)
- func (_AddressBook *AddressBookSession) GetRequestInfoByArgs(_functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) ([32]byte, []common.Address, *big.Int, uint8, error)
- func (_AddressBook *AddressBookSession) GetState() ([]common.Address, *big.Int, error)
- func (_AddressBook *AddressBookSession) IsActivated() (bool, error)
- func (_AddressBook *AddressBookSession) IsConstructed() (bool, error)
- func (_AddressBook *AddressBookSession) KIRCONTRACTTYPE() (uint8, error)
- func (_AddressBook *AddressBookSession) KirContractAddress() (common.Address, error)
- func (_AddressBook *AddressBookSession) MAXADMIN() (*big.Int, error)
- func (_AddressBook *AddressBookSession) MAXPENDINGREQUEST() (*big.Int, error)
- func (_AddressBook *AddressBookSession) ONEWEEK() (*big.Int, error)
- func (_AddressBook *AddressBookSession) POCCONTRACTTYPE() (uint8, error)
- func (_AddressBook *AddressBookSession) PocContractAddress() (common.Address, error)
- func (_AddressBook *AddressBookSession) RegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, ...) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) Requirement() (*big.Int, error)
- func (_AddressBook *AddressBookSession) ReviseRewardAddress(_rewardAddress common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) RevokeRequest(_functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SpareContractAddress() (common.Address, error)
- func (_AddressBook *AddressBookSession) SubmitActivateAddressBook() (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitAddAdmin(_admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitClearRequest() (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitDeleteAdmin(_admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitRegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, ...) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitUnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitUpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitUpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitUpdateRequirement(_requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) SubmitUpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) TWOWEEKS() (*big.Int, error)
- func (_AddressBook *AddressBookSession) UnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) UpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) UpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) UpdateRequirement(_requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) UpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookSession) VERSION() (*big.Int, error)
- type AddressBookSubmitRequest
- type AddressBookSubmitRequestIterator
- type AddressBookTransactor
- func (_AddressBook *AddressBookTransactor) ActivateAddressBook(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) AddAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) ClearRequest(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) ConstructContract(opts *bind.TransactOpts, _adminList []common.Address, _requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) DeleteAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) RegisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address, ...) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) ReviseRewardAddress(opts *bind.TransactOpts, _rewardAddress common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) RevokeRequest(opts *bind.TransactOpts, _functionId uint8, _firstArg [32]byte, ...) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitActivateAddressBook(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitAddAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitClearRequest(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitDeleteAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitRegisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address, ...) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitUnregisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitUpdateKirContract(opts *bind.TransactOpts, _kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitUpdatePocContract(opts *bind.TransactOpts, _pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitUpdateRequirement(opts *bind.TransactOpts, _requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) SubmitUpdateSpareContract(opts *bind.TransactOpts, _spareContractAddress common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) UnregisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) UpdateKirContract(opts *bind.TransactOpts, _kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) UpdatePocContract(opts *bind.TransactOpts, _pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) UpdateRequirement(opts *bind.TransactOpts, _requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactor) UpdateSpareContract(opts *bind.TransactOpts, _spareContractAddress common.Address) (*types.Transaction, error)
- type AddressBookTransactorRaw
- type AddressBookTransactorSession
- func (_AddressBook *AddressBookTransactorSession) ActivateAddressBook() (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) AddAdmin(_admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) ClearRequest() (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) ConstructContract(_adminList []common.Address, _requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) DeleteAdmin(_admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) RegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, ...) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) ReviseRewardAddress(_rewardAddress common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) RevokeRequest(_functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitActivateAddressBook() (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitAddAdmin(_admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitClearRequest() (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitDeleteAdmin(_admin common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitRegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, ...) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitUnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitUpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitUpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitUpdateRequirement(_requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) SubmitUpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) UnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) UpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) UpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) UpdateRequirement(_requirement *big.Int) (*types.Transaction, error)
- func (_AddressBook *AddressBookTransactorSession) UpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error)
- type AddressBookUnregisterCnStakingContract
- type AddressBookUnregisterCnStakingContractIterator
- type AddressBookUpdateKirContract
- type AddressBookUpdateKirContractIterator
- type AddressBookUpdatePocContract
- type AddressBookUpdatePocContractIterator
- type AddressBookUpdateRequirement
- type AddressBookUpdateRequirementIterator
- type AddressBookUpdateSpareContract
- type AddressBookUpdateSpareContractIterator
- type CnStakingContractInterface
- type CnStakingContractInterfaceCaller
- func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
- func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) NodeId(opts *bind.CallOpts) (common.Address, error)
- func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) RewardAddress(opts *bind.CallOpts) (common.Address, error)
- type CnStakingContractInterfaceCallerRaw
- type CnStakingContractInterfaceCallerSession
- func (_CnStakingContractInterface *CnStakingContractInterfaceCallerSession) IsInitialized() (bool, error)
- func (_CnStakingContractInterface *CnStakingContractInterfaceCallerSession) NodeId() (common.Address, error)
- func (_CnStakingContractInterface *CnStakingContractInterfaceCallerSession) RewardAddress() (common.Address, error)
- type CnStakingContractInterfaceFilterer
- type CnStakingContractInterfaceRaw
- func (_CnStakingContractInterface *CnStakingContractInterfaceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_CnStakingContractInterface *CnStakingContractInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CnStakingContractInterface *CnStakingContractInterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CnStakingContractInterfaceSession
- func (_CnStakingContractInterface *CnStakingContractInterfaceSession) IsInitialized() (bool, error)
- func (_CnStakingContractInterface *CnStakingContractInterfaceSession) NodeId() (common.Address, error)
- func (_CnStakingContractInterface *CnStakingContractInterfaceSession) RewardAddress() (common.Address, error)
- type CnStakingContractInterfaceTransactor
- type CnStakingContractInterfaceTransactorRaw
- func (_CnStakingContractInterface *CnStakingContractInterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CnStakingContractInterface *CnStakingContractInterfaceTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CnStakingContractInterfaceTransactorSession
- type KirContractInterface
- type KirContractInterfaceCaller
- type KirContractInterfaceCallerRaw
- type KirContractInterfaceCallerSession
- type KirContractInterfaceFilterer
- type KirContractInterfaceRaw
- func (_KirContractInterface *KirContractInterfaceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_KirContractInterface *KirContractInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_KirContractInterface *KirContractInterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type KirContractInterfaceSession
- type KirContractInterfaceTransactor
- type KirContractInterfaceTransactorRaw
- type KirContractInterfaceTransactorSession
- type KlaytnReward
- type KlaytnRewardCaller
- type KlaytnRewardCallerRaw
- type KlaytnRewardCallerSession
- type KlaytnRewardFilterer
- type KlaytnRewardRaw
- func (_KlaytnReward *KlaytnRewardRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_KlaytnReward *KlaytnRewardRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_KlaytnReward *KlaytnRewardRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type KlaytnRewardSession
- func (_KlaytnReward *KlaytnRewardSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_KlaytnReward *KlaytnRewardSession) Reward(receiver common.Address) (*types.Transaction, error)
- func (_KlaytnReward *KlaytnRewardSession) SafeWithdrawal() (*types.Transaction, error)
- func (_KlaytnReward *KlaytnRewardSession) TotalAmount() (*big.Int, error)
- type KlaytnRewardTransactor
- type KlaytnRewardTransactorRaw
- type KlaytnRewardTransactorSession
- type PocContractInterface
- type PocContractInterfaceCaller
- type PocContractInterfaceCallerRaw
- type PocContractInterfaceCallerSession
- type PocContractInterfaceFilterer
- type PocContractInterfaceRaw
- func (_PocContractInterface *PocContractInterfaceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_PocContractInterface *PocContractInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PocContractInterface *PocContractInterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PocContractInterfaceSession
- type PocContractInterfaceTransactor
- type PocContractInterfaceTransactorRaw
- type PocContractInterfaceTransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
Constants ¶
const ( CypressCreditContractAddress = "0x0000000000000000000000000000000000000000" AddressBookContractAddress = "0x0000000000000000000000000000000000000400" // TODO-Klaytn-Issue1587 Decide whether to cleanup below three addresses after discussing issue1587 RewardContractAddress = "0x0000000000000000000000000000000000000441" KIRContractAddress = "0x0000000000000000000000000000000000000442" PoCContractAddress = "0x0000000000000000000000000000000000000443" )
const AddressBookABI = "" /* 15879-byte string literal not displayed */
AddressBookABI is the input ABI used to generate the binding from.
const AddressBookBin = `` /* 47310-byte string literal not displayed */
AddressBookBin is the compiled bytecode used for deploying new contracts.
const AddressBookBinRuntime = `` /* 47244-byte string literal not displayed */
AddressBookBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const CnStakingContractInterfaceABI = "" /* 534-byte string literal not displayed */
CnStakingContractInterfaceABI is the input ABI used to generate the binding from.
const CnStakingContractInterfaceBin = `0x`
CnStakingContractInterfaceBin is the compiled bytecode used for deploying new contracts.
const CnStakingContractInterfaceBinRuntime = `0x`
CnStakingContractInterfaceBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const KirContractInterfaceABI = "" /* 182-byte string literal not displayed */
KirContractInterfaceABI is the input ABI used to generate the binding from.
const KirContractInterfaceBin = `0x`
KirContractInterfaceBin is the compiled bytecode used for deploying new contracts.
const KirContractInterfaceBinRuntime = `0x`
KirContractInterfaceBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const KlaytnRewardABI = "" /* 898-byte string literal not displayed */
KlaytnRewardABI is the input ABI used to generate the binding from.
const KlaytnRewardBin = `` /* 1022-byte string literal not displayed */
KlaytnRewardBin is the compiled bytecode used for deploying new contracts.
const KlaytnRewardBinRuntime = `` /* 958-byte string literal not displayed */
KlaytnRewardBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const PocContractInterfaceABI = "" /* 182-byte string literal not displayed */
PocContractInterfaceABI is the input ABI used to generate the binding from.
const PocContractInterfaceBin = `0x`
PocContractInterfaceBin is the compiled bytecode used for deploying new contracts.
const PocContractInterfaceBinRuntime = `0x`
PocContractInterfaceBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
const SafeMathBinRuntime = `` /* 154-byte string literal not displayed */
SafeMathBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressBook ¶
type AddressBook struct { AddressBookCaller // Read-only binding to the contract AddressBookTransactor // Write-only binding to the contract AddressBookFilterer // Log filterer for contract events }
AddressBook is an auto generated Go binding around a Klaytn contract.
func DeployAddressBook ¶
func DeployAddressBook(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressBook, error)
DeployAddressBook deploys a new Klaytn contract, binding an instance of AddressBook to it.
func NewAddressBook ¶
func NewAddressBook(address common.Address, backend bind.ContractBackend) (*AddressBook, error)
NewAddressBook creates a new instance of AddressBook, bound to a specific deployed contract.
type AddressBookActivateAddressBook ¶
type AddressBookActivateAddressBook struct {
Raw types.Log // Blockchain specific contextual infos
}
AddressBookActivateAddressBook represents a ActivateAddressBook event raised by the AddressBook contract.
type AddressBookActivateAddressBookIterator ¶
type AddressBookActivateAddressBookIterator struct { Event *AddressBookActivateAddressBook // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookActivateAddressBookIterator is returned from FilterActivateAddressBook and is used to iterate over the raw logs and unpacked data for ActivateAddressBook events raised by the AddressBook contract.
func (*AddressBookActivateAddressBookIterator) Close ¶
func (it *AddressBookActivateAddressBookIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookActivateAddressBookIterator) Error ¶
func (it *AddressBookActivateAddressBookIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookActivateAddressBookIterator) Next ¶
func (it *AddressBookActivateAddressBookIterator) 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 AddressBookAddAdmin ¶
type AddressBookAddAdmin struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookAddAdmin represents a AddAdmin event raised by the AddressBook contract.
type AddressBookAddAdminIterator ¶
type AddressBookAddAdminIterator struct { Event *AddressBookAddAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookAddAdminIterator is returned from FilterAddAdmin and is used to iterate over the raw logs and unpacked data for AddAdmin events raised by the AddressBook contract.
func (*AddressBookAddAdminIterator) Close ¶
func (it *AddressBookAddAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookAddAdminIterator) Error ¶
func (it *AddressBookAddAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookAddAdminIterator) Next ¶
func (it *AddressBookAddAdminIterator) 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 AddressBookCaller ¶
type AddressBookCaller struct {
// contains filtered or unexported fields
}
AddressBookCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewAddressBookCaller ¶
func NewAddressBookCaller(address common.Address, caller bind.ContractCaller) (*AddressBookCaller, error)
NewAddressBookCaller creates a new read-only instance of AddressBook, bound to a specific deployed contract.
func (*AddressBookCaller) CNNODEIDTYPE ¶
func (_AddressBook *AddressBookCaller) CNNODEIDTYPE(opts *bind.CallOpts) (uint8, error)
CNNODEIDTYPE is a free data retrieval call binding the contract method 0x76674c54.
Solidity: function CN_NODE_ID_TYPE() constant returns(uint8)
func (*AddressBookCaller) CNREWARDADDRESSTYPE ¶
func (_AddressBook *AddressBookCaller) CNREWARDADDRESSTYPE(opts *bind.CallOpts) (uint8, error)
CNREWARDADDRESSTYPE is a free data retrieval call binding the contract method 0x32b91e85.
Solidity: function CN_REWARD_ADDRESS_TYPE() constant returns(uint8)
func (*AddressBookCaller) CNSTAKINGADDRESSTYPE ¶
func (_AddressBook *AddressBookCaller) CNSTAKINGADDRESSTYPE(opts *bind.CallOpts) (uint8, error)
CNSTAKINGADDRESSTYPE is a free data retrieval call binding the contract method 0xde5bbfbc.
Solidity: function CN_STAKING_ADDRESS_TYPE() constant returns(uint8)
func (*AddressBookCaller) CONTRACTTYPE ¶
func (_AddressBook *AddressBookCaller) CONTRACTTYPE(opts *bind.CallOpts) (string, error)
CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc.
Solidity: function CONTRACT_TYPE() constant returns(string)
func (*AddressBookCaller) GetAllAddress ¶
func (_AddressBook *AddressBookCaller) GetAllAddress(opts *bind.CallOpts) ([]uint8, []common.Address, error)
GetAllAddress is a free data retrieval call binding the contract method 0x715b208b.
Solidity: function getAllAddress() constant returns(uint8[], address[])
func (*AddressBookCaller) GetAllAddressInfo ¶
func (_AddressBook *AddressBookCaller) GetAllAddressInfo(opts *bind.CallOpts) ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error)
GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8.
Solidity: function getAllAddressInfo() constant returns(address[], address[], address[], address, address)
func (*AddressBookCaller) GetCnInfo ¶
func (_AddressBook *AddressBookCaller) GetCnInfo(opts *bind.CallOpts, _cnNodeId common.Address) (common.Address, common.Address, common.Address, error)
GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a.
Solidity: function getCnInfo(_cnNodeId address) constant returns(address, address, address)
func (*AddressBookCaller) GetPendingRequestList ¶
func (_AddressBook *AddressBookCaller) GetPendingRequestList(opts *bind.CallOpts) ([][32]byte, error)
GetPendingRequestList is a free data retrieval call binding the contract method 0xda34a0bd.
Solidity: function getPendingRequestList() constant returns(bytes32[])
func (*AddressBookCaller) GetRequestInfo ¶
func (_AddressBook *AddressBookCaller) GetRequestInfo(opts *bind.CallOpts, _id [32]byte) (uint8, [32]byte, [32]byte, [32]byte, []common.Address, *big.Int, uint8, error)
GetRequestInfo is a free data retrieval call binding the contract method 0x82d67e5a.
Solidity: function getRequestInfo(_id bytes32) constant returns(uint8, bytes32, bytes32, bytes32, address[], uint256, uint8)
func (*AddressBookCaller) GetRequestInfoByArgs ¶
func (_AddressBook *AddressBookCaller) GetRequestInfoByArgs(opts *bind.CallOpts, _functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) ([32]byte, []common.Address, *big.Int, uint8, error)
GetRequestInfoByArgs is a free data retrieval call binding the contract method 0x407091eb.
Solidity: function getRequestInfoByArgs(_functionId uint8, _firstArg bytes32, _secondArg bytes32, _thirdArg bytes32) constant returns(bytes32, address[], uint256, uint8)
func (*AddressBookCaller) GetState ¶
func (_AddressBook *AddressBookCaller) GetState(opts *bind.CallOpts) ([]common.Address, *big.Int, error)
GetState is a free data retrieval call binding the contract method 0x1865c57d.
Solidity: function getState() constant returns(address[], uint256)
func (*AddressBookCaller) IsActivated ¶
func (_AddressBook *AddressBookCaller) IsActivated(opts *bind.CallOpts) (bool, error)
IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4.
Solidity: function isActivated() constant returns(bool)
func (*AddressBookCaller) IsConstructed ¶
func (_AddressBook *AddressBookCaller) IsConstructed(opts *bind.CallOpts) (bool, error)
IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69.
Solidity: function isConstructed() constant returns(bool)
func (*AddressBookCaller) KIRCONTRACTTYPE ¶
func (_AddressBook *AddressBookCaller) KIRCONTRACTTYPE(opts *bind.CallOpts) (uint8, error)
KIRCONTRACTTYPE is a free data retrieval call binding the contract method 0x41b6945c.
Solidity: function KIR_CONTRACT_TYPE() constant returns(uint8)
func (*AddressBookCaller) KirContractAddress ¶
func (_AddressBook *AddressBookCaller) KirContractAddress(opts *bind.CallOpts) (common.Address, error)
KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95.
Solidity: function kirContractAddress() constant returns(address)
func (*AddressBookCaller) MAXADMIN ¶
MAXADMIN is a free data retrieval call binding the contract method 0x58d65880.
Solidity: function MAX_ADMIN() constant returns(uint256)
func (*AddressBookCaller) MAXPENDINGREQUEST ¶
MAXPENDINGREQUEST is a free data retrieval call binding the contract method 0x778f39cb.
Solidity: function MAX_PENDING_REQUEST() constant returns(uint256)
func (*AddressBookCaller) ONEWEEK ¶
ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77.
Solidity: function ONE_WEEK() constant returns(uint256)
func (*AddressBookCaller) POCCONTRACTTYPE ¶
func (_AddressBook *AddressBookCaller) POCCONTRACTTYPE(opts *bind.CallOpts) (uint8, error)
POCCONTRACTTYPE is a free data retrieval call binding the contract method 0xb50060e4.
Solidity: function POC_CONTRACT_TYPE() constant returns(uint8)
func (*AddressBookCaller) PocContractAddress ¶
func (_AddressBook *AddressBookCaller) PocContractAddress(opts *bind.CallOpts) (common.Address, error)
PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5.
Solidity: function pocContractAddress() constant returns(address)
func (*AddressBookCaller) Requirement ¶
Requirement is a free data retrieval call binding the contract method 0xb7563930.
Solidity: function requirement() constant returns(uint256)
func (*AddressBookCaller) SpareContractAddress ¶
func (_AddressBook *AddressBookCaller) SpareContractAddress(opts *bind.CallOpts) (common.Address, error)
SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d.
Solidity: function spareContractAddress() constant returns(address)
type AddressBookCallerRaw ¶
type AddressBookCallerRaw struct {
Contract *AddressBookCaller // Generic read-only contract binding to access the raw methods on
}
AddressBookCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*AddressBookCallerRaw) Call ¶
func (_AddressBook *AddressBookCallerRaw) 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 AddressBookCallerSession ¶
type AddressBookCallerSession struct { Contract *AddressBookCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AddressBookCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*AddressBookCallerSession) CNNODEIDTYPE ¶
func (_AddressBook *AddressBookCallerSession) CNNODEIDTYPE() (uint8, error)
CNNODEIDTYPE is a free data retrieval call binding the contract method 0x76674c54.
Solidity: function CN_NODE_ID_TYPE() constant returns(uint8)
func (*AddressBookCallerSession) CNREWARDADDRESSTYPE ¶
func (_AddressBook *AddressBookCallerSession) CNREWARDADDRESSTYPE() (uint8, error)
CNREWARDADDRESSTYPE is a free data retrieval call binding the contract method 0x32b91e85.
Solidity: function CN_REWARD_ADDRESS_TYPE() constant returns(uint8)
func (*AddressBookCallerSession) CNSTAKINGADDRESSTYPE ¶
func (_AddressBook *AddressBookCallerSession) CNSTAKINGADDRESSTYPE() (uint8, error)
CNSTAKINGADDRESSTYPE is a free data retrieval call binding the contract method 0xde5bbfbc.
Solidity: function CN_STAKING_ADDRESS_TYPE() constant returns(uint8)
func (*AddressBookCallerSession) CONTRACTTYPE ¶
func (_AddressBook *AddressBookCallerSession) CONTRACTTYPE() (string, error)
CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc.
Solidity: function CONTRACT_TYPE() constant returns(string)
func (*AddressBookCallerSession) GetAllAddress ¶
func (_AddressBook *AddressBookCallerSession) GetAllAddress() ([]uint8, []common.Address, error)
GetAllAddress is a free data retrieval call binding the contract method 0x715b208b.
Solidity: function getAllAddress() constant returns(uint8[], address[])
func (*AddressBookCallerSession) GetAllAddressInfo ¶
func (_AddressBook *AddressBookCallerSession) GetAllAddressInfo() ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error)
GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8.
Solidity: function getAllAddressInfo() constant returns(address[], address[], address[], address, address)
func (*AddressBookCallerSession) GetCnInfo ¶
func (_AddressBook *AddressBookCallerSession) GetCnInfo(_cnNodeId common.Address) (common.Address, common.Address, common.Address, error)
GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a.
Solidity: function getCnInfo(_cnNodeId address) constant returns(address, address, address)
func (*AddressBookCallerSession) GetPendingRequestList ¶
func (_AddressBook *AddressBookCallerSession) GetPendingRequestList() ([][32]byte, error)
GetPendingRequestList is a free data retrieval call binding the contract method 0xda34a0bd.
Solidity: function getPendingRequestList() constant returns(bytes32[])
func (*AddressBookCallerSession) GetRequestInfo ¶
func (_AddressBook *AddressBookCallerSession) GetRequestInfo(_id [32]byte) (uint8, [32]byte, [32]byte, [32]byte, []common.Address, *big.Int, uint8, error)
GetRequestInfo is a free data retrieval call binding the contract method 0x82d67e5a.
Solidity: function getRequestInfo(_id bytes32) constant returns(uint8, bytes32, bytes32, bytes32, address[], uint256, uint8)
func (*AddressBookCallerSession) GetRequestInfoByArgs ¶
func (_AddressBook *AddressBookCallerSession) GetRequestInfoByArgs(_functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) ([32]byte, []common.Address, *big.Int, uint8, error)
GetRequestInfoByArgs is a free data retrieval call binding the contract method 0x407091eb.
Solidity: function getRequestInfoByArgs(_functionId uint8, _firstArg bytes32, _secondArg bytes32, _thirdArg bytes32) constant returns(bytes32, address[], uint256, uint8)
func (*AddressBookCallerSession) GetState ¶
GetState is a free data retrieval call binding the contract method 0x1865c57d.
Solidity: function getState() constant returns(address[], uint256)
func (*AddressBookCallerSession) IsActivated ¶
func (_AddressBook *AddressBookCallerSession) IsActivated() (bool, error)
IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4.
Solidity: function isActivated() constant returns(bool)
func (*AddressBookCallerSession) IsConstructed ¶
func (_AddressBook *AddressBookCallerSession) IsConstructed() (bool, error)
IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69.
Solidity: function isConstructed() constant returns(bool)
func (*AddressBookCallerSession) KIRCONTRACTTYPE ¶
func (_AddressBook *AddressBookCallerSession) KIRCONTRACTTYPE() (uint8, error)
KIRCONTRACTTYPE is a free data retrieval call binding the contract method 0x41b6945c.
Solidity: function KIR_CONTRACT_TYPE() constant returns(uint8)
func (*AddressBookCallerSession) KirContractAddress ¶
func (_AddressBook *AddressBookCallerSession) KirContractAddress() (common.Address, error)
KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95.
Solidity: function kirContractAddress() constant returns(address)
func (*AddressBookCallerSession) MAXADMIN ¶
func (_AddressBook *AddressBookCallerSession) MAXADMIN() (*big.Int, error)
MAXADMIN is a free data retrieval call binding the contract method 0x58d65880.
Solidity: function MAX_ADMIN() constant returns(uint256)
func (*AddressBookCallerSession) MAXPENDINGREQUEST ¶
func (_AddressBook *AddressBookCallerSession) MAXPENDINGREQUEST() (*big.Int, error)
MAXPENDINGREQUEST is a free data retrieval call binding the contract method 0x778f39cb.
Solidity: function MAX_PENDING_REQUEST() constant returns(uint256)
func (*AddressBookCallerSession) ONEWEEK ¶
func (_AddressBook *AddressBookCallerSession) ONEWEEK() (*big.Int, error)
ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77.
Solidity: function ONE_WEEK() constant returns(uint256)
func (*AddressBookCallerSession) POCCONTRACTTYPE ¶
func (_AddressBook *AddressBookCallerSession) POCCONTRACTTYPE() (uint8, error)
POCCONTRACTTYPE is a free data retrieval call binding the contract method 0xb50060e4.
Solidity: function POC_CONTRACT_TYPE() constant returns(uint8)
func (*AddressBookCallerSession) PocContractAddress ¶
func (_AddressBook *AddressBookCallerSession) PocContractAddress() (common.Address, error)
PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5.
Solidity: function pocContractAddress() constant returns(address)
func (*AddressBookCallerSession) Requirement ¶
func (_AddressBook *AddressBookCallerSession) Requirement() (*big.Int, error)
Requirement is a free data retrieval call binding the contract method 0xb7563930.
Solidity: function requirement() constant returns(uint256)
func (*AddressBookCallerSession) SpareContractAddress ¶
func (_AddressBook *AddressBookCallerSession) SpareContractAddress() (common.Address, error)
SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d.
Solidity: function spareContractAddress() constant returns(address)
type AddressBookCancelRequest ¶
type AddressBookCancelRequest struct { Id [32]byte From common.Address FunctionId uint8 FirstArg [32]byte SecondArg [32]byte ThirdArg [32]byte Raw types.Log // Blockchain specific contextual infos }
AddressBookCancelRequest represents a CancelRequest event raised by the AddressBook contract.
type AddressBookCancelRequestIterator ¶
type AddressBookCancelRequestIterator struct { Event *AddressBookCancelRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookCancelRequestIterator is returned from FilterCancelRequest and is used to iterate over the raw logs and unpacked data for CancelRequest events raised by the AddressBook contract.
func (*AddressBookCancelRequestIterator) Close ¶
func (it *AddressBookCancelRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookCancelRequestIterator) Error ¶
func (it *AddressBookCancelRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookCancelRequestIterator) Next ¶
func (it *AddressBookCancelRequestIterator) 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 AddressBookClearRequest ¶
AddressBookClearRequest represents a ClearRequest event raised by the AddressBook contract.
type AddressBookClearRequestIterator ¶
type AddressBookClearRequestIterator struct { Event *AddressBookClearRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookClearRequestIterator is returned from FilterClearRequest and is used to iterate over the raw logs and unpacked data for ClearRequest events raised by the AddressBook contract.
func (*AddressBookClearRequestIterator) Close ¶
func (it *AddressBookClearRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookClearRequestIterator) Error ¶
func (it *AddressBookClearRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookClearRequestIterator) Next ¶
func (it *AddressBookClearRequestIterator) 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 AddressBookDeleteAdmin ¶
type AddressBookDeleteAdmin struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookDeleteAdmin represents a DeleteAdmin event raised by the AddressBook contract.
type AddressBookDeleteAdminIterator ¶
type AddressBookDeleteAdminIterator struct { Event *AddressBookDeleteAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookDeleteAdminIterator is returned from FilterDeleteAdmin and is used to iterate over the raw logs and unpacked data for DeleteAdmin events raised by the AddressBook contract.
func (*AddressBookDeleteAdminIterator) Close ¶
func (it *AddressBookDeleteAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookDeleteAdminIterator) Error ¶
func (it *AddressBookDeleteAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookDeleteAdminIterator) Next ¶
func (it *AddressBookDeleteAdminIterator) 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 AddressBookDeployContract ¶
type AddressBookDeployContract struct { ContractType string AdminList []common.Address Requirement *big.Int Raw types.Log // Blockchain specific contextual infos }
AddressBookDeployContract represents a DeployContract event raised by the AddressBook contract.
type AddressBookDeployContractIterator ¶
type AddressBookDeployContractIterator struct { Event *AddressBookDeployContract // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookDeployContractIterator is returned from FilterDeployContract and is used to iterate over the raw logs and unpacked data for DeployContract events raised by the AddressBook contract.
func (*AddressBookDeployContractIterator) Close ¶
func (it *AddressBookDeployContractIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookDeployContractIterator) Error ¶
func (it *AddressBookDeployContractIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookDeployContractIterator) Next ¶
func (it *AddressBookDeployContractIterator) 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 AddressBookExecuteRequestFailure ¶
type AddressBookExecuteRequestFailure struct { Id [32]byte From common.Address FunctionId uint8 FirstArg [32]byte SecondArg [32]byte ThirdArg [32]byte Raw types.Log // Blockchain specific contextual infos }
AddressBookExecuteRequestFailure represents a ExecuteRequestFailure event raised by the AddressBook contract.
type AddressBookExecuteRequestFailureIterator ¶
type AddressBookExecuteRequestFailureIterator struct { Event *AddressBookExecuteRequestFailure // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookExecuteRequestFailureIterator is returned from FilterExecuteRequestFailure and is used to iterate over the raw logs and unpacked data for ExecuteRequestFailure events raised by the AddressBook contract.
func (*AddressBookExecuteRequestFailureIterator) Close ¶
func (it *AddressBookExecuteRequestFailureIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookExecuteRequestFailureIterator) Error ¶
func (it *AddressBookExecuteRequestFailureIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookExecuteRequestFailureIterator) Next ¶
func (it *AddressBookExecuteRequestFailureIterator) 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 AddressBookExecuteRequestSuccess ¶
type AddressBookExecuteRequestSuccess struct { Id [32]byte From common.Address FunctionId uint8 FirstArg [32]byte SecondArg [32]byte ThirdArg [32]byte Raw types.Log // Blockchain specific contextual infos }
AddressBookExecuteRequestSuccess represents a ExecuteRequestSuccess event raised by the AddressBook contract.
type AddressBookExecuteRequestSuccessIterator ¶
type AddressBookExecuteRequestSuccessIterator struct { Event *AddressBookExecuteRequestSuccess // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookExecuteRequestSuccessIterator is returned from FilterExecuteRequestSuccess and is used to iterate over the raw logs and unpacked data for ExecuteRequestSuccess events raised by the AddressBook contract.
func (*AddressBookExecuteRequestSuccessIterator) Close ¶
func (it *AddressBookExecuteRequestSuccessIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookExecuteRequestSuccessIterator) Error ¶
func (it *AddressBookExecuteRequestSuccessIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookExecuteRequestSuccessIterator) Next ¶
func (it *AddressBookExecuteRequestSuccessIterator) 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 AddressBookExpiredRequest ¶
type AddressBookExpiredRequest struct { Id [32]byte From common.Address FunctionId uint8 FirstArg [32]byte SecondArg [32]byte ThirdArg [32]byte Confirmers []common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookExpiredRequest represents a ExpiredRequest event raised by the AddressBook contract.
type AddressBookExpiredRequestIterator ¶
type AddressBookExpiredRequestIterator struct { Event *AddressBookExpiredRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookExpiredRequestIterator is returned from FilterExpiredRequest and is used to iterate over the raw logs and unpacked data for ExpiredRequest events raised by the AddressBook contract.
func (*AddressBookExpiredRequestIterator) Close ¶
func (it *AddressBookExpiredRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookExpiredRequestIterator) Error ¶
func (it *AddressBookExpiredRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookExpiredRequestIterator) Next ¶
func (it *AddressBookExpiredRequestIterator) 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 AddressBookFilterer ¶
type AddressBookFilterer struct {
// contains filtered or unexported fields
}
AddressBookFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewAddressBookFilterer ¶
func NewAddressBookFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressBookFilterer, error)
NewAddressBookFilterer creates a new log filterer instance of AddressBook, bound to a specific deployed contract.
func (*AddressBookFilterer) FilterActivateAddressBook ¶
func (_AddressBook *AddressBookFilterer) FilterActivateAddressBook(opts *bind.FilterOpts) (*AddressBookActivateAddressBookIterator, error)
FilterActivateAddressBook is a free log retrieval operation binding the contract event 0x29d89931226d613bf878a0be8c635eaf2049121c8c68d5ad80a78f0ac9005d4b.
Solidity: e ActivateAddressBook()
func (*AddressBookFilterer) FilterAddAdmin ¶
func (_AddressBook *AddressBookFilterer) FilterAddAdmin(opts *bind.FilterOpts, admin []common.Address) (*AddressBookAddAdminIterator, error)
FilterAddAdmin is a free log retrieval operation binding the contract event 0xad6de4452a631e641cb59902236607946ce9272b9b981f2f80e8d129cb9084ba.
Solidity: e AddAdmin(admin indexed address)
func (*AddressBookFilterer) FilterCancelRequest ¶
func (_AddressBook *AddressBookFilterer) FilterCancelRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookCancelRequestIterator, error)
FilterCancelRequest is a free log retrieval operation binding the contract event 0xbfda049a0206fd9c90ed4a3170f5bfaad83c323a16835dd68fea92faa247c2cd.
Solidity: e CancelRequest(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32)
func (*AddressBookFilterer) FilterClearRequest ¶
func (_AddressBook *AddressBookFilterer) FilterClearRequest(opts *bind.FilterOpts) (*AddressBookClearRequestIterator, error)
FilterClearRequest is a free log retrieval operation binding the contract event 0x907527d30089abd16e30f06ddbbbc18480505176262f19bc16c1fbf9262f9c6b.
Solidity: e ClearRequest()
func (*AddressBookFilterer) FilterDeleteAdmin ¶
func (_AddressBook *AddressBookFilterer) FilterDeleteAdmin(opts *bind.FilterOpts, admin []common.Address) (*AddressBookDeleteAdminIterator, error)
FilterDeleteAdmin is a free log retrieval operation binding the contract event 0x1af6bd3d85a56e7c4a0700756fd2ca3b3b65c266e56c77652c5a346bc2565220.
Solidity: e DeleteAdmin(admin indexed address)
func (*AddressBookFilterer) FilterDeployContract ¶
func (_AddressBook *AddressBookFilterer) FilterDeployContract(opts *bind.FilterOpts) (*AddressBookDeployContractIterator, error)
FilterDeployContract is a free log retrieval operation binding the contract event 0xc5caa942b8f8ea45a2e094d941dbba0ef9c0307f34c81ce78e71bfb128d6b25a.
Solidity: e DeployContract(contractType string, adminList address[], requirement uint256)
func (*AddressBookFilterer) FilterExecuteRequestFailure ¶
func (_AddressBook *AddressBookFilterer) FilterExecuteRequestFailure(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExecuteRequestFailureIterator, error)
FilterExecuteRequestFailure is a free log retrieval operation binding the contract event 0xf151a3ee41626c2511372320f09f7957af81c8c1cde8cdf3f05a5979626eaaf3.
Solidity: e ExecuteRequestFailure(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32)
func (*AddressBookFilterer) FilterExecuteRequestSuccess ¶
func (_AddressBook *AddressBookFilterer) FilterExecuteRequestSuccess(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExecuteRequestSuccessIterator, error)
FilterExecuteRequestSuccess is a free log retrieval operation binding the contract event 0xc55c9229184beabeee72b6970a96691b4200919e47579cc4b9be50a1bec7ef11.
Solidity: e ExecuteRequestSuccess(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32)
func (*AddressBookFilterer) FilterExpiredRequest ¶
func (_AddressBook *AddressBookFilterer) FilterExpiredRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookExpiredRequestIterator, error)
FilterExpiredRequest is a free log retrieval operation binding the contract event 0x9f3ca7a04988021200a04e0775f46648683bffe7203608269a66c371befe5685.
Solidity: e ExpiredRequest(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32, confirmers address[])
func (*AddressBookFilterer) FilterRegisterCnStakingContract ¶
func (_AddressBook *AddressBookFilterer) FilterRegisterCnStakingContract(opts *bind.FilterOpts) (*AddressBookRegisterCnStakingContractIterator, error)
FilterRegisterCnStakingContract is a free log retrieval operation binding the contract event 0xe01726557c1ea9f7286dca4bba890e96fea9041689db298806306cafa74c9e91.
Solidity: e RegisterCnStakingContract(cnNodeId address, cnStakingContractAddress address, cnRewardAddress address)
func (*AddressBookFilterer) FilterReviseRewardAddress ¶
func (_AddressBook *AddressBookFilterer) FilterReviseRewardAddress(opts *bind.FilterOpts) (*AddressBookReviseRewardAddressIterator, error)
FilterReviseRewardAddress is a free log retrieval operation binding the contract event 0xaa5c92ffd739bc0b8b117b671e7d713917ddb1440b436263a3ea106d70c6f05f.
Solidity: e ReviseRewardAddress(cnNodeId address, prevRewardAddress address, curRewardAddress address)
func (*AddressBookFilterer) FilterRevokeRequest ¶
func (_AddressBook *AddressBookFilterer) FilterRevokeRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookRevokeRequestIterator, error)
FilterRevokeRequest is a free log retrieval operation binding the contract event 0x9c174b2536ba49e3478ca649dac74d9e9f71f70adf70f193e780eabbfcdc367c.
Solidity: e RevokeRequest(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32, confirmers address[])
func (*AddressBookFilterer) FilterSubmitRequest ¶
func (_AddressBook *AddressBookFilterer) FilterSubmitRequest(opts *bind.FilterOpts, id [][32]byte, from []common.Address) (*AddressBookSubmitRequestIterator, error)
FilterSubmitRequest is a free log retrieval operation binding the contract event 0xb7b03afe355fcf2b1d00e020db2b1a902b9ee1b1c1d995626c1e18c957340ea8.
Solidity: e SubmitRequest(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32, confirmers address[])
func (*AddressBookFilterer) FilterUnregisterCnStakingContract ¶
func (_AddressBook *AddressBookFilterer) FilterUnregisterCnStakingContract(opts *bind.FilterOpts) (*AddressBookUnregisterCnStakingContractIterator, error)
FilterUnregisterCnStakingContract is a free log retrieval operation binding the contract event 0xa30079721e55931e89e7cdb421712ad0fcc817e7cac8fe954aa7ed0d46b9c42d.
Solidity: e UnregisterCnStakingContract(cnNodeId address)
func (*AddressBookFilterer) FilterUpdateKirContract ¶
func (_AddressBook *AddressBookFilterer) FilterUpdateKirContract(opts *bind.FilterOpts) (*AddressBookUpdateKirContractIterator, error)
FilterUpdateKirContract is a free log retrieval operation binding the contract event 0xfdccdf242038c2d09605009fbb95e03f75cdbd106d0a9e52a1670be9553c8848.
Solidity: e UpdateKirContract(prevKirContractAddress address, prevVersion uint256, curKirContractAddress address, curVersion uint256)
func (*AddressBookFilterer) FilterUpdatePocContract ¶
func (_AddressBook *AddressBookFilterer) FilterUpdatePocContract(opts *bind.FilterOpts) (*AddressBookUpdatePocContractIterator, error)
FilterUpdatePocContract is a free log retrieval operation binding the contract event 0xd531725ac89042f190fd73adfdeff435e07500f1a92b4b87743f1bcf91acb3a7.
Solidity: e UpdatePocContract(prevPocContractAddress address, prevVersion uint256, curPocContractAddress address, curVersion uint256)
func (*AddressBookFilterer) FilterUpdateRequirement ¶
func (_AddressBook *AddressBookFilterer) FilterUpdateRequirement(opts *bind.FilterOpts) (*AddressBookUpdateRequirementIterator, error)
FilterUpdateRequirement is a free log retrieval operation binding the contract event 0x8951393946c27b45080aad111464c16c70f3d5e7d24b114a627334441961bf5f.
Solidity: e UpdateRequirement(requirement uint256)
func (*AddressBookFilterer) FilterUpdateSpareContract ¶
func (_AddressBook *AddressBookFilterer) FilterUpdateSpareContract(opts *bind.FilterOpts) (*AddressBookUpdateSpareContractIterator, error)
FilterUpdateSpareContract is a free log retrieval operation binding the contract event 0x508aacd44cfe23a34a8c2643ab08c3410cf5505632cfce58dcfa0efa2fd2ff37.
Solidity: e UpdateSpareContract(spareContractAddress address)
func (*AddressBookFilterer) WatchActivateAddressBook ¶
func (_AddressBook *AddressBookFilterer) WatchActivateAddressBook(opts *bind.WatchOpts, sink chan<- *AddressBookActivateAddressBook) (event.Subscription, error)
WatchActivateAddressBook is a free log subscription operation binding the contract event 0x29d89931226d613bf878a0be8c635eaf2049121c8c68d5ad80a78f0ac9005d4b.
Solidity: e ActivateAddressBook()
func (*AddressBookFilterer) WatchAddAdmin ¶
func (_AddressBook *AddressBookFilterer) WatchAddAdmin(opts *bind.WatchOpts, sink chan<- *AddressBookAddAdmin, admin []common.Address) (event.Subscription, error)
WatchAddAdmin is a free log subscription operation binding the contract event 0xad6de4452a631e641cb59902236607946ce9272b9b981f2f80e8d129cb9084ba.
Solidity: e AddAdmin(admin indexed address)
func (*AddressBookFilterer) WatchCancelRequest ¶
func (_AddressBook *AddressBookFilterer) WatchCancelRequest(opts *bind.WatchOpts, sink chan<- *AddressBookCancelRequest, id [][32]byte, from []common.Address) (event.Subscription, error)
WatchCancelRequest is a free log subscription operation binding the contract event 0xbfda049a0206fd9c90ed4a3170f5bfaad83c323a16835dd68fea92faa247c2cd.
Solidity: e CancelRequest(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32)
func (*AddressBookFilterer) WatchClearRequest ¶
func (_AddressBook *AddressBookFilterer) WatchClearRequest(opts *bind.WatchOpts, sink chan<- *AddressBookClearRequest) (event.Subscription, error)
WatchClearRequest is a free log subscription operation binding the contract event 0x907527d30089abd16e30f06ddbbbc18480505176262f19bc16c1fbf9262f9c6b.
Solidity: e ClearRequest()
func (*AddressBookFilterer) WatchDeleteAdmin ¶
func (_AddressBook *AddressBookFilterer) WatchDeleteAdmin(opts *bind.WatchOpts, sink chan<- *AddressBookDeleteAdmin, admin []common.Address) (event.Subscription, error)
WatchDeleteAdmin is a free log subscription operation binding the contract event 0x1af6bd3d85a56e7c4a0700756fd2ca3b3b65c266e56c77652c5a346bc2565220.
Solidity: e DeleteAdmin(admin indexed address)
func (*AddressBookFilterer) WatchDeployContract ¶
func (_AddressBook *AddressBookFilterer) WatchDeployContract(opts *bind.WatchOpts, sink chan<- *AddressBookDeployContract) (event.Subscription, error)
WatchDeployContract is a free log subscription operation binding the contract event 0xc5caa942b8f8ea45a2e094d941dbba0ef9c0307f34c81ce78e71bfb128d6b25a.
Solidity: e DeployContract(contractType string, adminList address[], requirement uint256)
func (*AddressBookFilterer) WatchExecuteRequestFailure ¶
func (_AddressBook *AddressBookFilterer) WatchExecuteRequestFailure(opts *bind.WatchOpts, sink chan<- *AddressBookExecuteRequestFailure, id [][32]byte, from []common.Address) (event.Subscription, error)
WatchExecuteRequestFailure is a free log subscription operation binding the contract event 0xf151a3ee41626c2511372320f09f7957af81c8c1cde8cdf3f05a5979626eaaf3.
Solidity: e ExecuteRequestFailure(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32)
func (*AddressBookFilterer) WatchExecuteRequestSuccess ¶
func (_AddressBook *AddressBookFilterer) WatchExecuteRequestSuccess(opts *bind.WatchOpts, sink chan<- *AddressBookExecuteRequestSuccess, id [][32]byte, from []common.Address) (event.Subscription, error)
WatchExecuteRequestSuccess is a free log subscription operation binding the contract event 0xc55c9229184beabeee72b6970a96691b4200919e47579cc4b9be50a1bec7ef11.
Solidity: e ExecuteRequestSuccess(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32)
func (*AddressBookFilterer) WatchExpiredRequest ¶
func (_AddressBook *AddressBookFilterer) WatchExpiredRequest(opts *bind.WatchOpts, sink chan<- *AddressBookExpiredRequest, id [][32]byte, from []common.Address) (event.Subscription, error)
WatchExpiredRequest is a free log subscription operation binding the contract event 0x9f3ca7a04988021200a04e0775f46648683bffe7203608269a66c371befe5685.
Solidity: e ExpiredRequest(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32, confirmers address[])
func (*AddressBookFilterer) WatchRegisterCnStakingContract ¶
func (_AddressBook *AddressBookFilterer) WatchRegisterCnStakingContract(opts *bind.WatchOpts, sink chan<- *AddressBookRegisterCnStakingContract) (event.Subscription, error)
WatchRegisterCnStakingContract is a free log subscription operation binding the contract event 0xe01726557c1ea9f7286dca4bba890e96fea9041689db298806306cafa74c9e91.
Solidity: e RegisterCnStakingContract(cnNodeId address, cnStakingContractAddress address, cnRewardAddress address)
func (*AddressBookFilterer) WatchReviseRewardAddress ¶
func (_AddressBook *AddressBookFilterer) WatchReviseRewardAddress(opts *bind.WatchOpts, sink chan<- *AddressBookReviseRewardAddress) (event.Subscription, error)
WatchReviseRewardAddress is a free log subscription operation binding the contract event 0xaa5c92ffd739bc0b8b117b671e7d713917ddb1440b436263a3ea106d70c6f05f.
Solidity: e ReviseRewardAddress(cnNodeId address, prevRewardAddress address, curRewardAddress address)
func (*AddressBookFilterer) WatchRevokeRequest ¶
func (_AddressBook *AddressBookFilterer) WatchRevokeRequest(opts *bind.WatchOpts, sink chan<- *AddressBookRevokeRequest, id [][32]byte, from []common.Address) (event.Subscription, error)
WatchRevokeRequest is a free log subscription operation binding the contract event 0x9c174b2536ba49e3478ca649dac74d9e9f71f70adf70f193e780eabbfcdc367c.
Solidity: e RevokeRequest(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32, confirmers address[])
func (*AddressBookFilterer) WatchSubmitRequest ¶
func (_AddressBook *AddressBookFilterer) WatchSubmitRequest(opts *bind.WatchOpts, sink chan<- *AddressBookSubmitRequest, id [][32]byte, from []common.Address) (event.Subscription, error)
WatchSubmitRequest is a free log subscription operation binding the contract event 0xb7b03afe355fcf2b1d00e020db2b1a902b9ee1b1c1d995626c1e18c957340ea8.
Solidity: e SubmitRequest(id indexed bytes32, from indexed address, functionId uint8, firstArg bytes32, secondArg bytes32, thirdArg bytes32, confirmers address[])
func (*AddressBookFilterer) WatchUnregisterCnStakingContract ¶
func (_AddressBook *AddressBookFilterer) WatchUnregisterCnStakingContract(opts *bind.WatchOpts, sink chan<- *AddressBookUnregisterCnStakingContract) (event.Subscription, error)
WatchUnregisterCnStakingContract is a free log subscription operation binding the contract event 0xa30079721e55931e89e7cdb421712ad0fcc817e7cac8fe954aa7ed0d46b9c42d.
Solidity: e UnregisterCnStakingContract(cnNodeId address)
func (*AddressBookFilterer) WatchUpdateKirContract ¶
func (_AddressBook *AddressBookFilterer) WatchUpdateKirContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateKirContract) (event.Subscription, error)
WatchUpdateKirContract is a free log subscription operation binding the contract event 0xfdccdf242038c2d09605009fbb95e03f75cdbd106d0a9e52a1670be9553c8848.
Solidity: e UpdateKirContract(prevKirContractAddress address, prevVersion uint256, curKirContractAddress address, curVersion uint256)
func (*AddressBookFilterer) WatchUpdatePocContract ¶
func (_AddressBook *AddressBookFilterer) WatchUpdatePocContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdatePocContract) (event.Subscription, error)
WatchUpdatePocContract is a free log subscription operation binding the contract event 0xd531725ac89042f190fd73adfdeff435e07500f1a92b4b87743f1bcf91acb3a7.
Solidity: e UpdatePocContract(prevPocContractAddress address, prevVersion uint256, curPocContractAddress address, curVersion uint256)
func (*AddressBookFilterer) WatchUpdateRequirement ¶
func (_AddressBook *AddressBookFilterer) WatchUpdateRequirement(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateRequirement) (event.Subscription, error)
WatchUpdateRequirement is a free log subscription operation binding the contract event 0x8951393946c27b45080aad111464c16c70f3d5e7d24b114a627334441961bf5f.
Solidity: e UpdateRequirement(requirement uint256)
func (*AddressBookFilterer) WatchUpdateSpareContract ¶
func (_AddressBook *AddressBookFilterer) WatchUpdateSpareContract(opts *bind.WatchOpts, sink chan<- *AddressBookUpdateSpareContract) (event.Subscription, error)
WatchUpdateSpareContract is a free log subscription operation binding the contract event 0x508aacd44cfe23a34a8c2643ab08c3410cf5505632cfce58dcfa0efa2fd2ff37.
Solidity: e UpdateSpareContract(spareContractAddress address)
type AddressBookRaw ¶
type AddressBookRaw struct {
Contract *AddressBook // Generic contract binding to access the raw methods on
}
AddressBookRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*AddressBookRaw) Call ¶
func (_AddressBook *AddressBookRaw) 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 (*AddressBookRaw) Transact ¶
func (_AddressBook *AddressBookRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressBookRaw) Transfer ¶
func (_AddressBook *AddressBookRaw) 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 AddressBookRegisterCnStakingContract ¶
type AddressBookRegisterCnStakingContract struct { CnNodeId common.Address CnStakingContractAddress common.Address CnRewardAddress common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookRegisterCnStakingContract represents a RegisterCnStakingContract event raised by the AddressBook contract.
type AddressBookRegisterCnStakingContractIterator ¶
type AddressBookRegisterCnStakingContractIterator struct { Event *AddressBookRegisterCnStakingContract // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookRegisterCnStakingContractIterator is returned from FilterRegisterCnStakingContract and is used to iterate over the raw logs and unpacked data for RegisterCnStakingContract events raised by the AddressBook contract.
func (*AddressBookRegisterCnStakingContractIterator) Close ¶
func (it *AddressBookRegisterCnStakingContractIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookRegisterCnStakingContractIterator) Error ¶
func (it *AddressBookRegisterCnStakingContractIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookRegisterCnStakingContractIterator) Next ¶
func (it *AddressBookRegisterCnStakingContractIterator) 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 AddressBookReviseRewardAddress ¶
type AddressBookReviseRewardAddress struct { CnNodeId common.Address PrevRewardAddress common.Address CurRewardAddress common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookReviseRewardAddress represents a ReviseRewardAddress event raised by the AddressBook contract.
type AddressBookReviseRewardAddressIterator ¶
type AddressBookReviseRewardAddressIterator struct { Event *AddressBookReviseRewardAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookReviseRewardAddressIterator is returned from FilterReviseRewardAddress and is used to iterate over the raw logs and unpacked data for ReviseRewardAddress events raised by the AddressBook contract.
func (*AddressBookReviseRewardAddressIterator) Close ¶
func (it *AddressBookReviseRewardAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookReviseRewardAddressIterator) Error ¶
func (it *AddressBookReviseRewardAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookReviseRewardAddressIterator) Next ¶
func (it *AddressBookReviseRewardAddressIterator) 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 AddressBookRevokeRequest ¶
type AddressBookRevokeRequest struct { Id [32]byte From common.Address FunctionId uint8 FirstArg [32]byte SecondArg [32]byte ThirdArg [32]byte Confirmers []common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookRevokeRequest represents a RevokeRequest event raised by the AddressBook contract.
type AddressBookRevokeRequestIterator ¶
type AddressBookRevokeRequestIterator struct { Event *AddressBookRevokeRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookRevokeRequestIterator is returned from FilterRevokeRequest and is used to iterate over the raw logs and unpacked data for RevokeRequest events raised by the AddressBook contract.
func (*AddressBookRevokeRequestIterator) Close ¶
func (it *AddressBookRevokeRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookRevokeRequestIterator) Error ¶
func (it *AddressBookRevokeRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookRevokeRequestIterator) Next ¶
func (it *AddressBookRevokeRequestIterator) 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 AddressBookSession ¶
type AddressBookSession struct { Contract *AddressBook // 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 }
AddressBookSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*AddressBookSession) ActivateAddressBook ¶
func (_AddressBook *AddressBookSession) ActivateAddressBook() (*types.Transaction, error)
ActivateAddressBook is a paid mutator transaction binding the contract method 0xcec92466.
Solidity: function activateAddressBook() returns()
func (*AddressBookSession) AddAdmin ¶
func (_AddressBook *AddressBookSession) AddAdmin(_admin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(_admin address) returns()
func (*AddressBookSession) CNNODEIDTYPE ¶
func (_AddressBook *AddressBookSession) CNNODEIDTYPE() (uint8, error)
CNNODEIDTYPE is a free data retrieval call binding the contract method 0x76674c54.
Solidity: function CN_NODE_ID_TYPE() constant returns(uint8)
func (*AddressBookSession) CNREWARDADDRESSTYPE ¶
func (_AddressBook *AddressBookSession) CNREWARDADDRESSTYPE() (uint8, error)
CNREWARDADDRESSTYPE is a free data retrieval call binding the contract method 0x32b91e85.
Solidity: function CN_REWARD_ADDRESS_TYPE() constant returns(uint8)
func (*AddressBookSession) CNSTAKINGADDRESSTYPE ¶
func (_AddressBook *AddressBookSession) CNSTAKINGADDRESSTYPE() (uint8, error)
CNSTAKINGADDRESSTYPE is a free data retrieval call binding the contract method 0xde5bbfbc.
Solidity: function CN_STAKING_ADDRESS_TYPE() constant returns(uint8)
func (*AddressBookSession) CONTRACTTYPE ¶
func (_AddressBook *AddressBookSession) CONTRACTTYPE() (string, error)
CONTRACTTYPE is a free data retrieval call binding the contract method 0x4b6a94cc.
Solidity: function CONTRACT_TYPE() constant returns(string)
func (*AddressBookSession) ClearRequest ¶
func (_AddressBook *AddressBookSession) ClearRequest() (*types.Transaction, error)
ClearRequest is a paid mutator transaction binding the contract method 0x4f97638f.
Solidity: function clearRequest() returns()
func (*AddressBookSession) ConstructContract ¶
func (_AddressBook *AddressBookSession) ConstructContract(_adminList []common.Address, _requirement *big.Int) (*types.Transaction, error)
ConstructContract is a paid mutator transaction binding the contract method 0x7894c366.
Solidity: function constructContract(_adminList address[], _requirement uint256) returns()
func (*AddressBookSession) DeleteAdmin ¶
func (_AddressBook *AddressBookSession) DeleteAdmin(_admin common.Address) (*types.Transaction, error)
DeleteAdmin is a paid mutator transaction binding the contract method 0x27e1f7df.
Solidity: function deleteAdmin(_admin address) returns()
func (*AddressBookSession) GetAllAddress ¶
func (_AddressBook *AddressBookSession) GetAllAddress() ([]uint8, []common.Address, error)
GetAllAddress is a free data retrieval call binding the contract method 0x715b208b.
Solidity: function getAllAddress() constant returns(uint8[], address[])
func (*AddressBookSession) GetAllAddressInfo ¶
func (_AddressBook *AddressBookSession) GetAllAddressInfo() ([]common.Address, []common.Address, []common.Address, common.Address, common.Address, error)
GetAllAddressInfo is a free data retrieval call binding the contract method 0x160370b8.
Solidity: function getAllAddressInfo() constant returns(address[], address[], address[], address, address)
func (*AddressBookSession) GetCnInfo ¶
func (_AddressBook *AddressBookSession) GetCnInfo(_cnNodeId common.Address) (common.Address, common.Address, common.Address, error)
GetCnInfo is a free data retrieval call binding the contract method 0x15575d5a.
Solidity: function getCnInfo(_cnNodeId address) constant returns(address, address, address)
func (*AddressBookSession) GetPendingRequestList ¶
func (_AddressBook *AddressBookSession) GetPendingRequestList() ([][32]byte, error)
GetPendingRequestList is a free data retrieval call binding the contract method 0xda34a0bd.
Solidity: function getPendingRequestList() constant returns(bytes32[])
func (*AddressBookSession) GetRequestInfo ¶
func (_AddressBook *AddressBookSession) GetRequestInfo(_id [32]byte) (uint8, [32]byte, [32]byte, [32]byte, []common.Address, *big.Int, uint8, error)
GetRequestInfo is a free data retrieval call binding the contract method 0x82d67e5a.
Solidity: function getRequestInfo(_id bytes32) constant returns(uint8, bytes32, bytes32, bytes32, address[], uint256, uint8)
func (*AddressBookSession) GetRequestInfoByArgs ¶
func (_AddressBook *AddressBookSession) GetRequestInfoByArgs(_functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) ([32]byte, []common.Address, *big.Int, uint8, error)
GetRequestInfoByArgs is a free data retrieval call binding the contract method 0x407091eb.
Solidity: function getRequestInfoByArgs(_functionId uint8, _firstArg bytes32, _secondArg bytes32, _thirdArg bytes32) constant returns(bytes32, address[], uint256, uint8)
func (*AddressBookSession) GetState ¶
GetState is a free data retrieval call binding the contract method 0x1865c57d.
Solidity: function getState() constant returns(address[], uint256)
func (*AddressBookSession) IsActivated ¶
func (_AddressBook *AddressBookSession) IsActivated() (bool, error)
IsActivated is a free data retrieval call binding the contract method 0x4a8c1fb4.
Solidity: function isActivated() constant returns(bool)
func (*AddressBookSession) IsConstructed ¶
func (_AddressBook *AddressBookSession) IsConstructed() (bool, error)
IsConstructed is a free data retrieval call binding the contract method 0x50a5bb69.
Solidity: function isConstructed() constant returns(bool)
func (*AddressBookSession) KIRCONTRACTTYPE ¶
func (_AddressBook *AddressBookSession) KIRCONTRACTTYPE() (uint8, error)
KIRCONTRACTTYPE is a free data retrieval call binding the contract method 0x41b6945c.
Solidity: function KIR_CONTRACT_TYPE() constant returns(uint8)
func (*AddressBookSession) KirContractAddress ¶
func (_AddressBook *AddressBookSession) KirContractAddress() (common.Address, error)
KirContractAddress is a free data retrieval call binding the contract method 0xb858dd95.
Solidity: function kirContractAddress() constant returns(address)
func (*AddressBookSession) MAXADMIN ¶
func (_AddressBook *AddressBookSession) MAXADMIN() (*big.Int, error)
MAXADMIN is a free data retrieval call binding the contract method 0x58d65880.
Solidity: function MAX_ADMIN() constant returns(uint256)
func (*AddressBookSession) MAXPENDINGREQUEST ¶
func (_AddressBook *AddressBookSession) MAXPENDINGREQUEST() (*big.Int, error)
MAXPENDINGREQUEST is a free data retrieval call binding the contract method 0x778f39cb.
Solidity: function MAX_PENDING_REQUEST() constant returns(uint256)
func (*AddressBookSession) ONEWEEK ¶
func (_AddressBook *AddressBookSession) ONEWEEK() (*big.Int, error)
ONEWEEK is a free data retrieval call binding the contract method 0x8e6f6b77.
Solidity: function ONE_WEEK() constant returns(uint256)
func (*AddressBookSession) POCCONTRACTTYPE ¶
func (_AddressBook *AddressBookSession) POCCONTRACTTYPE() (uint8, error)
POCCONTRACTTYPE is a free data retrieval call binding the contract method 0xb50060e4.
Solidity: function POC_CONTRACT_TYPE() constant returns(uint8)
func (*AddressBookSession) PocContractAddress ¶
func (_AddressBook *AddressBookSession) PocContractAddress() (common.Address, error)
PocContractAddress is a free data retrieval call binding the contract method 0xd267eda5.
Solidity: function pocContractAddress() constant returns(address)
func (*AddressBookSession) RegisterCnStakingContract ¶
func (_AddressBook *AddressBookSession) RegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error)
RegisterCnStakingContract is a paid mutator transaction binding the contract method 0x298b3c61.
Solidity: function registerCnStakingContract(_cnNodeId address, _cnStakingContractAddress address, _cnRewardAddress address) returns()
func (*AddressBookSession) Requirement ¶
func (_AddressBook *AddressBookSession) Requirement() (*big.Int, error)
Requirement is a free data retrieval call binding the contract method 0xb7563930.
Solidity: function requirement() constant returns(uint256)
func (*AddressBookSession) ReviseRewardAddress ¶
func (_AddressBook *AddressBookSession) ReviseRewardAddress(_rewardAddress common.Address) (*types.Transaction, error)
ReviseRewardAddress is a paid mutator transaction binding the contract method 0x832a2aad.
Solidity: function reviseRewardAddress(_rewardAddress address) returns()
func (*AddressBookSession) RevokeRequest ¶
func (_AddressBook *AddressBookSession) RevokeRequest(_functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) (*types.Transaction, error)
RevokeRequest is a paid mutator transaction binding the contract method 0x3f0628b1.
Solidity: function revokeRequest(_functionId uint8, _firstArg bytes32, _secondArg bytes32, _thirdArg bytes32) returns()
func (*AddressBookSession) SpareContractAddress ¶
func (_AddressBook *AddressBookSession) SpareContractAddress() (common.Address, error)
SpareContractAddress is a free data retrieval call binding the contract method 0x6abd623d.
Solidity: function spareContractAddress() constant returns(address)
func (*AddressBookSession) SubmitActivateAddressBook ¶
func (_AddressBook *AddressBookSession) SubmitActivateAddressBook() (*types.Transaction, error)
SubmitActivateAddressBook is a paid mutator transaction binding the contract method 0xfeb15ca1.
Solidity: function submitActivateAddressBook() returns()
func (*AddressBookSession) SubmitAddAdmin ¶
func (_AddressBook *AddressBookSession) SubmitAddAdmin(_admin common.Address) (*types.Transaction, error)
SubmitAddAdmin is a paid mutator transaction binding the contract method 0x863f5c0a.
Solidity: function submitAddAdmin(_admin address) returns()
func (*AddressBookSession) SubmitClearRequest ¶
func (_AddressBook *AddressBookSession) SubmitClearRequest() (*types.Transaction, error)
SubmitClearRequest is a paid mutator transaction binding the contract method 0x87cd9feb.
Solidity: function submitClearRequest() returns()
func (*AddressBookSession) SubmitDeleteAdmin ¶
func (_AddressBook *AddressBookSession) SubmitDeleteAdmin(_admin common.Address) (*types.Transaction, error)
SubmitDeleteAdmin is a paid mutator transaction binding the contract method 0x791b5123.
Solidity: function submitDeleteAdmin(_admin address) returns()
func (*AddressBookSession) SubmitRegisterCnStakingContract ¶
func (_AddressBook *AddressBookSession) SubmitRegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error)
SubmitRegisterCnStakingContract is a paid mutator transaction binding the contract method 0xcc11efc0.
Solidity: function submitRegisterCnStakingContract(_cnNodeId address, _cnStakingContractAddress address, _cnRewardAddress address) returns()
func (*AddressBookSession) SubmitUnregisterCnStakingContract ¶
func (_AddressBook *AddressBookSession) SubmitUnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error)
SubmitUnregisterCnStakingContract is a paid mutator transaction binding the contract method 0xb5067706.
Solidity: function submitUnregisterCnStakingContract(_cnNodeId address) returns()
func (*AddressBookSession) SubmitUpdateKirContract ¶
func (_AddressBook *AddressBookSession) SubmitUpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
SubmitUpdateKirContract is a paid mutator transaction binding the contract method 0x9258d768.
Solidity: function submitUpdateKirContract(_kirContractAddress address, _version uint256) returns()
func (*AddressBookSession) SubmitUpdatePocContract ¶
func (_AddressBook *AddressBookSession) SubmitUpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
SubmitUpdatePocContract is a paid mutator transaction binding the contract method 0x21ac4ad4.
Solidity: function submitUpdatePocContract(_pocContractAddress address, _version uint256) returns()
func (*AddressBookSession) SubmitUpdateRequirement ¶
func (_AddressBook *AddressBookSession) SubmitUpdateRequirement(_requirement *big.Int) (*types.Transaction, error)
SubmitUpdateRequirement is a paid mutator transaction binding the contract method 0xe748357b.
Solidity: function submitUpdateRequirement(_requirement uint256) returns()
func (*AddressBookSession) SubmitUpdateSpareContract ¶
func (_AddressBook *AddressBookSession) SubmitUpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error)
SubmitUpdateSpareContract is a paid mutator transaction binding the contract method 0x394a144a.
Solidity: function submitUpdateSpareContract(_spareContractAddress address) returns()
func (*AddressBookSession) TWOWEEKS ¶
func (_AddressBook *AddressBookSession) TWOWEEKS() (*big.Int, error)
TWOWEEKS is a free data retrieval call binding the contract method 0x934d1fa4.
Solidity: function TWO_WEEKS() constant returns(uint256)
func (*AddressBookSession) UnregisterCnStakingContract ¶
func (_AddressBook *AddressBookSession) UnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error)
UnregisterCnStakingContract is a paid mutator transaction binding the contract method 0x579740db.
Solidity: function unregisterCnStakingContract(_cnNodeId address) returns()
func (*AddressBookSession) UpdateKirContract ¶
func (_AddressBook *AddressBookSession) UpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
UpdateKirContract is a paid mutator transaction binding the contract method 0x4c5d435c.
Solidity: function updateKirContract(_kirContractAddress address, _version uint256) returns()
func (*AddressBookSession) UpdatePocContract ¶
func (_AddressBook *AddressBookSession) UpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
UpdatePocContract is a paid mutator transaction binding the contract method 0xc7e9de75.
Solidity: function updatePocContract(_pocContractAddress address, _version uint256) returns()
func (*AddressBookSession) UpdateRequirement ¶
func (_AddressBook *AddressBookSession) UpdateRequirement(_requirement *big.Int) (*types.Transaction, error)
UpdateRequirement is a paid mutator transaction binding the contract method 0xc47afb3a.
Solidity: function updateRequirement(_requirement uint256) returns()
func (*AddressBookSession) UpdateSpareContract ¶
func (_AddressBook *AddressBookSession) UpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error)
UpdateSpareContract is a paid mutator transaction binding the contract method 0xafaaf330.
Solidity: function updateSpareContract(_spareContractAddress address) returns()
type AddressBookSubmitRequest ¶
type AddressBookSubmitRequest struct { Id [32]byte From common.Address FunctionId uint8 FirstArg [32]byte SecondArg [32]byte ThirdArg [32]byte Confirmers []common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookSubmitRequest represents a SubmitRequest event raised by the AddressBook contract.
type AddressBookSubmitRequestIterator ¶
type AddressBookSubmitRequestIterator struct { Event *AddressBookSubmitRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookSubmitRequestIterator is returned from FilterSubmitRequest and is used to iterate over the raw logs and unpacked data for SubmitRequest events raised by the AddressBook contract.
func (*AddressBookSubmitRequestIterator) Close ¶
func (it *AddressBookSubmitRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookSubmitRequestIterator) Error ¶
func (it *AddressBookSubmitRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookSubmitRequestIterator) Next ¶
func (it *AddressBookSubmitRequestIterator) 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 AddressBookTransactor ¶
type AddressBookTransactor struct {
// contains filtered or unexported fields
}
AddressBookTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewAddressBookTransactor ¶
func NewAddressBookTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressBookTransactor, error)
NewAddressBookTransactor creates a new write-only instance of AddressBook, bound to a specific deployed contract.
func (*AddressBookTransactor) ActivateAddressBook ¶
func (_AddressBook *AddressBookTransactor) ActivateAddressBook(opts *bind.TransactOpts) (*types.Transaction, error)
ActivateAddressBook is a paid mutator transaction binding the contract method 0xcec92466.
Solidity: function activateAddressBook() returns()
func (*AddressBookTransactor) AddAdmin ¶
func (_AddressBook *AddressBookTransactor) AddAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(_admin address) returns()
func (*AddressBookTransactor) ClearRequest ¶
func (_AddressBook *AddressBookTransactor) ClearRequest(opts *bind.TransactOpts) (*types.Transaction, error)
ClearRequest is a paid mutator transaction binding the contract method 0x4f97638f.
Solidity: function clearRequest() returns()
func (*AddressBookTransactor) ConstructContract ¶
func (_AddressBook *AddressBookTransactor) ConstructContract(opts *bind.TransactOpts, _adminList []common.Address, _requirement *big.Int) (*types.Transaction, error)
ConstructContract is a paid mutator transaction binding the contract method 0x7894c366.
Solidity: function constructContract(_adminList address[], _requirement uint256) returns()
func (*AddressBookTransactor) DeleteAdmin ¶
func (_AddressBook *AddressBookTransactor) DeleteAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
DeleteAdmin is a paid mutator transaction binding the contract method 0x27e1f7df.
Solidity: function deleteAdmin(_admin address) returns()
func (*AddressBookTransactor) RegisterCnStakingContract ¶
func (_AddressBook *AddressBookTransactor) RegisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error)
RegisterCnStakingContract is a paid mutator transaction binding the contract method 0x298b3c61.
Solidity: function registerCnStakingContract(_cnNodeId address, _cnStakingContractAddress address, _cnRewardAddress address) returns()
func (*AddressBookTransactor) ReviseRewardAddress ¶
func (_AddressBook *AddressBookTransactor) ReviseRewardAddress(opts *bind.TransactOpts, _rewardAddress common.Address) (*types.Transaction, error)
ReviseRewardAddress is a paid mutator transaction binding the contract method 0x832a2aad.
Solidity: function reviseRewardAddress(_rewardAddress address) returns()
func (*AddressBookTransactor) RevokeRequest ¶
func (_AddressBook *AddressBookTransactor) RevokeRequest(opts *bind.TransactOpts, _functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) (*types.Transaction, error)
RevokeRequest is a paid mutator transaction binding the contract method 0x3f0628b1.
Solidity: function revokeRequest(_functionId uint8, _firstArg bytes32, _secondArg bytes32, _thirdArg bytes32) returns()
func (*AddressBookTransactor) SubmitActivateAddressBook ¶
func (_AddressBook *AddressBookTransactor) SubmitActivateAddressBook(opts *bind.TransactOpts) (*types.Transaction, error)
SubmitActivateAddressBook is a paid mutator transaction binding the contract method 0xfeb15ca1.
Solidity: function submitActivateAddressBook() returns()
func (*AddressBookTransactor) SubmitAddAdmin ¶
func (_AddressBook *AddressBookTransactor) SubmitAddAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
SubmitAddAdmin is a paid mutator transaction binding the contract method 0x863f5c0a.
Solidity: function submitAddAdmin(_admin address) returns()
func (*AddressBookTransactor) SubmitClearRequest ¶
func (_AddressBook *AddressBookTransactor) SubmitClearRequest(opts *bind.TransactOpts) (*types.Transaction, error)
SubmitClearRequest is a paid mutator transaction binding the contract method 0x87cd9feb.
Solidity: function submitClearRequest() returns()
func (*AddressBookTransactor) SubmitDeleteAdmin ¶
func (_AddressBook *AddressBookTransactor) SubmitDeleteAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
SubmitDeleteAdmin is a paid mutator transaction binding the contract method 0x791b5123.
Solidity: function submitDeleteAdmin(_admin address) returns()
func (*AddressBookTransactor) SubmitRegisterCnStakingContract ¶
func (_AddressBook *AddressBookTransactor) SubmitRegisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error)
SubmitRegisterCnStakingContract is a paid mutator transaction binding the contract method 0xcc11efc0.
Solidity: function submitRegisterCnStakingContract(_cnNodeId address, _cnStakingContractAddress address, _cnRewardAddress address) returns()
func (*AddressBookTransactor) SubmitUnregisterCnStakingContract ¶
func (_AddressBook *AddressBookTransactor) SubmitUnregisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address) (*types.Transaction, error)
SubmitUnregisterCnStakingContract is a paid mutator transaction binding the contract method 0xb5067706.
Solidity: function submitUnregisterCnStakingContract(_cnNodeId address) returns()
func (*AddressBookTransactor) SubmitUpdateKirContract ¶
func (_AddressBook *AddressBookTransactor) SubmitUpdateKirContract(opts *bind.TransactOpts, _kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
SubmitUpdateKirContract is a paid mutator transaction binding the contract method 0x9258d768.
Solidity: function submitUpdateKirContract(_kirContractAddress address, _version uint256) returns()
func (*AddressBookTransactor) SubmitUpdatePocContract ¶
func (_AddressBook *AddressBookTransactor) SubmitUpdatePocContract(opts *bind.TransactOpts, _pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
SubmitUpdatePocContract is a paid mutator transaction binding the contract method 0x21ac4ad4.
Solidity: function submitUpdatePocContract(_pocContractAddress address, _version uint256) returns()
func (*AddressBookTransactor) SubmitUpdateRequirement ¶
func (_AddressBook *AddressBookTransactor) SubmitUpdateRequirement(opts *bind.TransactOpts, _requirement *big.Int) (*types.Transaction, error)
SubmitUpdateRequirement is a paid mutator transaction binding the contract method 0xe748357b.
Solidity: function submitUpdateRequirement(_requirement uint256) returns()
func (*AddressBookTransactor) SubmitUpdateSpareContract ¶
func (_AddressBook *AddressBookTransactor) SubmitUpdateSpareContract(opts *bind.TransactOpts, _spareContractAddress common.Address) (*types.Transaction, error)
SubmitUpdateSpareContract is a paid mutator transaction binding the contract method 0x394a144a.
Solidity: function submitUpdateSpareContract(_spareContractAddress address) returns()
func (*AddressBookTransactor) UnregisterCnStakingContract ¶
func (_AddressBook *AddressBookTransactor) UnregisterCnStakingContract(opts *bind.TransactOpts, _cnNodeId common.Address) (*types.Transaction, error)
UnregisterCnStakingContract is a paid mutator transaction binding the contract method 0x579740db.
Solidity: function unregisterCnStakingContract(_cnNodeId address) returns()
func (*AddressBookTransactor) UpdateKirContract ¶
func (_AddressBook *AddressBookTransactor) UpdateKirContract(opts *bind.TransactOpts, _kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
UpdateKirContract is a paid mutator transaction binding the contract method 0x4c5d435c.
Solidity: function updateKirContract(_kirContractAddress address, _version uint256) returns()
func (*AddressBookTransactor) UpdatePocContract ¶
func (_AddressBook *AddressBookTransactor) UpdatePocContract(opts *bind.TransactOpts, _pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
UpdatePocContract is a paid mutator transaction binding the contract method 0xc7e9de75.
Solidity: function updatePocContract(_pocContractAddress address, _version uint256) returns()
func (*AddressBookTransactor) UpdateRequirement ¶
func (_AddressBook *AddressBookTransactor) UpdateRequirement(opts *bind.TransactOpts, _requirement *big.Int) (*types.Transaction, error)
UpdateRequirement is a paid mutator transaction binding the contract method 0xc47afb3a.
Solidity: function updateRequirement(_requirement uint256) returns()
func (*AddressBookTransactor) UpdateSpareContract ¶
func (_AddressBook *AddressBookTransactor) UpdateSpareContract(opts *bind.TransactOpts, _spareContractAddress common.Address) (*types.Transaction, error)
UpdateSpareContract is a paid mutator transaction binding the contract method 0xafaaf330.
Solidity: function updateSpareContract(_spareContractAddress address) returns()
type AddressBookTransactorRaw ¶
type AddressBookTransactorRaw struct {
Contract *AddressBookTransactor // Generic write-only contract binding to access the raw methods on
}
AddressBookTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*AddressBookTransactorRaw) Transact ¶
func (_AddressBook *AddressBookTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressBookTransactorRaw) Transfer ¶
func (_AddressBook *AddressBookTransactorRaw) 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 AddressBookTransactorSession ¶
type AddressBookTransactorSession struct { Contract *AddressBookTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressBookTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
func (*AddressBookTransactorSession) ActivateAddressBook ¶
func (_AddressBook *AddressBookTransactorSession) ActivateAddressBook() (*types.Transaction, error)
ActivateAddressBook is a paid mutator transaction binding the contract method 0xcec92466.
Solidity: function activateAddressBook() returns()
func (*AddressBookTransactorSession) AddAdmin ¶
func (_AddressBook *AddressBookTransactorSession) AddAdmin(_admin common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(_admin address) returns()
func (*AddressBookTransactorSession) ClearRequest ¶
func (_AddressBook *AddressBookTransactorSession) ClearRequest() (*types.Transaction, error)
ClearRequest is a paid mutator transaction binding the contract method 0x4f97638f.
Solidity: function clearRequest() returns()
func (*AddressBookTransactorSession) ConstructContract ¶
func (_AddressBook *AddressBookTransactorSession) ConstructContract(_adminList []common.Address, _requirement *big.Int) (*types.Transaction, error)
ConstructContract is a paid mutator transaction binding the contract method 0x7894c366.
Solidity: function constructContract(_adminList address[], _requirement uint256) returns()
func (*AddressBookTransactorSession) DeleteAdmin ¶
func (_AddressBook *AddressBookTransactorSession) DeleteAdmin(_admin common.Address) (*types.Transaction, error)
DeleteAdmin is a paid mutator transaction binding the contract method 0x27e1f7df.
Solidity: function deleteAdmin(_admin address) returns()
func (*AddressBookTransactorSession) RegisterCnStakingContract ¶
func (_AddressBook *AddressBookTransactorSession) RegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error)
RegisterCnStakingContract is a paid mutator transaction binding the contract method 0x298b3c61.
Solidity: function registerCnStakingContract(_cnNodeId address, _cnStakingContractAddress address, _cnRewardAddress address) returns()
func (*AddressBookTransactorSession) ReviseRewardAddress ¶
func (_AddressBook *AddressBookTransactorSession) ReviseRewardAddress(_rewardAddress common.Address) (*types.Transaction, error)
ReviseRewardAddress is a paid mutator transaction binding the contract method 0x832a2aad.
Solidity: function reviseRewardAddress(_rewardAddress address) returns()
func (*AddressBookTransactorSession) RevokeRequest ¶
func (_AddressBook *AddressBookTransactorSession) RevokeRequest(_functionId uint8, _firstArg [32]byte, _secondArg [32]byte, _thirdArg [32]byte) (*types.Transaction, error)
RevokeRequest is a paid mutator transaction binding the contract method 0x3f0628b1.
Solidity: function revokeRequest(_functionId uint8, _firstArg bytes32, _secondArg bytes32, _thirdArg bytes32) returns()
func (*AddressBookTransactorSession) SubmitActivateAddressBook ¶
func (_AddressBook *AddressBookTransactorSession) SubmitActivateAddressBook() (*types.Transaction, error)
SubmitActivateAddressBook is a paid mutator transaction binding the contract method 0xfeb15ca1.
Solidity: function submitActivateAddressBook() returns()
func (*AddressBookTransactorSession) SubmitAddAdmin ¶
func (_AddressBook *AddressBookTransactorSession) SubmitAddAdmin(_admin common.Address) (*types.Transaction, error)
SubmitAddAdmin is a paid mutator transaction binding the contract method 0x863f5c0a.
Solidity: function submitAddAdmin(_admin address) returns()
func (*AddressBookTransactorSession) SubmitClearRequest ¶
func (_AddressBook *AddressBookTransactorSession) SubmitClearRequest() (*types.Transaction, error)
SubmitClearRequest is a paid mutator transaction binding the contract method 0x87cd9feb.
Solidity: function submitClearRequest() returns()
func (*AddressBookTransactorSession) SubmitDeleteAdmin ¶
func (_AddressBook *AddressBookTransactorSession) SubmitDeleteAdmin(_admin common.Address) (*types.Transaction, error)
SubmitDeleteAdmin is a paid mutator transaction binding the contract method 0x791b5123.
Solidity: function submitDeleteAdmin(_admin address) returns()
func (*AddressBookTransactorSession) SubmitRegisterCnStakingContract ¶
func (_AddressBook *AddressBookTransactorSession) SubmitRegisterCnStakingContract(_cnNodeId common.Address, _cnStakingContractAddress common.Address, _cnRewardAddress common.Address) (*types.Transaction, error)
SubmitRegisterCnStakingContract is a paid mutator transaction binding the contract method 0xcc11efc0.
Solidity: function submitRegisterCnStakingContract(_cnNodeId address, _cnStakingContractAddress address, _cnRewardAddress address) returns()
func (*AddressBookTransactorSession) SubmitUnregisterCnStakingContract ¶
func (_AddressBook *AddressBookTransactorSession) SubmitUnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error)
SubmitUnregisterCnStakingContract is a paid mutator transaction binding the contract method 0xb5067706.
Solidity: function submitUnregisterCnStakingContract(_cnNodeId address) returns()
func (*AddressBookTransactorSession) SubmitUpdateKirContract ¶
func (_AddressBook *AddressBookTransactorSession) SubmitUpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
SubmitUpdateKirContract is a paid mutator transaction binding the contract method 0x9258d768.
Solidity: function submitUpdateKirContract(_kirContractAddress address, _version uint256) returns()
func (*AddressBookTransactorSession) SubmitUpdatePocContract ¶
func (_AddressBook *AddressBookTransactorSession) SubmitUpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
SubmitUpdatePocContract is a paid mutator transaction binding the contract method 0x21ac4ad4.
Solidity: function submitUpdatePocContract(_pocContractAddress address, _version uint256) returns()
func (*AddressBookTransactorSession) SubmitUpdateRequirement ¶
func (_AddressBook *AddressBookTransactorSession) SubmitUpdateRequirement(_requirement *big.Int) (*types.Transaction, error)
SubmitUpdateRequirement is a paid mutator transaction binding the contract method 0xe748357b.
Solidity: function submitUpdateRequirement(_requirement uint256) returns()
func (*AddressBookTransactorSession) SubmitUpdateSpareContract ¶
func (_AddressBook *AddressBookTransactorSession) SubmitUpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error)
SubmitUpdateSpareContract is a paid mutator transaction binding the contract method 0x394a144a.
Solidity: function submitUpdateSpareContract(_spareContractAddress address) returns()
func (*AddressBookTransactorSession) UnregisterCnStakingContract ¶
func (_AddressBook *AddressBookTransactorSession) UnregisterCnStakingContract(_cnNodeId common.Address) (*types.Transaction, error)
UnregisterCnStakingContract is a paid mutator transaction binding the contract method 0x579740db.
Solidity: function unregisterCnStakingContract(_cnNodeId address) returns()
func (*AddressBookTransactorSession) UpdateKirContract ¶
func (_AddressBook *AddressBookTransactorSession) UpdateKirContract(_kirContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
UpdateKirContract is a paid mutator transaction binding the contract method 0x4c5d435c.
Solidity: function updateKirContract(_kirContractAddress address, _version uint256) returns()
func (*AddressBookTransactorSession) UpdatePocContract ¶
func (_AddressBook *AddressBookTransactorSession) UpdatePocContract(_pocContractAddress common.Address, _version *big.Int) (*types.Transaction, error)
UpdatePocContract is a paid mutator transaction binding the contract method 0xc7e9de75.
Solidity: function updatePocContract(_pocContractAddress address, _version uint256) returns()
func (*AddressBookTransactorSession) UpdateRequirement ¶
func (_AddressBook *AddressBookTransactorSession) UpdateRequirement(_requirement *big.Int) (*types.Transaction, error)
UpdateRequirement is a paid mutator transaction binding the contract method 0xc47afb3a.
Solidity: function updateRequirement(_requirement uint256) returns()
func (*AddressBookTransactorSession) UpdateSpareContract ¶
func (_AddressBook *AddressBookTransactorSession) UpdateSpareContract(_spareContractAddress common.Address) (*types.Transaction, error)
UpdateSpareContract is a paid mutator transaction binding the contract method 0xafaaf330.
Solidity: function updateSpareContract(_spareContractAddress address) returns()
type AddressBookUnregisterCnStakingContract ¶
type AddressBookUnregisterCnStakingContract struct { CnNodeId common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookUnregisterCnStakingContract represents a UnregisterCnStakingContract event raised by the AddressBook contract.
type AddressBookUnregisterCnStakingContractIterator ¶
type AddressBookUnregisterCnStakingContractIterator struct { Event *AddressBookUnregisterCnStakingContract // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookUnregisterCnStakingContractIterator is returned from FilterUnregisterCnStakingContract and is used to iterate over the raw logs and unpacked data for UnregisterCnStakingContract events raised by the AddressBook contract.
func (*AddressBookUnregisterCnStakingContractIterator) Close ¶
func (it *AddressBookUnregisterCnStakingContractIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookUnregisterCnStakingContractIterator) Error ¶
func (it *AddressBookUnregisterCnStakingContractIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookUnregisterCnStakingContractIterator) Next ¶
func (it *AddressBookUnregisterCnStakingContractIterator) 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 AddressBookUpdateKirContract ¶
type AddressBookUpdateKirContract struct { PrevKirContractAddress common.Address PrevVersion *big.Int CurKirContractAddress common.Address CurVersion *big.Int Raw types.Log // Blockchain specific contextual infos }
AddressBookUpdateKirContract represents a UpdateKirContract event raised by the AddressBook contract.
type AddressBookUpdateKirContractIterator ¶
type AddressBookUpdateKirContractIterator struct { Event *AddressBookUpdateKirContract // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookUpdateKirContractIterator is returned from FilterUpdateKirContract and is used to iterate over the raw logs and unpacked data for UpdateKirContract events raised by the AddressBook contract.
func (*AddressBookUpdateKirContractIterator) Close ¶
func (it *AddressBookUpdateKirContractIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookUpdateKirContractIterator) Error ¶
func (it *AddressBookUpdateKirContractIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookUpdateKirContractIterator) Next ¶
func (it *AddressBookUpdateKirContractIterator) 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 AddressBookUpdatePocContract ¶
type AddressBookUpdatePocContract struct { PrevPocContractAddress common.Address PrevVersion *big.Int CurPocContractAddress common.Address CurVersion *big.Int Raw types.Log // Blockchain specific contextual infos }
AddressBookUpdatePocContract represents a UpdatePocContract event raised by the AddressBook contract.
type AddressBookUpdatePocContractIterator ¶
type AddressBookUpdatePocContractIterator struct { Event *AddressBookUpdatePocContract // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookUpdatePocContractIterator is returned from FilterUpdatePocContract and is used to iterate over the raw logs and unpacked data for UpdatePocContract events raised by the AddressBook contract.
func (*AddressBookUpdatePocContractIterator) Close ¶
func (it *AddressBookUpdatePocContractIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookUpdatePocContractIterator) Error ¶
func (it *AddressBookUpdatePocContractIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookUpdatePocContractIterator) Next ¶
func (it *AddressBookUpdatePocContractIterator) 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 AddressBookUpdateRequirement ¶
type AddressBookUpdateRequirement struct { Requirement *big.Int Raw types.Log // Blockchain specific contextual infos }
AddressBookUpdateRequirement represents a UpdateRequirement event raised by the AddressBook contract.
type AddressBookUpdateRequirementIterator ¶
type AddressBookUpdateRequirementIterator struct { Event *AddressBookUpdateRequirement // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookUpdateRequirementIterator is returned from FilterUpdateRequirement and is used to iterate over the raw logs and unpacked data for UpdateRequirement events raised by the AddressBook contract.
func (*AddressBookUpdateRequirementIterator) Close ¶
func (it *AddressBookUpdateRequirementIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookUpdateRequirementIterator) Error ¶
func (it *AddressBookUpdateRequirementIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookUpdateRequirementIterator) Next ¶
func (it *AddressBookUpdateRequirementIterator) 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 AddressBookUpdateSpareContract ¶
type AddressBookUpdateSpareContract struct { SpareContractAddress common.Address Raw types.Log // Blockchain specific contextual infos }
AddressBookUpdateSpareContract represents a UpdateSpareContract event raised by the AddressBook contract.
type AddressBookUpdateSpareContractIterator ¶
type AddressBookUpdateSpareContractIterator struct { Event *AddressBookUpdateSpareContract // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AddressBookUpdateSpareContractIterator is returned from FilterUpdateSpareContract and is used to iterate over the raw logs and unpacked data for UpdateSpareContract events raised by the AddressBook contract.
func (*AddressBookUpdateSpareContractIterator) Close ¶
func (it *AddressBookUpdateSpareContractIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AddressBookUpdateSpareContractIterator) Error ¶
func (it *AddressBookUpdateSpareContractIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AddressBookUpdateSpareContractIterator) Next ¶
func (it *AddressBookUpdateSpareContractIterator) 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 CnStakingContractInterface ¶
type CnStakingContractInterface struct { CnStakingContractInterfaceCaller // Read-only binding to the contract CnStakingContractInterfaceTransactor // Write-only binding to the contract CnStakingContractInterfaceFilterer // Log filterer for contract events }
CnStakingContractInterface is an auto generated Go binding around a Klaytn contract.
func DeployCnStakingContractInterface ¶
func DeployCnStakingContractInterface(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CnStakingContractInterface, error)
DeployCnStakingContractInterface deploys a new Klaytn contract, binding an instance of CnStakingContractInterface to it.
func NewCnStakingContractInterface ¶
func NewCnStakingContractInterface(address common.Address, backend bind.ContractBackend) (*CnStakingContractInterface, error)
NewCnStakingContractInterface creates a new instance of CnStakingContractInterface, bound to a specific deployed contract.
type CnStakingContractInterfaceCaller ¶
type CnStakingContractInterfaceCaller struct {
// contains filtered or unexported fields
}
CnStakingContractInterfaceCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewCnStakingContractInterfaceCaller ¶
func NewCnStakingContractInterfaceCaller(address common.Address, caller bind.ContractCaller) (*CnStakingContractInterfaceCaller, error)
NewCnStakingContractInterfaceCaller creates a new read-only instance of CnStakingContractInterface, bound to a specific deployed contract.
func (*CnStakingContractInterfaceCaller) IsInitialized ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() constant returns(bool)
func (*CnStakingContractInterfaceCaller) NodeId ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) NodeId(opts *bind.CallOpts) (common.Address, error)
NodeId is a free data retrieval call binding the contract method 0x139d7fed.
Solidity: function nodeId() constant returns(address)
func (*CnStakingContractInterfaceCaller) RewardAddress ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceCaller) RewardAddress(opts *bind.CallOpts) (common.Address, error)
RewardAddress is a free data retrieval call binding the contract method 0x8cf57cb9.
Solidity: function rewardAddress() constant returns(address)
type CnStakingContractInterfaceCallerRaw ¶
type CnStakingContractInterfaceCallerRaw struct {
Contract *CnStakingContractInterfaceCaller // Generic read-only contract binding to access the raw methods on
}
CnStakingContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*CnStakingContractInterfaceCallerRaw) Call ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceCallerRaw) 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 CnStakingContractInterfaceCallerSession ¶
type CnStakingContractInterfaceCallerSession struct { Contract *CnStakingContractInterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CnStakingContractInterfaceCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*CnStakingContractInterfaceCallerSession) IsInitialized ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceCallerSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() constant returns(bool)
func (*CnStakingContractInterfaceCallerSession) NodeId ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceCallerSession) NodeId() (common.Address, error)
NodeId is a free data retrieval call binding the contract method 0x139d7fed.
Solidity: function nodeId() constant returns(address)
func (*CnStakingContractInterfaceCallerSession) RewardAddress ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceCallerSession) RewardAddress() (common.Address, error)
RewardAddress is a free data retrieval call binding the contract method 0x8cf57cb9.
Solidity: function rewardAddress() constant returns(address)
type CnStakingContractInterfaceFilterer ¶
type CnStakingContractInterfaceFilterer struct {
// contains filtered or unexported fields
}
CnStakingContractInterfaceFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewCnStakingContractInterfaceFilterer ¶
func NewCnStakingContractInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*CnStakingContractInterfaceFilterer, error)
NewCnStakingContractInterfaceFilterer creates a new log filterer instance of CnStakingContractInterface, bound to a specific deployed contract.
type CnStakingContractInterfaceRaw ¶
type CnStakingContractInterfaceRaw struct {
Contract *CnStakingContractInterface // Generic contract binding to access the raw methods on
}
CnStakingContractInterfaceRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*CnStakingContractInterfaceRaw) Call ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceRaw) 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 (*CnStakingContractInterfaceRaw) Transact ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CnStakingContractInterfaceRaw) Transfer ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceRaw) 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 CnStakingContractInterfaceSession ¶
type CnStakingContractInterfaceSession struct { Contract *CnStakingContractInterface // 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 }
CnStakingContractInterfaceSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*CnStakingContractInterfaceSession) IsInitialized ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() constant returns(bool)
func (*CnStakingContractInterfaceSession) NodeId ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceSession) NodeId() (common.Address, error)
NodeId is a free data retrieval call binding the contract method 0x139d7fed.
Solidity: function nodeId() constant returns(address)
func (*CnStakingContractInterfaceSession) RewardAddress ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceSession) RewardAddress() (common.Address, error)
RewardAddress is a free data retrieval call binding the contract method 0x8cf57cb9.
Solidity: function rewardAddress() constant returns(address)
type CnStakingContractInterfaceTransactor ¶
type CnStakingContractInterfaceTransactor struct {
// contains filtered or unexported fields
}
CnStakingContractInterfaceTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewCnStakingContractInterfaceTransactor ¶
func NewCnStakingContractInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*CnStakingContractInterfaceTransactor, error)
NewCnStakingContractInterfaceTransactor creates a new write-only instance of CnStakingContractInterface, bound to a specific deployed contract.
type CnStakingContractInterfaceTransactorRaw ¶
type CnStakingContractInterfaceTransactorRaw struct {
Contract *CnStakingContractInterfaceTransactor // Generic write-only contract binding to access the raw methods on
}
CnStakingContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*CnStakingContractInterfaceTransactorRaw) Transact ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CnStakingContractInterfaceTransactorRaw) Transfer ¶
func (_CnStakingContractInterface *CnStakingContractInterfaceTransactorRaw) 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 CnStakingContractInterfaceTransactorSession ¶
type CnStakingContractInterfaceTransactorSession struct { Contract *CnStakingContractInterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CnStakingContractInterfaceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
type KirContractInterface ¶
type KirContractInterface struct { KirContractInterfaceCaller // Read-only binding to the contract KirContractInterfaceTransactor // Write-only binding to the contract KirContractInterfaceFilterer // Log filterer for contract events }
KirContractInterface is an auto generated Go binding around a Klaytn contract.
func DeployKirContractInterface ¶
func DeployKirContractInterface(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *KirContractInterface, error)
DeployKirContractInterface deploys a new Klaytn contract, binding an instance of KirContractInterface to it.
func NewKirContractInterface ¶
func NewKirContractInterface(address common.Address, backend bind.ContractBackend) (*KirContractInterface, error)
NewKirContractInterface creates a new instance of KirContractInterface, bound to a specific deployed contract.
type KirContractInterfaceCaller ¶
type KirContractInterfaceCaller struct {
// contains filtered or unexported fields
}
KirContractInterfaceCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewKirContractInterfaceCaller ¶
func NewKirContractInterfaceCaller(address common.Address, caller bind.ContractCaller) (*KirContractInterfaceCaller, error)
NewKirContractInterfaceCaller creates a new read-only instance of KirContractInterface, bound to a specific deployed contract.
func (*KirContractInterfaceCaller) GetKirVersion ¶
func (_KirContractInterface *KirContractInterfaceCaller) GetKirVersion(opts *bind.CallOpts) (*big.Int, error)
GetKirVersion is a free data retrieval call binding the contract method 0x44426346.
Solidity: function getKirVersion() constant returns(uint256)
type KirContractInterfaceCallerRaw ¶
type KirContractInterfaceCallerRaw struct {
Contract *KirContractInterfaceCaller // Generic read-only contract binding to access the raw methods on
}
KirContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*KirContractInterfaceCallerRaw) Call ¶
func (_KirContractInterface *KirContractInterfaceCallerRaw) 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 KirContractInterfaceCallerSession ¶
type KirContractInterfaceCallerSession struct { Contract *KirContractInterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
KirContractInterfaceCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*KirContractInterfaceCallerSession) GetKirVersion ¶
func (_KirContractInterface *KirContractInterfaceCallerSession) GetKirVersion() (*big.Int, error)
GetKirVersion is a free data retrieval call binding the contract method 0x44426346.
Solidity: function getKirVersion() constant returns(uint256)
type KirContractInterfaceFilterer ¶
type KirContractInterfaceFilterer struct {
// contains filtered or unexported fields
}
KirContractInterfaceFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewKirContractInterfaceFilterer ¶
func NewKirContractInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*KirContractInterfaceFilterer, error)
NewKirContractInterfaceFilterer creates a new log filterer instance of KirContractInterface, bound to a specific deployed contract.
type KirContractInterfaceRaw ¶
type KirContractInterfaceRaw struct {
Contract *KirContractInterface // Generic contract binding to access the raw methods on
}
KirContractInterfaceRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*KirContractInterfaceRaw) Call ¶
func (_KirContractInterface *KirContractInterfaceRaw) 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 (*KirContractInterfaceRaw) Transact ¶
func (_KirContractInterface *KirContractInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KirContractInterfaceRaw) Transfer ¶
func (_KirContractInterface *KirContractInterfaceRaw) 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 KirContractInterfaceSession ¶
type KirContractInterfaceSession struct { Contract *KirContractInterface // 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 }
KirContractInterfaceSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*KirContractInterfaceSession) GetKirVersion ¶
func (_KirContractInterface *KirContractInterfaceSession) GetKirVersion() (*big.Int, error)
GetKirVersion is a free data retrieval call binding the contract method 0x44426346.
Solidity: function getKirVersion() constant returns(uint256)
type KirContractInterfaceTransactor ¶
type KirContractInterfaceTransactor struct {
// contains filtered or unexported fields
}
KirContractInterfaceTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewKirContractInterfaceTransactor ¶
func NewKirContractInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*KirContractInterfaceTransactor, error)
NewKirContractInterfaceTransactor creates a new write-only instance of KirContractInterface, bound to a specific deployed contract.
type KirContractInterfaceTransactorRaw ¶
type KirContractInterfaceTransactorRaw struct {
Contract *KirContractInterfaceTransactor // Generic write-only contract binding to access the raw methods on
}
KirContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*KirContractInterfaceTransactorRaw) Transact ¶
func (_KirContractInterface *KirContractInterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KirContractInterfaceTransactorRaw) Transfer ¶
func (_KirContractInterface *KirContractInterfaceTransactorRaw) 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 KirContractInterfaceTransactorSession ¶
type KirContractInterfaceTransactorSession struct { Contract *KirContractInterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
KirContractInterfaceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
type KlaytnReward ¶
type KlaytnReward struct { KlaytnRewardCaller // Read-only binding to the contract KlaytnRewardTransactor // Write-only binding to the contract KlaytnRewardFilterer // Log filterer for contract events }
KlaytnReward is an auto generated Go binding around a Klaytn contract.
func DeployKlaytnReward ¶
func DeployKlaytnReward(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *KlaytnReward, error)
DeployKlaytnReward deploys a new Klaytn contract, binding an instance of KlaytnReward to it.
func NewKlaytnReward ¶
func NewKlaytnReward(address common.Address, backend bind.ContractBackend) (*KlaytnReward, error)
NewKlaytnReward creates a new instance of KlaytnReward, bound to a specific deployed contract.
type KlaytnRewardCaller ¶
type KlaytnRewardCaller struct {
// contains filtered or unexported fields
}
KlaytnRewardCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewKlaytnRewardCaller ¶
func NewKlaytnRewardCaller(address common.Address, caller bind.ContractCaller) (*KlaytnRewardCaller, error)
NewKlaytnRewardCaller creates a new read-only instance of KlaytnReward, bound to a specific deployed contract.
func (*KlaytnRewardCaller) BalanceOf ¶
func (_KlaytnReward *KlaytnRewardCaller) 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) constant returns(uint256)
func (*KlaytnRewardCaller) TotalAmount ¶
TotalAmount is a free data retrieval call binding the contract method 0x1a39d8ef.
Solidity: function totalAmount() constant returns(uint256)
type KlaytnRewardCallerRaw ¶
type KlaytnRewardCallerRaw struct {
Contract *KlaytnRewardCaller // Generic read-only contract binding to access the raw methods on
}
KlaytnRewardCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*KlaytnRewardCallerRaw) Call ¶
func (_KlaytnReward *KlaytnRewardCallerRaw) 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 KlaytnRewardCallerSession ¶
type KlaytnRewardCallerSession struct { Contract *KlaytnRewardCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
KlaytnRewardCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*KlaytnRewardCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf( address) constant returns(uint256)
func (*KlaytnRewardCallerSession) TotalAmount ¶
func (_KlaytnReward *KlaytnRewardCallerSession) TotalAmount() (*big.Int, error)
TotalAmount is a free data retrieval call binding the contract method 0x1a39d8ef.
Solidity: function totalAmount() constant returns(uint256)
type KlaytnRewardFilterer ¶
type KlaytnRewardFilterer struct {
// contains filtered or unexported fields
}
KlaytnRewardFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewKlaytnRewardFilterer ¶
func NewKlaytnRewardFilterer(address common.Address, filterer bind.ContractFilterer) (*KlaytnRewardFilterer, error)
NewKlaytnRewardFilterer creates a new log filterer instance of KlaytnReward, bound to a specific deployed contract.
type KlaytnRewardRaw ¶
type KlaytnRewardRaw struct {
Contract *KlaytnReward // Generic contract binding to access the raw methods on
}
KlaytnRewardRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*KlaytnRewardRaw) Call ¶
func (_KlaytnReward *KlaytnRewardRaw) 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 (*KlaytnRewardRaw) Transact ¶
func (_KlaytnReward *KlaytnRewardRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KlaytnRewardRaw) Transfer ¶
func (_KlaytnReward *KlaytnRewardRaw) 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 KlaytnRewardSession ¶
type KlaytnRewardSession struct { Contract *KlaytnReward // 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 }
KlaytnRewardSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*KlaytnRewardSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf( address) constant returns(uint256)
func (*KlaytnRewardSession) Reward ¶
func (_KlaytnReward *KlaytnRewardSession) Reward(receiver common.Address) (*types.Transaction, error)
Reward is a paid mutator transaction binding the contract method 0x6353586b.
Solidity: function reward(receiver address) returns()
func (*KlaytnRewardSession) SafeWithdrawal ¶
func (_KlaytnReward *KlaytnRewardSession) SafeWithdrawal() (*types.Transaction, error)
SafeWithdrawal is a paid mutator transaction binding the contract method 0xfd6b7ef8.
Solidity: function safeWithdrawal() returns()
func (*KlaytnRewardSession) TotalAmount ¶
func (_KlaytnReward *KlaytnRewardSession) TotalAmount() (*big.Int, error)
TotalAmount is a free data retrieval call binding the contract method 0x1a39d8ef.
Solidity: function totalAmount() constant returns(uint256)
type KlaytnRewardTransactor ¶
type KlaytnRewardTransactor struct {
// contains filtered or unexported fields
}
KlaytnRewardTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewKlaytnRewardTransactor ¶
func NewKlaytnRewardTransactor(address common.Address, transactor bind.ContractTransactor) (*KlaytnRewardTransactor, error)
NewKlaytnRewardTransactor creates a new write-only instance of KlaytnReward, bound to a specific deployed contract.
func (*KlaytnRewardTransactor) Reward ¶
func (_KlaytnReward *KlaytnRewardTransactor) Reward(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)
Reward is a paid mutator transaction binding the contract method 0x6353586b.
Solidity: function reward(receiver address) returns()
func (*KlaytnRewardTransactor) SafeWithdrawal ¶
func (_KlaytnReward *KlaytnRewardTransactor) SafeWithdrawal(opts *bind.TransactOpts) (*types.Transaction, error)
SafeWithdrawal is a paid mutator transaction binding the contract method 0xfd6b7ef8.
Solidity: function safeWithdrawal() returns()
type KlaytnRewardTransactorRaw ¶
type KlaytnRewardTransactorRaw struct {
Contract *KlaytnRewardTransactor // Generic write-only contract binding to access the raw methods on
}
KlaytnRewardTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*KlaytnRewardTransactorRaw) Transact ¶
func (_KlaytnReward *KlaytnRewardTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KlaytnRewardTransactorRaw) Transfer ¶
func (_KlaytnReward *KlaytnRewardTransactorRaw) 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 KlaytnRewardTransactorSession ¶
type KlaytnRewardTransactorSession struct { Contract *KlaytnRewardTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
KlaytnRewardTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
func (*KlaytnRewardTransactorSession) Reward ¶
func (_KlaytnReward *KlaytnRewardTransactorSession) Reward(receiver common.Address) (*types.Transaction, error)
Reward is a paid mutator transaction binding the contract method 0x6353586b.
Solidity: function reward(receiver address) returns()
func (*KlaytnRewardTransactorSession) SafeWithdrawal ¶
func (_KlaytnReward *KlaytnRewardTransactorSession) SafeWithdrawal() (*types.Transaction, error)
SafeWithdrawal is a paid mutator transaction binding the contract method 0xfd6b7ef8.
Solidity: function safeWithdrawal() returns()
type PocContractInterface ¶
type PocContractInterface struct { PocContractInterfaceCaller // Read-only binding to the contract PocContractInterfaceTransactor // Write-only binding to the contract PocContractInterfaceFilterer // Log filterer for contract events }
PocContractInterface is an auto generated Go binding around a Klaytn contract.
func DeployPocContractInterface ¶
func DeployPocContractInterface(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PocContractInterface, error)
DeployPocContractInterface deploys a new Klaytn contract, binding an instance of PocContractInterface to it.
func NewPocContractInterface ¶
func NewPocContractInterface(address common.Address, backend bind.ContractBackend) (*PocContractInterface, error)
NewPocContractInterface creates a new instance of PocContractInterface, bound to a specific deployed contract.
type PocContractInterfaceCaller ¶
type PocContractInterfaceCaller struct {
// contains filtered or unexported fields
}
PocContractInterfaceCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewPocContractInterfaceCaller ¶
func NewPocContractInterfaceCaller(address common.Address, caller bind.ContractCaller) (*PocContractInterfaceCaller, error)
NewPocContractInterfaceCaller creates a new read-only instance of PocContractInterface, bound to a specific deployed contract.
func (*PocContractInterfaceCaller) GetPocVersion ¶
func (_PocContractInterface *PocContractInterfaceCaller) GetPocVersion(opts *bind.CallOpts) (*big.Int, error)
GetPocVersion is a free data retrieval call binding the contract method 0x0f610072.
Solidity: function getPocVersion() constant returns(uint256)
type PocContractInterfaceCallerRaw ¶
type PocContractInterfaceCallerRaw struct {
Contract *PocContractInterfaceCaller // Generic read-only contract binding to access the raw methods on
}
PocContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*PocContractInterfaceCallerRaw) Call ¶
func (_PocContractInterface *PocContractInterfaceCallerRaw) 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 PocContractInterfaceCallerSession ¶
type PocContractInterfaceCallerSession struct { Contract *PocContractInterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PocContractInterfaceCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*PocContractInterfaceCallerSession) GetPocVersion ¶
func (_PocContractInterface *PocContractInterfaceCallerSession) GetPocVersion() (*big.Int, error)
GetPocVersion is a free data retrieval call binding the contract method 0x0f610072.
Solidity: function getPocVersion() constant returns(uint256)
type PocContractInterfaceFilterer ¶
type PocContractInterfaceFilterer struct {
// contains filtered or unexported fields
}
PocContractInterfaceFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewPocContractInterfaceFilterer ¶
func NewPocContractInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*PocContractInterfaceFilterer, error)
NewPocContractInterfaceFilterer creates a new log filterer instance of PocContractInterface, bound to a specific deployed contract.
type PocContractInterfaceRaw ¶
type PocContractInterfaceRaw struct {
Contract *PocContractInterface // Generic contract binding to access the raw methods on
}
PocContractInterfaceRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*PocContractInterfaceRaw) Call ¶
func (_PocContractInterface *PocContractInterfaceRaw) 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 (*PocContractInterfaceRaw) Transact ¶
func (_PocContractInterface *PocContractInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PocContractInterfaceRaw) Transfer ¶
func (_PocContractInterface *PocContractInterfaceRaw) 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 PocContractInterfaceSession ¶
type PocContractInterfaceSession struct { Contract *PocContractInterface // 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 }
PocContractInterfaceSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*PocContractInterfaceSession) GetPocVersion ¶
func (_PocContractInterface *PocContractInterfaceSession) GetPocVersion() (*big.Int, error)
GetPocVersion is a free data retrieval call binding the contract method 0x0f610072.
Solidity: function getPocVersion() constant returns(uint256)
type PocContractInterfaceTransactor ¶
type PocContractInterfaceTransactor struct {
// contains filtered or unexported fields
}
PocContractInterfaceTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewPocContractInterfaceTransactor ¶
func NewPocContractInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*PocContractInterfaceTransactor, error)
NewPocContractInterfaceTransactor creates a new write-only instance of PocContractInterface, bound to a specific deployed contract.
type PocContractInterfaceTransactorRaw ¶
type PocContractInterfaceTransactorRaw struct {
Contract *PocContractInterfaceTransactor // Generic write-only contract binding to access the raw methods on
}
PocContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*PocContractInterfaceTransactorRaw) Transact ¶
func (_PocContractInterface *PocContractInterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PocContractInterfaceTransactorRaw) Transfer ¶
func (_PocContractInterface *PocContractInterfaceTransactorRaw) 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 PocContractInterfaceTransactorSession ¶
type PocContractInterfaceTransactorSession struct { Contract *PocContractInterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PocContractInterfaceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around a Klaytn contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Klaytn contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.