sfc100

package
v0.0.0-...-34d0e24 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 38392-byte string literal not displayed */

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

Variables

View Source
var ContractBin = "" /* 47512-byte string literal not displayed */

ContractBin is the compiled bytecode used for deploying new contracts.

View Source
var ContractBinRuntime = "" /* 47446-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

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

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.

func (*ContractCaller) BaseRewardPerSecond

func (_Contract *ContractCaller) BaseRewardPerSecond(opts *bind.CallOpts) (*big.Int, error)

BaseRewardPerSecond is a free data retrieval call binding the contract method 0xd9a7c1f9.

Solidity: function baseRewardPerSecond() view returns(uint256)

func (*ContractCaller) CalcDelegationRewards

func (_Contract *ContractCaller) CalcDelegationRewards(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int, arg2 *big.Int, arg3 *big.Int) (*big.Int, *big.Int, *big.Int, error)

CalcDelegationRewards is a free data retrieval call binding the contract method 0xd845fc90.

Solidity: function calcDelegationRewards(address delegator, uint256 toStakerID, uint256 , uint256 ) view returns(uint256, uint256, uint256)

func (*ContractCaller) CalcValidatorRewards

func (_Contract *ContractCaller) CalcValidatorRewards(opts *bind.CallOpts, stakerID *big.Int, arg1 *big.Int, arg2 *big.Int) (*big.Int, *big.Int, *big.Int, error)

CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.

Solidity: function calcValidatorRewards(uint256 stakerID, uint256 , uint256 ) view returns(uint256, uint256, uint256)

func (*ContractCaller) ContractCommission

func (_Contract *ContractCaller) ContractCommission(opts *bind.CallOpts) (*big.Int, error)

ContractCommission is a free data retrieval call binding the contract method 0x2709275e.

Solidity: function contractCommission() pure returns(uint256)

func (*ContractCaller) CurrentEpoch

func (_Contract *ContractCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() view returns(uint256)

func (*ContractCaller) CurrentSealedEpoch

func (_Contract *ContractCaller) CurrentSealedEpoch(opts *bind.CallOpts) (*big.Int, error)

CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.

Solidity: function currentSealedEpoch() view returns(uint256)

func (*ContractCaller) DelegationLockPeriodEpochs

func (_Contract *ContractCaller) DelegationLockPeriodEpochs(opts *bind.CallOpts) (*big.Int, error)

DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.

Solidity: function delegationLockPeriodEpochs() pure returns(uint256)

func (*ContractCaller) DelegationLockPeriodTime

func (_Contract *ContractCaller) DelegationLockPeriodTime(opts *bind.CallOpts) (*big.Int, error)

DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.

Solidity: function delegationLockPeriodTime() pure returns(uint256)

func (*ContractCaller) Delegations

func (_Contract *ContractCaller) Delegations(opts *bind.CallOpts, _from common.Address, _toStakerID *big.Int) (struct {
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	DeactivatedEpoch *big.Int
	DeactivatedTime  *big.Int
	Amount           *big.Int
	PaidUntilEpoch   *big.Int
	ToStakerID       *big.Int
}, error)

Delegations is a free data retrieval call binding the contract method 0x223fae09.

Solidity: function delegations(address _from, uint256 _toStakerID) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)

func (*ContractCaller) DelegationsNum

func (_Contract *ContractCaller) DelegationsNum(opts *bind.CallOpts) (*big.Int, error)

DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.

Solidity: function delegationsNum() pure returns(uint256)

func (*ContractCaller) DelegationsTotalAmount

func (_Contract *ContractCaller) DelegationsTotalAmount(opts *bind.CallOpts) (*big.Int, error)

DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.

Solidity: function delegationsTotalAmount() view returns(uint256)

func (*ContractCaller) GetEpochAccumulatedOriginatedTxsFee

func (_Contract *ContractCaller) GetEpochAccumulatedOriginatedTxsFee(opts *bind.CallOpts, epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedOriginatedTxsFee is a free data retrieval call binding the contract method 0xdc31e1af.

Solidity: function getEpochAccumulatedOriginatedTxsFee(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCaller) GetEpochAccumulatedRewardPerToken

func (_Contract *ContractCaller) GetEpochAccumulatedRewardPerToken(opts *bind.CallOpts, epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedRewardPerToken is a free data retrieval call binding the contract method 0x61e53fcc.

Solidity: function getEpochAccumulatedRewardPerToken(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCaller) GetEpochAccumulatedUptime

func (_Contract *ContractCaller) GetEpochAccumulatedUptime(opts *bind.CallOpts, epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedUptime is a free data retrieval call binding the contract method 0xdf00c922.

Solidity: function getEpochAccumulatedUptime(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCaller) GetEpochOfflineBlocks

func (_Contract *ContractCaller) GetEpochOfflineBlocks(opts *bind.CallOpts, epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochOfflineBlocks is a free data retrieval call binding the contract method 0xa198d229.

Solidity: function getEpochOfflineBlocks(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCaller) GetEpochOfflineTime

func (_Contract *ContractCaller) GetEpochOfflineTime(opts *bind.CallOpts, epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochOfflineTime is a free data retrieval call binding the contract method 0xe261641a.

Solidity: function getEpochOfflineTime(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCaller) GetEpochReceivedStake

func (_Contract *ContractCaller) GetEpochReceivedStake(opts *bind.CallOpts, epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochReceivedStake is a free data retrieval call binding the contract method 0x58f95b80.

Solidity: function getEpochReceivedStake(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCaller) GetEpochSnapshot

func (_Contract *ContractCaller) GetEpochSnapshot(opts *bind.CallOpts, arg0 *big.Int) (struct {
	EndTime               *big.Int
	EpochFee              *big.Int
	TotalBaseRewardWeight *big.Int
	TotalTxRewardWeight   *big.Int
	BaseRewardPerSecond   *big.Int
	TotalStake            *big.Int
	TotalSupply           *big.Int
}, error)

GetEpochSnapshot is a free data retrieval call binding the contract method 0x39b80c00.

Solidity: function getEpochSnapshot(uint256 ) view returns(uint256 endTime, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 totalStake, uint256 totalSupply)

func (*ContractCaller) GetEpochValidatorIDs

func (_Contract *ContractCaller) GetEpochValidatorIDs(opts *bind.CallOpts, epoch *big.Int) ([]*big.Int, error)

GetEpochValidatorIDs is a free data retrieval call binding the contract method 0xb88a37e2.

Solidity: function getEpochValidatorIDs(uint256 epoch) view returns(uint256[])

func (*ContractCaller) GetLockedStake

func (_Contract *ContractCaller) GetLockedStake(opts *bind.CallOpts, delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

GetLockedStake is a free data retrieval call binding the contract method 0x670322f8.

Solidity: function getLockedStake(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractCaller) GetLockupInfo

func (_Contract *ContractCaller) GetLockupInfo(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	LockedStake *big.Int
	FromEpoch   *big.Int
	EndTime     *big.Int
	Duration    *big.Int
}, error)

GetLockupInfo is a free data retrieval call binding the contract method 0x96c7ee46.

Solidity: function getLockupInfo(address , uint256 ) view returns(uint256 lockedStake, uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractCaller) GetSelfStake

func (_Contract *ContractCaller) GetSelfStake(opts *bind.CallOpts, validatorID *big.Int) (*big.Int, error)

GetSelfStake is a free data retrieval call binding the contract method 0x5601fe01.

Solidity: function getSelfStake(uint256 validatorID) view returns(uint256)

func (*ContractCaller) GetStake

func (_Contract *ContractCaller) GetStake(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

GetStake is a free data retrieval call binding the contract method 0xcfd47663.

Solidity: function getStake(address , uint256 ) view returns(uint256)

func (*ContractCaller) GetStakerID

func (_Contract *ContractCaller) GetStakerID(opts *bind.CallOpts, _addr common.Address) (*big.Int, error)

GetStakerID is a free data retrieval call binding the contract method 0x63321e27.

Solidity: function getStakerID(address _addr) view returns(uint256)

func (*ContractCaller) GetStashedLockupRewards

func (_Contract *ContractCaller) GetStashedLockupRewards(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	LockupExtraReward *big.Int
	LockupBaseReward  *big.Int
	UnlockedReward    *big.Int
}, error)

GetStashedLockupRewards is a free data retrieval call binding the contract method 0xb810e411.

Solidity: function getStashedLockupRewards(address , uint256 ) view returns(uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractCaller) GetUnlockedStake

func (_Contract *ContractCaller) GetUnlockedStake(opts *bind.CallOpts, delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

GetUnlockedStake is a free data retrieval call binding the contract method 0x12622d0e.

Solidity: function getUnlockedStake(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractCaller) GetValidator

func (_Contract *ContractCaller) GetValidator(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Status           *big.Int
	DeactivatedTime  *big.Int
	DeactivatedEpoch *big.Int
	ReceivedStake    *big.Int
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	Auth             common.Address
}, error)

GetValidator is a free data retrieval call binding the contract method 0xb5d89627.

Solidity: function getValidator(uint256 ) view returns(uint256 status, uint256 deactivatedTime, uint256 deactivatedEpoch, uint256 receivedStake, uint256 createdEpoch, uint256 createdTime, address auth)

func (*ContractCaller) GetValidatorID

func (_Contract *ContractCaller) GetValidatorID(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

GetValidatorID is a free data retrieval call binding the contract method 0x0135b1db.

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

func (*ContractCaller) GetValidatorPubkey

func (_Contract *ContractCaller) GetValidatorPubkey(opts *bind.CallOpts, arg0 *big.Int) ([]byte, error)

GetValidatorPubkey is a free data retrieval call binding the contract method 0x854873e1.

Solidity: function getValidatorPubkey(uint256 ) view returns(bytes)

func (*ContractCaller) GetWithdrawalRequest

func (_Contract *ContractCaller) GetWithdrawalRequest(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (struct {
	Epoch  *big.Int
	Time   *big.Int
	Amount *big.Int
}, error)

GetWithdrawalRequest is a free data retrieval call binding the contract method 0x1f270152.

Solidity: function getWithdrawalRequest(address , uint256 , uint256 ) view returns(uint256 epoch, uint256 time, uint256 amount)

func (*ContractCaller) IsDelegationLockedUp

func (_Contract *ContractCaller) IsDelegationLockedUp(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int) (bool, error)

IsDelegationLockedUp is a free data retrieval call binding the contract method 0xcfd5fa0c.

Solidity: function isDelegationLockedUp(address delegator, uint256 toStakerID) view returns(bool)

func (*ContractCaller) IsLockedUp

func (_Contract *ContractCaller) IsLockedUp(opts *bind.CallOpts, delegator common.Address, toValidatorID *big.Int) (bool, error)

IsLockedUp is a free data retrieval call binding the contract method 0xcfdbb7cd.

Solidity: function isLockedUp(address delegator, uint256 toValidatorID) view returns(bool)

func (*ContractCaller) IsOwner

func (_Contract *ContractCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractCaller) IsSlashed

func (_Contract *ContractCaller) IsSlashed(opts *bind.CallOpts, validatorID *big.Int) (bool, error)

IsSlashed is a free data retrieval call binding the contract method 0xc3de580e.

Solidity: function isSlashed(uint256 validatorID) view returns(bool)

func (*ContractCaller) IsStakeLockedUp

func (_Contract *ContractCaller) IsStakeLockedUp(opts *bind.CallOpts, stakerID *big.Int) (bool, error)

IsStakeLockedUp is a free data retrieval call binding the contract method 0x7f664d87.

Solidity: function isStakeLockedUp(uint256 stakerID) view returns(bool)

func (*ContractCaller) LastValidatorID

func (_Contract *ContractCaller) LastValidatorID(opts *bind.CallOpts) (*big.Int, error)

LastValidatorID is a free data retrieval call binding the contract method 0xc7be95de.

Solidity: function lastValidatorID() view returns(uint256)

func (*ContractCaller) LockedDelegations

func (_Contract *ContractCaller) LockedDelegations(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int) (struct {
	FromEpoch *big.Int
	EndTime   *big.Int
	Duration  *big.Int
}, error)

LockedDelegations is a free data retrieval call binding the contract method 0xdd099bb6.

Solidity: function lockedDelegations(address delegator, uint256 toStakerID) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractCaller) LockedStakes

func (_Contract *ContractCaller) LockedStakes(opts *bind.CallOpts, stakerID *big.Int) (struct {
	FromEpoch *big.Int
	EndTime   *big.Int
	Duration  *big.Int
}, error)

LockedStakes is a free data retrieval call binding the contract method 0xdf4f49d4.

Solidity: function lockedStakes(uint256 stakerID) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractCaller) MaxDelegatedRatio

func (_Contract *ContractCaller) MaxDelegatedRatio(opts *bind.CallOpts) (*big.Int, error)

MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.

Solidity: function maxDelegatedRatio() pure returns(uint256)

func (*ContractCaller) MaxLockupDuration

func (_Contract *ContractCaller) MaxLockupDuration(opts *bind.CallOpts) (*big.Int, error)

MaxLockupDuration is a free data retrieval call binding the contract method 0x0d4955e3.

Solidity: function maxLockupDuration() pure returns(uint256)

func (*ContractCaller) MinDelegation

func (_Contract *ContractCaller) MinDelegation(opts *bind.CallOpts) (*big.Int, error)

MinDelegation is a free data retrieval call binding the contract method 0x02985992.

Solidity: function minDelegation() pure returns(uint256)

func (*ContractCaller) MinDelegationDecrease

func (_Contract *ContractCaller) MinDelegationDecrease(opts *bind.CallOpts) (*big.Int, error)

MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.

Solidity: function minDelegationDecrease() pure returns(uint256)

func (*ContractCaller) MinDelegationIncrease

func (_Contract *ContractCaller) MinDelegationIncrease(opts *bind.CallOpts) (*big.Int, error)

MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.

Solidity: function minDelegationIncrease() pure returns(uint256)

func (*ContractCaller) MinLockupDuration

func (_Contract *ContractCaller) MinLockupDuration(opts *bind.CallOpts) (*big.Int, error)

MinLockupDuration is a free data retrieval call binding the contract method 0x0d7b2609.

Solidity: function minLockupDuration() pure returns(uint256)

func (*ContractCaller) MinSelfStake

func (_Contract *ContractCaller) MinSelfStake(opts *bind.CallOpts) (*big.Int, error)

MinSelfStake is a free data retrieval call binding the contract method 0xc5f530af.

Solidity: function minSelfStake() pure returns(uint256)

func (*ContractCaller) MinStake

func (_Contract *ContractCaller) MinStake(opts *bind.CallOpts) (*big.Int, error)

MinStake is a free data retrieval call binding the contract method 0x375b3c0a.

Solidity: function minStake() pure returns(uint256)

func (*ContractCaller) MinStakeDecrease

func (_Contract *ContractCaller) MinStakeDecrease(opts *bind.CallOpts) (*big.Int, error)

MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.

Solidity: function minStakeDecrease() pure returns(uint256)

func (*ContractCaller) MinStakeIncrease

func (_Contract *ContractCaller) MinStakeIncrease(opts *bind.CallOpts) (*big.Int, error)

MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.

Solidity: function minStakeIncrease() pure returns(uint256)

func (*ContractCaller) OfflinePenaltyThreshold

func (_Contract *ContractCaller) OfflinePenaltyThreshold(opts *bind.CallOpts) (struct {
	BlocksNum *big.Int
	Time      *big.Int
}, error)

OfflinePenaltyThreshold is a free data retrieval call binding the contract method 0x2cedb097.

Solidity: function offlinePenaltyThreshold() view returns(uint256 blocksNum, uint256 time)

func (*ContractCaller) Owner

func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractCaller) PendingRewards

func (_Contract *ContractCaller) PendingRewards(opts *bind.CallOpts, delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0x6099ecb2.

Solidity: function pendingRewards(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractCaller) RewardsStash

func (_Contract *ContractCaller) RewardsStash(opts *bind.CallOpts, delegator common.Address, validatorID *big.Int) (*big.Int, error)

RewardsStash is a free data retrieval call binding the contract method 0x6f498663.

Solidity: function rewardsStash(address delegator, uint256 validatorID) view returns(uint256)

func (*ContractCaller) SlashingRefundRatio

func (_Contract *ContractCaller) SlashingRefundRatio(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

SlashingRefundRatio is a free data retrieval call binding the contract method 0xc65ee0e1.

Solidity: function slashingRefundRatio(uint256 ) view returns(uint256)

func (*ContractCaller) StakeLockPeriodEpochs

func (_Contract *ContractCaller) StakeLockPeriodEpochs(opts *bind.CallOpts) (*big.Int, error)

StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.

Solidity: function stakeLockPeriodEpochs() pure returns(uint256)

func (*ContractCaller) StakeLockPeriodTime

func (_Contract *ContractCaller) StakeLockPeriodTime(opts *bind.CallOpts) (*big.Int, error)

StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.

Solidity: function stakeLockPeriodTime() pure returns(uint256)

func (*ContractCaller) StakeTotalAmount

func (_Contract *ContractCaller) StakeTotalAmount(opts *bind.CallOpts) (*big.Int, error)

StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.

Solidity: function stakeTotalAmount() view returns(uint256)

func (*ContractCaller) Stakers

func (_Contract *ContractCaller) Stakers(opts *bind.CallOpts, _stakerID *big.Int) (struct {
	Status           *big.Int
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	DeactivatedEpoch *big.Int
	DeactivatedTime  *big.Int
	StakeAmount      *big.Int
	PaidUntilEpoch   *big.Int
	DelegatedMe      *big.Int
	DagAddress       common.Address
	SfcAddress       common.Address
}, error)

Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.

Solidity: function stakers(uint256 _stakerID) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)

func (*ContractCaller) StakersLastID

func (_Contract *ContractCaller) StakersLastID(opts *bind.CallOpts) (*big.Int, error)

StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.

Solidity: function stakersLastID() view returns(uint256)

func (*ContractCaller) StakersNum

func (_Contract *ContractCaller) StakersNum(opts *bind.CallOpts) (*big.Int, error)

StakersNum is a free data retrieval call binding the contract method 0x08728f6e.

Solidity: function stakersNum() view returns(uint256)

func (*ContractCaller) StashedRewardsUntilEpoch

func (_Contract *ContractCaller) StashedRewardsUntilEpoch(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

StashedRewardsUntilEpoch is a free data retrieval call binding the contract method 0xa86a056f.

Solidity: function stashedRewardsUntilEpoch(address , uint256 ) view returns(uint256)

func (*ContractCaller) TotalActiveStake

func (_Contract *ContractCaller) TotalActiveStake(opts *bind.CallOpts) (*big.Int, error)

TotalActiveStake is a free data retrieval call binding the contract method 0x28f73148.

Solidity: function totalActiveStake() view returns(uint256)

func (*ContractCaller) TotalSlashedStake

func (_Contract *ContractCaller) TotalSlashedStake(opts *bind.CallOpts) (*big.Int, error)

TotalSlashedStake is a free data retrieval call binding the contract method 0x5fab23a8.

Solidity: function totalSlashedStake() view returns(uint256)

func (*ContractCaller) TotalStake

func (_Contract *ContractCaller) 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 (*ContractCaller) TotalSupply

func (_Contract *ContractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*ContractCaller) UnlockedRewardRatio

func (_Contract *ContractCaller) UnlockedRewardRatio(opts *bind.CallOpts) (*big.Int, error)

UnlockedRewardRatio is a free data retrieval call binding the contract method 0x5e2308d2.

Solidity: function unlockedRewardRatio() pure returns(uint256)

func (*ContractCaller) ValidatorCommission

func (_Contract *ContractCaller) ValidatorCommission(opts *bind.CallOpts) (*big.Int, error)

ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.

Solidity: function validatorCommission() pure returns(uint256)

func (*ContractCaller) Version

func (_Contract *ContractCaller) Version(opts *bind.CallOpts) ([3]byte, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(bytes3)

func (*ContractCaller) WithdrawalPeriodEpochs

func (_Contract *ContractCaller) WithdrawalPeriodEpochs(opts *bind.CallOpts) (*big.Int, error)

WithdrawalPeriodEpochs is a free data retrieval call binding the contract method 0x650acd66.

Solidity: function withdrawalPeriodEpochs() pure returns(uint256)

func (*ContractCaller) WithdrawalPeriodTime

func (_Contract *ContractCaller) WithdrawalPeriodTime(opts *bind.CallOpts) (*big.Int, error)

WithdrawalPeriodTime is a free data retrieval call binding the contract method 0xb82b8427.

Solidity: function withdrawalPeriodTime() pure returns(uint256)

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.

func (*ContractCallerSession) BaseRewardPerSecond

func (_Contract *ContractCallerSession) BaseRewardPerSecond() (*big.Int, error)

BaseRewardPerSecond is a free data retrieval call binding the contract method 0xd9a7c1f9.

Solidity: function baseRewardPerSecond() view returns(uint256)

func (*ContractCallerSession) CalcDelegationRewards

func (_Contract *ContractCallerSession) CalcDelegationRewards(delegator common.Address, toStakerID *big.Int, arg2 *big.Int, arg3 *big.Int) (*big.Int, *big.Int, *big.Int, error)

CalcDelegationRewards is a free data retrieval call binding the contract method 0xd845fc90.

Solidity: function calcDelegationRewards(address delegator, uint256 toStakerID, uint256 , uint256 ) view returns(uint256, uint256, uint256)

func (*ContractCallerSession) CalcValidatorRewards

func (_Contract *ContractCallerSession) CalcValidatorRewards(stakerID *big.Int, arg1 *big.Int, arg2 *big.Int) (*big.Int, *big.Int, *big.Int, error)

CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.

Solidity: function calcValidatorRewards(uint256 stakerID, uint256 , uint256 ) view returns(uint256, uint256, uint256)

func (*ContractCallerSession) ContractCommission

func (_Contract *ContractCallerSession) ContractCommission() (*big.Int, error)

ContractCommission is a free data retrieval call binding the contract method 0x2709275e.

Solidity: function contractCommission() pure returns(uint256)

func (*ContractCallerSession) CurrentEpoch

func (_Contract *ContractCallerSession) CurrentEpoch() (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() view returns(uint256)

func (*ContractCallerSession) CurrentSealedEpoch

func (_Contract *ContractCallerSession) CurrentSealedEpoch() (*big.Int, error)

CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.

Solidity: function currentSealedEpoch() view returns(uint256)

func (*ContractCallerSession) DelegationLockPeriodEpochs

func (_Contract *ContractCallerSession) DelegationLockPeriodEpochs() (*big.Int, error)

DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.

Solidity: function delegationLockPeriodEpochs() pure returns(uint256)

func (*ContractCallerSession) DelegationLockPeriodTime

func (_Contract *ContractCallerSession) DelegationLockPeriodTime() (*big.Int, error)

DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.

Solidity: function delegationLockPeriodTime() pure returns(uint256)

func (*ContractCallerSession) Delegations

func (_Contract *ContractCallerSession) Delegations(_from common.Address, _toStakerID *big.Int) (struct {
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	DeactivatedEpoch *big.Int
	DeactivatedTime  *big.Int
	Amount           *big.Int
	PaidUntilEpoch   *big.Int
	ToStakerID       *big.Int
}, error)

Delegations is a free data retrieval call binding the contract method 0x223fae09.

Solidity: function delegations(address _from, uint256 _toStakerID) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)

func (*ContractCallerSession) DelegationsNum

func (_Contract *ContractCallerSession) DelegationsNum() (*big.Int, error)

DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.

Solidity: function delegationsNum() pure returns(uint256)

func (*ContractCallerSession) DelegationsTotalAmount

func (_Contract *ContractCallerSession) DelegationsTotalAmount() (*big.Int, error)

DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.

Solidity: function delegationsTotalAmount() view returns(uint256)

func (*ContractCallerSession) GetEpochAccumulatedOriginatedTxsFee

func (_Contract *ContractCallerSession) GetEpochAccumulatedOriginatedTxsFee(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedOriginatedTxsFee is a free data retrieval call binding the contract method 0xdc31e1af.

Solidity: function getEpochAccumulatedOriginatedTxsFee(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCallerSession) GetEpochAccumulatedRewardPerToken

func (_Contract *ContractCallerSession) GetEpochAccumulatedRewardPerToken(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedRewardPerToken is a free data retrieval call binding the contract method 0x61e53fcc.

Solidity: function getEpochAccumulatedRewardPerToken(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCallerSession) GetEpochAccumulatedUptime

func (_Contract *ContractCallerSession) GetEpochAccumulatedUptime(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedUptime is a free data retrieval call binding the contract method 0xdf00c922.

Solidity: function getEpochAccumulatedUptime(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCallerSession) GetEpochOfflineBlocks

func (_Contract *ContractCallerSession) GetEpochOfflineBlocks(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochOfflineBlocks is a free data retrieval call binding the contract method 0xa198d229.

Solidity: function getEpochOfflineBlocks(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCallerSession) GetEpochOfflineTime

func (_Contract *ContractCallerSession) GetEpochOfflineTime(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochOfflineTime is a free data retrieval call binding the contract method 0xe261641a.

Solidity: function getEpochOfflineTime(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCallerSession) GetEpochReceivedStake

func (_Contract *ContractCallerSession) GetEpochReceivedStake(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochReceivedStake is a free data retrieval call binding the contract method 0x58f95b80.

Solidity: function getEpochReceivedStake(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractCallerSession) GetEpochSnapshot

func (_Contract *ContractCallerSession) GetEpochSnapshot(arg0 *big.Int) (struct {
	EndTime               *big.Int
	EpochFee              *big.Int
	TotalBaseRewardWeight *big.Int
	TotalTxRewardWeight   *big.Int
	BaseRewardPerSecond   *big.Int
	TotalStake            *big.Int
	TotalSupply           *big.Int
}, error)

GetEpochSnapshot is a free data retrieval call binding the contract method 0x39b80c00.

Solidity: function getEpochSnapshot(uint256 ) view returns(uint256 endTime, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 totalStake, uint256 totalSupply)

func (*ContractCallerSession) GetEpochValidatorIDs

func (_Contract *ContractCallerSession) GetEpochValidatorIDs(epoch *big.Int) ([]*big.Int, error)

GetEpochValidatorIDs is a free data retrieval call binding the contract method 0xb88a37e2.

Solidity: function getEpochValidatorIDs(uint256 epoch) view returns(uint256[])

func (*ContractCallerSession) GetLockedStake

func (_Contract *ContractCallerSession) GetLockedStake(delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

GetLockedStake is a free data retrieval call binding the contract method 0x670322f8.

Solidity: function getLockedStake(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractCallerSession) GetLockupInfo

func (_Contract *ContractCallerSession) GetLockupInfo(arg0 common.Address, arg1 *big.Int) (struct {
	LockedStake *big.Int
	FromEpoch   *big.Int
	EndTime     *big.Int
	Duration    *big.Int
}, error)

GetLockupInfo is a free data retrieval call binding the contract method 0x96c7ee46.

Solidity: function getLockupInfo(address , uint256 ) view returns(uint256 lockedStake, uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractCallerSession) GetSelfStake

func (_Contract *ContractCallerSession) GetSelfStake(validatorID *big.Int) (*big.Int, error)

GetSelfStake is a free data retrieval call binding the contract method 0x5601fe01.

Solidity: function getSelfStake(uint256 validatorID) view returns(uint256)

func (*ContractCallerSession) GetStake

func (_Contract *ContractCallerSession) GetStake(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

GetStake is a free data retrieval call binding the contract method 0xcfd47663.

Solidity: function getStake(address , uint256 ) view returns(uint256)

func (*ContractCallerSession) GetStakerID

func (_Contract *ContractCallerSession) GetStakerID(_addr common.Address) (*big.Int, error)

GetStakerID is a free data retrieval call binding the contract method 0x63321e27.

Solidity: function getStakerID(address _addr) view returns(uint256)

func (*ContractCallerSession) GetStashedLockupRewards

func (_Contract *ContractCallerSession) GetStashedLockupRewards(arg0 common.Address, arg1 *big.Int) (struct {
	LockupExtraReward *big.Int
	LockupBaseReward  *big.Int
	UnlockedReward    *big.Int
}, error)

GetStashedLockupRewards is a free data retrieval call binding the contract method 0xb810e411.

Solidity: function getStashedLockupRewards(address , uint256 ) view returns(uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractCallerSession) GetUnlockedStake

func (_Contract *ContractCallerSession) GetUnlockedStake(delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

GetUnlockedStake is a free data retrieval call binding the contract method 0x12622d0e.

Solidity: function getUnlockedStake(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractCallerSession) GetValidator

func (_Contract *ContractCallerSession) GetValidator(arg0 *big.Int) (struct {
	Status           *big.Int
	DeactivatedTime  *big.Int
	DeactivatedEpoch *big.Int
	ReceivedStake    *big.Int
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	Auth             common.Address
}, error)

GetValidator is a free data retrieval call binding the contract method 0xb5d89627.

Solidity: function getValidator(uint256 ) view returns(uint256 status, uint256 deactivatedTime, uint256 deactivatedEpoch, uint256 receivedStake, uint256 createdEpoch, uint256 createdTime, address auth)

func (*ContractCallerSession) GetValidatorID

func (_Contract *ContractCallerSession) GetValidatorID(arg0 common.Address) (*big.Int, error)

GetValidatorID is a free data retrieval call binding the contract method 0x0135b1db.

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

func (*ContractCallerSession) GetValidatorPubkey

func (_Contract *ContractCallerSession) GetValidatorPubkey(arg0 *big.Int) ([]byte, error)

GetValidatorPubkey is a free data retrieval call binding the contract method 0x854873e1.

Solidity: function getValidatorPubkey(uint256 ) view returns(bytes)

func (*ContractCallerSession) GetWithdrawalRequest

func (_Contract *ContractCallerSession) GetWithdrawalRequest(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (struct {
	Epoch  *big.Int
	Time   *big.Int
	Amount *big.Int
}, error)

GetWithdrawalRequest is a free data retrieval call binding the contract method 0x1f270152.

Solidity: function getWithdrawalRequest(address , uint256 , uint256 ) view returns(uint256 epoch, uint256 time, uint256 amount)

func (*ContractCallerSession) IsDelegationLockedUp

func (_Contract *ContractCallerSession) IsDelegationLockedUp(delegator common.Address, toStakerID *big.Int) (bool, error)

IsDelegationLockedUp is a free data retrieval call binding the contract method 0xcfd5fa0c.

Solidity: function isDelegationLockedUp(address delegator, uint256 toStakerID) view returns(bool)

func (*ContractCallerSession) IsLockedUp

func (_Contract *ContractCallerSession) IsLockedUp(delegator common.Address, toValidatorID *big.Int) (bool, error)

IsLockedUp is a free data retrieval call binding the contract method 0xcfdbb7cd.

Solidity: function isLockedUp(address delegator, uint256 toValidatorID) view returns(bool)

func (*ContractCallerSession) IsOwner

func (_Contract *ContractCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractCallerSession) IsSlashed

func (_Contract *ContractCallerSession) IsSlashed(validatorID *big.Int) (bool, error)

IsSlashed is a free data retrieval call binding the contract method 0xc3de580e.

Solidity: function isSlashed(uint256 validatorID) view returns(bool)

func (*ContractCallerSession) IsStakeLockedUp

func (_Contract *ContractCallerSession) IsStakeLockedUp(stakerID *big.Int) (bool, error)

IsStakeLockedUp is a free data retrieval call binding the contract method 0x7f664d87.

Solidity: function isStakeLockedUp(uint256 stakerID) view returns(bool)

func (*ContractCallerSession) LastValidatorID

func (_Contract *ContractCallerSession) LastValidatorID() (*big.Int, error)

LastValidatorID is a free data retrieval call binding the contract method 0xc7be95de.

Solidity: function lastValidatorID() view returns(uint256)

func (*ContractCallerSession) LockedDelegations

func (_Contract *ContractCallerSession) LockedDelegations(delegator common.Address, toStakerID *big.Int) (struct {
	FromEpoch *big.Int
	EndTime   *big.Int
	Duration  *big.Int
}, error)

LockedDelegations is a free data retrieval call binding the contract method 0xdd099bb6.

Solidity: function lockedDelegations(address delegator, uint256 toStakerID) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractCallerSession) LockedStakes

func (_Contract *ContractCallerSession) LockedStakes(stakerID *big.Int) (struct {
	FromEpoch *big.Int
	EndTime   *big.Int
	Duration  *big.Int
}, error)

LockedStakes is a free data retrieval call binding the contract method 0xdf4f49d4.

Solidity: function lockedStakes(uint256 stakerID) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractCallerSession) MaxDelegatedRatio

func (_Contract *ContractCallerSession) MaxDelegatedRatio() (*big.Int, error)

MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.

Solidity: function maxDelegatedRatio() pure returns(uint256)

func (*ContractCallerSession) MaxLockupDuration

func (_Contract *ContractCallerSession) MaxLockupDuration() (*big.Int, error)

MaxLockupDuration is a free data retrieval call binding the contract method 0x0d4955e3.

Solidity: function maxLockupDuration() pure returns(uint256)

func (*ContractCallerSession) MinDelegation

func (_Contract *ContractCallerSession) MinDelegation() (*big.Int, error)

MinDelegation is a free data retrieval call binding the contract method 0x02985992.

Solidity: function minDelegation() pure returns(uint256)

func (*ContractCallerSession) MinDelegationDecrease

func (_Contract *ContractCallerSession) MinDelegationDecrease() (*big.Int, error)

MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.

Solidity: function minDelegationDecrease() pure returns(uint256)

func (*ContractCallerSession) MinDelegationIncrease

func (_Contract *ContractCallerSession) MinDelegationIncrease() (*big.Int, error)

MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.

Solidity: function minDelegationIncrease() pure returns(uint256)

func (*ContractCallerSession) MinLockupDuration

func (_Contract *ContractCallerSession) MinLockupDuration() (*big.Int, error)

MinLockupDuration is a free data retrieval call binding the contract method 0x0d7b2609.

Solidity: function minLockupDuration() pure returns(uint256)

func (*ContractCallerSession) MinSelfStake

func (_Contract *ContractCallerSession) MinSelfStake() (*big.Int, error)

MinSelfStake is a free data retrieval call binding the contract method 0xc5f530af.

Solidity: function minSelfStake() pure returns(uint256)

func (*ContractCallerSession) MinStake

func (_Contract *ContractCallerSession) MinStake() (*big.Int, error)

MinStake is a free data retrieval call binding the contract method 0x375b3c0a.

Solidity: function minStake() pure returns(uint256)

func (*ContractCallerSession) MinStakeDecrease

func (_Contract *ContractCallerSession) MinStakeDecrease() (*big.Int, error)

MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.

Solidity: function minStakeDecrease() pure returns(uint256)

func (*ContractCallerSession) MinStakeIncrease

func (_Contract *ContractCallerSession) MinStakeIncrease() (*big.Int, error)

MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.

Solidity: function minStakeIncrease() pure returns(uint256)

func (*ContractCallerSession) OfflinePenaltyThreshold

func (_Contract *ContractCallerSession) OfflinePenaltyThreshold() (struct {
	BlocksNum *big.Int
	Time      *big.Int
}, error)

OfflinePenaltyThreshold is a free data retrieval call binding the contract method 0x2cedb097.

Solidity: function offlinePenaltyThreshold() view returns(uint256 blocksNum, uint256 time)

func (*ContractCallerSession) Owner

func (_Contract *ContractCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractCallerSession) PendingRewards

func (_Contract *ContractCallerSession) PendingRewards(delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0x6099ecb2.

Solidity: function pendingRewards(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractCallerSession) RewardsStash

func (_Contract *ContractCallerSession) RewardsStash(delegator common.Address, validatorID *big.Int) (*big.Int, error)

RewardsStash is a free data retrieval call binding the contract method 0x6f498663.

Solidity: function rewardsStash(address delegator, uint256 validatorID) view returns(uint256)

func (*ContractCallerSession) SlashingRefundRatio

func (_Contract *ContractCallerSession) SlashingRefundRatio(arg0 *big.Int) (*big.Int, error)

SlashingRefundRatio is a free data retrieval call binding the contract method 0xc65ee0e1.

Solidity: function slashingRefundRatio(uint256 ) view returns(uint256)

func (*ContractCallerSession) StakeLockPeriodEpochs

func (_Contract *ContractCallerSession) StakeLockPeriodEpochs() (*big.Int, error)

StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.

Solidity: function stakeLockPeriodEpochs() pure returns(uint256)

func (*ContractCallerSession) StakeLockPeriodTime

func (_Contract *ContractCallerSession) StakeLockPeriodTime() (*big.Int, error)

StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.

Solidity: function stakeLockPeriodTime() pure returns(uint256)

func (*ContractCallerSession) StakeTotalAmount

func (_Contract *ContractCallerSession) StakeTotalAmount() (*big.Int, error)

StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.

Solidity: function stakeTotalAmount() view returns(uint256)

func (*ContractCallerSession) Stakers

func (_Contract *ContractCallerSession) Stakers(_stakerID *big.Int) (struct {
	Status           *big.Int
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	DeactivatedEpoch *big.Int
	DeactivatedTime  *big.Int
	StakeAmount      *big.Int
	PaidUntilEpoch   *big.Int
	DelegatedMe      *big.Int
	DagAddress       common.Address
	SfcAddress       common.Address
}, error)

Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.

Solidity: function stakers(uint256 _stakerID) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)

func (*ContractCallerSession) StakersLastID

func (_Contract *ContractCallerSession) StakersLastID() (*big.Int, error)

StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.

Solidity: function stakersLastID() view returns(uint256)

func (*ContractCallerSession) StakersNum

func (_Contract *ContractCallerSession) StakersNum() (*big.Int, error)

StakersNum is a free data retrieval call binding the contract method 0x08728f6e.

Solidity: function stakersNum() view returns(uint256)

func (*ContractCallerSession) StashedRewardsUntilEpoch

func (_Contract *ContractCallerSession) StashedRewardsUntilEpoch(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

StashedRewardsUntilEpoch is a free data retrieval call binding the contract method 0xa86a056f.

Solidity: function stashedRewardsUntilEpoch(address , uint256 ) view returns(uint256)

func (*ContractCallerSession) TotalActiveStake

func (_Contract *ContractCallerSession) TotalActiveStake() (*big.Int, error)

TotalActiveStake is a free data retrieval call binding the contract method 0x28f73148.

Solidity: function totalActiveStake() view returns(uint256)

func (*ContractCallerSession) TotalSlashedStake

func (_Contract *ContractCallerSession) TotalSlashedStake() (*big.Int, error)

TotalSlashedStake is a free data retrieval call binding the contract method 0x5fab23a8.

Solidity: function totalSlashedStake() view returns(uint256)

func (*ContractCallerSession) TotalStake

func (_Contract *ContractCallerSession) TotalStake() (*big.Int, error)

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

Solidity: function totalStake() view returns(uint256)

func (*ContractCallerSession) TotalSupply

func (_Contract *ContractCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*ContractCallerSession) UnlockedRewardRatio

func (_Contract *ContractCallerSession) UnlockedRewardRatio() (*big.Int, error)

UnlockedRewardRatio is a free data retrieval call binding the contract method 0x5e2308d2.

Solidity: function unlockedRewardRatio() pure returns(uint256)

func (*ContractCallerSession) ValidatorCommission

func (_Contract *ContractCallerSession) ValidatorCommission() (*big.Int, error)

ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.

Solidity: function validatorCommission() pure returns(uint256)

func (*ContractCallerSession) Version

func (_Contract *ContractCallerSession) Version() ([3]byte, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(bytes3)

func (*ContractCallerSession) WithdrawalPeriodEpochs

func (_Contract *ContractCallerSession) WithdrawalPeriodEpochs() (*big.Int, error)

WithdrawalPeriodEpochs is a free data retrieval call binding the contract method 0x650acd66.

Solidity: function withdrawalPeriodEpochs() pure returns(uint256)

func (*ContractCallerSession) WithdrawalPeriodTime

func (_Contract *ContractCallerSession) WithdrawalPeriodTime() (*big.Int, error)

WithdrawalPeriodTime is a free data retrieval call binding the contract method 0xb82b8427.

Solidity: function withdrawalPeriodTime() pure returns(uint256)

type ContractChangedValidatorStatus

type ContractChangedValidatorStatus struct {
	ValidatorID *big.Int
	Status      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ContractChangedValidatorStatus represents a ChangedValidatorStatus event raised by the Contract contract.

type ContractChangedValidatorStatusIterator

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

ContractChangedValidatorStatusIterator is returned from FilterChangedValidatorStatus and is used to iterate over the raw logs and unpacked data for ChangedValidatorStatus events raised by the Contract contract.

func (*ContractChangedValidatorStatusIterator) Close

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

func (*ContractChangedValidatorStatusIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractChangedValidatorStatusIterator) 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 ContractClaimedRewards

type ContractClaimedRewards struct {
	Delegator         common.Address
	ToValidatorID     *big.Int
	LockupExtraReward *big.Int
	LockupBaseReward  *big.Int
	UnlockedReward    *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ContractClaimedRewards represents a ClaimedRewards event raised by the Contract contract.

type ContractClaimedRewardsIterator

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

ContractClaimedRewardsIterator is returned from FilterClaimedRewards and is used to iterate over the raw logs and unpacked data for ClaimedRewards events raised by the Contract contract.

func (*ContractClaimedRewardsIterator) Close

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

func (*ContractClaimedRewardsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractClaimedRewardsIterator) 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 ContractCreatedValidator

type ContractCreatedValidator struct {
	ValidatorID  *big.Int
	Auth         common.Address
	CreatedEpoch *big.Int
	CreatedTime  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ContractCreatedValidator represents a CreatedValidator event raised by the Contract contract.

type ContractCreatedValidatorIterator

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

ContractCreatedValidatorIterator is returned from FilterCreatedValidator and is used to iterate over the raw logs and unpacked data for CreatedValidator events raised by the Contract contract.

func (*ContractCreatedValidatorIterator) Close

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

func (*ContractCreatedValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractCreatedValidatorIterator) 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 ContractDeactivatedValidator

type ContractDeactivatedValidator struct {
	ValidatorID      *big.Int
	DeactivatedEpoch *big.Int
	DeactivatedTime  *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

ContractDeactivatedValidator represents a DeactivatedValidator event raised by the Contract contract.

type ContractDeactivatedValidatorIterator

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

ContractDeactivatedValidatorIterator is returned from FilterDeactivatedValidator and is used to iterate over the raw logs and unpacked data for DeactivatedValidator events raised by the Contract contract.

func (*ContractDeactivatedValidatorIterator) Close

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

func (*ContractDeactivatedValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDeactivatedValidatorIterator) 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 ContractDelegated

type ContractDelegated struct {
	Delegator     common.Address
	ToValidatorID *big.Int
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

ContractDelegated represents a Delegated event raised by the Contract contract.

type ContractDelegatedIterator

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

ContractDelegatedIterator is returned from FilterDelegated and is used to iterate over the raw logs and unpacked data for Delegated events raised by the Contract contract.

func (*ContractDelegatedIterator) Close

func (it *ContractDelegatedIterator) Close() error

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

func (*ContractDelegatedIterator) Error

func (it *ContractDelegatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDelegatedIterator) Next

func (it *ContractDelegatedIterator) 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 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) FilterChangedValidatorStatus

func (_Contract *ContractFilterer) FilterChangedValidatorStatus(opts *bind.FilterOpts, validatorID []*big.Int) (*ContractChangedValidatorStatusIterator, error)

FilterChangedValidatorStatus is a free log retrieval operation binding the contract event 0xcd35267e7654194727477d6c78b541a553483cff7f92a055d17868d3da6e953e.

Solidity: event ChangedValidatorStatus(uint256 indexed validatorID, uint256 status)

func (*ContractFilterer) FilterClaimedRewards

func (_Contract *ContractFilterer) FilterClaimedRewards(opts *bind.FilterOpts, delegator []common.Address, toValidatorID []*big.Int) (*ContractClaimedRewardsIterator, error)

FilterClaimedRewards is a free log retrieval operation binding the contract event 0xc1d8eb6e444b89fb8ff0991c19311c070df704ccb009e210d1462d5b2410bf45.

Solidity: event ClaimedRewards(address indexed delegator, uint256 indexed toValidatorID, uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractFilterer) FilterCreatedValidator

func (_Contract *ContractFilterer) FilterCreatedValidator(opts *bind.FilterOpts, validatorID []*big.Int, auth []common.Address) (*ContractCreatedValidatorIterator, error)

FilterCreatedValidator is a free log retrieval operation binding the contract event 0x49bca1ed2666922f9f1690c26a569e1299c2a715fe57647d77e81adfabbf25bf.

Solidity: event CreatedValidator(uint256 indexed validatorID, address indexed auth, uint256 createdEpoch, uint256 createdTime)

func (*ContractFilterer) FilterDeactivatedValidator

func (_Contract *ContractFilterer) FilterDeactivatedValidator(opts *bind.FilterOpts, validatorID []*big.Int) (*ContractDeactivatedValidatorIterator, error)

FilterDeactivatedValidator is a free log retrieval operation binding the contract event 0xac4801c32a6067ff757446524ee4e7a373797278ac3c883eac5c693b4ad72e47.

Solidity: event DeactivatedValidator(uint256 indexed validatorID, uint256 deactivatedEpoch, uint256 deactivatedTime)

func (*ContractFilterer) FilterDelegated

func (_Contract *ContractFilterer) FilterDelegated(opts *bind.FilterOpts, delegator []common.Address, toValidatorID []*big.Int) (*ContractDelegatedIterator, error)

FilterDelegated is a free log retrieval operation binding the contract event 0x9a8f44850296624dadfd9c246d17e47171d35727a181bd090aa14bbbe00238bb.

Solidity: event Delegated(address indexed delegator, uint256 indexed toValidatorID, uint256 amount)

func (*ContractFilterer) FilterLockedUpStake

func (_Contract *ContractFilterer) FilterLockedUpStake(opts *bind.FilterOpts, delegator []common.Address, validatorID []*big.Int) (*ContractLockedUpStakeIterator, error)

FilterLockedUpStake is a free log retrieval operation binding the contract event 0x138940e95abffcd789b497bf6188bba3afa5fbd22fb5c42c2f6018d1bf0f4e78.

Solidity: event LockedUpStake(address indexed delegator, uint256 indexed validatorID, uint256 duration, uint256 amount)

func (*ContractFilterer) FilterOwnershipTransferred

func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractFilterer) FilterRestakedRewards

func (_Contract *ContractFilterer) FilterRestakedRewards(opts *bind.FilterOpts, delegator []common.Address, toValidatorID []*big.Int) (*ContractRestakedRewardsIterator, error)

FilterRestakedRewards is a free log retrieval operation binding the contract event 0x4119153d17a36f9597d40e3ab4148d03261a439dddbec4e91799ab7159608e26.

Solidity: event RestakedRewards(address indexed delegator, uint256 indexed toValidatorID, uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractFilterer) FilterUndelegated

func (_Contract *ContractFilterer) FilterUndelegated(opts *bind.FilterOpts, delegator []common.Address, toValidatorID []*big.Int, wrID []*big.Int) (*ContractUndelegatedIterator, error)

FilterUndelegated is a free log retrieval operation binding the contract event 0xd3bb4e423fbea695d16b982f9f682dc5f35152e5411646a8a5a79a6b02ba8d57.

Solidity: event Undelegated(address indexed delegator, uint256 indexed toValidatorID, uint256 indexed wrID, uint256 amount)

func (*ContractFilterer) FilterUnlockedStake

func (_Contract *ContractFilterer) FilterUnlockedStake(opts *bind.FilterOpts, delegator []common.Address, validatorID []*big.Int) (*ContractUnlockedStakeIterator, error)

FilterUnlockedStake is a free log retrieval operation binding the contract event 0xef6c0c14fe9aa51af36acd791464dec3badbde668b63189b47bfa4e25be9b2b9.

Solidity: event UnlockedStake(address indexed delegator, uint256 indexed validatorID, uint256 amount, uint256 penalty)

func (*ContractFilterer) FilterUpdatedBaseRewardPerSec

func (_Contract *ContractFilterer) FilterUpdatedBaseRewardPerSec(opts *bind.FilterOpts) (*ContractUpdatedBaseRewardPerSecIterator, error)

FilterUpdatedBaseRewardPerSec is a free log retrieval operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.

Solidity: event UpdatedBaseRewardPerSec(uint256 value)

func (*ContractFilterer) FilterUpdatedOfflinePenaltyThreshold

func (_Contract *ContractFilterer) FilterUpdatedOfflinePenaltyThreshold(opts *bind.FilterOpts) (*ContractUpdatedOfflinePenaltyThresholdIterator, error)

FilterUpdatedOfflinePenaltyThreshold is a free log retrieval operation binding the contract event 0x702756a07c05d0bbfd06fc17b67951a5f4deb7bb6b088407e68a58969daf2a34.

Solidity: event UpdatedOfflinePenaltyThreshold(uint256 blocksNum, uint256 period)

func (*ContractFilterer) FilterUpdatedSlashingRefundRatio

func (_Contract *ContractFilterer) FilterUpdatedSlashingRefundRatio(opts *bind.FilterOpts, validatorID []*big.Int) (*ContractUpdatedSlashingRefundRatioIterator, error)

FilterUpdatedSlashingRefundRatio is a free log retrieval operation binding the contract event 0x047575f43f09a7a093d94ec483064acfc61b7e25c0de28017da442abf99cb917.

Solidity: event UpdatedSlashingRefundRatio(uint256 indexed validatorID, uint256 refundRatio)

func (*ContractFilterer) FilterWithdrawn

func (_Contract *ContractFilterer) FilterWithdrawn(opts *bind.FilterOpts, delegator []common.Address, toValidatorID []*big.Int, wrID []*big.Int) (*ContractWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x75e161b3e824b114fc1a33274bd7091918dd4e639cede50b78b15a4eea956a21.

Solidity: event Withdrawn(address indexed delegator, uint256 indexed toValidatorID, uint256 indexed wrID, uint256 amount)

func (*ContractFilterer) ParseChangedValidatorStatus

func (_Contract *ContractFilterer) ParseChangedValidatorStatus(log types.Log) (*ContractChangedValidatorStatus, error)

ParseChangedValidatorStatus is a log parse operation binding the contract event 0xcd35267e7654194727477d6c78b541a553483cff7f92a055d17868d3da6e953e.

Solidity: event ChangedValidatorStatus(uint256 indexed validatorID, uint256 status)

func (*ContractFilterer) ParseClaimedRewards

func (_Contract *ContractFilterer) ParseClaimedRewards(log types.Log) (*ContractClaimedRewards, error)

ParseClaimedRewards is a log parse operation binding the contract event 0xc1d8eb6e444b89fb8ff0991c19311c070df704ccb009e210d1462d5b2410bf45.

Solidity: event ClaimedRewards(address indexed delegator, uint256 indexed toValidatorID, uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractFilterer) ParseCreatedValidator

func (_Contract *ContractFilterer) ParseCreatedValidator(log types.Log) (*ContractCreatedValidator, error)

ParseCreatedValidator is a log parse operation binding the contract event 0x49bca1ed2666922f9f1690c26a569e1299c2a715fe57647d77e81adfabbf25bf.

Solidity: event CreatedValidator(uint256 indexed validatorID, address indexed auth, uint256 createdEpoch, uint256 createdTime)

func (*ContractFilterer) ParseDeactivatedValidator

func (_Contract *ContractFilterer) ParseDeactivatedValidator(log types.Log) (*ContractDeactivatedValidator, error)

ParseDeactivatedValidator is a log parse operation binding the contract event 0xac4801c32a6067ff757446524ee4e7a373797278ac3c883eac5c693b4ad72e47.

Solidity: event DeactivatedValidator(uint256 indexed validatorID, uint256 deactivatedEpoch, uint256 deactivatedTime)

func (*ContractFilterer) ParseDelegated

func (_Contract *ContractFilterer) ParseDelegated(log types.Log) (*ContractDelegated, error)

ParseDelegated is a log parse operation binding the contract event 0x9a8f44850296624dadfd9c246d17e47171d35727a181bd090aa14bbbe00238bb.

Solidity: event Delegated(address indexed delegator, uint256 indexed toValidatorID, uint256 amount)

func (*ContractFilterer) ParseLockedUpStake

func (_Contract *ContractFilterer) ParseLockedUpStake(log types.Log) (*ContractLockedUpStake, error)

ParseLockedUpStake is a log parse operation binding the contract event 0x138940e95abffcd789b497bf6188bba3afa5fbd22fb5c42c2f6018d1bf0f4e78.

Solidity: event LockedUpStake(address indexed delegator, uint256 indexed validatorID, uint256 duration, uint256 amount)

func (*ContractFilterer) ParseOwnershipTransferred

func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractFilterer) ParseRestakedRewards

func (_Contract *ContractFilterer) ParseRestakedRewards(log types.Log) (*ContractRestakedRewards, error)

ParseRestakedRewards is a log parse operation binding the contract event 0x4119153d17a36f9597d40e3ab4148d03261a439dddbec4e91799ab7159608e26.

Solidity: event RestakedRewards(address indexed delegator, uint256 indexed toValidatorID, uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractFilterer) ParseUndelegated

func (_Contract *ContractFilterer) ParseUndelegated(log types.Log) (*ContractUndelegated, error)

ParseUndelegated is a log parse operation binding the contract event 0xd3bb4e423fbea695d16b982f9f682dc5f35152e5411646a8a5a79a6b02ba8d57.

Solidity: event Undelegated(address indexed delegator, uint256 indexed toValidatorID, uint256 indexed wrID, uint256 amount)

func (*ContractFilterer) ParseUnlockedStake

func (_Contract *ContractFilterer) ParseUnlockedStake(log types.Log) (*ContractUnlockedStake, error)

ParseUnlockedStake is a log parse operation binding the contract event 0xef6c0c14fe9aa51af36acd791464dec3badbde668b63189b47bfa4e25be9b2b9.

Solidity: event UnlockedStake(address indexed delegator, uint256 indexed validatorID, uint256 amount, uint256 penalty)

func (*ContractFilterer) ParseUpdatedBaseRewardPerSec

func (_Contract *ContractFilterer) ParseUpdatedBaseRewardPerSec(log types.Log) (*ContractUpdatedBaseRewardPerSec, error)

ParseUpdatedBaseRewardPerSec is a log parse operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.

Solidity: event UpdatedBaseRewardPerSec(uint256 value)

func (*ContractFilterer) ParseUpdatedOfflinePenaltyThreshold

func (_Contract *ContractFilterer) ParseUpdatedOfflinePenaltyThreshold(log types.Log) (*ContractUpdatedOfflinePenaltyThreshold, error)

ParseUpdatedOfflinePenaltyThreshold is a log parse operation binding the contract event 0x702756a07c05d0bbfd06fc17b67951a5f4deb7bb6b088407e68a58969daf2a34.

Solidity: event UpdatedOfflinePenaltyThreshold(uint256 blocksNum, uint256 period)

func (*ContractFilterer) ParseUpdatedSlashingRefundRatio

func (_Contract *ContractFilterer) ParseUpdatedSlashingRefundRatio(log types.Log) (*ContractUpdatedSlashingRefundRatio, error)

ParseUpdatedSlashingRefundRatio is a log parse operation binding the contract event 0x047575f43f09a7a093d94ec483064acfc61b7e25c0de28017da442abf99cb917.

Solidity: event UpdatedSlashingRefundRatio(uint256 indexed validatorID, uint256 refundRatio)

func (*ContractFilterer) ParseWithdrawn

func (_Contract *ContractFilterer) ParseWithdrawn(log types.Log) (*ContractWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x75e161b3e824b114fc1a33274bd7091918dd4e639cede50b78b15a4eea956a21.

Solidity: event Withdrawn(address indexed delegator, uint256 indexed toValidatorID, uint256 indexed wrID, uint256 amount)

func (*ContractFilterer) WatchChangedValidatorStatus

func (_Contract *ContractFilterer) WatchChangedValidatorStatus(opts *bind.WatchOpts, sink chan<- *ContractChangedValidatorStatus, validatorID []*big.Int) (event.Subscription, error)

WatchChangedValidatorStatus is a free log subscription operation binding the contract event 0xcd35267e7654194727477d6c78b541a553483cff7f92a055d17868d3da6e953e.

Solidity: event ChangedValidatorStatus(uint256 indexed validatorID, uint256 status)

func (*ContractFilterer) WatchClaimedRewards

func (_Contract *ContractFilterer) WatchClaimedRewards(opts *bind.WatchOpts, sink chan<- *ContractClaimedRewards, delegator []common.Address, toValidatorID []*big.Int) (event.Subscription, error)

WatchClaimedRewards is a free log subscription operation binding the contract event 0xc1d8eb6e444b89fb8ff0991c19311c070df704ccb009e210d1462d5b2410bf45.

Solidity: event ClaimedRewards(address indexed delegator, uint256 indexed toValidatorID, uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractFilterer) WatchCreatedValidator

func (_Contract *ContractFilterer) WatchCreatedValidator(opts *bind.WatchOpts, sink chan<- *ContractCreatedValidator, validatorID []*big.Int, auth []common.Address) (event.Subscription, error)

WatchCreatedValidator is a free log subscription operation binding the contract event 0x49bca1ed2666922f9f1690c26a569e1299c2a715fe57647d77e81adfabbf25bf.

Solidity: event CreatedValidator(uint256 indexed validatorID, address indexed auth, uint256 createdEpoch, uint256 createdTime)

func (*ContractFilterer) WatchDeactivatedValidator

func (_Contract *ContractFilterer) WatchDeactivatedValidator(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedValidator, validatorID []*big.Int) (event.Subscription, error)

WatchDeactivatedValidator is a free log subscription operation binding the contract event 0xac4801c32a6067ff757446524ee4e7a373797278ac3c883eac5c693b4ad72e47.

Solidity: event DeactivatedValidator(uint256 indexed validatorID, uint256 deactivatedEpoch, uint256 deactivatedTime)

func (*ContractFilterer) WatchDelegated

func (_Contract *ContractFilterer) WatchDelegated(opts *bind.WatchOpts, sink chan<- *ContractDelegated, delegator []common.Address, toValidatorID []*big.Int) (event.Subscription, error)

WatchDelegated is a free log subscription operation binding the contract event 0x9a8f44850296624dadfd9c246d17e47171d35727a181bd090aa14bbbe00238bb.

Solidity: event Delegated(address indexed delegator, uint256 indexed toValidatorID, uint256 amount)

func (*ContractFilterer) WatchLockedUpStake

func (_Contract *ContractFilterer) WatchLockedUpStake(opts *bind.WatchOpts, sink chan<- *ContractLockedUpStake, delegator []common.Address, validatorID []*big.Int) (event.Subscription, error)

WatchLockedUpStake is a free log subscription operation binding the contract event 0x138940e95abffcd789b497bf6188bba3afa5fbd22fb5c42c2f6018d1bf0f4e78.

Solidity: event LockedUpStake(address indexed delegator, uint256 indexed validatorID, uint256 duration, uint256 amount)

func (*ContractFilterer) WatchOwnershipTransferred

func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractFilterer) WatchRestakedRewards

func (_Contract *ContractFilterer) WatchRestakedRewards(opts *bind.WatchOpts, sink chan<- *ContractRestakedRewards, delegator []common.Address, toValidatorID []*big.Int) (event.Subscription, error)

WatchRestakedRewards is a free log subscription operation binding the contract event 0x4119153d17a36f9597d40e3ab4148d03261a439dddbec4e91799ab7159608e26.

Solidity: event RestakedRewards(address indexed delegator, uint256 indexed toValidatorID, uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractFilterer) WatchUndelegated

func (_Contract *ContractFilterer) WatchUndelegated(opts *bind.WatchOpts, sink chan<- *ContractUndelegated, delegator []common.Address, toValidatorID []*big.Int, wrID []*big.Int) (event.Subscription, error)

WatchUndelegated is a free log subscription operation binding the contract event 0xd3bb4e423fbea695d16b982f9f682dc5f35152e5411646a8a5a79a6b02ba8d57.

Solidity: event Undelegated(address indexed delegator, uint256 indexed toValidatorID, uint256 indexed wrID, uint256 amount)

func (*ContractFilterer) WatchUnlockedStake

func (_Contract *ContractFilterer) WatchUnlockedStake(opts *bind.WatchOpts, sink chan<- *ContractUnlockedStake, delegator []common.Address, validatorID []*big.Int) (event.Subscription, error)

WatchUnlockedStake is a free log subscription operation binding the contract event 0xef6c0c14fe9aa51af36acd791464dec3badbde668b63189b47bfa4e25be9b2b9.

Solidity: event UnlockedStake(address indexed delegator, uint256 indexed validatorID, uint256 amount, uint256 penalty)

func (*ContractFilterer) WatchUpdatedBaseRewardPerSec

func (_Contract *ContractFilterer) WatchUpdatedBaseRewardPerSec(opts *bind.WatchOpts, sink chan<- *ContractUpdatedBaseRewardPerSec) (event.Subscription, error)

WatchUpdatedBaseRewardPerSec is a free log subscription operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.

Solidity: event UpdatedBaseRewardPerSec(uint256 value)

func (*ContractFilterer) WatchUpdatedOfflinePenaltyThreshold

func (_Contract *ContractFilterer) WatchUpdatedOfflinePenaltyThreshold(opts *bind.WatchOpts, sink chan<- *ContractUpdatedOfflinePenaltyThreshold) (event.Subscription, error)

WatchUpdatedOfflinePenaltyThreshold is a free log subscription operation binding the contract event 0x702756a07c05d0bbfd06fc17b67951a5f4deb7bb6b088407e68a58969daf2a34.

Solidity: event UpdatedOfflinePenaltyThreshold(uint256 blocksNum, uint256 period)

func (*ContractFilterer) WatchUpdatedSlashingRefundRatio

func (_Contract *ContractFilterer) WatchUpdatedSlashingRefundRatio(opts *bind.WatchOpts, sink chan<- *ContractUpdatedSlashingRefundRatio, validatorID []*big.Int) (event.Subscription, error)

WatchUpdatedSlashingRefundRatio is a free log subscription operation binding the contract event 0x047575f43f09a7a093d94ec483064acfc61b7e25c0de28017da442abf99cb917.

Solidity: event UpdatedSlashingRefundRatio(uint256 indexed validatorID, uint256 refundRatio)

func (*ContractFilterer) WatchWithdrawn

func (_Contract *ContractFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *ContractWithdrawn, delegator []common.Address, toValidatorID []*big.Int, wrID []*big.Int) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x75e161b3e824b114fc1a33274bd7091918dd4e639cede50b78b15a4eea956a21.

Solidity: event Withdrawn(address indexed delegator, uint256 indexed toValidatorID, uint256 indexed wrID, uint256 amount)

type ContractLockedUpStake

type ContractLockedUpStake struct {
	Delegator   common.Address
	ValidatorID *big.Int
	Duration    *big.Int
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ContractLockedUpStake represents a LockedUpStake event raised by the Contract contract.

type ContractLockedUpStakeIterator

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

ContractLockedUpStakeIterator is returned from FilterLockedUpStake and is used to iterate over the raw logs and unpacked data for LockedUpStake events raised by the Contract contract.

func (*ContractLockedUpStakeIterator) Close

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

func (*ContractLockedUpStakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractLockedUpStakeIterator) 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 ContractOwnershipTransferred

type ContractOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.

type ContractOwnershipTransferredIterator

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

ContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Contract contract.

func (*ContractOwnershipTransferredIterator) Close

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

func (*ContractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnershipTransferredIterator) 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 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 ContractRestakedRewards

type ContractRestakedRewards struct {
	Delegator         common.Address
	ToValidatorID     *big.Int
	LockupExtraReward *big.Int
	LockupBaseReward  *big.Int
	UnlockedReward    *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ContractRestakedRewards represents a RestakedRewards event raised by the Contract contract.

type ContractRestakedRewardsIterator

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

ContractRestakedRewardsIterator is returned from FilterRestakedRewards and is used to iterate over the raw logs and unpacked data for RestakedRewards events raised by the Contract contract.

func (*ContractRestakedRewardsIterator) Close

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

func (*ContractRestakedRewardsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractRestakedRewardsIterator) 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 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) BaseRewardPerSecond

func (_Contract *ContractSession) BaseRewardPerSecond() (*big.Int, error)

BaseRewardPerSecond is a free data retrieval call binding the contract method 0xd9a7c1f9.

Solidity: function baseRewardPerSecond() view returns(uint256)

func (*ContractSession) CalcDelegationRewards

func (_Contract *ContractSession) CalcDelegationRewards(delegator common.Address, toStakerID *big.Int, arg2 *big.Int, arg3 *big.Int) (*big.Int, *big.Int, *big.Int, error)

CalcDelegationRewards is a free data retrieval call binding the contract method 0xd845fc90.

Solidity: function calcDelegationRewards(address delegator, uint256 toStakerID, uint256 , uint256 ) view returns(uint256, uint256, uint256)

func (*ContractSession) CalcValidatorRewards

func (_Contract *ContractSession) CalcValidatorRewards(stakerID *big.Int, arg1 *big.Int, arg2 *big.Int) (*big.Int, *big.Int, *big.Int, error)

CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.

Solidity: function calcValidatorRewards(uint256 stakerID, uint256 , uint256 ) view returns(uint256, uint256, uint256)

func (*ContractSession) ClaimDelegationCompoundRewards

func (_Contract *ContractSession) ClaimDelegationCompoundRewards(arg0 *big.Int, toStakerID *big.Int) (*types.Transaction, error)

ClaimDelegationCompoundRewards is a paid mutator transaction binding the contract method 0xdc599bb1.

Solidity: function claimDelegationCompoundRewards(uint256 , uint256 toStakerID) returns()

func (*ContractSession) ClaimDelegationRewards

func (_Contract *ContractSession) ClaimDelegationRewards(arg0 *big.Int, toStakerID *big.Int) (*types.Transaction, error)

ClaimDelegationRewards is a paid mutator transaction binding the contract method 0xf99837e6.

Solidity: function claimDelegationRewards(uint256 , uint256 toStakerID) returns()

func (*ContractSession) ClaimRewards

func (_Contract *ContractSession) ClaimRewards(toValidatorID *big.Int) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x0962ef79.

Solidity: function claimRewards(uint256 toValidatorID) returns()

func (*ContractSession) ClaimValidatorCompoundRewards

func (_Contract *ContractSession) ClaimValidatorCompoundRewards(arg0 *big.Int) (*types.Transaction, error)

ClaimValidatorCompoundRewards is a paid mutator transaction binding the contract method 0xcda5826a.

Solidity: function claimValidatorCompoundRewards(uint256 ) returns()

func (*ContractSession) ClaimValidatorRewards

func (_Contract *ContractSession) ClaimValidatorRewards(arg0 *big.Int) (*types.Transaction, error)

ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.

Solidity: function claimValidatorRewards(uint256 ) returns()

func (*ContractSession) ContractCommission

func (_Contract *ContractSession) ContractCommission() (*big.Int, error)

ContractCommission is a free data retrieval call binding the contract method 0x2709275e.

Solidity: function contractCommission() pure returns(uint256)

func (*ContractSession) CreateDelegation

func (_Contract *ContractSession) CreateDelegation(toValidatorID *big.Int) (*types.Transaction, error)

CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.

Solidity: function createDelegation(uint256 toValidatorID) payable returns()

func (*ContractSession) CreateValidator

func (_Contract *ContractSession) CreateValidator(pubkey []byte) (*types.Transaction, error)

CreateValidator is a paid mutator transaction binding the contract method 0xa5a470ad.

Solidity: function createValidator(bytes pubkey) payable returns()

func (*ContractSession) CurrentEpoch

func (_Contract *ContractSession) CurrentEpoch() (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() view returns(uint256)

func (*ContractSession) CurrentSealedEpoch

func (_Contract *ContractSession) CurrentSealedEpoch() (*big.Int, error)

CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.

Solidity: function currentSealedEpoch() view returns(uint256)

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) Delegate

func (_Contract *ContractSession) Delegate(toValidatorID *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9fa6dd35.

Solidity: function delegate(uint256 toValidatorID) payable returns()

func (*ContractSession) DelegationLockPeriodEpochs

func (_Contract *ContractSession) DelegationLockPeriodEpochs() (*big.Int, error)

DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.

Solidity: function delegationLockPeriodEpochs() pure returns(uint256)

func (*ContractSession) DelegationLockPeriodTime

func (_Contract *ContractSession) DelegationLockPeriodTime() (*big.Int, error)

DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.

Solidity: function delegationLockPeriodTime() pure returns(uint256)

func (*ContractSession) Delegations

func (_Contract *ContractSession) Delegations(_from common.Address, _toStakerID *big.Int) (struct {
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	DeactivatedEpoch *big.Int
	DeactivatedTime  *big.Int
	Amount           *big.Int
	PaidUntilEpoch   *big.Int
	ToStakerID       *big.Int
}, error)

Delegations is a free data retrieval call binding the contract method 0x223fae09.

Solidity: function delegations(address _from, uint256 _toStakerID) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)

func (*ContractSession) DelegationsNum

func (_Contract *ContractSession) DelegationsNum() (*big.Int, error)

DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.

Solidity: function delegationsNum() pure returns(uint256)

func (*ContractSession) DelegationsTotalAmount

func (_Contract *ContractSession) DelegationsTotalAmount() (*big.Int, error)

DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.

Solidity: function delegationsTotalAmount() view returns(uint256)

func (*ContractSession) GetEpochAccumulatedOriginatedTxsFee

func (_Contract *ContractSession) GetEpochAccumulatedOriginatedTxsFee(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedOriginatedTxsFee is a free data retrieval call binding the contract method 0xdc31e1af.

Solidity: function getEpochAccumulatedOriginatedTxsFee(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractSession) GetEpochAccumulatedRewardPerToken

func (_Contract *ContractSession) GetEpochAccumulatedRewardPerToken(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedRewardPerToken is a free data retrieval call binding the contract method 0x61e53fcc.

Solidity: function getEpochAccumulatedRewardPerToken(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractSession) GetEpochAccumulatedUptime

func (_Contract *ContractSession) GetEpochAccumulatedUptime(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochAccumulatedUptime is a free data retrieval call binding the contract method 0xdf00c922.

Solidity: function getEpochAccumulatedUptime(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractSession) GetEpochOfflineBlocks

func (_Contract *ContractSession) GetEpochOfflineBlocks(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochOfflineBlocks is a free data retrieval call binding the contract method 0xa198d229.

Solidity: function getEpochOfflineBlocks(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractSession) GetEpochOfflineTime

func (_Contract *ContractSession) GetEpochOfflineTime(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochOfflineTime is a free data retrieval call binding the contract method 0xe261641a.

Solidity: function getEpochOfflineTime(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractSession) GetEpochReceivedStake

func (_Contract *ContractSession) GetEpochReceivedStake(epoch *big.Int, validatorID *big.Int) (*big.Int, error)

GetEpochReceivedStake is a free data retrieval call binding the contract method 0x58f95b80.

Solidity: function getEpochReceivedStake(uint256 epoch, uint256 validatorID) view returns(uint256)

func (*ContractSession) GetEpochSnapshot

func (_Contract *ContractSession) GetEpochSnapshot(arg0 *big.Int) (struct {
	EndTime               *big.Int
	EpochFee              *big.Int
	TotalBaseRewardWeight *big.Int
	TotalTxRewardWeight   *big.Int
	BaseRewardPerSecond   *big.Int
	TotalStake            *big.Int
	TotalSupply           *big.Int
}, error)

GetEpochSnapshot is a free data retrieval call binding the contract method 0x39b80c00.

Solidity: function getEpochSnapshot(uint256 ) view returns(uint256 endTime, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 totalStake, uint256 totalSupply)

func (*ContractSession) GetEpochValidatorIDs

func (_Contract *ContractSession) GetEpochValidatorIDs(epoch *big.Int) ([]*big.Int, error)

GetEpochValidatorIDs is a free data retrieval call binding the contract method 0xb88a37e2.

Solidity: function getEpochValidatorIDs(uint256 epoch) view returns(uint256[])

func (*ContractSession) GetLockedStake

func (_Contract *ContractSession) GetLockedStake(delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

GetLockedStake is a free data retrieval call binding the contract method 0x670322f8.

Solidity: function getLockedStake(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractSession) GetLockupInfo

func (_Contract *ContractSession) GetLockupInfo(arg0 common.Address, arg1 *big.Int) (struct {
	LockedStake *big.Int
	FromEpoch   *big.Int
	EndTime     *big.Int
	Duration    *big.Int
}, error)

GetLockupInfo is a free data retrieval call binding the contract method 0x96c7ee46.

Solidity: function getLockupInfo(address , uint256 ) view returns(uint256 lockedStake, uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractSession) GetSelfStake

func (_Contract *ContractSession) GetSelfStake(validatorID *big.Int) (*big.Int, error)

GetSelfStake is a free data retrieval call binding the contract method 0x5601fe01.

Solidity: function getSelfStake(uint256 validatorID) view returns(uint256)

func (*ContractSession) GetStake

func (_Contract *ContractSession) GetStake(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

GetStake is a free data retrieval call binding the contract method 0xcfd47663.

Solidity: function getStake(address , uint256 ) view returns(uint256)

func (*ContractSession) GetStakerID

func (_Contract *ContractSession) GetStakerID(_addr common.Address) (*big.Int, error)

GetStakerID is a free data retrieval call binding the contract method 0x63321e27.

Solidity: function getStakerID(address _addr) view returns(uint256)

func (*ContractSession) GetStashedLockupRewards

func (_Contract *ContractSession) GetStashedLockupRewards(arg0 common.Address, arg1 *big.Int) (struct {
	LockupExtraReward *big.Int
	LockupBaseReward  *big.Int
	UnlockedReward    *big.Int
}, error)

GetStashedLockupRewards is a free data retrieval call binding the contract method 0xb810e411.

Solidity: function getStashedLockupRewards(address , uint256 ) view returns(uint256 lockupExtraReward, uint256 lockupBaseReward, uint256 unlockedReward)

func (*ContractSession) GetUnlockedStake

func (_Contract *ContractSession) GetUnlockedStake(delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

GetUnlockedStake is a free data retrieval call binding the contract method 0x12622d0e.

Solidity: function getUnlockedStake(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractSession) GetValidator

func (_Contract *ContractSession) GetValidator(arg0 *big.Int) (struct {
	Status           *big.Int
	DeactivatedTime  *big.Int
	DeactivatedEpoch *big.Int
	ReceivedStake    *big.Int
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	Auth             common.Address
}, error)

GetValidator is a free data retrieval call binding the contract method 0xb5d89627.

Solidity: function getValidator(uint256 ) view returns(uint256 status, uint256 deactivatedTime, uint256 deactivatedEpoch, uint256 receivedStake, uint256 createdEpoch, uint256 createdTime, address auth)

func (*ContractSession) GetValidatorID

func (_Contract *ContractSession) GetValidatorID(arg0 common.Address) (*big.Int, error)

GetValidatorID is a free data retrieval call binding the contract method 0x0135b1db.

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

func (*ContractSession) GetValidatorPubkey

func (_Contract *ContractSession) GetValidatorPubkey(arg0 *big.Int) ([]byte, error)

GetValidatorPubkey is a free data retrieval call binding the contract method 0x854873e1.

Solidity: function getValidatorPubkey(uint256 ) view returns(bytes)

func (*ContractSession) GetWithdrawalRequest

func (_Contract *ContractSession) GetWithdrawalRequest(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (struct {
	Epoch  *big.Int
	Time   *big.Int
	Amount *big.Int
}, error)

GetWithdrawalRequest is a free data retrieval call binding the contract method 0x1f270152.

Solidity: function getWithdrawalRequest(address , uint256 , uint256 ) view returns(uint256 epoch, uint256 time, uint256 amount)

func (*ContractSession) Initialize

func (_Contract *ContractSession) Initialize(sealedEpoch *big.Int, _totalSupply *big.Int, nodeDriver common.Address, owner common.Address) (*types.Transaction, error)

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

Solidity: function initialize(uint256 sealedEpoch, uint256 _totalSupply, address nodeDriver, address owner) returns()

func (*ContractSession) IsDelegationLockedUp

func (_Contract *ContractSession) IsDelegationLockedUp(delegator common.Address, toStakerID *big.Int) (bool, error)

IsDelegationLockedUp is a free data retrieval call binding the contract method 0xcfd5fa0c.

Solidity: function isDelegationLockedUp(address delegator, uint256 toStakerID) view returns(bool)

func (*ContractSession) IsLockedUp

func (_Contract *ContractSession) IsLockedUp(delegator common.Address, toValidatorID *big.Int) (bool, error)

IsLockedUp is a free data retrieval call binding the contract method 0xcfdbb7cd.

Solidity: function isLockedUp(address delegator, uint256 toValidatorID) view returns(bool)

func (*ContractSession) IsOwner

func (_Contract *ContractSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractSession) IsSlashed

func (_Contract *ContractSession) IsSlashed(validatorID *big.Int) (bool, error)

IsSlashed is a free data retrieval call binding the contract method 0xc3de580e.

Solidity: function isSlashed(uint256 validatorID) view returns(bool)

func (*ContractSession) IsStakeLockedUp

func (_Contract *ContractSession) IsStakeLockedUp(stakerID *big.Int) (bool, error)

IsStakeLockedUp is a free data retrieval call binding the contract method 0x7f664d87.

Solidity: function isStakeLockedUp(uint256 stakerID) view returns(bool)

func (*ContractSession) LastValidatorID

func (_Contract *ContractSession) LastValidatorID() (*big.Int, error)

LastValidatorID is a free data retrieval call binding the contract method 0xc7be95de.

Solidity: function lastValidatorID() view returns(uint256)

func (*ContractSession) LockStake

func (_Contract *ContractSession) LockStake(toValidatorID *big.Int, lockupDuration *big.Int, amount *big.Int) (*types.Transaction, error)

LockStake is a paid mutator transaction binding the contract method 0xde67f215.

Solidity: function lockStake(uint256 toValidatorID, uint256 lockupDuration, uint256 amount) returns()

func (*ContractSession) LockUpDelegation

func (_Contract *ContractSession) LockUpDelegation(lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)

LockUpDelegation is a paid mutator transaction binding the contract method 0xa4b89fab.

Solidity: function lockUpDelegation(uint256 lockDuration, uint256 toStakerID) returns()

func (*ContractSession) LockUpStake

func (_Contract *ContractSession) LockUpStake(lockDuration *big.Int) (*types.Transaction, error)

LockUpStake is a paid mutator transaction binding the contract method 0xf3ae5b1a.

Solidity: function lockUpStake(uint256 lockDuration) returns()

func (*ContractSession) LockedDelegations

func (_Contract *ContractSession) LockedDelegations(delegator common.Address, toStakerID *big.Int) (struct {
	FromEpoch *big.Int
	EndTime   *big.Int
	Duration  *big.Int
}, error)

LockedDelegations is a free data retrieval call binding the contract method 0xdd099bb6.

Solidity: function lockedDelegations(address delegator, uint256 toStakerID) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractSession) LockedStakes

func (_Contract *ContractSession) LockedStakes(stakerID *big.Int) (struct {
	FromEpoch *big.Int
	EndTime   *big.Int
	Duration  *big.Int
}, error)

LockedStakes is a free data retrieval call binding the contract method 0xdf4f49d4.

Solidity: function lockedStakes(uint256 stakerID) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)

func (*ContractSession) MaxDelegatedRatio

func (_Contract *ContractSession) MaxDelegatedRatio() (*big.Int, error)

MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.

Solidity: function maxDelegatedRatio() pure returns(uint256)

func (*ContractSession) MaxLockupDuration

func (_Contract *ContractSession) MaxLockupDuration() (*big.Int, error)

MaxLockupDuration is a free data retrieval call binding the contract method 0x0d4955e3.

Solidity: function maxLockupDuration() pure returns(uint256)

func (*ContractSession) MinDelegation

func (_Contract *ContractSession) MinDelegation() (*big.Int, error)

MinDelegation is a free data retrieval call binding the contract method 0x02985992.

Solidity: function minDelegation() pure returns(uint256)

func (*ContractSession) MinDelegationDecrease

func (_Contract *ContractSession) MinDelegationDecrease() (*big.Int, error)

MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.

Solidity: function minDelegationDecrease() pure returns(uint256)

func (*ContractSession) MinDelegationIncrease

func (_Contract *ContractSession) MinDelegationIncrease() (*big.Int, error)

MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.

Solidity: function minDelegationIncrease() pure returns(uint256)

func (*ContractSession) MinLockupDuration

func (_Contract *ContractSession) MinLockupDuration() (*big.Int, error)

MinLockupDuration is a free data retrieval call binding the contract method 0x0d7b2609.

Solidity: function minLockupDuration() pure returns(uint256)

func (*ContractSession) MinSelfStake

func (_Contract *ContractSession) MinSelfStake() (*big.Int, error)

MinSelfStake is a free data retrieval call binding the contract method 0xc5f530af.

Solidity: function minSelfStake() pure returns(uint256)

func (*ContractSession) MinStake

func (_Contract *ContractSession) MinStake() (*big.Int, error)

MinStake is a free data retrieval call binding the contract method 0x375b3c0a.

Solidity: function minStake() pure returns(uint256)

func (*ContractSession) MinStakeDecrease

func (_Contract *ContractSession) MinStakeDecrease() (*big.Int, error)

MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.

Solidity: function minStakeDecrease() pure returns(uint256)

func (*ContractSession) MinStakeIncrease

func (_Contract *ContractSession) MinStakeIncrease() (*big.Int, error)

MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.

Solidity: function minStakeIncrease() pure returns(uint256)

func (*ContractSession) OfflinePenaltyThreshold

func (_Contract *ContractSession) OfflinePenaltyThreshold() (struct {
	BlocksNum *big.Int
	Time      *big.Int
}, error)

OfflinePenaltyThreshold is a free data retrieval call binding the contract method 0x2cedb097.

Solidity: function offlinePenaltyThreshold() view returns(uint256 blocksNum, uint256 time)

func (*ContractSession) Owner

func (_Contract *ContractSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractSession) PartialWithdrawByRequest

func (_Contract *ContractSession) PartialWithdrawByRequest(arg0 *big.Int) (*types.Transaction, error)

PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.

Solidity: function partialWithdrawByRequest(uint256 ) returns()

func (*ContractSession) PendingRewards

func (_Contract *ContractSession) PendingRewards(delegator common.Address, toValidatorID *big.Int) (*big.Int, error)

PendingRewards is a free data retrieval call binding the contract method 0x6099ecb2.

Solidity: function pendingRewards(address delegator, uint256 toValidatorID) view returns(uint256)

func (*ContractSession) PrepareToWithdrawDelegation

func (_Contract *ContractSession) PrepareToWithdrawDelegation(arg0 *big.Int) (*types.Transaction, error)

PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0xb1e64339.

Solidity: function prepareToWithdrawDelegation(uint256 ) returns()

func (*ContractSession) PrepareToWithdrawDelegationPartial

func (_Contract *ContractSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)

PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xbb03a4bd.

Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 toStakerID, uint256 amount) returns()

func (*ContractSession) PrepareToWithdrawStake

func (_Contract *ContractSession) PrepareToWithdrawStake() (*types.Transaction, error)

PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.

Solidity: function prepareToWithdrawStake() returns()

func (*ContractSession) PrepareToWithdrawStakePartial

func (_Contract *ContractSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)

PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.

Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()

func (*ContractSession) RenounceOwnership

func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractSession) RestakeRewards

func (_Contract *ContractSession) RestakeRewards(toValidatorID *big.Int) (*types.Transaction, error)

RestakeRewards is a paid mutator transaction binding the contract method 0x08c36874.

Solidity: function restakeRewards(uint256 toValidatorID) returns()

func (*ContractSession) RewardsStash

func (_Contract *ContractSession) RewardsStash(delegator common.Address, validatorID *big.Int) (*big.Int, error)

RewardsStash is a free data retrieval call binding the contract method 0x6f498663.

Solidity: function rewardsStash(address delegator, uint256 validatorID) view returns(uint256)

func (*ContractSession) SealEpoch

func (_Contract *ContractSession) SealEpoch(offlineTime []*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[] offlineTime, 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) 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) SlashingRefundRatio

func (_Contract *ContractSession) SlashingRefundRatio(arg0 *big.Int) (*big.Int, error)

SlashingRefundRatio is a free data retrieval call binding the contract method 0xc65ee0e1.

Solidity: function slashingRefundRatio(uint256 ) view returns(uint256)

func (*ContractSession) StakeLockPeriodEpochs

func (_Contract *ContractSession) StakeLockPeriodEpochs() (*big.Int, error)

StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.

Solidity: function stakeLockPeriodEpochs() pure returns(uint256)

func (*ContractSession) StakeLockPeriodTime

func (_Contract *ContractSession) StakeLockPeriodTime() (*big.Int, error)

StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.

Solidity: function stakeLockPeriodTime() pure returns(uint256)

func (*ContractSession) StakeTotalAmount

func (_Contract *ContractSession) StakeTotalAmount() (*big.Int, error)

StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.

Solidity: function stakeTotalAmount() view returns(uint256)

func (*ContractSession) Stakers

func (_Contract *ContractSession) Stakers(_stakerID *big.Int) (struct {
	Status           *big.Int
	CreatedEpoch     *big.Int
	CreatedTime      *big.Int
	DeactivatedEpoch *big.Int
	DeactivatedTime  *big.Int
	StakeAmount      *big.Int
	PaidUntilEpoch   *big.Int
	DelegatedMe      *big.Int
	DagAddress       common.Address
	SfcAddress       common.Address
}, error)

Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.

Solidity: function stakers(uint256 _stakerID) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)

func (*ContractSession) StakersLastID

func (_Contract *ContractSession) StakersLastID() (*big.Int, error)

StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.

Solidity: function stakersLastID() view returns(uint256)

func (*ContractSession) StakersNum

func (_Contract *ContractSession) StakersNum() (*big.Int, error)

StakersNum is a free data retrieval call binding the contract method 0x08728f6e.

Solidity: function stakersNum() view returns(uint256)

func (*ContractSession) StashRewards

func (_Contract *ContractSession) StashRewards(delegator common.Address, toValidatorID *big.Int) (*types.Transaction, error)

StashRewards is a paid mutator transaction binding the contract method 0x8cddb015.

Solidity: function stashRewards(address delegator, uint256 toValidatorID) returns()

func (*ContractSession) StashedRewardsUntilEpoch

func (_Contract *ContractSession) StashedRewardsUntilEpoch(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

StashedRewardsUntilEpoch is a free data retrieval call binding the contract method 0xa86a056f.

Solidity: function stashedRewardsUntilEpoch(address , uint256 ) view returns(uint256)

func (*ContractSession) SyncValidator

func (_Contract *ContractSession) SyncValidator(validatorID *big.Int, syncPubkey bool) (*types.Transaction, error)

SyncValidator is a paid mutator transaction binding the contract method 0xcc8343aa.

Solidity: function _syncValidator(uint256 validatorID, bool syncPubkey) returns()

func (*ContractSession) TotalActiveStake

func (_Contract *ContractSession) TotalActiveStake() (*big.Int, error)

TotalActiveStake is a free data retrieval call binding the contract method 0x28f73148.

Solidity: function totalActiveStake() view returns(uint256)

func (*ContractSession) TotalSlashedStake

func (_Contract *ContractSession) TotalSlashedStake() (*big.Int, error)

TotalSlashedStake is a free data retrieval call binding the contract method 0x5fab23a8.

Solidity: function totalSlashedStake() view returns(uint256)

func (*ContractSession) TotalStake

func (_Contract *ContractSession) TotalStake() (*big.Int, error)

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

Solidity: function totalStake() view returns(uint256)

func (*ContractSession) TotalSupply

func (_Contract *ContractSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*ContractSession) TransferOwnership

func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ContractSession) Undelegate

func (_Contract *ContractSession) Undelegate(toValidatorID *big.Int, wrID *big.Int, amount *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x4f864df4.

Solidity: function undelegate(uint256 toValidatorID, uint256 wrID, uint256 amount) returns()

func (*ContractSession) UnlockStake

func (_Contract *ContractSession) UnlockStake(toValidatorID *big.Int, amount *big.Int) (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0x1d3ac42c.

Solidity: function unlockStake(uint256 toValidatorID, uint256 amount) returns(uint256)

func (*ContractSession) UnlockedRewardRatio

func (_Contract *ContractSession) UnlockedRewardRatio() (*big.Int, error)

UnlockedRewardRatio is a free data retrieval call binding the contract method 0x5e2308d2.

Solidity: function unlockedRewardRatio() pure returns(uint256)

func (*ContractSession) UpdateBaseRewardPerSecond

func (_Contract *ContractSession) UpdateBaseRewardPerSecond(value *big.Int) (*types.Transaction, error)

UpdateBaseRewardPerSecond is a paid mutator transaction binding the contract method 0xb6d9edd5.

Solidity: function updateBaseRewardPerSecond(uint256 value) returns()

func (*ContractSession) UpdateOfflinePenaltyThreshold

func (_Contract *ContractSession) UpdateOfflinePenaltyThreshold(blocksNum *big.Int, time *big.Int) (*types.Transaction, error)

UpdateOfflinePenaltyThreshold is a paid mutator transaction binding the contract method 0x8b1a0d11.

Solidity: function updateOfflinePenaltyThreshold(uint256 blocksNum, uint256 time) returns()

func (*ContractSession) UpdateSlashingRefundRatio

func (_Contract *ContractSession) UpdateSlashingRefundRatio(validatorID *big.Int, refundRatio *big.Int) (*types.Transaction, error)

UpdateSlashingRefundRatio is a paid mutator transaction binding the contract method 0x4f7c4efb.

Solidity: function updateSlashingRefundRatio(uint256 validatorID, uint256 refundRatio) returns()

func (*ContractSession) ValidatorCommission

func (_Contract *ContractSession) ValidatorCommission() (*big.Int, error)

ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.

Solidity: function validatorCommission() pure returns(uint256)

func (*ContractSession) Version

func (_Contract *ContractSession) Version() ([3]byte, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(bytes3)

func (*ContractSession) Withdraw

func (_Contract *ContractSession) Withdraw(toValidatorID *big.Int, wrID *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 toValidatorID, uint256 wrID) returns()

func (*ContractSession) WithdrawDelegation

func (_Contract *ContractSession) WithdrawDelegation(arg0 *big.Int) (*types.Transaction, error)

WithdrawDelegation is a paid mutator transaction binding the contract method 0xdf0e307a.

Solidity: function withdrawDelegation(uint256 ) returns()

func (*ContractSession) WithdrawStake

func (_Contract *ContractSession) WithdrawStake() (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.

Solidity: function withdrawStake() returns()

func (*ContractSession) WithdrawalPeriodEpochs

func (_Contract *ContractSession) WithdrawalPeriodEpochs() (*big.Int, error)

WithdrawalPeriodEpochs is a free data retrieval call binding the contract method 0x650acd66.

Solidity: function withdrawalPeriodEpochs() pure returns(uint256)

func (*ContractSession) WithdrawalPeriodTime

func (_Contract *ContractSession) WithdrawalPeriodTime() (*big.Int, error)

WithdrawalPeriodTime is a free data retrieval call binding the contract method 0xb82b8427.

Solidity: function withdrawalPeriodTime() pure returns(uint256)

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) ClaimDelegationCompoundRewards

func (_Contract *ContractTransactor) ClaimDelegationCompoundRewards(opts *bind.TransactOpts, arg0 *big.Int, toStakerID *big.Int) (*types.Transaction, error)

ClaimDelegationCompoundRewards is a paid mutator transaction binding the contract method 0xdc599bb1.

Solidity: function claimDelegationCompoundRewards(uint256 , uint256 toStakerID) returns()

func (*ContractTransactor) ClaimDelegationRewards

func (_Contract *ContractTransactor) ClaimDelegationRewards(opts *bind.TransactOpts, arg0 *big.Int, toStakerID *big.Int) (*types.Transaction, error)

ClaimDelegationRewards is a paid mutator transaction binding the contract method 0xf99837e6.

Solidity: function claimDelegationRewards(uint256 , uint256 toStakerID) returns()

func (*ContractTransactor) ClaimRewards

func (_Contract *ContractTransactor) ClaimRewards(opts *bind.TransactOpts, toValidatorID *big.Int) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x0962ef79.

Solidity: function claimRewards(uint256 toValidatorID) returns()

func (*ContractTransactor) ClaimValidatorCompoundRewards

func (_Contract *ContractTransactor) ClaimValidatorCompoundRewards(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)

ClaimValidatorCompoundRewards is a paid mutator transaction binding the contract method 0xcda5826a.

Solidity: function claimValidatorCompoundRewards(uint256 ) returns()

func (*ContractTransactor) ClaimValidatorRewards

func (_Contract *ContractTransactor) ClaimValidatorRewards(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)

ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.

Solidity: function claimValidatorRewards(uint256 ) returns()

func (*ContractTransactor) CreateDelegation

func (_Contract *ContractTransactor) CreateDelegation(opts *bind.TransactOpts, toValidatorID *big.Int) (*types.Transaction, error)

CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.

Solidity: function createDelegation(uint256 toValidatorID) payable returns()

func (*ContractTransactor) CreateValidator

func (_Contract *ContractTransactor) CreateValidator(opts *bind.TransactOpts, pubkey []byte) (*types.Transaction, error)

CreateValidator is a paid mutator transaction binding the contract method 0xa5a470ad.

Solidity: function createValidator(bytes pubkey) payable 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) Delegate

func (_Contract *ContractTransactor) Delegate(opts *bind.TransactOpts, toValidatorID *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9fa6dd35.

Solidity: function delegate(uint256 toValidatorID) payable returns()

func (*ContractTransactor) Initialize

func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, sealedEpoch *big.Int, _totalSupply *big.Int, nodeDriver common.Address, owner common.Address) (*types.Transaction, error)

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

Solidity: function initialize(uint256 sealedEpoch, uint256 _totalSupply, address nodeDriver, address owner) returns()

func (*ContractTransactor) LockStake

func (_Contract *ContractTransactor) LockStake(opts *bind.TransactOpts, toValidatorID *big.Int, lockupDuration *big.Int, amount *big.Int) (*types.Transaction, error)

LockStake is a paid mutator transaction binding the contract method 0xde67f215.

Solidity: function lockStake(uint256 toValidatorID, uint256 lockupDuration, uint256 amount) returns()

func (*ContractTransactor) LockUpDelegation

func (_Contract *ContractTransactor) LockUpDelegation(opts *bind.TransactOpts, lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)

LockUpDelegation is a paid mutator transaction binding the contract method 0xa4b89fab.

Solidity: function lockUpDelegation(uint256 lockDuration, uint256 toStakerID) returns()

func (*ContractTransactor) LockUpStake

func (_Contract *ContractTransactor) LockUpStake(opts *bind.TransactOpts, lockDuration *big.Int) (*types.Transaction, error)

LockUpStake is a paid mutator transaction binding the contract method 0xf3ae5b1a.

Solidity: function lockUpStake(uint256 lockDuration) returns()

func (*ContractTransactor) PartialWithdrawByRequest

func (_Contract *ContractTransactor) PartialWithdrawByRequest(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)

PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.

Solidity: function partialWithdrawByRequest(uint256 ) returns()

func (*ContractTransactor) PrepareToWithdrawDelegation

func (_Contract *ContractTransactor) PrepareToWithdrawDelegation(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)

PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0xb1e64339.

Solidity: function prepareToWithdrawDelegation(uint256 ) returns()

func (*ContractTransactor) PrepareToWithdrawDelegationPartial

func (_Contract *ContractTransactor) PrepareToWithdrawDelegationPartial(opts *bind.TransactOpts, wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)

PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xbb03a4bd.

Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 toStakerID, uint256 amount) returns()

func (*ContractTransactor) PrepareToWithdrawStake

func (_Contract *ContractTransactor) PrepareToWithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)

PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.

Solidity: function prepareToWithdrawStake() returns()

func (*ContractTransactor) PrepareToWithdrawStakePartial

func (_Contract *ContractTransactor) PrepareToWithdrawStakePartial(opts *bind.TransactOpts, wrID *big.Int, amount *big.Int) (*types.Transaction, error)

PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.

Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()

func (*ContractTransactor) RenounceOwnership

func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractTransactor) RestakeRewards

func (_Contract *ContractTransactor) RestakeRewards(opts *bind.TransactOpts, toValidatorID *big.Int) (*types.Transaction, error)

RestakeRewards is a paid mutator transaction binding the contract method 0x08c36874.

Solidity: function restakeRewards(uint256 toValidatorID) returns()

func (*ContractTransactor) SealEpoch

func (_Contract *ContractTransactor) SealEpoch(opts *bind.TransactOpts, offlineTime []*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[] offlineTime, 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) 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) StashRewards

func (_Contract *ContractTransactor) StashRewards(opts *bind.TransactOpts, delegator common.Address, toValidatorID *big.Int) (*types.Transaction, error)

StashRewards is a paid mutator transaction binding the contract method 0x8cddb015.

Solidity: function stashRewards(address delegator, uint256 toValidatorID) returns()

func (*ContractTransactor) SyncValidator

func (_Contract *ContractTransactor) SyncValidator(opts *bind.TransactOpts, validatorID *big.Int, syncPubkey bool) (*types.Transaction, error)

SyncValidator is a paid mutator transaction binding the contract method 0xcc8343aa.

Solidity: function _syncValidator(uint256 validatorID, bool syncPubkey) returns()

func (*ContractTransactor) TransferOwnership

func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ContractTransactor) Undelegate

func (_Contract *ContractTransactor) Undelegate(opts *bind.TransactOpts, toValidatorID *big.Int, wrID *big.Int, amount *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x4f864df4.

Solidity: function undelegate(uint256 toValidatorID, uint256 wrID, uint256 amount) returns()

func (*ContractTransactor) UnlockStake

func (_Contract *ContractTransactor) UnlockStake(opts *bind.TransactOpts, toValidatorID *big.Int, amount *big.Int) (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0x1d3ac42c.

Solidity: function unlockStake(uint256 toValidatorID, uint256 amount) returns(uint256)

func (*ContractTransactor) UpdateBaseRewardPerSecond

func (_Contract *ContractTransactor) UpdateBaseRewardPerSecond(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

UpdateBaseRewardPerSecond is a paid mutator transaction binding the contract method 0xb6d9edd5.

Solidity: function updateBaseRewardPerSecond(uint256 value) returns()

func (*ContractTransactor) UpdateOfflinePenaltyThreshold

func (_Contract *ContractTransactor) UpdateOfflinePenaltyThreshold(opts *bind.TransactOpts, blocksNum *big.Int, time *big.Int) (*types.Transaction, error)

UpdateOfflinePenaltyThreshold is a paid mutator transaction binding the contract method 0x8b1a0d11.

Solidity: function updateOfflinePenaltyThreshold(uint256 blocksNum, uint256 time) returns()

func (*ContractTransactor) UpdateSlashingRefundRatio

func (_Contract *ContractTransactor) UpdateSlashingRefundRatio(opts *bind.TransactOpts, validatorID *big.Int, refundRatio *big.Int) (*types.Transaction, error)

UpdateSlashingRefundRatio is a paid mutator transaction binding the contract method 0x4f7c4efb.

Solidity: function updateSlashingRefundRatio(uint256 validatorID, uint256 refundRatio) returns()

func (*ContractTransactor) Withdraw

func (_Contract *ContractTransactor) Withdraw(opts *bind.TransactOpts, toValidatorID *big.Int, wrID *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 toValidatorID, uint256 wrID) returns()

func (*ContractTransactor) WithdrawDelegation

func (_Contract *ContractTransactor) WithdrawDelegation(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)

WithdrawDelegation is a paid mutator transaction binding the contract method 0xdf0e307a.

Solidity: function withdrawDelegation(uint256 ) returns()

func (*ContractTransactor) WithdrawStake

func (_Contract *ContractTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.

Solidity: function withdrawStake() 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) ClaimDelegationCompoundRewards

func (_Contract *ContractTransactorSession) ClaimDelegationCompoundRewards(arg0 *big.Int, toStakerID *big.Int) (*types.Transaction, error)

ClaimDelegationCompoundRewards is a paid mutator transaction binding the contract method 0xdc599bb1.

Solidity: function claimDelegationCompoundRewards(uint256 , uint256 toStakerID) returns()

func (*ContractTransactorSession) ClaimDelegationRewards

func (_Contract *ContractTransactorSession) ClaimDelegationRewards(arg0 *big.Int, toStakerID *big.Int) (*types.Transaction, error)

ClaimDelegationRewards is a paid mutator transaction binding the contract method 0xf99837e6.

Solidity: function claimDelegationRewards(uint256 , uint256 toStakerID) returns()

func (*ContractTransactorSession) ClaimRewards

func (_Contract *ContractTransactorSession) ClaimRewards(toValidatorID *big.Int) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x0962ef79.

Solidity: function claimRewards(uint256 toValidatorID) returns()

func (*ContractTransactorSession) ClaimValidatorCompoundRewards

func (_Contract *ContractTransactorSession) ClaimValidatorCompoundRewards(arg0 *big.Int) (*types.Transaction, error)

ClaimValidatorCompoundRewards is a paid mutator transaction binding the contract method 0xcda5826a.

Solidity: function claimValidatorCompoundRewards(uint256 ) returns()

func (*ContractTransactorSession) ClaimValidatorRewards

func (_Contract *ContractTransactorSession) ClaimValidatorRewards(arg0 *big.Int) (*types.Transaction, error)

ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.

Solidity: function claimValidatorRewards(uint256 ) returns()

func (*ContractTransactorSession) CreateDelegation

func (_Contract *ContractTransactorSession) CreateDelegation(toValidatorID *big.Int) (*types.Transaction, error)

CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.

Solidity: function createDelegation(uint256 toValidatorID) payable returns()

func (*ContractTransactorSession) CreateValidator

func (_Contract *ContractTransactorSession) CreateValidator(pubkey []byte) (*types.Transaction, error)

CreateValidator is a paid mutator transaction binding the contract method 0xa5a470ad.

Solidity: function createValidator(bytes pubkey) payable 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) Delegate

func (_Contract *ContractTransactorSession) Delegate(toValidatorID *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9fa6dd35.

Solidity: function delegate(uint256 toValidatorID) payable returns()

func (*ContractTransactorSession) Initialize

func (_Contract *ContractTransactorSession) Initialize(sealedEpoch *big.Int, _totalSupply *big.Int, nodeDriver common.Address, owner common.Address) (*types.Transaction, error)

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

Solidity: function initialize(uint256 sealedEpoch, uint256 _totalSupply, address nodeDriver, address owner) returns()

func (*ContractTransactorSession) LockStake

func (_Contract *ContractTransactorSession) LockStake(toValidatorID *big.Int, lockupDuration *big.Int, amount *big.Int) (*types.Transaction, error)

LockStake is a paid mutator transaction binding the contract method 0xde67f215.

Solidity: function lockStake(uint256 toValidatorID, uint256 lockupDuration, uint256 amount) returns()

func (*ContractTransactorSession) LockUpDelegation

func (_Contract *ContractTransactorSession) LockUpDelegation(lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)

LockUpDelegation is a paid mutator transaction binding the contract method 0xa4b89fab.

Solidity: function lockUpDelegation(uint256 lockDuration, uint256 toStakerID) returns()

func (*ContractTransactorSession) LockUpStake

func (_Contract *ContractTransactorSession) LockUpStake(lockDuration *big.Int) (*types.Transaction, error)

LockUpStake is a paid mutator transaction binding the contract method 0xf3ae5b1a.

Solidity: function lockUpStake(uint256 lockDuration) returns()

func (*ContractTransactorSession) PartialWithdrawByRequest

func (_Contract *ContractTransactorSession) PartialWithdrawByRequest(arg0 *big.Int) (*types.Transaction, error)

PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.

Solidity: function partialWithdrawByRequest(uint256 ) returns()

func (*ContractTransactorSession) PrepareToWithdrawDelegation

func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegation(arg0 *big.Int) (*types.Transaction, error)

PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0xb1e64339.

Solidity: function prepareToWithdrawDelegation(uint256 ) returns()

func (*ContractTransactorSession) PrepareToWithdrawDelegationPartial

func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)

PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xbb03a4bd.

Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 toStakerID, uint256 amount) returns()

func (*ContractTransactorSession) PrepareToWithdrawStake

func (_Contract *ContractTransactorSession) PrepareToWithdrawStake() (*types.Transaction, error)

PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.

Solidity: function prepareToWithdrawStake() returns()

func (*ContractTransactorSession) PrepareToWithdrawStakePartial

func (_Contract *ContractTransactorSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)

PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.

Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()

func (*ContractTransactorSession) RenounceOwnership

func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractTransactorSession) RestakeRewards

func (_Contract *ContractTransactorSession) RestakeRewards(toValidatorID *big.Int) (*types.Transaction, error)

RestakeRewards is a paid mutator transaction binding the contract method 0x08c36874.

Solidity: function restakeRewards(uint256 toValidatorID) returns()

func (*ContractTransactorSession) SealEpoch

func (_Contract *ContractTransactorSession) SealEpoch(offlineTime []*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[] offlineTime, 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) 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) StashRewards

func (_Contract *ContractTransactorSession) StashRewards(delegator common.Address, toValidatorID *big.Int) (*types.Transaction, error)

StashRewards is a paid mutator transaction binding the contract method 0x8cddb015.

Solidity: function stashRewards(address delegator, uint256 toValidatorID) returns()

func (*ContractTransactorSession) SyncValidator

func (_Contract *ContractTransactorSession) SyncValidator(validatorID *big.Int, syncPubkey bool) (*types.Transaction, error)

SyncValidator is a paid mutator transaction binding the contract method 0xcc8343aa.

Solidity: function _syncValidator(uint256 validatorID, bool syncPubkey) returns()

func (*ContractTransactorSession) TransferOwnership

func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ContractTransactorSession) Undelegate

func (_Contract *ContractTransactorSession) Undelegate(toValidatorID *big.Int, wrID *big.Int, amount *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x4f864df4.

Solidity: function undelegate(uint256 toValidatorID, uint256 wrID, uint256 amount) returns()

func (*ContractTransactorSession) UnlockStake

func (_Contract *ContractTransactorSession) UnlockStake(toValidatorID *big.Int, amount *big.Int) (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0x1d3ac42c.

Solidity: function unlockStake(uint256 toValidatorID, uint256 amount) returns(uint256)

func (*ContractTransactorSession) UpdateBaseRewardPerSecond

func (_Contract *ContractTransactorSession) UpdateBaseRewardPerSecond(value *big.Int) (*types.Transaction, error)

UpdateBaseRewardPerSecond is a paid mutator transaction binding the contract method 0xb6d9edd5.

Solidity: function updateBaseRewardPerSecond(uint256 value) returns()

func (*ContractTransactorSession) UpdateOfflinePenaltyThreshold

func (_Contract *ContractTransactorSession) UpdateOfflinePenaltyThreshold(blocksNum *big.Int, time *big.Int) (*types.Transaction, error)

UpdateOfflinePenaltyThreshold is a paid mutator transaction binding the contract method 0x8b1a0d11.

Solidity: function updateOfflinePenaltyThreshold(uint256 blocksNum, uint256 time) returns()

func (*ContractTransactorSession) UpdateSlashingRefundRatio

func (_Contract *ContractTransactorSession) UpdateSlashingRefundRatio(validatorID *big.Int, refundRatio *big.Int) (*types.Transaction, error)

UpdateSlashingRefundRatio is a paid mutator transaction binding the contract method 0x4f7c4efb.

Solidity: function updateSlashingRefundRatio(uint256 validatorID, uint256 refundRatio) returns()

func (*ContractTransactorSession) Withdraw

func (_Contract *ContractTransactorSession) Withdraw(toValidatorID *big.Int, wrID *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 toValidatorID, uint256 wrID) returns()

func (*ContractTransactorSession) WithdrawDelegation

func (_Contract *ContractTransactorSession) WithdrawDelegation(arg0 *big.Int) (*types.Transaction, error)

WithdrawDelegation is a paid mutator transaction binding the contract method 0xdf0e307a.

Solidity: function withdrawDelegation(uint256 ) returns()

func (*ContractTransactorSession) WithdrawStake

func (_Contract *ContractTransactorSession) WithdrawStake() (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.

Solidity: function withdrawStake() returns()

type ContractUndelegated

type ContractUndelegated struct {
	Delegator     common.Address
	ToValidatorID *big.Int
	WrID          *big.Int
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

ContractUndelegated represents a Undelegated event raised by the Contract contract.

type ContractUndelegatedIterator

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

ContractUndelegatedIterator is returned from FilterUndelegated and is used to iterate over the raw logs and unpacked data for Undelegated events raised by the Contract contract.

func (*ContractUndelegatedIterator) Close

func (it *ContractUndelegatedIterator) Close() error

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

func (*ContractUndelegatedIterator) Error

func (it *ContractUndelegatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUndelegatedIterator) Next

func (it *ContractUndelegatedIterator) 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 ContractUnlockedStake

type ContractUnlockedStake struct {
	Delegator   common.Address
	ValidatorID *big.Int
	Amount      *big.Int
	Penalty     *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ContractUnlockedStake represents a UnlockedStake event raised by the Contract contract.

type ContractUnlockedStakeIterator

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

ContractUnlockedStakeIterator is returned from FilterUnlockedStake and is used to iterate over the raw logs and unpacked data for UnlockedStake events raised by the Contract contract.

func (*ContractUnlockedStakeIterator) Close

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

func (*ContractUnlockedStakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUnlockedStakeIterator) 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 ContractUpdatedBaseRewardPerSec

type ContractUpdatedBaseRewardPerSec struct {
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ContractUpdatedBaseRewardPerSec represents a UpdatedBaseRewardPerSec event raised by the Contract contract.

type ContractUpdatedBaseRewardPerSecIterator

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

ContractUpdatedBaseRewardPerSecIterator is returned from FilterUpdatedBaseRewardPerSec and is used to iterate over the raw logs and unpacked data for UpdatedBaseRewardPerSec events raised by the Contract contract.

func (*ContractUpdatedBaseRewardPerSecIterator) Close

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

func (*ContractUpdatedBaseRewardPerSecIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUpdatedBaseRewardPerSecIterator) 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 ContractUpdatedOfflinePenaltyThreshold

type ContractUpdatedOfflinePenaltyThreshold struct {
	BlocksNum *big.Int
	Period    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

ContractUpdatedOfflinePenaltyThreshold represents a UpdatedOfflinePenaltyThreshold event raised by the Contract contract.

type ContractUpdatedOfflinePenaltyThresholdIterator

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

ContractUpdatedOfflinePenaltyThresholdIterator is returned from FilterUpdatedOfflinePenaltyThreshold and is used to iterate over the raw logs and unpacked data for UpdatedOfflinePenaltyThreshold events raised by the Contract contract.

func (*ContractUpdatedOfflinePenaltyThresholdIterator) Close

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

func (*ContractUpdatedOfflinePenaltyThresholdIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUpdatedOfflinePenaltyThresholdIterator) 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 ContractUpdatedSlashingRefundRatio

type ContractUpdatedSlashingRefundRatio struct {
	ValidatorID *big.Int
	RefundRatio *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ContractUpdatedSlashingRefundRatio represents a UpdatedSlashingRefundRatio event raised by the Contract contract.

type ContractUpdatedSlashingRefundRatioIterator

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

ContractUpdatedSlashingRefundRatioIterator is returned from FilterUpdatedSlashingRefundRatio and is used to iterate over the raw logs and unpacked data for UpdatedSlashingRefundRatio events raised by the Contract contract.

func (*ContractUpdatedSlashingRefundRatioIterator) Close

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

func (*ContractUpdatedSlashingRefundRatioIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUpdatedSlashingRefundRatioIterator) 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 ContractWithdrawn

type ContractWithdrawn struct {
	Delegator     common.Address
	ToValidatorID *big.Int
	WrID          *big.Int
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

ContractWithdrawn represents a Withdrawn event raised by the Contract contract.

type ContractWithdrawnIterator

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

ContractWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the Contract contract.

func (*ContractWithdrawnIterator) Close

func (it *ContractWithdrawnIterator) Close() error

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

func (*ContractWithdrawnIterator) Error

func (it *ContractWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractWithdrawnIterator) Next

func (it *ContractWithdrawnIterator) 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.

Jump to

Keyboard shortcuts

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