Documentation ¶
Index ¶
- Constants
- Variables
- type Contract
- type ContractAdvanceEpochs
- type ContractAdvanceEpochsIterator
- type ContractCaller
- type ContractCallerRaw
- type ContractCallerSession
- type ContractFilterer
- func (_Contract *ContractFilterer) FilterAdvanceEpochs(opts *bind.FilterOpts) (*ContractAdvanceEpochsIterator, error)
- func (_Contract *ContractFilterer) FilterUpdateNetworkRules(opts *bind.FilterOpts) (*ContractUpdateNetworkRulesIterator, error)
- func (_Contract *ContractFilterer) FilterUpdateNetworkVersion(opts *bind.FilterOpts) (*ContractUpdateNetworkVersionIterator, error)
- func (_Contract *ContractFilterer) FilterUpdateValidatorPubkey(opts *bind.FilterOpts, validatorID []*big.Int) (*ContractUpdateValidatorPubkeyIterator, error)
- func (_Contract *ContractFilterer) FilterUpdateValidatorWeight(opts *bind.FilterOpts, validatorID []*big.Int) (*ContractUpdateValidatorWeightIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedBackend(opts *bind.FilterOpts, backend []common.Address) (*ContractUpdatedBackendIterator, error)
- func (_Contract *ContractFilterer) ParseAdvanceEpochs(log types.Log) (*ContractAdvanceEpochs, error)
- func (_Contract *ContractFilterer) ParseUpdateNetworkRules(log types.Log) (*ContractUpdateNetworkRules, error)
- func (_Contract *ContractFilterer) ParseUpdateNetworkVersion(log types.Log) (*ContractUpdateNetworkVersion, error)
- func (_Contract *ContractFilterer) ParseUpdateValidatorPubkey(log types.Log) (*ContractUpdateValidatorPubkey, error)
- func (_Contract *ContractFilterer) ParseUpdateValidatorWeight(log types.Log) (*ContractUpdateValidatorWeight, error)
- func (_Contract *ContractFilterer) ParseUpdatedBackend(log types.Log) (*ContractUpdatedBackend, error)
- func (_Contract *ContractFilterer) WatchAdvanceEpochs(opts *bind.WatchOpts, sink chan<- *ContractAdvanceEpochs) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdateNetworkRules(opts *bind.WatchOpts, sink chan<- *ContractUpdateNetworkRules) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdateNetworkVersion(opts *bind.WatchOpts, sink chan<- *ContractUpdateNetworkVersion) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdateValidatorPubkey(opts *bind.WatchOpts, sink chan<- *ContractUpdateValidatorPubkey, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdateValidatorWeight(opts *bind.WatchOpts, sink chan<- *ContractUpdateValidatorWeight, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedBackend(opts *bind.WatchOpts, sink chan<- *ContractUpdatedBackend, ...) (event.Subscription, error)
- type ContractRaw
- func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractSession
- func (_Contract *ContractSession) AdvanceEpochs(num *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) CopyCode(acc common.Address, from common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) DeactivateValidator(validatorID *big.Int, status *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) Initialize(_backend common.Address, _evmWriterAddress common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) SealEpoch(offlineTimes []*big.Int, offlineBlocks []*big.Int, uptimes []*big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractSession) SealEpochValidators(nextValidatorIDs []*big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) SetBackend(_backend common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) SetBalance(acc common.Address, value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) SetGenesisDelegation(delegator common.Address, toValidatorID *big.Int, stake *big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractSession) SetGenesisValidator(_auth common.Address, validatorID *big.Int, pubkey []byte, status *big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractSession) SetStorage(acc common.Address, key [32]byte, value [32]byte) (*types.Transaction, error)
- func (_Contract *ContractSession) SwapCode(acc common.Address, with common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateNetworkRules(diff []byte) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateNetworkVersion(version *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateValidatorPubkey(validatorID *big.Int, pubkey []byte) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateValidatorWeight(validatorID *big.Int, value *big.Int) (*types.Transaction, error)
- type ContractTransactor
- func (_Contract *ContractTransactor) AdvanceEpochs(opts *bind.TransactOpts, num *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) CopyCode(opts *bind.TransactOpts, acc common.Address, from common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) DeactivateValidator(opts *bind.TransactOpts, validatorID *big.Int, status *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, _backend common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SealEpoch(opts *bind.TransactOpts, offlineTimes []*big.Int, offlineBlocks []*big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SealEpochValidators(opts *bind.TransactOpts, nextValidatorIDs []*big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetBackend(opts *bind.TransactOpts, _backend common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetBalance(opts *bind.TransactOpts, acc common.Address, value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetGenesisDelegation(opts *bind.TransactOpts, delegator common.Address, toValidatorID *big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetGenesisValidator(opts *bind.TransactOpts, _auth common.Address, validatorID *big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetStorage(opts *bind.TransactOpts, acc common.Address, key [32]byte, value [32]byte) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SwapCode(opts *bind.TransactOpts, acc common.Address, with common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateNetworkRules(opts *bind.TransactOpts, diff []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateNetworkVersion(opts *bind.TransactOpts, version *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateValidatorPubkey(opts *bind.TransactOpts, validatorID *big.Int, pubkey []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateValidatorWeight(opts *bind.TransactOpts, validatorID *big.Int, value *big.Int) (*types.Transaction, error)
- type ContractTransactorRaw
- type ContractTransactorSession
- func (_Contract *ContractTransactorSession) AdvanceEpochs(num *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) CopyCode(acc common.Address, from common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) DeactivateValidator(validatorID *big.Int, status *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Initialize(_backend common.Address, _evmWriterAddress common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SealEpoch(offlineTimes []*big.Int, offlineBlocks []*big.Int, uptimes []*big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SealEpochValidators(nextValidatorIDs []*big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetBackend(_backend common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetBalance(acc common.Address, value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetGenesisDelegation(delegator common.Address, toValidatorID *big.Int, stake *big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetGenesisValidator(_auth common.Address, validatorID *big.Int, pubkey []byte, status *big.Int, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetStorage(acc common.Address, key [32]byte, value [32]byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SwapCode(acc common.Address, with common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateNetworkRules(diff []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateNetworkVersion(version *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateValidatorPubkey(validatorID *big.Int, pubkey []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateValidatorWeight(validatorID *big.Int, value *big.Int) (*types.Transaction, error)
- type ContractUpdateNetworkRules
- type ContractUpdateNetworkRulesIterator
- type ContractUpdateNetworkVersion
- type ContractUpdateNetworkVersionIterator
- type ContractUpdateValidatorPubkey
- type ContractUpdateValidatorPubkeyIterator
- type ContractUpdateValidatorWeight
- type ContractUpdateValidatorWeightIterator
- type ContractUpdatedBackend
- type ContractUpdatedBackendIterator
Constants ¶
const ContractABI = "" /* 6902-byte string literal not displayed */
ContractABI is the input ABI used to generate the binding from.
Variables ¶
var ContractBin = "" /* 12156-byte string literal not displayed */
ContractBin is the compiled bytecode used for deploying new contracts.
var ContractBinRuntime = "" /* 12092-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ContractCaller // Read-only binding to the contract ContractTransactor // Write-only binding to the contract ContractFilterer // Log filterer for contract events }
Contract is an auto generated Go binding around an Ethereum contract.
func DeployContract ¶
func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contract, error)
DeployContract deploys a new Ethereum contract, binding an instance of Contract to it.
func NewContract ¶
NewContract creates a new instance of Contract, bound to a specific deployed contract.
type ContractAdvanceEpochs ¶
type ContractAdvanceEpochs struct { Num *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractAdvanceEpochs represents a AdvanceEpochs event raised by the Contract contract.
type ContractAdvanceEpochsIterator ¶
type ContractAdvanceEpochsIterator struct { Event *ContractAdvanceEpochs // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractAdvanceEpochsIterator is returned from FilterAdvanceEpochs and is used to iterate over the raw logs and unpacked data for AdvanceEpochs events raised by the Contract contract.
func (*ContractAdvanceEpochsIterator) Close ¶
func (it *ContractAdvanceEpochsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractAdvanceEpochsIterator) Error ¶
func (it *ContractAdvanceEpochsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractAdvanceEpochsIterator) Next ¶
func (it *ContractAdvanceEpochsIterator) 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 ContractCaller ¶
type ContractCaller struct {
// contains filtered or unexported fields
}
ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractCaller ¶
func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)
NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.
type ContractCallerRaw ¶
type ContractCallerRaw struct {
Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}
ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractCallerRaw) Call ¶
func (_Contract *ContractCallerRaw) 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 ContractCallerSession ¶
type ContractCallerSession struct { Contract *ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContractFilterer ¶
type ContractFilterer struct {
// contains filtered or unexported fields
}
ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractFilterer ¶
func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)
NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.
func (*ContractFilterer) FilterAdvanceEpochs ¶
func (_Contract *ContractFilterer) FilterAdvanceEpochs(opts *bind.FilterOpts) (*ContractAdvanceEpochsIterator, error)
FilterAdvanceEpochs is a free log retrieval zilionixxtion binding the contract event 0x0151256d62457b809bbc891b1f81c6dd0b9987552c70ce915b519750cd434dd1.
Solidity: event AdvanceEpochs(uint256 num)
func (*ContractFilterer) FilterUpdateNetworkRules ¶
func (_Contract *ContractFilterer) FilterUpdateNetworkRules(opts *bind.FilterOpts) (*ContractUpdateNetworkRulesIterator, error)
FilterUpdateNetworkRules is a free log retrieval zilionixxtion binding the contract event 0x47d10eed096a44e3d0abc586c7e3a5d6cb5358cc90e7d437cd0627f7e765fb99.
Solidity: event UpdateNetworkRules(bytes diff)
func (*ContractFilterer) FilterUpdateNetworkVersion ¶
func (_Contract *ContractFilterer) FilterUpdateNetworkVersion(opts *bind.FilterOpts) (*ContractUpdateNetworkVersionIterator, error)
FilterUpdateNetworkVersion is a free log retrieval zilionixxtion binding the contract event 0x2ccdfd47cf0c1f1069d949f1789bb79b2f12821f021634fc835af1de66ea2feb.
Solidity: event UpdateNetworkVersion(uint256 version)
func (*ContractFilterer) FilterUpdateValidatorPubkey ¶
func (_Contract *ContractFilterer) FilterUpdateValidatorPubkey(opts *bind.FilterOpts, validatorID []*big.Int) (*ContractUpdateValidatorPubkeyIterator, error)
FilterUpdateValidatorPubkey is a free log retrieval zilionixxtion binding the contract event 0x0f0ef1ab97439def0a9d2c6d9dc166207f1b13b99e62b442b2993d6153c63a6e.
Solidity: event UpdateValidatorPubkey(uint256 indexed validatorID, bytes pubkey)
func (*ContractFilterer) FilterUpdateValidatorWeight ¶
func (_Contract *ContractFilterer) FilterUpdateValidatorWeight(opts *bind.FilterOpts, validatorID []*big.Int) (*ContractUpdateValidatorWeightIterator, error)
FilterUpdateValidatorWeight is a free log retrieval zilionixxtion binding the contract event 0xb975807576e3b1461be7de07ebf7d20e4790ed802d7a0c4fdd0a1a13df72a935.
Solidity: event UpdateValidatorWeight(uint256 indexed validatorID, uint256 weight)
func (*ContractFilterer) FilterUpdatedBackend ¶
func (_Contract *ContractFilterer) FilterUpdatedBackend(opts *bind.FilterOpts, backend []common.Address) (*ContractUpdatedBackendIterator, error)
FilterUpdatedBackend is a free log retrieval zilionixxtion binding the contract event 0x64ee8f7bfc37fc205d7194ee3d64947ab7b57e663cd0d1abd3ef245035830693.
Solidity: event UpdatedBackend(address indexed backend)
func (*ContractFilterer) ParseAdvanceEpochs ¶
func (_Contract *ContractFilterer) ParseAdvanceEpochs(log types.Log) (*ContractAdvanceEpochs, error)
ParseAdvanceEpochs is a log parse zilionixxtion binding the contract event 0x0151256d62457b809bbc891b1f81c6dd0b9987552c70ce915b519750cd434dd1.
Solidity: event AdvanceEpochs(uint256 num)
func (*ContractFilterer) ParseUpdateNetworkRules ¶
func (_Contract *ContractFilterer) ParseUpdateNetworkRules(log types.Log) (*ContractUpdateNetworkRules, error)
ParseUpdateNetworkRules is a log parse zilionixxtion binding the contract event 0x47d10eed096a44e3d0abc586c7e3a5d6cb5358cc90e7d437cd0627f7e765fb99.
Solidity: event UpdateNetworkRules(bytes diff)
func (*ContractFilterer) ParseUpdateNetworkVersion ¶
func (_Contract *ContractFilterer) ParseUpdateNetworkVersion(log types.Log) (*ContractUpdateNetworkVersion, error)
ParseUpdateNetworkVersion is a log parse zilionixxtion binding the contract event 0x2ccdfd47cf0c1f1069d949f1789bb79b2f12821f021634fc835af1de66ea2feb.
Solidity: event UpdateNetworkVersion(uint256 version)
func (*ContractFilterer) ParseUpdateValidatorPubkey ¶
func (_Contract *ContractFilterer) ParseUpdateValidatorPubkey(log types.Log) (*ContractUpdateValidatorPubkey, error)
ParseUpdateValidatorPubkey is a log parse zilionixxtion binding the contract event 0x0f0ef1ab97439def0a9d2c6d9dc166207f1b13b99e62b442b2993d6153c63a6e.
Solidity: event UpdateValidatorPubkey(uint256 indexed validatorID, bytes pubkey)
func (*ContractFilterer) ParseUpdateValidatorWeight ¶
func (_Contract *ContractFilterer) ParseUpdateValidatorWeight(log types.Log) (*ContractUpdateValidatorWeight, error)
ParseUpdateValidatorWeight is a log parse zilionixxtion binding the contract event 0xb975807576e3b1461be7de07ebf7d20e4790ed802d7a0c4fdd0a1a13df72a935.
Solidity: event UpdateValidatorWeight(uint256 indexed validatorID, uint256 weight)
func (*ContractFilterer) ParseUpdatedBackend ¶
func (_Contract *ContractFilterer) ParseUpdatedBackend(log types.Log) (*ContractUpdatedBackend, error)
ParseUpdatedBackend is a log parse zilionixxtion binding the contract event 0x64ee8f7bfc37fc205d7194ee3d64947ab7b57e663cd0d1abd3ef245035830693.
Solidity: event UpdatedBackend(address indexed backend)
func (*ContractFilterer) WatchAdvanceEpochs ¶
func (_Contract *ContractFilterer) WatchAdvanceEpochs(opts *bind.WatchOpts, sink chan<- *ContractAdvanceEpochs) (event.Subscription, error)
WatchAdvanceEpochs is a free log subscription zilionixxtion binding the contract event 0x0151256d62457b809bbc891b1f81c6dd0b9987552c70ce915b519750cd434dd1.
Solidity: event AdvanceEpochs(uint256 num)
func (*ContractFilterer) WatchUpdateNetworkRules ¶
func (_Contract *ContractFilterer) WatchUpdateNetworkRules(opts *bind.WatchOpts, sink chan<- *ContractUpdateNetworkRules) (event.Subscription, error)
WatchUpdateNetworkRules is a free log subscription zilionixxtion binding the contract event 0x47d10eed096a44e3d0abc586c7e3a5d6cb5358cc90e7d437cd0627f7e765fb99.
Solidity: event UpdateNetworkRules(bytes diff)
func (*ContractFilterer) WatchUpdateNetworkVersion ¶
func (_Contract *ContractFilterer) WatchUpdateNetworkVersion(opts *bind.WatchOpts, sink chan<- *ContractUpdateNetworkVersion) (event.Subscription, error)
WatchUpdateNetworkVersion is a free log subscription zilionixxtion binding the contract event 0x2ccdfd47cf0c1f1069d949f1789bb79b2f12821f021634fc835af1de66ea2feb.
Solidity: event UpdateNetworkVersion(uint256 version)
func (*ContractFilterer) WatchUpdateValidatorPubkey ¶
func (_Contract *ContractFilterer) WatchUpdateValidatorPubkey(opts *bind.WatchOpts, sink chan<- *ContractUpdateValidatorPubkey, validatorID []*big.Int) (event.Subscription, error)
WatchUpdateValidatorPubkey is a free log subscription zilionixxtion binding the contract event 0x0f0ef1ab97439def0a9d2c6d9dc166207f1b13b99e62b442b2993d6153c63a6e.
Solidity: event UpdateValidatorPubkey(uint256 indexed validatorID, bytes pubkey)
func (*ContractFilterer) WatchUpdateValidatorWeight ¶
func (_Contract *ContractFilterer) WatchUpdateValidatorWeight(opts *bind.WatchOpts, sink chan<- *ContractUpdateValidatorWeight, validatorID []*big.Int) (event.Subscription, error)
WatchUpdateValidatorWeight is a free log subscription zilionixxtion binding the contract event 0xb975807576e3b1461be7de07ebf7d20e4790ed802d7a0c4fdd0a1a13df72a935.
Solidity: event UpdateValidatorWeight(uint256 indexed validatorID, uint256 weight)
func (*ContractFilterer) WatchUpdatedBackend ¶
func (_Contract *ContractFilterer) WatchUpdatedBackend(opts *bind.WatchOpts, sink chan<- *ContractUpdatedBackend, backend []common.Address) (event.Subscription, error)
WatchUpdatedBackend is a free log subscription zilionixxtion binding the contract event 0x64ee8f7bfc37fc205d7194ee3d64947ab7b57e663cd0d1abd3ef245035830693.
Solidity: event UpdatedBackend(address indexed backend)
type ContractRaw ¶
type ContractRaw struct {
Contract *Contract // Generic contract binding to access the raw methods on
}
ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractRaw) Call ¶
func (_Contract *ContractRaw) 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 (*ContractRaw) Transact ¶
func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractRaw) Transfer ¶
func (_Contract *ContractRaw) 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 ContractSession ¶
type ContractSession struct { Contract *Contract // 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 }
ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractSession) AdvanceEpochs ¶
func (_Contract *ContractSession) AdvanceEpochs(num *big.Int) (*types.Transaction, error)
AdvanceEpochs is a paid mutator transaction binding the contract method 0x0aeeca00.
Solidity: function advanceEpochs(uint256 num) returns()
func (*ContractSession) CopyCode ¶
func (_Contract *ContractSession) CopyCode(acc common.Address, from common.Address) (*types.Transaction, error)
CopyCode is a paid mutator transaction binding the contract method 0xd6a0c7af.
Solidity: function copyCode(address acc, address from) returns()
func (*ContractSession) DeactivateValidator ¶
func (_Contract *ContractSession) DeactivateValidator(validatorID *big.Int, status *big.Int) (*types.Transaction, error)
DeactivateValidator is a paid mutator transaction binding the contract method 0x1e702f83.
Solidity: function deactivateValidator(uint256 validatorID, uint256 status) returns()
func (*ContractSession) Initialize ¶
func (_Contract *ContractSession) Initialize(_backend common.Address, _evmWriterAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _backend, address _evmWriterAddress) returns()
func (*ContractSession) SealEpoch ¶
func (_Contract *ContractSession) SealEpoch(offlineTimes []*big.Int, offlineBlocks []*big.Int, uptimes []*big.Int, originatedTxsFee []*big.Int) (*types.Transaction, error)
SealEpoch is a paid mutator transaction binding the contract method 0xebdf104c.
Solidity: function sealEpoch(uint256[] offlineTimes, uint256[] offlineBlocks, uint256[] uptimes, uint256[] originatedTxsFee) returns()
func (*ContractSession) SealEpochValidators ¶
func (_Contract *ContractSession) SealEpochValidators(nextValidatorIDs []*big.Int) (*types.Transaction, error)
SealEpochValidators is a paid mutator transaction binding the contract method 0xe08d7e66.
Solidity: function sealEpochValidators(uint256[] nextValidatorIDs) returns()
func (*ContractSession) SetBackend ¶
func (_Contract *ContractSession) SetBackend(_backend common.Address) (*types.Transaction, error)
SetBackend is a paid mutator transaction binding the contract method 0xda7fc24f.
Solidity: function setBackend(address _backend) returns()
func (*ContractSession) SetBalance ¶
func (_Contract *ContractSession) SetBalance(acc common.Address, value *big.Int) (*types.Transaction, error)
SetBalance is a paid mutator transaction binding the contract method 0xe30443bc.
Solidity: function setBalance(address acc, uint256 value) returns()
func (*ContractSession) SetGenesisDelegation ¶
func (_Contract *ContractSession) SetGenesisDelegation(delegator common.Address, toValidatorID *big.Int, stake *big.Int, lockedStake *big.Int, lockupFromEpoch *big.Int, lockupEndTime *big.Int, lockupDuration *big.Int, earlyUnlockPenalty *big.Int, rewards *big.Int) (*types.Transaction, error)
SetGenesisDelegation is a paid mutator transaction binding the contract method 0x18f628d4.
Solidity: function setGenesisDelegation(address delegator, uint256 toValidatorID, uint256 stake, uint256 lockedStake, uint256 lockupFromEpoch, uint256 lockupEndTime, uint256 lockupDuration, uint256 earlyUnlockPenalty, uint256 rewards) returns()
func (*ContractSession) SetGenesisValidator ¶
func (_Contract *ContractSession) SetGenesisValidator(_auth common.Address, validatorID *big.Int, pubkey []byte, status *big.Int, createdEpoch *big.Int, createdTime *big.Int, deactivatedEpoch *big.Int, deactivatedTime *big.Int) (*types.Transaction, error)
SetGenesisValidator is a paid mutator transaction binding the contract method 0x4feb92f3.
Solidity: function setGenesisValidator(address _auth, uint256 validatorID, bytes pubkey, uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime) returns()
func (*ContractSession) SetStorage ¶
func (_Contract *ContractSession) SetStorage(acc common.Address, key [32]byte, value [32]byte) (*types.Transaction, error)
SetStorage is a paid mutator transaction binding the contract method 0x39e503ab.
Solidity: function setStorage(address acc, bytes32 key, bytes32 value) returns()
func (*ContractSession) SwapCode ¶
func (_Contract *ContractSession) SwapCode(acc common.Address, with common.Address) (*types.Transaction, error)
SwapCode is a paid mutator transaction binding the contract method 0x07690b2a.
Solidity: function swapCode(address acc, address with) returns()
func (*ContractSession) UpdateNetworkRules ¶
func (_Contract *ContractSession) UpdateNetworkRules(diff []byte) (*types.Transaction, error)
UpdateNetworkRules is a paid mutator transaction binding the contract method 0xb9cc6b1c.
Solidity: function updateNetworkRules(bytes diff) returns()
func (*ContractSession) UpdateNetworkVersion ¶
func (_Contract *ContractSession) UpdateNetworkVersion(version *big.Int) (*types.Transaction, error)
UpdateNetworkVersion is a paid mutator transaction binding the contract method 0x267ab446.
Solidity: function updateNetworkVersion(uint256 version) returns()
func (*ContractSession) UpdateValidatorPubkey ¶
func (_Contract *ContractSession) UpdateValidatorPubkey(validatorID *big.Int, pubkey []byte) (*types.Transaction, error)
UpdateValidatorPubkey is a paid mutator transaction binding the contract method 0x242a6e3f.
Solidity: function updateValidatorPubkey(uint256 validatorID, bytes pubkey) returns()
func (*ContractSession) UpdateValidatorWeight ¶
func (_Contract *ContractSession) UpdateValidatorWeight(validatorID *big.Int, value *big.Int) (*types.Transaction, error)
UpdateValidatorWeight is a paid mutator transaction binding the contract method 0xa4066fbe.
Solidity: function updateValidatorWeight(uint256 validatorID, uint256 value) returns()
type ContractTransactor ¶
type ContractTransactor struct {
// contains filtered or unexported fields
}
ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTransactor ¶
func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)
NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.
func (*ContractTransactor) AdvanceEpochs ¶
func (_Contract *ContractTransactor) AdvanceEpochs(opts *bind.TransactOpts, num *big.Int) (*types.Transaction, error)
AdvanceEpochs is a paid mutator transaction binding the contract method 0x0aeeca00.
Solidity: function advanceEpochs(uint256 num) returns()
func (*ContractTransactor) CopyCode ¶
func (_Contract *ContractTransactor) CopyCode(opts *bind.TransactOpts, acc common.Address, from common.Address) (*types.Transaction, error)
CopyCode is a paid mutator transaction binding the contract method 0xd6a0c7af.
Solidity: function copyCode(address acc, address from) returns()
func (*ContractTransactor) DeactivateValidator ¶
func (_Contract *ContractTransactor) DeactivateValidator(opts *bind.TransactOpts, validatorID *big.Int, status *big.Int) (*types.Transaction, error)
DeactivateValidator is a paid mutator transaction binding the contract method 0x1e702f83.
Solidity: function deactivateValidator(uint256 validatorID, uint256 status) returns()
func (*ContractTransactor) Initialize ¶
func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, _backend common.Address, _evmWriterAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _backend, address _evmWriterAddress) returns()
func (*ContractTransactor) SealEpoch ¶
func (_Contract *ContractTransactor) SealEpoch(opts *bind.TransactOpts, offlineTimes []*big.Int, offlineBlocks []*big.Int, uptimes []*big.Int, originatedTxsFee []*big.Int) (*types.Transaction, error)
SealEpoch is a paid mutator transaction binding the contract method 0xebdf104c.
Solidity: function sealEpoch(uint256[] offlineTimes, uint256[] offlineBlocks, uint256[] uptimes, uint256[] originatedTxsFee) returns()
func (*ContractTransactor) SealEpochValidators ¶
func (_Contract *ContractTransactor) SealEpochValidators(opts *bind.TransactOpts, nextValidatorIDs []*big.Int) (*types.Transaction, error)
SealEpochValidators is a paid mutator transaction binding the contract method 0xe08d7e66.
Solidity: function sealEpochValidators(uint256[] nextValidatorIDs) returns()
func (*ContractTransactor) SetBackend ¶
func (_Contract *ContractTransactor) SetBackend(opts *bind.TransactOpts, _backend common.Address) (*types.Transaction, error)
SetBackend is a paid mutator transaction binding the contract method 0xda7fc24f.
Solidity: function setBackend(address _backend) returns()
func (*ContractTransactor) SetBalance ¶
func (_Contract *ContractTransactor) SetBalance(opts *bind.TransactOpts, acc common.Address, value *big.Int) (*types.Transaction, error)
SetBalance is a paid mutator transaction binding the contract method 0xe30443bc.
Solidity: function setBalance(address acc, uint256 value) returns()
func (*ContractTransactor) SetGenesisDelegation ¶
func (_Contract *ContractTransactor) SetGenesisDelegation(opts *bind.TransactOpts, delegator common.Address, toValidatorID *big.Int, stake *big.Int, lockedStake *big.Int, lockupFromEpoch *big.Int, lockupEndTime *big.Int, lockupDuration *big.Int, earlyUnlockPenalty *big.Int, rewards *big.Int) (*types.Transaction, error)
SetGenesisDelegation is a paid mutator transaction binding the contract method 0x18f628d4.
Solidity: function setGenesisDelegation(address delegator, uint256 toValidatorID, uint256 stake, uint256 lockedStake, uint256 lockupFromEpoch, uint256 lockupEndTime, uint256 lockupDuration, uint256 earlyUnlockPenalty, uint256 rewards) returns()
func (*ContractTransactor) SetGenesisValidator ¶
func (_Contract *ContractTransactor) SetGenesisValidator(opts *bind.TransactOpts, _auth common.Address, validatorID *big.Int, pubkey []byte, status *big.Int, createdEpoch *big.Int, createdTime *big.Int, deactivatedEpoch *big.Int, deactivatedTime *big.Int) (*types.Transaction, error)
SetGenesisValidator is a paid mutator transaction binding the contract method 0x4feb92f3.
Solidity: function setGenesisValidator(address _auth, uint256 validatorID, bytes pubkey, uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime) returns()
func (*ContractTransactor) SetStorage ¶
func (_Contract *ContractTransactor) SetStorage(opts *bind.TransactOpts, acc common.Address, key [32]byte, value [32]byte) (*types.Transaction, error)
SetStorage is a paid mutator transaction binding the contract method 0x39e503ab.
Solidity: function setStorage(address acc, bytes32 key, bytes32 value) returns()
func (*ContractTransactor) SwapCode ¶
func (_Contract *ContractTransactor) SwapCode(opts *bind.TransactOpts, acc common.Address, with common.Address) (*types.Transaction, error)
SwapCode is a paid mutator transaction binding the contract method 0x07690b2a.
Solidity: function swapCode(address acc, address with) returns()
func (*ContractTransactor) UpdateNetworkRules ¶
func (_Contract *ContractTransactor) UpdateNetworkRules(opts *bind.TransactOpts, diff []byte) (*types.Transaction, error)
UpdateNetworkRules is a paid mutator transaction binding the contract method 0xb9cc6b1c.
Solidity: function updateNetworkRules(bytes diff) returns()
func (*ContractTransactor) UpdateNetworkVersion ¶
func (_Contract *ContractTransactor) UpdateNetworkVersion(opts *bind.TransactOpts, version *big.Int) (*types.Transaction, error)
UpdateNetworkVersion is a paid mutator transaction binding the contract method 0x267ab446.
Solidity: function updateNetworkVersion(uint256 version) returns()
func (*ContractTransactor) UpdateValidatorPubkey ¶
func (_Contract *ContractTransactor) UpdateValidatorPubkey(opts *bind.TransactOpts, validatorID *big.Int, pubkey []byte) (*types.Transaction, error)
UpdateValidatorPubkey is a paid mutator transaction binding the contract method 0x242a6e3f.
Solidity: function updateValidatorPubkey(uint256 validatorID, bytes pubkey) returns()
func (*ContractTransactor) UpdateValidatorWeight ¶
func (_Contract *ContractTransactor) UpdateValidatorWeight(opts *bind.TransactOpts, validatorID *big.Int, value *big.Int) (*types.Transaction, error)
UpdateValidatorWeight is a paid mutator transaction binding the contract method 0xa4066fbe.
Solidity: function updateValidatorWeight(uint256 validatorID, uint256 value) returns()
type ContractTransactorRaw ¶
type ContractTransactorRaw struct {
Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTransactorRaw) Transact ¶
func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTransactorRaw) Transfer ¶
func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession ¶
type ContractTransactorSession struct { Contract *ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTransactorSession) AdvanceEpochs ¶
func (_Contract *ContractTransactorSession) AdvanceEpochs(num *big.Int) (*types.Transaction, error)
AdvanceEpochs is a paid mutator transaction binding the contract method 0x0aeeca00.
Solidity: function advanceEpochs(uint256 num) returns()
func (*ContractTransactorSession) CopyCode ¶
func (_Contract *ContractTransactorSession) CopyCode(acc common.Address, from common.Address) (*types.Transaction, error)
CopyCode is a paid mutator transaction binding the contract method 0xd6a0c7af.
Solidity: function copyCode(address acc, address from) returns()
func (*ContractTransactorSession) DeactivateValidator ¶
func (_Contract *ContractTransactorSession) DeactivateValidator(validatorID *big.Int, status *big.Int) (*types.Transaction, error)
DeactivateValidator is a paid mutator transaction binding the contract method 0x1e702f83.
Solidity: function deactivateValidator(uint256 validatorID, uint256 status) returns()
func (*ContractTransactorSession) Initialize ¶
func (_Contract *ContractTransactorSession) Initialize(_backend common.Address, _evmWriterAddress common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _backend, address _evmWriterAddress) returns()
func (*ContractTransactorSession) SealEpoch ¶
func (_Contract *ContractTransactorSession) SealEpoch(offlineTimes []*big.Int, offlineBlocks []*big.Int, uptimes []*big.Int, originatedTxsFee []*big.Int) (*types.Transaction, error)
SealEpoch is a paid mutator transaction binding the contract method 0xebdf104c.
Solidity: function sealEpoch(uint256[] offlineTimes, uint256[] offlineBlocks, uint256[] uptimes, uint256[] originatedTxsFee) returns()
func (*ContractTransactorSession) SealEpochValidators ¶
func (_Contract *ContractTransactorSession) SealEpochValidators(nextValidatorIDs []*big.Int) (*types.Transaction, error)
SealEpochValidators is a paid mutator transaction binding the contract method 0xe08d7e66.
Solidity: function sealEpochValidators(uint256[] nextValidatorIDs) returns()
func (*ContractTransactorSession) SetBackend ¶
func (_Contract *ContractTransactorSession) SetBackend(_backend common.Address) (*types.Transaction, error)
SetBackend is a paid mutator transaction binding the contract method 0xda7fc24f.
Solidity: function setBackend(address _backend) returns()
func (*ContractTransactorSession) SetBalance ¶
func (_Contract *ContractTransactorSession) SetBalance(acc common.Address, value *big.Int) (*types.Transaction, error)
SetBalance is a paid mutator transaction binding the contract method 0xe30443bc.
Solidity: function setBalance(address acc, uint256 value) returns()
func (*ContractTransactorSession) SetGenesisDelegation ¶
func (_Contract *ContractTransactorSession) SetGenesisDelegation(delegator common.Address, toValidatorID *big.Int, stake *big.Int, lockedStake *big.Int, lockupFromEpoch *big.Int, lockupEndTime *big.Int, lockupDuration *big.Int, earlyUnlockPenalty *big.Int, rewards *big.Int) (*types.Transaction, error)
SetGenesisDelegation is a paid mutator transaction binding the contract method 0x18f628d4.
Solidity: function setGenesisDelegation(address delegator, uint256 toValidatorID, uint256 stake, uint256 lockedStake, uint256 lockupFromEpoch, uint256 lockupEndTime, uint256 lockupDuration, uint256 earlyUnlockPenalty, uint256 rewards) returns()
func (*ContractTransactorSession) SetGenesisValidator ¶
func (_Contract *ContractTransactorSession) SetGenesisValidator(_auth common.Address, validatorID *big.Int, pubkey []byte, status *big.Int, createdEpoch *big.Int, createdTime *big.Int, deactivatedEpoch *big.Int, deactivatedTime *big.Int) (*types.Transaction, error)
SetGenesisValidator is a paid mutator transaction binding the contract method 0x4feb92f3.
Solidity: function setGenesisValidator(address _auth, uint256 validatorID, bytes pubkey, uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime) returns()
func (*ContractTransactorSession) SetStorage ¶
func (_Contract *ContractTransactorSession) SetStorage(acc common.Address, key [32]byte, value [32]byte) (*types.Transaction, error)
SetStorage is a paid mutator transaction binding the contract method 0x39e503ab.
Solidity: function setStorage(address acc, bytes32 key, bytes32 value) returns()
func (*ContractTransactorSession) SwapCode ¶
func (_Contract *ContractTransactorSession) SwapCode(acc common.Address, with common.Address) (*types.Transaction, error)
SwapCode is a paid mutator transaction binding the contract method 0x07690b2a.
Solidity: function swapCode(address acc, address with) returns()
func (*ContractTransactorSession) UpdateNetworkRules ¶
func (_Contract *ContractTransactorSession) UpdateNetworkRules(diff []byte) (*types.Transaction, error)
UpdateNetworkRules is a paid mutator transaction binding the contract method 0xb9cc6b1c.
Solidity: function updateNetworkRules(bytes diff) returns()
func (*ContractTransactorSession) UpdateNetworkVersion ¶
func (_Contract *ContractTransactorSession) UpdateNetworkVersion(version *big.Int) (*types.Transaction, error)
UpdateNetworkVersion is a paid mutator transaction binding the contract method 0x267ab446.
Solidity: function updateNetworkVersion(uint256 version) returns()
func (*ContractTransactorSession) UpdateValidatorPubkey ¶
func (_Contract *ContractTransactorSession) UpdateValidatorPubkey(validatorID *big.Int, pubkey []byte) (*types.Transaction, error)
UpdateValidatorPubkey is a paid mutator transaction binding the contract method 0x242a6e3f.
Solidity: function updateValidatorPubkey(uint256 validatorID, bytes pubkey) returns()
func (*ContractTransactorSession) UpdateValidatorWeight ¶
func (_Contract *ContractTransactorSession) UpdateValidatorWeight(validatorID *big.Int, value *big.Int) (*types.Transaction, error)
UpdateValidatorWeight is a paid mutator transaction binding the contract method 0xa4066fbe.
Solidity: function updateValidatorWeight(uint256 validatorID, uint256 value) returns()
type ContractUpdateNetworkRules ¶
type ContractUpdateNetworkRules struct { Diff []byte Raw types.Log // Blockchain specific contextual infos }
ContractUpdateNetworkRules represents a UpdateNetworkRules event raised by the Contract contract.
type ContractUpdateNetworkRulesIterator ¶
type ContractUpdateNetworkRulesIterator struct { Event *ContractUpdateNetworkRules // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdateNetworkRulesIterator is returned from FilterUpdateNetworkRules and is used to iterate over the raw logs and unpacked data for UpdateNetworkRules events raised by the Contract contract.
func (*ContractUpdateNetworkRulesIterator) Close ¶
func (it *ContractUpdateNetworkRulesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdateNetworkRulesIterator) Error ¶
func (it *ContractUpdateNetworkRulesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdateNetworkRulesIterator) Next ¶
func (it *ContractUpdateNetworkRulesIterator) 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 ContractUpdateNetworkVersion ¶
type ContractUpdateNetworkVersion struct { Version *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdateNetworkVersion represents a UpdateNetworkVersion event raised by the Contract contract.
type ContractUpdateNetworkVersionIterator ¶
type ContractUpdateNetworkVersionIterator struct { Event *ContractUpdateNetworkVersion // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdateNetworkVersionIterator is returned from FilterUpdateNetworkVersion and is used to iterate over the raw logs and unpacked data for UpdateNetworkVersion events raised by the Contract contract.
func (*ContractUpdateNetworkVersionIterator) Close ¶
func (it *ContractUpdateNetworkVersionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdateNetworkVersionIterator) Error ¶
func (it *ContractUpdateNetworkVersionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdateNetworkVersionIterator) Next ¶
func (it *ContractUpdateNetworkVersionIterator) 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 ContractUpdateValidatorPubkey ¶
type ContractUpdateValidatorPubkey struct { ValidatorID *big.Int Pubkey []byte Raw types.Log // Blockchain specific contextual infos }
ContractUpdateValidatorPubkey represents a UpdateValidatorPubkey event raised by the Contract contract.
type ContractUpdateValidatorPubkeyIterator ¶
type ContractUpdateValidatorPubkeyIterator struct { Event *ContractUpdateValidatorPubkey // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdateValidatorPubkeyIterator is returned from FilterUpdateValidatorPubkey and is used to iterate over the raw logs and unpacked data for UpdateValidatorPubkey events raised by the Contract contract.
func (*ContractUpdateValidatorPubkeyIterator) Close ¶
func (it *ContractUpdateValidatorPubkeyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdateValidatorPubkeyIterator) Error ¶
func (it *ContractUpdateValidatorPubkeyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdateValidatorPubkeyIterator) Next ¶
func (it *ContractUpdateValidatorPubkeyIterator) 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 ContractUpdateValidatorWeight ¶
type ContractUpdateValidatorWeight struct { ValidatorID *big.Int Weight *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdateValidatorWeight represents a UpdateValidatorWeight event raised by the Contract contract.
type ContractUpdateValidatorWeightIterator ¶
type ContractUpdateValidatorWeightIterator struct { Event *ContractUpdateValidatorWeight // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdateValidatorWeightIterator is returned from FilterUpdateValidatorWeight and is used to iterate over the raw logs and unpacked data for UpdateValidatorWeight events raised by the Contract contract.
func (*ContractUpdateValidatorWeightIterator) Close ¶
func (it *ContractUpdateValidatorWeightIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdateValidatorWeightIterator) Error ¶
func (it *ContractUpdateValidatorWeightIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdateValidatorWeightIterator) Next ¶
func (it *ContractUpdateValidatorWeightIterator) 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 ContractUpdatedBackend ¶
type ContractUpdatedBackend struct { Backend common.Address Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedBackend represents a UpdatedBackend event raised by the Contract contract.
type ContractUpdatedBackendIterator ¶
type ContractUpdatedBackendIterator struct { Event *ContractUpdatedBackend // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedBackendIterator is returned from FilterUpdatedBackend and is used to iterate over the raw logs and unpacked data for UpdatedBackend events raised by the Contract contract.
func (*ContractUpdatedBackendIterator) Close ¶
func (it *ContractUpdatedBackendIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedBackendIterator) Error ¶
func (it *ContractUpdatedBackendIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedBackendIterator) Next ¶
func (it *ContractUpdatedBackendIterator) 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.