validator

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractsABI = "" /* 12846-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Contracts

type Contracts struct {
	ContractsCaller     // Read-only binding to the contract
	ContractsTransactor // Write-only binding to the contract
	ContractsFilterer   // Log filterer for contract events
}

Contracts is an auto generated Go binding around an Ethereum contract.

func NewContracts

func NewContracts(address common.Address, backend bind.ContractBackend) (*Contracts, error)

NewContracts creates a new instance of Contracts, bound to a specific deployed contract.

type ContractsCaller

type ContractsCaller struct {
	// contains filtered or unexported fields
}

ContractsCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewContractsCaller

func NewContractsCaller(address common.Address, caller bind.ContractCaller) (*ContractsCaller, error)

NewContractsCaller creates a new read-only instance of Contracts, bound to a specific deployed contract.

func (*ContractsCaller) CurrentValidatorSet

func (_Contracts *ContractsCaller) CurrentValidatorSet(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

CurrentValidatorSet is a free data retrieval call binding the contract method 0x6969a25c.

Solidity: function currentValidatorSet(uint256 ) view returns(address)

func (*ContractsCaller) FeeRecoder

func (_Contracts *ContractsCaller) FeeRecoder(opts *bind.CallOpts) (common.Address, error)

FeeRecoder is a free data retrieval call binding the contract method 0xabfcb13f.

Solidity: function FeeRecoder() view returns(address)

func (*ContractsCaller) GetActiveValidators

func (_Contracts *ContractsCaller) GetActiveValidators(opts *bind.CallOpts) ([]common.Address, error)

GetActiveValidators is a free data retrieval call binding the contract method 0x9de70258.

Solidity: function getActiveValidators() view returns(address[])

func (*ContractsCaller) GetStakingInfo

func (_Contracts *ContractsCaller) GetStakingInfo(opts *bind.CallOpts, staker common.Address, val common.Address) (*big.Int, *big.Int, *big.Int, error)

GetStakingInfo is a free data retrieval call binding the contract method 0x7f4f95fa.

Solidity: function getStakingInfo(address staker, address val) view returns(uint256, uint256, uint256)

func (*ContractsCaller) GetTopValidators

func (_Contracts *ContractsCaller) GetTopValidators(opts *bind.CallOpts) ([]common.Address, error)

GetTopValidators is a free data retrieval call binding the contract method 0xafeea115.

Solidity: function getTopValidators() view returns(address[])

func (*ContractsCaller) GetTotalStakeOfActiveValidators

func (_Contracts *ContractsCaller) GetTotalStakeOfActiveValidators(opts *bind.CallOpts) (struct {
	Total *big.Int
	Len   *big.Int
}, error)

GetTotalStakeOfActiveValidators is a free data retrieval call binding the contract method 0xc253c384.

Solidity: function getTotalStakeOfActiveValidators() view returns(uint256 total, uint256 len)

func (*ContractsCaller) GetValidatorDescription

func (_Contracts *ContractsCaller) GetValidatorDescription(opts *bind.CallOpts, val common.Address) (string, string, string, string, string, error)

GetValidatorDescription is a free data retrieval call binding the contract method 0xa43569b3.

Solidity: function getValidatorDescription(address val) view returns(string, string, string, string, string)

func (*ContractsCaller) GetValidatorInfo

func (_Contracts *ContractsCaller) GetValidatorInfo(opts *bind.CallOpts, val common.Address) (common.Address, uint8, *big.Int, *big.Int, *big.Int, *big.Int, []common.Address, error)

GetValidatorInfo is a free data retrieval call binding the contract method 0x8a11d7c9.

Solidity: function getValidatorInfo(address val) view returns(address, uint8, uint256, uint256, uint256, uint256, address[])

func (*ContractsCaller) HighestValidatorsSet

func (_Contracts *ContractsCaller) HighestValidatorsSet(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

HighestValidatorsSet is a free data retrieval call binding the contract method 0x4b3d500b.

Solidity: function highestValidatorsSet(uint256 ) view returns(address)

func (*ContractsCaller) Initialized

func (_Contracts *ContractsCaller) Initialized(opts *bind.CallOpts) (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() view returns(bool)

func (*ContractsCaller) IsActiveValidator

func (_Contracts *ContractsCaller) IsActiveValidator(opts *bind.CallOpts, who common.Address) (bool, error)

IsActiveValidator is a free data retrieval call binding the contract method 0x40550a1c.

Solidity: function isActiveValidator(address who) view returns(bool)

func (*ContractsCaller) IsTopValidator

func (_Contracts *ContractsCaller) IsTopValidator(opts *bind.CallOpts, who common.Address) (bool, error)

IsTopValidator is a free data retrieval call binding the contract method 0x98e3b626.

Solidity: function isTopValidator(address who) view returns(bool)

func (*ContractsCaller) MaxValidators

func (_Contracts *ContractsCaller) MaxValidators(opts *bind.CallOpts) (uint16, error)

MaxValidators is a free data retrieval call binding the contract method 0xc967f90f.

Solidity: function MaxValidators() view returns(uint16)

func (*ContractsCaller) MinimalStakingCoin

func (_Contracts *ContractsCaller) MinimalStakingCoin(opts *bind.CallOpts) (*big.Int, error)

MinimalStakingCoin is a free data retrieval call binding the contract method 0xbe645692.

Solidity: function MinimalStakingCoin() view returns(uint256)

func (*ContractsCaller) ProposalContractAddr

func (_Contracts *ContractsCaller) ProposalContractAddr(opts *bind.CallOpts) (common.Address, error)

ProposalContractAddr is a free data retrieval call binding the contract method 0x60ae528c.

Solidity: function ProposalContractAddr() view returns(address)

func (*ContractsCaller) PunishContractAddr

func (_Contracts *ContractsCaller) PunishContractAddr(opts *bind.CallOpts) (common.Address, error)

PunishContractAddr is a free data retrieval call binding the contract method 0x1b5e358c.

Solidity: function PunishContractAddr() view returns(address)

func (*ContractsCaller) StakingLockPeriod

func (_Contracts *ContractsCaller) StakingLockPeriod(opts *bind.CallOpts) (uint64, error)

StakingLockPeriod is a free data retrieval call binding the contract method 0xdb78dd28.

Solidity: function StakingLockPeriod() view returns(uint64)

func (*ContractsCaller) TotalJailed

func (_Contracts *ContractsCaller) TotalJailed(opts *bind.CallOpts) (*big.Int, error)

TotalJailed is a free data retrieval call binding the contract method 0x534dacd6.

Solidity: function totalJailed() view returns(uint256)

func (*ContractsCaller) TotalStake

func (_Contracts *ContractsCaller) TotalStake(opts *bind.CallOpts) (*big.Int, error)

TotalStake is a free data retrieval call binding the contract method 0x8b0e9f3f.

Solidity: function totalStake() view returns(uint256)

func (*ContractsCaller) ValidateDescription

func (_Contracts *ContractsCaller) ValidateDescription(opts *bind.CallOpts, moniker string, identity string, website string, email string, details string) (bool, error)

ValidateDescription is a free data retrieval call binding the contract method 0xb6c88519.

Solidity: function validateDescription(string moniker, string identity, string website, string email, string details) pure returns(bool)

func (*ContractsCaller) ValidatorContractAddr

func (_Contracts *ContractsCaller) ValidatorContractAddr(opts *bind.CallOpts) (common.Address, error)

ValidatorContractAddr is a free data retrieval call binding the contract method 0x3a061bd3.

Solidity: function ValidatorContractAddr() view returns(address)

func (*ContractsCaller) WithdrawProfitPeriod

func (_Contracts *ContractsCaller) WithdrawProfitPeriod(opts *bind.CallOpts) (uint64, error)

WithdrawProfitPeriod is a free data retrieval call binding the contract method 0xefd8d8e2.

Solidity: function WithdrawProfitPeriod() view returns(uint64)

type ContractsCallerRaw

type ContractsCallerRaw struct {
	Contract *ContractsCaller // Generic read-only contract binding to access the raw methods on
}

ContractsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ContractsCallerRaw) Call

func (_Contracts *ContractsCallerRaw) 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 ContractsCallerSession

type ContractsCallerSession struct {
	Contract *ContractsCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

ContractsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ContractsCallerSession) CurrentValidatorSet

func (_Contracts *ContractsCallerSession) CurrentValidatorSet(arg0 *big.Int) (common.Address, error)

CurrentValidatorSet is a free data retrieval call binding the contract method 0x6969a25c.

Solidity: function currentValidatorSet(uint256 ) view returns(address)

func (*ContractsCallerSession) FeeRecoder

func (_Contracts *ContractsCallerSession) FeeRecoder() (common.Address, error)

FeeRecoder is a free data retrieval call binding the contract method 0xabfcb13f.

Solidity: function FeeRecoder() view returns(address)

func (*ContractsCallerSession) GetActiveValidators

func (_Contracts *ContractsCallerSession) GetActiveValidators() ([]common.Address, error)

GetActiveValidators is a free data retrieval call binding the contract method 0x9de70258.

Solidity: function getActiveValidators() view returns(address[])

func (*ContractsCallerSession) GetStakingInfo

func (_Contracts *ContractsCallerSession) GetStakingInfo(staker common.Address, val common.Address) (*big.Int, *big.Int, *big.Int, error)

GetStakingInfo is a free data retrieval call binding the contract method 0x7f4f95fa.

Solidity: function getStakingInfo(address staker, address val) view returns(uint256, uint256, uint256)

func (*ContractsCallerSession) GetTopValidators

func (_Contracts *ContractsCallerSession) GetTopValidators() ([]common.Address, error)

GetTopValidators is a free data retrieval call binding the contract method 0xafeea115.

Solidity: function getTopValidators() view returns(address[])

func (*ContractsCallerSession) GetTotalStakeOfActiveValidators

func (_Contracts *ContractsCallerSession) GetTotalStakeOfActiveValidators() (struct {
	Total *big.Int
	Len   *big.Int
}, error)

GetTotalStakeOfActiveValidators is a free data retrieval call binding the contract method 0xc253c384.

Solidity: function getTotalStakeOfActiveValidators() view returns(uint256 total, uint256 len)

func (*ContractsCallerSession) GetValidatorDescription

func (_Contracts *ContractsCallerSession) GetValidatorDescription(val common.Address) (string, string, string, string, string, error)

GetValidatorDescription is a free data retrieval call binding the contract method 0xa43569b3.

Solidity: function getValidatorDescription(address val) view returns(string, string, string, string, string)

func (*ContractsCallerSession) GetValidatorInfo

func (_Contracts *ContractsCallerSession) GetValidatorInfo(val common.Address) (common.Address, uint8, *big.Int, *big.Int, *big.Int, *big.Int, []common.Address, error)

GetValidatorInfo is a free data retrieval call binding the contract method 0x8a11d7c9.

Solidity: function getValidatorInfo(address val) view returns(address, uint8, uint256, uint256, uint256, uint256, address[])

func (*ContractsCallerSession) HighestValidatorsSet

func (_Contracts *ContractsCallerSession) HighestValidatorsSet(arg0 *big.Int) (common.Address, error)

HighestValidatorsSet is a free data retrieval call binding the contract method 0x4b3d500b.

Solidity: function highestValidatorsSet(uint256 ) view returns(address)

func (*ContractsCallerSession) Initialized

func (_Contracts *ContractsCallerSession) Initialized() (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() view returns(bool)

func (*ContractsCallerSession) IsActiveValidator

func (_Contracts *ContractsCallerSession) IsActiveValidator(who common.Address) (bool, error)

IsActiveValidator is a free data retrieval call binding the contract method 0x40550a1c.

Solidity: function isActiveValidator(address who) view returns(bool)

func (*ContractsCallerSession) IsTopValidator

func (_Contracts *ContractsCallerSession) IsTopValidator(who common.Address) (bool, error)

IsTopValidator is a free data retrieval call binding the contract method 0x98e3b626.

Solidity: function isTopValidator(address who) view returns(bool)

func (*ContractsCallerSession) MaxValidators

func (_Contracts *ContractsCallerSession) MaxValidators() (uint16, error)

MaxValidators is a free data retrieval call binding the contract method 0xc967f90f.

Solidity: function MaxValidators() view returns(uint16)

func (*ContractsCallerSession) MinimalStakingCoin

func (_Contracts *ContractsCallerSession) MinimalStakingCoin() (*big.Int, error)

MinimalStakingCoin is a free data retrieval call binding the contract method 0xbe645692.

Solidity: function MinimalStakingCoin() view returns(uint256)

func (*ContractsCallerSession) ProposalContractAddr

func (_Contracts *ContractsCallerSession) ProposalContractAddr() (common.Address, error)

ProposalContractAddr is a free data retrieval call binding the contract method 0x60ae528c.

Solidity: function ProposalContractAddr() view returns(address)

func (*ContractsCallerSession) PunishContractAddr

func (_Contracts *ContractsCallerSession) PunishContractAddr() (common.Address, error)

PunishContractAddr is a free data retrieval call binding the contract method 0x1b5e358c.

Solidity: function PunishContractAddr() view returns(address)

func (*ContractsCallerSession) StakingLockPeriod

func (_Contracts *ContractsCallerSession) StakingLockPeriod() (uint64, error)

StakingLockPeriod is a free data retrieval call binding the contract method 0xdb78dd28.

Solidity: function StakingLockPeriod() view returns(uint64)

func (*ContractsCallerSession) TotalJailed

func (_Contracts *ContractsCallerSession) TotalJailed() (*big.Int, error)

TotalJailed is a free data retrieval call binding the contract method 0x534dacd6.

Solidity: function totalJailed() view returns(uint256)

func (*ContractsCallerSession) TotalStake

func (_Contracts *ContractsCallerSession) TotalStake() (*big.Int, error)

TotalStake is a free data retrieval call binding the contract method 0x8b0e9f3f.

Solidity: function totalStake() view returns(uint256)

func (*ContractsCallerSession) ValidateDescription

func (_Contracts *ContractsCallerSession) ValidateDescription(moniker string, identity string, website string, email string, details string) (bool, error)

ValidateDescription is a free data retrieval call binding the contract method 0xb6c88519.

Solidity: function validateDescription(string moniker, string identity, string website, string email, string details) pure returns(bool)

func (*ContractsCallerSession) ValidatorContractAddr

func (_Contracts *ContractsCallerSession) ValidatorContractAddr() (common.Address, error)

ValidatorContractAddr is a free data retrieval call binding the contract method 0x3a061bd3.

Solidity: function ValidatorContractAddr() view returns(address)

func (*ContractsCallerSession) WithdrawProfitPeriod

func (_Contracts *ContractsCallerSession) WithdrawProfitPeriod() (uint64, error)

WithdrawProfitPeriod is a free data retrieval call binding the contract method 0xefd8d8e2.

Solidity: function WithdrawProfitPeriod() view returns(uint64)

type ContractsFilterer

type ContractsFilterer struct {
	// contains filtered or unexported fields
}

ContractsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewContractsFilterer

func NewContractsFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractsFilterer, error)

NewContractsFilterer creates a new log filterer instance of Contracts, bound to a specific deployed contract.

func (*ContractsFilterer) FilterLogAddToTopValidators

func (_Contracts *ContractsFilterer) FilterLogAddToTopValidators(opts *bind.FilterOpts, val []common.Address) (*ContractsLogAddToTopValidatorsIterator, error)

FilterLogAddToTopValidators is a free log retrieval operation binding the contract event 0x1e3310ad6891b30e03874ec3d1422a6386c5da63d9faf595f5d99eeaf443b99a.

Solidity: event LogAddToTopValidators(address indexed val, uint256 time)

func (*ContractsFilterer) FilterLogCreateValidator

func (_Contracts *ContractsFilterer) FilterLogCreateValidator(opts *bind.FilterOpts, val []common.Address, fee []common.Address) (*ContractsLogCreateValidatorIterator, error)

FilterLogCreateValidator is a free log retrieval operation binding the contract event 0x887eec9d757b7247dd8e51198f9d1b8f27979bceb34bdcc1bffd4ec5ec736c22.

Solidity: event LogCreateValidator(address indexed val, address indexed fee, uint256 time)

func (*ContractsFilterer) FilterLogDistributeBlockReward

func (_Contracts *ContractsFilterer) FilterLogDistributeBlockReward(opts *bind.FilterOpts, coinbase []common.Address) (*ContractsLogDistributeBlockRewardIterator, error)

FilterLogDistributeBlockReward is a free log retrieval operation binding the contract event 0x7dc4e5df59513708dca355b8706273a5df7b810a4cec8019f2a4b9bb166a1a04.

Solidity: event LogDistributeBlockReward(address indexed coinbase, uint256 blockReward, uint256 time)

func (*ContractsFilterer) FilterLogEditValidator

func (_Contracts *ContractsFilterer) FilterLogEditValidator(opts *bind.FilterOpts, val []common.Address, fee []common.Address) (*ContractsLogEditValidatorIterator, error)

FilterLogEditValidator is a free log retrieval operation binding the contract event 0xb8421f65501371f54d58de1937ff1e1ccdb76423ef6f84acea1814a0f6362ca0.

Solidity: event LogEditValidator(address indexed val, address indexed fee, uint256 time)

func (*ContractsFilterer) FilterLogReactive

func (_Contracts *ContractsFilterer) FilterLogReactive(opts *bind.FilterOpts, val []common.Address) (*ContractsLogReactiveIterator, error)

FilterLogReactive is a free log retrieval operation binding the contract event 0xd8b2c426ec1be69ca7583d26b1e893946e3227430d3ebc3bd64d9e1c469cb400.

Solidity: event LogReactive(address indexed val, uint256 time)

func (*ContractsFilterer) FilterLogRemoveFromTopValidators

func (_Contracts *ContractsFilterer) FilterLogRemoveFromTopValidators(opts *bind.FilterOpts, val []common.Address) (*ContractsLogRemoveFromTopValidatorsIterator, error)

FilterLogRemoveFromTopValidators is a free log retrieval operation binding the contract event 0x7521e44559c870c316e84e60bc4785d9c034a8ab1d6acdce8134ac03f946c6ed.

Solidity: event LogRemoveFromTopValidators(address indexed val, uint256 time)

func (*ContractsFilterer) FilterLogRemoveValidator

func (_Contracts *ContractsFilterer) FilterLogRemoveValidator(opts *bind.FilterOpts, val []common.Address) (*ContractsLogRemoveValidatorIterator, error)

FilterLogRemoveValidator is a free log retrieval operation binding the contract event 0xa26de7ab324eac08c596549f421e5c8741213d237d2e9a2c9c0ebde0a7a849fe.

Solidity: event LogRemoveValidator(address indexed val, uint256 amt, uint256 time)

func (*ContractsFilterer) FilterLogRemoveValidatorIncoming

func (_Contracts *ContractsFilterer) FilterLogRemoveValidatorIncoming(opts *bind.FilterOpts, val []common.Address) (*ContractsLogRemoveValidatorIncomingIterator, error)

FilterLogRemoveValidatorIncoming is a free log retrieval operation binding the contract event 0xe294e9d73f8eee23e21b2e1567960625a6b5d339cb127b55d0d09473a9951235.

Solidity: event LogRemoveValidatorIncoming(address indexed val, uint256 amt, uint256 time)

func (*ContractsFilterer) FilterLogStake

func (_Contracts *ContractsFilterer) FilterLogStake(opts *bind.FilterOpts, staker []common.Address, val []common.Address) (*ContractsLogStakeIterator, error)

FilterLogStake is a free log retrieval operation binding the contract event 0xb9ba725934532316cffe10975da6eb25ad49c2d1c294d982c46c9f8d684ee075.

Solidity: event LogStake(address indexed staker, address indexed val, uint256 staking, uint256 time)

func (*ContractsFilterer) FilterLogUnStake

func (_Contracts *ContractsFilterer) FilterLogUnStake(opts *bind.FilterOpts, staker []common.Address, val []common.Address) (*ContractsLogUnStakeIterator, error)

FilterLogUnStake is a free log retrieval operation binding the contract event 0x1b1cb26a0e501aae1495d2137de6fad492b3c33d5f7dfa73db02e1e58ae6f3cf.

Solidity: event LogUnStake(address indexed staker, address indexed val, uint256 amount, uint256 time)

func (*ContractsFilterer) FilterLogUpdateValidator

func (_Contracts *ContractsFilterer) FilterLogUpdateValidator(opts *bind.FilterOpts) (*ContractsLogUpdateValidatorIterator, error)

FilterLogUpdateValidator is a free log retrieval operation binding the contract event 0xeacea8f3c22f06c0b18306bdb04d0a967255129e8ce0094debb0a0ff89d006b5.

Solidity: event LogUpdateValidator(address[] newSet)

func (*ContractsFilterer) FilterLogWithdrawProfits

func (_Contracts *ContractsFilterer) FilterLogWithdrawProfits(opts *bind.FilterOpts, val []common.Address, fee []common.Address) (*ContractsLogWithdrawProfitsIterator, error)

FilterLogWithdrawProfits is a free log retrieval operation binding the contract event 0x51a69b4502f660774c9339825c7b5adbf0b8622289134647e29728ec5d9b3bb9.

Solidity: event LogWithdrawProfits(address indexed val, address indexed fee, uint256 amt, uint256 time)

func (*ContractsFilterer) FilterLogWithdrawStaking

func (_Contracts *ContractsFilterer) FilterLogWithdrawStaking(opts *bind.FilterOpts, staker []common.Address, val []common.Address) (*ContractsLogWithdrawStakingIterator, error)

FilterLogWithdrawStaking is a free log retrieval operation binding the contract event 0xa70cd94070cd852339a76b32cf2d95a3c8f2a322269163d276071c1c14955619.

Solidity: event LogWithdrawStaking(address indexed staker, address indexed val, uint256 amount, uint256 time)

func (*ContractsFilterer) ParseLogAddToTopValidators

func (_Contracts *ContractsFilterer) ParseLogAddToTopValidators(log types.Log) (*ContractsLogAddToTopValidators, error)

ParseLogAddToTopValidators is a log parse operation binding the contract event 0x1e3310ad6891b30e03874ec3d1422a6386c5da63d9faf595f5d99eeaf443b99a.

Solidity: event LogAddToTopValidators(address indexed val, uint256 time)

func (*ContractsFilterer) ParseLogCreateValidator

func (_Contracts *ContractsFilterer) ParseLogCreateValidator(log types.Log) (*ContractsLogCreateValidator, error)

ParseLogCreateValidator is a log parse operation binding the contract event 0x887eec9d757b7247dd8e51198f9d1b8f27979bceb34bdcc1bffd4ec5ec736c22.

Solidity: event LogCreateValidator(address indexed val, address indexed fee, uint256 time)

func (*ContractsFilterer) ParseLogDistributeBlockReward

func (_Contracts *ContractsFilterer) ParseLogDistributeBlockReward(log types.Log) (*ContractsLogDistributeBlockReward, error)

ParseLogDistributeBlockReward is a log parse operation binding the contract event 0x7dc4e5df59513708dca355b8706273a5df7b810a4cec8019f2a4b9bb166a1a04.

Solidity: event LogDistributeBlockReward(address indexed coinbase, uint256 blockReward, uint256 time)

func (*ContractsFilterer) ParseLogEditValidator

func (_Contracts *ContractsFilterer) ParseLogEditValidator(log types.Log) (*ContractsLogEditValidator, error)

ParseLogEditValidator is a log parse operation binding the contract event 0xb8421f65501371f54d58de1937ff1e1ccdb76423ef6f84acea1814a0f6362ca0.

Solidity: event LogEditValidator(address indexed val, address indexed fee, uint256 time)

func (*ContractsFilterer) ParseLogReactive

func (_Contracts *ContractsFilterer) ParseLogReactive(log types.Log) (*ContractsLogReactive, error)

ParseLogReactive is a log parse operation binding the contract event 0xd8b2c426ec1be69ca7583d26b1e893946e3227430d3ebc3bd64d9e1c469cb400.

Solidity: event LogReactive(address indexed val, uint256 time)

func (*ContractsFilterer) ParseLogRemoveFromTopValidators

func (_Contracts *ContractsFilterer) ParseLogRemoveFromTopValidators(log types.Log) (*ContractsLogRemoveFromTopValidators, error)

ParseLogRemoveFromTopValidators is a log parse operation binding the contract event 0x7521e44559c870c316e84e60bc4785d9c034a8ab1d6acdce8134ac03f946c6ed.

Solidity: event LogRemoveFromTopValidators(address indexed val, uint256 time)

func (*ContractsFilterer) ParseLogRemoveValidator

func (_Contracts *ContractsFilterer) ParseLogRemoveValidator(log types.Log) (*ContractsLogRemoveValidator, error)

ParseLogRemoveValidator is a log parse operation binding the contract event 0xa26de7ab324eac08c596549f421e5c8741213d237d2e9a2c9c0ebde0a7a849fe.

Solidity: event LogRemoveValidator(address indexed val, uint256 amt, uint256 time)

func (*ContractsFilterer) ParseLogRemoveValidatorIncoming

func (_Contracts *ContractsFilterer) ParseLogRemoveValidatorIncoming(log types.Log) (*ContractsLogRemoveValidatorIncoming, error)

ParseLogRemoveValidatorIncoming is a log parse operation binding the contract event 0xe294e9d73f8eee23e21b2e1567960625a6b5d339cb127b55d0d09473a9951235.

Solidity: event LogRemoveValidatorIncoming(address indexed val, uint256 amt, uint256 time)

func (*ContractsFilterer) ParseLogStake

func (_Contracts *ContractsFilterer) ParseLogStake(log types.Log) (*ContractsLogStake, error)

ParseLogStake is a log parse operation binding the contract event 0xb9ba725934532316cffe10975da6eb25ad49c2d1c294d982c46c9f8d684ee075.

Solidity: event LogStake(address indexed staker, address indexed val, uint256 staking, uint256 time)

func (*ContractsFilterer) ParseLogUnStake

func (_Contracts *ContractsFilterer) ParseLogUnStake(log types.Log) (*ContractsLogUnStake, error)

ParseLogUnStake is a log parse operation binding the contract event 0x1b1cb26a0e501aae1495d2137de6fad492b3c33d5f7dfa73db02e1e58ae6f3cf.

Solidity: event LogUnStake(address indexed staker, address indexed val, uint256 amount, uint256 time)

func (*ContractsFilterer) ParseLogUpdateValidator

func (_Contracts *ContractsFilterer) ParseLogUpdateValidator(log types.Log) (*ContractsLogUpdateValidator, error)

ParseLogUpdateValidator is a log parse operation binding the contract event 0xeacea8f3c22f06c0b18306bdb04d0a967255129e8ce0094debb0a0ff89d006b5.

Solidity: event LogUpdateValidator(address[] newSet)

func (*ContractsFilterer) ParseLogWithdrawProfits

func (_Contracts *ContractsFilterer) ParseLogWithdrawProfits(log types.Log) (*ContractsLogWithdrawProfits, error)

ParseLogWithdrawProfits is a log parse operation binding the contract event 0x51a69b4502f660774c9339825c7b5adbf0b8622289134647e29728ec5d9b3bb9.

Solidity: event LogWithdrawProfits(address indexed val, address indexed fee, uint256 amt, uint256 time)

func (*ContractsFilterer) ParseLogWithdrawStaking

func (_Contracts *ContractsFilterer) ParseLogWithdrawStaking(log types.Log) (*ContractsLogWithdrawStaking, error)

ParseLogWithdrawStaking is a log parse operation binding the contract event 0xa70cd94070cd852339a76b32cf2d95a3c8f2a322269163d276071c1c14955619.

Solidity: event LogWithdrawStaking(address indexed staker, address indexed val, uint256 amount, uint256 time)

func (*ContractsFilterer) WatchLogAddToTopValidators

func (_Contracts *ContractsFilterer) WatchLogAddToTopValidators(opts *bind.WatchOpts, sink chan<- *ContractsLogAddToTopValidators, val []common.Address) (event.Subscription, error)

WatchLogAddToTopValidators is a free log subscription operation binding the contract event 0x1e3310ad6891b30e03874ec3d1422a6386c5da63d9faf595f5d99eeaf443b99a.

Solidity: event LogAddToTopValidators(address indexed val, uint256 time)

func (*ContractsFilterer) WatchLogCreateValidator

func (_Contracts *ContractsFilterer) WatchLogCreateValidator(opts *bind.WatchOpts, sink chan<- *ContractsLogCreateValidator, val []common.Address, fee []common.Address) (event.Subscription, error)

WatchLogCreateValidator is a free log subscription operation binding the contract event 0x887eec9d757b7247dd8e51198f9d1b8f27979bceb34bdcc1bffd4ec5ec736c22.

Solidity: event LogCreateValidator(address indexed val, address indexed fee, uint256 time)

func (*ContractsFilterer) WatchLogDistributeBlockReward

func (_Contracts *ContractsFilterer) WatchLogDistributeBlockReward(opts *bind.WatchOpts, sink chan<- *ContractsLogDistributeBlockReward, coinbase []common.Address) (event.Subscription, error)

WatchLogDistributeBlockReward is a free log subscription operation binding the contract event 0x7dc4e5df59513708dca355b8706273a5df7b810a4cec8019f2a4b9bb166a1a04.

Solidity: event LogDistributeBlockReward(address indexed coinbase, uint256 blockReward, uint256 time)

func (*ContractsFilterer) WatchLogEditValidator

func (_Contracts *ContractsFilterer) WatchLogEditValidator(opts *bind.WatchOpts, sink chan<- *ContractsLogEditValidator, val []common.Address, fee []common.Address) (event.Subscription, error)

WatchLogEditValidator is a free log subscription operation binding the contract event 0xb8421f65501371f54d58de1937ff1e1ccdb76423ef6f84acea1814a0f6362ca0.

Solidity: event LogEditValidator(address indexed val, address indexed fee, uint256 time)

func (*ContractsFilterer) WatchLogReactive

func (_Contracts *ContractsFilterer) WatchLogReactive(opts *bind.WatchOpts, sink chan<- *ContractsLogReactive, val []common.Address) (event.Subscription, error)

WatchLogReactive is a free log subscription operation binding the contract event 0xd8b2c426ec1be69ca7583d26b1e893946e3227430d3ebc3bd64d9e1c469cb400.

Solidity: event LogReactive(address indexed val, uint256 time)

func (*ContractsFilterer) WatchLogRemoveFromTopValidators

func (_Contracts *ContractsFilterer) WatchLogRemoveFromTopValidators(opts *bind.WatchOpts, sink chan<- *ContractsLogRemoveFromTopValidators, val []common.Address) (event.Subscription, error)

WatchLogRemoveFromTopValidators is a free log subscription operation binding the contract event 0x7521e44559c870c316e84e60bc4785d9c034a8ab1d6acdce8134ac03f946c6ed.

Solidity: event LogRemoveFromTopValidators(address indexed val, uint256 time)

func (*ContractsFilterer) WatchLogRemoveValidator

func (_Contracts *ContractsFilterer) WatchLogRemoveValidator(opts *bind.WatchOpts, sink chan<- *ContractsLogRemoveValidator, val []common.Address) (event.Subscription, error)

WatchLogRemoveValidator is a free log subscription operation binding the contract event 0xa26de7ab324eac08c596549f421e5c8741213d237d2e9a2c9c0ebde0a7a849fe.

Solidity: event LogRemoveValidator(address indexed val, uint256 amt, uint256 time)

func (*ContractsFilterer) WatchLogRemoveValidatorIncoming

func (_Contracts *ContractsFilterer) WatchLogRemoveValidatorIncoming(opts *bind.WatchOpts, sink chan<- *ContractsLogRemoveValidatorIncoming, val []common.Address) (event.Subscription, error)

WatchLogRemoveValidatorIncoming is a free log subscription operation binding the contract event 0xe294e9d73f8eee23e21b2e1567960625a6b5d339cb127b55d0d09473a9951235.

Solidity: event LogRemoveValidatorIncoming(address indexed val, uint256 amt, uint256 time)

func (*ContractsFilterer) WatchLogStake

func (_Contracts *ContractsFilterer) WatchLogStake(opts *bind.WatchOpts, sink chan<- *ContractsLogStake, staker []common.Address, val []common.Address) (event.Subscription, error)

WatchLogStake is a free log subscription operation binding the contract event 0xb9ba725934532316cffe10975da6eb25ad49c2d1c294d982c46c9f8d684ee075.

Solidity: event LogStake(address indexed staker, address indexed val, uint256 staking, uint256 time)

func (*ContractsFilterer) WatchLogUnStake

func (_Contracts *ContractsFilterer) WatchLogUnStake(opts *bind.WatchOpts, sink chan<- *ContractsLogUnStake, staker []common.Address, val []common.Address) (event.Subscription, error)

WatchLogUnStake is a free log subscription operation binding the contract event 0x1b1cb26a0e501aae1495d2137de6fad492b3c33d5f7dfa73db02e1e58ae6f3cf.

Solidity: event LogUnStake(address indexed staker, address indexed val, uint256 amount, uint256 time)

func (*ContractsFilterer) WatchLogUpdateValidator

func (_Contracts *ContractsFilterer) WatchLogUpdateValidator(opts *bind.WatchOpts, sink chan<- *ContractsLogUpdateValidator) (event.Subscription, error)

WatchLogUpdateValidator is a free log subscription operation binding the contract event 0xeacea8f3c22f06c0b18306bdb04d0a967255129e8ce0094debb0a0ff89d006b5.

Solidity: event LogUpdateValidator(address[] newSet)

func (*ContractsFilterer) WatchLogWithdrawProfits

func (_Contracts *ContractsFilterer) WatchLogWithdrawProfits(opts *bind.WatchOpts, sink chan<- *ContractsLogWithdrawProfits, val []common.Address, fee []common.Address) (event.Subscription, error)

WatchLogWithdrawProfits is a free log subscription operation binding the contract event 0x51a69b4502f660774c9339825c7b5adbf0b8622289134647e29728ec5d9b3bb9.

Solidity: event LogWithdrawProfits(address indexed val, address indexed fee, uint256 amt, uint256 time)

func (*ContractsFilterer) WatchLogWithdrawStaking

func (_Contracts *ContractsFilterer) WatchLogWithdrawStaking(opts *bind.WatchOpts, sink chan<- *ContractsLogWithdrawStaking, staker []common.Address, val []common.Address) (event.Subscription, error)

WatchLogWithdrawStaking is a free log subscription operation binding the contract event 0xa70cd94070cd852339a76b32cf2d95a3c8f2a322269163d276071c1c14955619.

Solidity: event LogWithdrawStaking(address indexed staker, address indexed val, uint256 amount, uint256 time)

type ContractsLogAddToTopValidators

type ContractsLogAddToTopValidators struct {
	Val  common.Address
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsLogAddToTopValidators represents a LogAddToTopValidators event raised by the Contracts contract.

type ContractsLogAddToTopValidatorsIterator

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

ContractsLogAddToTopValidatorsIterator is returned from FilterLogAddToTopValidators and is used to iterate over the raw logs and unpacked data for LogAddToTopValidators events raised by the Contracts contract.

func (*ContractsLogAddToTopValidatorsIterator) Close

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

func (*ContractsLogAddToTopValidatorsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogAddToTopValidatorsIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogCreateValidator

type ContractsLogCreateValidator struct {
	Val  common.Address
	Fee  common.Address
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsLogCreateValidator represents a LogCreateValidator event raised by the Contracts contract.

type ContractsLogCreateValidatorIterator

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

ContractsLogCreateValidatorIterator is returned from FilterLogCreateValidator and is used to iterate over the raw logs and unpacked data for LogCreateValidator events raised by the Contracts contract.

func (*ContractsLogCreateValidatorIterator) Close

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

func (*ContractsLogCreateValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogCreateValidatorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogDistributeBlockReward

type ContractsLogDistributeBlockReward struct {
	Coinbase    common.Address
	BlockReward *big.Int
	Time        *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ContractsLogDistributeBlockReward represents a LogDistributeBlockReward event raised by the Contracts contract.

type ContractsLogDistributeBlockRewardIterator

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

ContractsLogDistributeBlockRewardIterator is returned from FilterLogDistributeBlockReward and is used to iterate over the raw logs and unpacked data for LogDistributeBlockReward events raised by the Contracts contract.

func (*ContractsLogDistributeBlockRewardIterator) Close

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

func (*ContractsLogDistributeBlockRewardIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogDistributeBlockRewardIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogEditValidator

type ContractsLogEditValidator struct {
	Val  common.Address
	Fee  common.Address
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsLogEditValidator represents a LogEditValidator event raised by the Contracts contract.

type ContractsLogEditValidatorIterator

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

ContractsLogEditValidatorIterator is returned from FilterLogEditValidator and is used to iterate over the raw logs and unpacked data for LogEditValidator events raised by the Contracts contract.

func (*ContractsLogEditValidatorIterator) Close

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

func (*ContractsLogEditValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogEditValidatorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogReactive

type ContractsLogReactive struct {
	Val  common.Address
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsLogReactive represents a LogReactive event raised by the Contracts contract.

type ContractsLogReactiveIterator

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

ContractsLogReactiveIterator is returned from FilterLogReactive and is used to iterate over the raw logs and unpacked data for LogReactive events raised by the Contracts contract.

func (*ContractsLogReactiveIterator) Close

func (it *ContractsLogReactiveIterator) Close() error

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

func (*ContractsLogReactiveIterator) Error

func (it *ContractsLogReactiveIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogReactiveIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogRemoveFromTopValidators

type ContractsLogRemoveFromTopValidators struct {
	Val  common.Address
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsLogRemoveFromTopValidators represents a LogRemoveFromTopValidators event raised by the Contracts contract.

type ContractsLogRemoveFromTopValidatorsIterator

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

ContractsLogRemoveFromTopValidatorsIterator is returned from FilterLogRemoveFromTopValidators and is used to iterate over the raw logs and unpacked data for LogRemoveFromTopValidators events raised by the Contracts contract.

func (*ContractsLogRemoveFromTopValidatorsIterator) Close

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

func (*ContractsLogRemoveFromTopValidatorsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogRemoveFromTopValidatorsIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogRemoveValidator

type ContractsLogRemoveValidator struct {
	Val  common.Address
	Amt  *big.Int
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsLogRemoveValidator represents a LogRemoveValidator event raised by the Contracts contract.

type ContractsLogRemoveValidatorIncoming

type ContractsLogRemoveValidatorIncoming struct {
	Val  common.Address
	Amt  *big.Int
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsLogRemoveValidatorIncoming represents a LogRemoveValidatorIncoming event raised by the Contracts contract.

type ContractsLogRemoveValidatorIncomingIterator

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

ContractsLogRemoveValidatorIncomingIterator is returned from FilterLogRemoveValidatorIncoming and is used to iterate over the raw logs and unpacked data for LogRemoveValidatorIncoming events raised by the Contracts contract.

func (*ContractsLogRemoveValidatorIncomingIterator) Close

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

func (*ContractsLogRemoveValidatorIncomingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogRemoveValidatorIncomingIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogRemoveValidatorIterator

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

ContractsLogRemoveValidatorIterator is returned from FilterLogRemoveValidator and is used to iterate over the raw logs and unpacked data for LogRemoveValidator events raised by the Contracts contract.

func (*ContractsLogRemoveValidatorIterator) Close

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

func (*ContractsLogRemoveValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogRemoveValidatorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogStake

type ContractsLogStake struct {
	Staker  common.Address
	Val     common.Address
	Staking *big.Int
	Time    *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractsLogStake represents a LogStake event raised by the Contracts contract.

type ContractsLogStakeIterator

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

ContractsLogStakeIterator is returned from FilterLogStake and is used to iterate over the raw logs and unpacked data for LogStake events raised by the Contracts contract.

func (*ContractsLogStakeIterator) Close

func (it *ContractsLogStakeIterator) Close() error

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

func (*ContractsLogStakeIterator) Error

func (it *ContractsLogStakeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogStakeIterator) Next

func (it *ContractsLogStakeIterator) 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 ContractsLogUnStake

type ContractsLogUnStake struct {
	Staker common.Address
	Val    common.Address
	Amount *big.Int
	Time   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ContractsLogUnStake represents a LogUnStake event raised by the Contracts contract.

type ContractsLogUnStakeIterator

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

ContractsLogUnStakeIterator is returned from FilterLogUnStake and is used to iterate over the raw logs and unpacked data for LogUnStake events raised by the Contracts contract.

func (*ContractsLogUnStakeIterator) Close

func (it *ContractsLogUnStakeIterator) Close() error

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

func (*ContractsLogUnStakeIterator) Error

func (it *ContractsLogUnStakeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogUnStakeIterator) Next

func (it *ContractsLogUnStakeIterator) 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 ContractsLogUpdateValidator

type ContractsLogUpdateValidator struct {
	NewSet []common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ContractsLogUpdateValidator represents a LogUpdateValidator event raised by the Contracts contract.

type ContractsLogUpdateValidatorIterator

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

ContractsLogUpdateValidatorIterator is returned from FilterLogUpdateValidator and is used to iterate over the raw logs and unpacked data for LogUpdateValidator events raised by the Contracts contract.

func (*ContractsLogUpdateValidatorIterator) Close

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

func (*ContractsLogUpdateValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogUpdateValidatorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogWithdrawProfits

type ContractsLogWithdrawProfits struct {
	Val  common.Address
	Fee  common.Address
	Amt  *big.Int
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

ContractsLogWithdrawProfits represents a LogWithdrawProfits event raised by the Contracts contract.

type ContractsLogWithdrawProfitsIterator

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

ContractsLogWithdrawProfitsIterator is returned from FilterLogWithdrawProfits and is used to iterate over the raw logs and unpacked data for LogWithdrawProfits events raised by the Contracts contract.

func (*ContractsLogWithdrawProfitsIterator) Close

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

func (*ContractsLogWithdrawProfitsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogWithdrawProfitsIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsLogWithdrawStaking

type ContractsLogWithdrawStaking struct {
	Staker common.Address
	Val    common.Address
	Amount *big.Int
	Time   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ContractsLogWithdrawStaking represents a LogWithdrawStaking event raised by the Contracts contract.

type ContractsLogWithdrawStakingIterator

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

ContractsLogWithdrawStakingIterator is returned from FilterLogWithdrawStaking and is used to iterate over the raw logs and unpacked data for LogWithdrawStaking events raised by the Contracts contract.

func (*ContractsLogWithdrawStakingIterator) Close

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

func (*ContractsLogWithdrawStakingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractsLogWithdrawStakingIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractsRaw

type ContractsRaw struct {
	Contract *Contracts // Generic contract binding to access the raw methods on
}

ContractsRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ContractsRaw) Call

func (_Contracts *ContractsRaw) 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 (*ContractsRaw) Transact

func (_Contracts *ContractsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ContractsRaw) Transfer

func (_Contracts *ContractsRaw) 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 ContractsSession

type ContractsSession struct {
	Contract     *Contracts        // 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
}

ContractsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ContractsSession) CreateOrEditValidator

func (_Contracts *ContractsSession) CreateOrEditValidator(feeAddr common.Address, moniker string, identity string, website string, email string, details string) (*types.Transaction, error)

CreateOrEditValidator is a paid mutator transaction binding the contract method 0xa406fcb7.

Solidity: function createOrEditValidator(address feeAddr, string moniker, string identity, string website, string email, string details) returns(bool)

func (*ContractsSession) CurrentValidatorSet

func (_Contracts *ContractsSession) CurrentValidatorSet(arg0 *big.Int) (common.Address, error)

CurrentValidatorSet is a free data retrieval call binding the contract method 0x6969a25c.

Solidity: function currentValidatorSet(uint256 ) view returns(address)

func (*ContractsSession) DistributeBlockReward

func (_Contracts *ContractsSession) DistributeBlockReward() (*types.Transaction, error)

DistributeBlockReward is a paid mutator transaction binding the contract method 0xd6c0edad.

Solidity: function distributeBlockReward() payable returns()

func (*ContractsSession) FeeRecoder

func (_Contracts *ContractsSession) FeeRecoder() (common.Address, error)

FeeRecoder is a free data retrieval call binding the contract method 0xabfcb13f.

Solidity: function FeeRecoder() view returns(address)

func (*ContractsSession) GetActiveValidators

func (_Contracts *ContractsSession) GetActiveValidators() ([]common.Address, error)

GetActiveValidators is a free data retrieval call binding the contract method 0x9de70258.

Solidity: function getActiveValidators() view returns(address[])

func (*ContractsSession) GetStakingInfo

func (_Contracts *ContractsSession) GetStakingInfo(staker common.Address, val common.Address) (*big.Int, *big.Int, *big.Int, error)

GetStakingInfo is a free data retrieval call binding the contract method 0x7f4f95fa.

Solidity: function getStakingInfo(address staker, address val) view returns(uint256, uint256, uint256)

func (*ContractsSession) GetTopValidators

func (_Contracts *ContractsSession) GetTopValidators() ([]common.Address, error)

GetTopValidators is a free data retrieval call binding the contract method 0xafeea115.

Solidity: function getTopValidators() view returns(address[])

func (*ContractsSession) GetTotalStakeOfActiveValidators

func (_Contracts *ContractsSession) GetTotalStakeOfActiveValidators() (struct {
	Total *big.Int
	Len   *big.Int
}, error)

GetTotalStakeOfActiveValidators is a free data retrieval call binding the contract method 0xc253c384.

Solidity: function getTotalStakeOfActiveValidators() view returns(uint256 total, uint256 len)

func (*ContractsSession) GetValidatorDescription

func (_Contracts *ContractsSession) GetValidatorDescription(val common.Address) (string, string, string, string, string, error)

GetValidatorDescription is a free data retrieval call binding the contract method 0xa43569b3.

Solidity: function getValidatorDescription(address val) view returns(string, string, string, string, string)

func (*ContractsSession) GetValidatorInfo

func (_Contracts *ContractsSession) GetValidatorInfo(val common.Address) (common.Address, uint8, *big.Int, *big.Int, *big.Int, *big.Int, []common.Address, error)

GetValidatorInfo is a free data retrieval call binding the contract method 0x8a11d7c9.

Solidity: function getValidatorInfo(address val) view returns(address, uint8, uint256, uint256, uint256, uint256, address[])

func (*ContractsSession) HighestValidatorsSet

func (_Contracts *ContractsSession) HighestValidatorsSet(arg0 *big.Int) (common.Address, error)

HighestValidatorsSet is a free data retrieval call binding the contract method 0x4b3d500b.

Solidity: function highestValidatorsSet(uint256 ) view returns(address)

func (*ContractsSession) Initialize

func (_Contracts *ContractsSession) Initialize(vals []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa224cee7.

Solidity: function initialize(address[] vals) returns()

func (*ContractsSession) Initialized

func (_Contracts *ContractsSession) Initialized() (bool, error)

Initialized is a free data retrieval call binding the contract method 0x158ef93e.

Solidity: function initialized() view returns(bool)

func (*ContractsSession) IsActiveValidator

func (_Contracts *ContractsSession) IsActiveValidator(who common.Address) (bool, error)

IsActiveValidator is a free data retrieval call binding the contract method 0x40550a1c.

Solidity: function isActiveValidator(address who) view returns(bool)

func (*ContractsSession) IsTopValidator

func (_Contracts *ContractsSession) IsTopValidator(who common.Address) (bool, error)

IsTopValidator is a free data retrieval call binding the contract method 0x98e3b626.

Solidity: function isTopValidator(address who) view returns(bool)

func (*ContractsSession) MaxValidators

func (_Contracts *ContractsSession) MaxValidators() (uint16, error)

MaxValidators is a free data retrieval call binding the contract method 0xc967f90f.

Solidity: function MaxValidators() view returns(uint16)

func (*ContractsSession) MinimalStakingCoin

func (_Contracts *ContractsSession) MinimalStakingCoin() (*big.Int, error)

MinimalStakingCoin is a free data retrieval call binding the contract method 0xbe645692.

Solidity: function MinimalStakingCoin() view returns(uint256)

func (*ContractsSession) ProposalContractAddr

func (_Contracts *ContractsSession) ProposalContractAddr() (common.Address, error)

ProposalContractAddr is a free data retrieval call binding the contract method 0x60ae528c.

Solidity: function ProposalContractAddr() view returns(address)

func (*ContractsSession) PunishContractAddr

func (_Contracts *ContractsSession) PunishContractAddr() (common.Address, error)

PunishContractAddr is a free data retrieval call binding the contract method 0x1b5e358c.

Solidity: function PunishContractAddr() view returns(address)

func (*ContractsSession) RemoveValidator

func (_Contracts *ContractsSession) RemoveValidator(val common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(address val) returns()

func (*ContractsSession) RemoveValidatorIncoming

func (_Contracts *ContractsSession) RemoveValidatorIncoming(val common.Address) (*types.Transaction, error)

RemoveValidatorIncoming is a paid mutator transaction binding the contract method 0x5dd09590.

Solidity: function removeValidatorIncoming(address val) returns()

func (*ContractsSession) Stake

func (_Contracts *ContractsSession) Stake(validator common.Address) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x26476204.

Solidity: function stake(address validator) payable returns(bool)

func (*ContractsSession) StakingLockPeriod

func (_Contracts *ContractsSession) StakingLockPeriod() (uint64, error)

StakingLockPeriod is a free data retrieval call binding the contract method 0xdb78dd28.

Solidity: function StakingLockPeriod() view returns(uint64)

func (*ContractsSession) TotalJailed

func (_Contracts *ContractsSession) TotalJailed() (*big.Int, error)

TotalJailed is a free data retrieval call binding the contract method 0x534dacd6.

Solidity: function totalJailed() view returns(uint256)

func (*ContractsSession) TotalStake

func (_Contracts *ContractsSession) TotalStake() (*big.Int, error)

TotalStake is a free data retrieval call binding the contract method 0x8b0e9f3f.

Solidity: function totalStake() view returns(uint256)

func (*ContractsSession) TryReactive

func (_Contracts *ContractsSession) TryReactive(validator common.Address) (*types.Transaction, error)

TryReactive is a paid mutator transaction binding the contract method 0x82bd3d92.

Solidity: function tryReactive(address validator) returns(bool)

func (*ContractsSession) UnStake

func (_Contracts *ContractsSession) UnStake(validator common.Address) (*types.Transaction, error)

UnStake is a paid mutator transaction binding the contract method 0x387e4948.

Solidity: function unStake(address validator) returns(bool)

func (*ContractsSession) UpdateActiveValidatorSet

func (_Contracts *ContractsSession) UpdateActiveValidatorSet(epoch *big.Int) (*types.Transaction, error)

UpdateActiveValidatorSet is a paid mutator transaction binding the contract method 0x056dd786.

Solidity: function updateActiveValidatorSet(uint256 epoch) returns()

func (*ContractsSession) ValidateDescription

func (_Contracts *ContractsSession) ValidateDescription(moniker string, identity string, website string, email string, details string) (bool, error)

ValidateDescription is a free data retrieval call binding the contract method 0xb6c88519.

Solidity: function validateDescription(string moniker, string identity, string website, string email, string details) pure returns(bool)

func (*ContractsSession) ValidatorContractAddr

func (_Contracts *ContractsSession) ValidatorContractAddr() (common.Address, error)

ValidatorContractAddr is a free data retrieval call binding the contract method 0x3a061bd3.

Solidity: function ValidatorContractAddr() view returns(address)

func (*ContractsSession) WithdrawProfitPeriod

func (_Contracts *ContractsSession) WithdrawProfitPeriod() (uint64, error)

WithdrawProfitPeriod is a free data retrieval call binding the contract method 0xefd8d8e2.

Solidity: function WithdrawProfitPeriod() view returns(uint64)

func (*ContractsSession) WithdrawProfits

func (_Contracts *ContractsSession) WithdrawProfits(validator common.Address) (*types.Transaction, error)

WithdrawProfits is a paid mutator transaction binding the contract method 0x00362a77.

Solidity: function withdrawProfits(address validator) returns(bool)

func (*ContractsSession) WithdrawStaking

func (_Contracts *ContractsSession) WithdrawStaking(validator common.Address) (*types.Transaction, error)

WithdrawStaking is a paid mutator transaction binding the contract method 0x222d3b05.

Solidity: function withdrawStaking(address validator) returns(bool)

type ContractsTransactor

type ContractsTransactor struct {
	// contains filtered or unexported fields
}

ContractsTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewContractsTransactor

func NewContractsTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractsTransactor, error)

NewContractsTransactor creates a new write-only instance of Contracts, bound to a specific deployed contract.

func (*ContractsTransactor) CreateOrEditValidator

func (_Contracts *ContractsTransactor) CreateOrEditValidator(opts *bind.TransactOpts, feeAddr common.Address, moniker string, identity string, website string, email string, details string) (*types.Transaction, error)

CreateOrEditValidator is a paid mutator transaction binding the contract method 0xa406fcb7.

Solidity: function createOrEditValidator(address feeAddr, string moniker, string identity, string website, string email, string details) returns(bool)

func (*ContractsTransactor) DistributeBlockReward

func (_Contracts *ContractsTransactor) DistributeBlockReward(opts *bind.TransactOpts) (*types.Transaction, error)

DistributeBlockReward is a paid mutator transaction binding the contract method 0xd6c0edad.

Solidity: function distributeBlockReward() payable returns()

func (*ContractsTransactor) Initialize

func (_Contracts *ContractsTransactor) Initialize(opts *bind.TransactOpts, vals []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa224cee7.

Solidity: function initialize(address[] vals) returns()

func (*ContractsTransactor) RemoveValidator

func (_Contracts *ContractsTransactor) RemoveValidator(opts *bind.TransactOpts, val common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(address val) returns()

func (*ContractsTransactor) RemoveValidatorIncoming

func (_Contracts *ContractsTransactor) RemoveValidatorIncoming(opts *bind.TransactOpts, val common.Address) (*types.Transaction, error)

RemoveValidatorIncoming is a paid mutator transaction binding the contract method 0x5dd09590.

Solidity: function removeValidatorIncoming(address val) returns()

func (*ContractsTransactor) Stake

func (_Contracts *ContractsTransactor) Stake(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x26476204.

Solidity: function stake(address validator) payable returns(bool)

func (*ContractsTransactor) TryReactive

func (_Contracts *ContractsTransactor) TryReactive(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)

TryReactive is a paid mutator transaction binding the contract method 0x82bd3d92.

Solidity: function tryReactive(address validator) returns(bool)

func (*ContractsTransactor) UnStake

func (_Contracts *ContractsTransactor) UnStake(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)

UnStake is a paid mutator transaction binding the contract method 0x387e4948.

Solidity: function unStake(address validator) returns(bool)

func (*ContractsTransactor) UpdateActiveValidatorSet

func (_Contracts *ContractsTransactor) UpdateActiveValidatorSet(opts *bind.TransactOpts, epoch *big.Int) (*types.Transaction, error)

UpdateActiveValidatorSet is a paid mutator transaction binding the contract method 0x056dd786.

Solidity: function updateActiveValidatorSet(uint256 epoch) returns()

func (*ContractsTransactor) WithdrawProfits

func (_Contracts *ContractsTransactor) WithdrawProfits(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)

WithdrawProfits is a paid mutator transaction binding the contract method 0x00362a77.

Solidity: function withdrawProfits(address validator) returns(bool)

func (*ContractsTransactor) WithdrawStaking

func (_Contracts *ContractsTransactor) WithdrawStaking(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)

WithdrawStaking is a paid mutator transaction binding the contract method 0x222d3b05.

Solidity: function withdrawStaking(address validator) returns(bool)

type ContractsTransactorRaw

type ContractsTransactorRaw struct {
	Contract *ContractsTransactor // Generic write-only contract binding to access the raw methods on
}

ContractsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ContractsTransactorRaw) Transact

func (_Contracts *ContractsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ContractsTransactorRaw) Transfer

func (_Contracts *ContractsTransactorRaw) 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 ContractsTransactorSession

type ContractsTransactorSession struct {
	Contract     *ContractsTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

ContractsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ContractsTransactorSession) CreateOrEditValidator

func (_Contracts *ContractsTransactorSession) CreateOrEditValidator(feeAddr common.Address, moniker string, identity string, website string, email string, details string) (*types.Transaction, error)

CreateOrEditValidator is a paid mutator transaction binding the contract method 0xa406fcb7.

Solidity: function createOrEditValidator(address feeAddr, string moniker, string identity, string website, string email, string details) returns(bool)

func (*ContractsTransactorSession) DistributeBlockReward

func (_Contracts *ContractsTransactorSession) DistributeBlockReward() (*types.Transaction, error)

DistributeBlockReward is a paid mutator transaction binding the contract method 0xd6c0edad.

Solidity: function distributeBlockReward() payable returns()

func (*ContractsTransactorSession) Initialize

func (_Contracts *ContractsTransactorSession) Initialize(vals []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa224cee7.

Solidity: function initialize(address[] vals) returns()

func (*ContractsTransactorSession) RemoveValidator

func (_Contracts *ContractsTransactorSession) RemoveValidator(val common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(address val) returns()

func (*ContractsTransactorSession) RemoveValidatorIncoming

func (_Contracts *ContractsTransactorSession) RemoveValidatorIncoming(val common.Address) (*types.Transaction, error)

RemoveValidatorIncoming is a paid mutator transaction binding the contract method 0x5dd09590.

Solidity: function removeValidatorIncoming(address val) returns()

func (*ContractsTransactorSession) Stake

func (_Contracts *ContractsTransactorSession) Stake(validator common.Address) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x26476204.

Solidity: function stake(address validator) payable returns(bool)

func (*ContractsTransactorSession) TryReactive

func (_Contracts *ContractsTransactorSession) TryReactive(validator common.Address) (*types.Transaction, error)

TryReactive is a paid mutator transaction binding the contract method 0x82bd3d92.

Solidity: function tryReactive(address validator) returns(bool)

func (*ContractsTransactorSession) UnStake

func (_Contracts *ContractsTransactorSession) UnStake(validator common.Address) (*types.Transaction, error)

UnStake is a paid mutator transaction binding the contract method 0x387e4948.

Solidity: function unStake(address validator) returns(bool)

func (*ContractsTransactorSession) UpdateActiveValidatorSet

func (_Contracts *ContractsTransactorSession) UpdateActiveValidatorSet(epoch *big.Int) (*types.Transaction, error)

UpdateActiveValidatorSet is a paid mutator transaction binding the contract method 0x056dd786.

Solidity: function updateActiveValidatorSet(uint256 epoch) returns()

func (*ContractsTransactorSession) WithdrawProfits

func (_Contracts *ContractsTransactorSession) WithdrawProfits(validator common.Address) (*types.Transaction, error)

WithdrawProfits is a paid mutator transaction binding the contract method 0x00362a77.

Solidity: function withdrawProfits(address validator) returns(bool)

func (*ContractsTransactorSession) WithdrawStaking

func (_Contracts *ContractsTransactorSession) WithdrawStaking(validator common.Address) (*types.Transaction, error)

WithdrawStaking is a paid mutator transaction binding the contract method 0x222d3b05.

Solidity: function withdrawStaking(address validator) returns(bool)

Jump to

Keyboard shortcuts

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