Documentation ¶
Index ¶
- type Chain
- func (c *Chain) CanRestoreRewardEligibility() (bool, error)
- func (c *Chain) EligibleStake(stakingProvider chain.Address) (*big.Int, error)
- func (c *Chain) GetOperatorID(operatorAddress chain.Address) (chain.OperatorID, error)
- func (c *Chain) IsBetaOperator() (bool, error)
- func (c *Chain) IsChaosnetActive() (bool, error)
- func (c *Chain) IsEligibleForRewards() (bool, error)
- func (c *Chain) IsOperatorInPool() (bool, error)
- func (c *Chain) IsOperatorUpToDate() (bool, error)
- func (c *Chain) IsPoolLocked() (bool, error)
- func (c *Chain) JoinSortitionPool() error
- func (c *Chain) OperatorToStakingProvider() (chain.Address, bool, error)
- func (c *Chain) RegisterOperator(stakingProvider chain.Address, operator chain.Address)
- func (c *Chain) RestoreRewardEligibility() error
- func (c *Chain) SetBetaOperatorStatus(isBeta bool)
- func (c *Chain) SetChaosnetStatus(isChaosnetActive bool)
- func (c *Chain) SetCurrentTimestamp(currentTimestamp *big.Int)
- func (c *Chain) SetEligibleStake(stakingProvider chain.Address, stake *big.Int)
- func (c *Chain) SetRewardIneligibility(until *big.Int)
- func (c *Chain) UpdateOperatorStatus() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct {
// contains filtered or unexported fields
}
func (*Chain) CanRestoreRewardEligibility ¶
func (*Chain) EligibleStake ¶
func (*Chain) GetOperatorID ¶
func (*Chain) IsBetaOperator ¶
func (*Chain) IsChaosnetActive ¶
func (*Chain) IsEligibleForRewards ¶
func (*Chain) IsOperatorInPool ¶
func (*Chain) IsOperatorUpToDate ¶
func (*Chain) IsPoolLocked ¶
func (*Chain) JoinSortitionPool ¶
func (*Chain) OperatorToStakingProvider ¶
func (*Chain) RegisterOperator ¶
This is a test util function to setup the chain
func (*Chain) RestoreRewardEligibility ¶
func (*Chain) SetBetaOperatorStatus ¶
func (*Chain) SetChaosnetStatus ¶
func (*Chain) SetCurrentTimestamp ¶
func (*Chain) SetEligibleStake ¶
This is a test util function to setup the chain
func (*Chain) SetRewardIneligibility ¶
func (*Chain) UpdateOperatorStatus ¶
Click to show internal directories.
Click to hide internal directories.