Documentation ¶
Index ¶
- Variables
- type Stakemanager
- type StakemanagerCaller
- func (_Stakemanager *StakemanagerCaller) AccountStateRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Stakemanager *StakemanagerCaller) AuctionPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) CHECKPOINTREWARD(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) CheckPointBlockInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) CurrentValidatorSetSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) CurrentValidatorSetTotalStake(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) DelegationEnabled(opts *bind.CallOpts) (bool, error)
- func (_Stakemanager *StakemanagerCaller) Dynasty(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) Epoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) GetCurrentValidatorSet(opts *bind.CallOpts) ([]*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) GetValidatorContract(opts *bind.CallOpts, validatorId *big.Int) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) GetValidatorId(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) Governance(opts *bind.CallOpts) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Stakemanager *StakemanagerCaller) IsValidator(opts *bind.CallOpts, validatorId *big.Int) (bool, error)
- func (_Stakemanager *StakemanagerCaller) LatestSignerUpdateEpoch(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) Locked(opts *bind.CallOpts) (bool, error)
- func (_Stakemanager *StakemanagerCaller) Logger(opts *bind.CallOpts) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) MinDeposit(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) MinHeimdallFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) NFTContract(opts *bind.CallOpts) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) NFTCounter(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) ProposerBonus(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) PubToAddress(opts *bind.CallOpts, pub []byte) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) ReplacementCoolDown(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) RootChain(opts *bind.CallOpts) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) SignerToValidator(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) SignerUpdateLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) SupportsHistory(opts *bind.CallOpts) (bool, error)
- func (_Stakemanager *StakemanagerCaller) Token(opts *bind.CallOpts) (common.Address, error)
- func (_Stakemanager *StakemanagerCaller) TotalHeimdallFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) TotalRewards(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) TotalRewardsLiquidated(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) TotalStakedFor(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) UserFeeExit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) ValidatorAuction(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerCaller) ValidatorStake(opts *bind.CallOpts, validatorId *big.Int) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) ValidatorState(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerCaller) ValidatorThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) Validators(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerCaller) VerifyConsensus(opts *bind.CallOpts, voteHash [32]byte, sigs []byte) (*big.Int, *big.Int, error)
- func (_Stakemanager *StakemanagerCaller) WITHDRAWALDELAY(opts *bind.CallOpts) (*big.Int, error)
- func (_Stakemanager *StakemanagerCaller) WithdrawalDelay(opts *bind.CallOpts) (*big.Int, error)
- type StakemanagerCallerRaw
- type StakemanagerCallerSession
- func (_Stakemanager *StakemanagerCallerSession) AccountStateRoot() ([32]byte, error)
- func (_Stakemanager *StakemanagerCallerSession) AuctionPeriod() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) CHECKPOINTREWARD() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) CheckPointBlockInterval() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) CurrentEpoch() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) CurrentValidatorSetSize() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) CurrentValidatorSetTotalStake() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) DelegationEnabled() (bool, error)
- func (_Stakemanager *StakemanagerCallerSession) Dynasty() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) Epoch() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) Factory() (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) GetCurrentValidatorSet() ([]*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) GetValidatorContract(validatorId *big.Int) (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) GetValidatorId(user common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) Governance() (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) IsOwner() (bool, error)
- func (_Stakemanager *StakemanagerCallerSession) IsValidator(validatorId *big.Int) (bool, error)
- func (_Stakemanager *StakemanagerCallerSession) LatestSignerUpdateEpoch(arg0 *big.Int) (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) Locked() (bool, error)
- func (_Stakemanager *StakemanagerCallerSession) Logger() (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) MinDeposit() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) MinHeimdallFee() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) NFTContract() (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) NFTCounter() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) Owner() (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) ProposerBonus() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) PubToAddress(pub []byte) (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) Registry() (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) ReplacementCoolDown() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) RootChain() (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) SignerToValidator(arg0 common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) SignerUpdateLimit() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) SupportsHistory() (bool, error)
- func (_Stakemanager *StakemanagerCallerSession) Token() (common.Address, error)
- func (_Stakemanager *StakemanagerCallerSession) TotalHeimdallFee() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) TotalRewards() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) TotalRewardsLiquidated() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) TotalStaked() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) TotalStakedFor(user common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) UserFeeExit(arg0 common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) ValidatorAuction(arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerCallerSession) ValidatorStake(validatorId *big.Int) (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) ValidatorState(arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerCallerSession) ValidatorThreshold() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) Validators(arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerCallerSession) VerifyConsensus(voteHash [32]byte, sigs []byte) (*big.Int, *big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) WITHDRAWALDELAY() (*big.Int, error)
- func (_Stakemanager *StakemanagerCallerSession) WithdrawalDelay() (*big.Int, error)
- type StakemanagerFilterer
- func (_Stakemanager *StakemanagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*StakemanagerOwnershipTransferredIterator, error)
- func (_Stakemanager *StakemanagerFilterer) FilterRootChainChanged(opts *bind.FilterOpts, previousRootChain []common.Address, ...) (*StakemanagerRootChainChangedIterator, error)
- func (_Stakemanager *StakemanagerFilterer) ParseOwnershipTransferred(log types.Log) (*StakemanagerOwnershipTransferred, error)
- func (_Stakemanager *StakemanagerFilterer) ParseRootChainChanged(log types.Log) (*StakemanagerRootChainChanged, error)
- func (_Stakemanager *StakemanagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StakemanagerOwnershipTransferred, ...) (event.Subscription, error)
- func (_Stakemanager *StakemanagerFilterer) WatchRootChainChanged(opts *bind.WatchOpts, sink chan<- *StakemanagerRootChainChanged, ...) (event.Subscription, error)
- type StakemanagerOwnershipTransferred
- type StakemanagerOwnershipTransferredIterator
- type StakemanagerRaw
- func (_Stakemanager *StakemanagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Stakemanager *StakemanagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StakemanagerRootChainChanged
- type StakemanagerRootChainChangedIterator
- type StakemanagerSession
- func (_Stakemanager *StakemanagerSession) AccountStateRoot() ([32]byte, error)
- func (_Stakemanager *StakemanagerSession) AuctionPeriod() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) CHECKPOINTREWARD() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) ChangeRootChain(newRootChain common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) CheckPointBlockInterval() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) CheckSignatures(blockInterval *big.Int, voteHash [32]byte, stateRoot [32]byte, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) ClaimFee(accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) ConfirmAuctionBid(validatorId *big.Int, heimdallFee *big.Int, acceptDelegation bool, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) CurrentEpoch() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) CurrentValidatorSetSize() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) CurrentValidatorSetTotalStake() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) DelegationDeposit(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) DelegationEnabled() (bool, error)
- func (_Stakemanager *StakemanagerSession) Dynasty() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) Epoch() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) Factory() (common.Address, error)
- func (_Stakemanager *StakemanagerSession) ForceUnstake(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) GetCurrentValidatorSet() ([]*big.Int, error)
- func (_Stakemanager *StakemanagerSession) GetValidatorContract(validatorId *big.Int) (common.Address, error)
- func (_Stakemanager *StakemanagerSession) GetValidatorId(user common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) Governance() (common.Address, error)
- func (_Stakemanager *StakemanagerSession) IsOwner() (bool, error)
- func (_Stakemanager *StakemanagerSession) IsValidator(validatorId *big.Int) (bool, error)
- func (_Stakemanager *StakemanagerSession) LatestSignerUpdateEpoch(arg0 *big.Int) (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) Lock() (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) Locked() (bool, error)
- func (_Stakemanager *StakemanagerSession) Logger() (common.Address, error)
- func (_Stakemanager *StakemanagerSession) MinDeposit() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) MinHeimdallFee() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) NFTContract() (common.Address, error)
- func (_Stakemanager *StakemanagerSession) NFTCounter() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) Owner() (common.Address, error)
- func (_Stakemanager *StakemanagerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Stakemanager *StakemanagerSession) ProposerBonus() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) PubToAddress(pub []byte) (common.Address, error)
- func (_Stakemanager *StakemanagerSession) Registry() (common.Address, error)
- func (_Stakemanager *StakemanagerSession) RenounceOwnership() (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) ReplacementCoolDown() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) Restake(validatorId *big.Int, amount *big.Int, stakeRewards bool) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) RootChain() (common.Address, error)
- func (_Stakemanager *StakemanagerSession) SetDelegationEnabled(enabled bool) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) SetToken(_token common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) SignerToValidator(arg0 common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) SignerUpdateLimit() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) Slash(_slashingInfoList []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) Stake(amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) StakeFor(user common.Address, amount *big.Int, heimdallFee *big.Int, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) StartAuction(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) StopAuctions(forNCheckpoints *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) SupportsHistory() (bool, error)
- func (_Stakemanager *StakemanagerSession) Token() (common.Address, error)
- func (_Stakemanager *StakemanagerSession) TopUpForFee(user common.Address, heimdallFee *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) TotalHeimdallFee() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) TotalRewards() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) TotalRewardsLiquidated() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) TotalStaked() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) TotalStakedFor(user common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) TransferFunds(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UnJail(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) Unlock() (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) Unstake(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UnstakeClaim(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateCheckPointBlockInterval(_blocks *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateCheckpointReward(newReward *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateConstructor(_registry common.Address, _rootchain common.Address, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateDynastyValue(newDynasty *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateMinAmounts(_minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateProposerBonus(newProposerBonus *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateSigner(validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateSignerUpdateLimit(_limit *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateValidatorState(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UpdateValidatorThreshold(newThreshold *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) UserFeeExit(arg0 common.Address) (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) ValidatorAuction(arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerSession) ValidatorStake(validatorId *big.Int) (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) ValidatorState(arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerSession) ValidatorThreshold() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) Validators(arg0 *big.Int) (struct{ ... }, error)
- func (_Stakemanager *StakemanagerSession) VerifyConsensus(voteHash [32]byte, sigs []byte) (*big.Int, *big.Int, error)
- func (_Stakemanager *StakemanagerSession) WITHDRAWALDELAY() (*big.Int, error)
- func (_Stakemanager *StakemanagerSession) WithdrawRewards(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerSession) WithdrawalDelay() (*big.Int, error)
- type StakemanagerTransactor
- func (_Stakemanager *StakemanagerTransactor) ChangeRootChain(opts *bind.TransactOpts, newRootChain common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) CheckSignatures(opts *bind.TransactOpts, blockInterval *big.Int, voteHash [32]byte, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) ClaimFee(opts *bind.TransactOpts, accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) ConfirmAuctionBid(opts *bind.TransactOpts, validatorId *big.Int, heimdallFee *big.Int, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) DelegationDeposit(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) ForceUnstake(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) Lock(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) Restake(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) SetDelegationEnabled(opts *bind.TransactOpts, enabled bool) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) SetToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) Slash(opts *bind.TransactOpts, _slashingInfoList []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) Stake(opts *bind.TransactOpts, amount *big.Int, heimdallFee *big.Int, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) StakeFor(opts *bind.TransactOpts, user common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) StartAuction(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) StopAuctions(opts *bind.TransactOpts, forNCheckpoints *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) TopUpForFee(opts *bind.TransactOpts, user common.Address, heimdallFee *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) TransferFunds(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UnJail(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) Unstake(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UnstakeClaim(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateCheckPointBlockInterval(opts *bind.TransactOpts, _blocks *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateCheckpointReward(opts *bind.TransactOpts, newReward *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateConstructor(opts *bind.TransactOpts, _registry common.Address, _rootchain common.Address, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateDynastyValue(opts *bind.TransactOpts, newDynasty *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateMinAmounts(opts *bind.TransactOpts, _minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateProposerBonus(opts *bind.TransactOpts, newProposerBonus *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateSigner(opts *bind.TransactOpts, validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateSignerUpdateLimit(opts *bind.TransactOpts, _limit *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateValidatorState(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) UpdateValidatorThreshold(opts *bind.TransactOpts, newThreshold *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactor) WithdrawRewards(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
- type StakemanagerTransactorRaw
- type StakemanagerTransactorSession
- func (_Stakemanager *StakemanagerTransactorSession) ChangeRootChain(newRootChain common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) CheckSignatures(blockInterval *big.Int, voteHash [32]byte, stateRoot [32]byte, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) ClaimFee(accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) ConfirmAuctionBid(validatorId *big.Int, heimdallFee *big.Int, acceptDelegation bool, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) DelegationDeposit(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) ForceUnstake(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) Lock() (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) Restake(validatorId *big.Int, amount *big.Int, stakeRewards bool) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) SetDelegationEnabled(enabled bool) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) SetToken(_token common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) Slash(_slashingInfoList []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) Stake(amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) StakeFor(user common.Address, amount *big.Int, heimdallFee *big.Int, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) StartAuction(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) StopAuctions(forNCheckpoints *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) TopUpForFee(user common.Address, heimdallFee *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) TransferFunds(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UnJail(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) Unlock() (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) Unstake(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UnstakeClaim(validatorId *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateCheckPointBlockInterval(_blocks *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateCheckpointReward(newReward *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateConstructor(_registry common.Address, _rootchain common.Address, ...) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateDynastyValue(newDynasty *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateMinAmounts(_minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateProposerBonus(newProposerBonus *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateSigner(validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateSignerUpdateLimit(_limit *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateValidatorState(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) UpdateValidatorThreshold(newThreshold *big.Int) (*types.Transaction, error)
- func (_Stakemanager *StakemanagerTransactorSession) WithdrawRewards(validatorId *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var StakemanagerABI = StakemanagerMetaData.ABI
StakemanagerABI is the input ABI used to generate the binding from. Deprecated: Use StakemanagerMetaData.ABI instead.
var StakemanagerMetaData = &bind.MetaData{
ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"getCurrentValidatorSet\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"heimdallFee\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"acceptDelegation\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"signerPubkey\",\"type\":\"bytes\"}],\"name\":\"stake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockInterval\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"voteHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"sigs\",\"type\":\"bytes\"}],\"name\":\"checkSignatures\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_limit\",\"type\":\"uint256\"}],\"name\":\"updateSignerUpdateLimit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"auctionPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"WITHDRAWAL_DELAY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_registry\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rootchain\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_NFTContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakingLogger\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_ValidatorShareFactory\",\"type\":\"address\"}],\"name\":\"updateConstructor\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"setToken\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newThreshold\",\"type\":\"uint256\"}],\"name\":\"updateValidatorThreshold\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getValidatorId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"accountStateRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"checkPointBlockInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"}],\"name\":\"isValidator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"stakeRewards\",\"type\":\"bool\"}],\"name\":\"restake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"NFTContract\",\"outputs\":[{\"internalType\":\"contractStakingNFT\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"proposerBonus\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"validators\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"activationEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deactivationEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"jailTime\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"enumStakeManagerStorage.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"signerToValidator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"}],\"name\":\"unJail\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"totalStakedFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"signerUpdateLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"validatorThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"heimdallFee\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"acceptDelegation\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"signerPubkey\",\"type\":\"bytes\"}],\"name\":\"stakeFor\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"startAuction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"validatorAuction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startEpoch\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"delegationEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"NFTCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"}],\"name\":\"getValidatorContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"governance\",\"outputs\":[{\"internalType\":\"contractIGovernance\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"validatorState\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"amount\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"stakerCount\",\"type\":\"int256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_slashingInfoList\",\"type\":\"bytes\"}],\"name\":\"slash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"heimdallFee\",\"type\":\"uint256\"}],\"name\":\"topUpForFee\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"accumFeeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"proof\",\"type\":\"bytes\"}],\"name\":\"claimFee\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"}],\"name\":\"delegationDeposit\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"supportsHistory\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"dynasty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"replacementCoolDown\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userFeeExit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"CHECKPOINT_REWARD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentValidatorSetSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalStaked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"epoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"}],\"name\":\"forceUnstake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"}],\"name\":\"withdrawRewards\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rootChain\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalHeimdallFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newProposerBonus\",\"type\":\"uint256\"}],\"name\":\"updateProposerBonus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"amount\",\"type\":\"int256\"}],\"name\":\"updateValidatorState\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blocks\",\"type\":\"uint256\"}],\"name\":\"updateCheckPointBlockInterval\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentValidatorSetTotalStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unlock\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"withdrawalDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minHeimdallFee\",\"type\":\"uint256\"}],\"name\":\"updateMinAmounts\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"voteHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"sigs\",\"type\":\"bytes\"}],\"name\":\"verifyConsensus\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"}],\"name\":\"transferFunds\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"contractValidatorShareFactory\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"heimdallFee\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"acceptDelegation\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"signerPubkey\",\"type\":\"bytes\"}],\"name\":\"confirmAuctionBid\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newReward\",\"type\":\"uint256\"}],\"name\":\"updateCheckpointReward\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalRewardsLiquidated\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"locked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"pub\",\"type\":\"bytes\"}],\"name\":\"pubToAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"latestSignerUpdateEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"}],\"name\":\"unstakeClaim\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newDynasty\",\"type\":\"uint256\"}],\"name\":\"updateDynastyValue\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newRootChain\",\"type\":\"address\"}],\"name\":\"changeRootChain\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"}],\"name\":\"validatorStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"logger\",\"outputs\":[{\"internalType\":\"contractStakingInfo\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setDelegationEnabled\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signerPubkey\",\"type\":\"bytes\"}],\"name\":\"updateSigner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"forNCheckpoints\",\"type\":\"uint256\"}],\"name\":\"stopAuctions\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"lock\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minHeimdallFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousRootChain\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newRootChain\",\"type\":\"address\"}],\"name\":\"RootChainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"}]",
}
StakemanagerMetaData contains all meta data concerning the Stakemanager contract.
Functions ¶
This section is empty.
Types ¶
type Stakemanager ¶
type Stakemanager struct { StakemanagerCaller // Read-only binding to the contract StakemanagerTransactor // Write-only binding to the contract StakemanagerFilterer // Log filterer for contract events }
Stakemanager is an auto generated Go binding around an Ethereum contract.
func NewStakemanager ¶
func NewStakemanager(address common.Address, backend bind.ContractBackend) (*Stakemanager, error)
NewStakemanager creates a new instance of Stakemanager, bound to a specific deployed contract.
type StakemanagerCaller ¶
type StakemanagerCaller struct {
// contains filtered or unexported fields
}
StakemanagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStakemanagerCaller ¶
func NewStakemanagerCaller(address common.Address, caller bind.ContractCaller) (*StakemanagerCaller, error)
NewStakemanagerCaller creates a new read-only instance of Stakemanager, bound to a specific deployed contract.
func (*StakemanagerCaller) AccountStateRoot ¶
func (_Stakemanager *StakemanagerCaller) AccountStateRoot(opts *bind.CallOpts) ([32]byte, error)
AccountStateRoot is a free data retrieval call binding the contract method 0x17c2b910.
Solidity: function accountStateRoot() view returns(bytes32)
func (*StakemanagerCaller) AuctionPeriod ¶ added in v0.1.5
AuctionPeriod is a free data retrieval call binding the contract method 0x0cccfc58.
Solidity: function auctionPeriod() view returns(uint256)
func (*StakemanagerCaller) CHECKPOINTREWARD ¶ added in v0.1.5
CHECKPOINTREWARD is a free data retrieval call binding the contract method 0x7d669752.
Solidity: function CHECKPOINT_REWARD() view returns(uint256)
func (*StakemanagerCaller) CheckPointBlockInterval ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) CheckPointBlockInterval(opts *bind.CallOpts) (*big.Int, error)
CheckPointBlockInterval is a free data retrieval call binding the contract method 0x25316411.
Solidity: function checkPointBlockInterval() view returns(uint256)
func (*StakemanagerCaller) CurrentEpoch ¶
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*StakemanagerCaller) CurrentValidatorSetSize ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) CurrentValidatorSetSize(opts *bind.CallOpts) (*big.Int, error)
CurrentValidatorSetSize is a free data retrieval call binding the contract method 0x7f952d95.
Solidity: function currentValidatorSetSize() view returns(uint256)
func (*StakemanagerCaller) CurrentValidatorSetTotalStake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) CurrentValidatorSetTotalStake(opts *bind.CallOpts) (*big.Int, error)
CurrentValidatorSetTotalStake is a free data retrieval call binding the contract method 0xa4769071.
Solidity: function currentValidatorSetTotalStake() view returns(uint256)
func (*StakemanagerCaller) DelegationEnabled ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCaller) DelegationEnabled(opts *bind.CallOpts) (bool, error)
DelegationEnabled is a free data retrieval call binding the contract method 0x54b8c601.
Solidity: function delegationEnabled() view returns(bool)
func (*StakemanagerCaller) Dynasty ¶ added in v0.1.5
Dynasty is a free data retrieval call binding the contract method 0x7060054d.
Solidity: function dynasty() view returns(uint256)
func (*StakemanagerCaller) Epoch ¶ added in v0.1.7
Epoch is a free data retrieval call binding the contract method 0x900cf0cf.
Solidity: function epoch() view returns(uint256)
func (*StakemanagerCaller) Factory ¶ added in v0.1.5
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*StakemanagerCaller) GetCurrentValidatorSet ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) GetCurrentValidatorSet(opts *bind.CallOpts) ([]*big.Int, error)
GetCurrentValidatorSet is a free data retrieval call binding the contract method 0x0209fdd0.
Solidity: function getCurrentValidatorSet() view returns(uint256[])
func (*StakemanagerCaller) GetValidatorContract ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) GetValidatorContract(opts *bind.CallOpts, validatorId *big.Int) (common.Address, error)
GetValidatorContract is a free data retrieval call binding the contract method 0x56342d8c.
Solidity: function getValidatorContract(uint256 validatorId) view returns(address)
func (*StakemanagerCaller) GetValidatorId ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) GetValidatorId(opts *bind.CallOpts, user common.Address) (*big.Int, error)
GetValidatorId is a free data retrieval call binding the contract method 0x174e6832.
Solidity: function getValidatorId(address user) view returns(uint256)
func (*StakemanagerCaller) Governance ¶ added in v0.1.5
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*StakemanagerCaller) IsOwner ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) 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 (*StakemanagerCaller) IsValidator ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) IsValidator(opts *bind.CallOpts, validatorId *big.Int) (bool, error)
IsValidator is a free data retrieval call binding the contract method 0x2649263a.
Solidity: function isValidator(uint256 validatorId) view returns(bool)
func (*StakemanagerCaller) LatestSignerUpdateEpoch ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCaller) LatestSignerUpdateEpoch(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
LatestSignerUpdateEpoch is a free data retrieval call binding the contract method 0xd7f5549d.
Solidity: function latestSignerUpdateEpoch(uint256 ) view returns(uint256)
func (*StakemanagerCaller) Locked ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) Locked(opts *bind.CallOpts) (bool, error)
Locked is a free data retrieval call binding the contract method 0xcf309012.
Solidity: function locked() view returns(bool)
func (*StakemanagerCaller) Logger ¶ added in v0.1.5
Logger is a free data retrieval call binding the contract method 0xf24ccbfe.
Solidity: function logger() view returns(address)
func (*StakemanagerCaller) MinDeposit ¶ added in v0.1.5
MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.
Solidity: function minDeposit() view returns(uint256)
func (*StakemanagerCaller) MinHeimdallFee ¶ added in v0.1.5
MinHeimdallFee is a free data retrieval call binding the contract method 0xfba58f34.
Solidity: function minHeimdallFee() view returns(uint256)
func (*StakemanagerCaller) NFTContract ¶ added in v0.1.5
NFTContract is a free data retrieval call binding the contract method 0x31c2273b.
Solidity: function NFTContract() view returns(address)
func (*StakemanagerCaller) NFTCounter ¶ added in v0.1.5
NFTCounter is a free data retrieval call binding the contract method 0x5508d8e1.
Solidity: function NFTCounter() view returns(uint256)
func (*StakemanagerCaller) Owner ¶ added in v0.1.5
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StakemanagerCaller) OwnerOf ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*StakemanagerCaller) ProposerBonus ¶ added in v0.1.7
ProposerBonus is a free data retrieval call binding the contract method 0x34274586.
Solidity: function proposerBonus() view returns(uint256)
func (*StakemanagerCaller) PubToAddress ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) PubToAddress(opts *bind.CallOpts, pub []byte) (common.Address, error)
PubToAddress is a free data retrieval call binding the contract method 0xd0110274.
Solidity: function pubToAddress(bytes pub) pure returns(address)
func (*StakemanagerCaller) Registry ¶ added in v0.1.5
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*StakemanagerCaller) ReplacementCoolDown ¶ added in v0.1.7
ReplacementCoolDown is a free data retrieval call binding the contract method 0x77939d10.
Solidity: function replacementCoolDown() view returns(uint256)
func (*StakemanagerCaller) RootChain ¶ added in v0.1.5
RootChain is a free data retrieval call binding the contract method 0x987ab9db.
Solidity: function rootChain() view returns(address)
func (*StakemanagerCaller) SignerToValidator ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) SignerToValidator(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
SignerToValidator is a free data retrieval call binding the contract method 0x3862da0b.
Solidity: function signerToValidator(address ) view returns(uint256)
func (*StakemanagerCaller) SignerUpdateLimit ¶ added in v0.1.7
SignerUpdateLimit is a free data retrieval call binding the contract method 0x4e3c83f1.
Solidity: function signerUpdateLimit() view returns(uint256)
func (*StakemanagerCaller) SupportsHistory ¶
func (_Stakemanager *StakemanagerCaller) SupportsHistory(opts *bind.CallOpts) (bool, error)
SupportsHistory is a free data retrieval call binding the contract method 0x7033e4a6.
Solidity: function supportsHistory() pure returns(bool)
func (*StakemanagerCaller) Token ¶ added in v0.1.5
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*StakemanagerCaller) TotalHeimdallFee ¶ added in v0.1.5
TotalHeimdallFee is a free data retrieval call binding the contract method 0x9a8a6243.
Solidity: function totalHeimdallFee() view returns(uint256)
func (*StakemanagerCaller) TotalRewards ¶ added in v0.1.5
TotalRewards is a free data retrieval call binding the contract method 0x0e15561a.
Solidity: function totalRewards() view returns(uint256)
func (*StakemanagerCaller) TotalRewardsLiquidated ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) TotalRewardsLiquidated(opts *bind.CallOpts) (*big.Int, error)
TotalRewardsLiquidated is a free data retrieval call binding the contract method 0xcd6b8388.
Solidity: function totalRewardsLiquidated() view returns(uint256)
func (*StakemanagerCaller) TotalStaked ¶ added in v0.1.5
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() view returns(uint256)
func (*StakemanagerCaller) TotalStakedFor ¶
func (_Stakemanager *StakemanagerCaller) TotalStakedFor(opts *bind.CallOpts, user common.Address) (*big.Int, error)
TotalStakedFor is a free data retrieval call binding the contract method 0x4b341aed.
Solidity: function totalStakedFor(address user) view returns(uint256)
func (*StakemanagerCaller) UserFeeExit ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCaller) UserFeeExit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
UserFeeExit is a free data retrieval call binding the contract method 0x78f84a44.
Solidity: function userFeeExit(address ) view returns(uint256)
func (*StakemanagerCaller) ValidatorAuction ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) ValidatorAuction(opts *bind.CallOpts, arg0 *big.Int) (struct { Amount *big.Int StartEpoch *big.Int User common.Address }, error)
ValidatorAuction is a free data retrieval call binding the contract method 0x5325e144.
Solidity: function validatorAuction(uint256 ) view returns(uint256 amount, uint256 startEpoch, address user)
func (*StakemanagerCaller) ValidatorStake ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCaller) ValidatorStake(opts *bind.CallOpts, validatorId *big.Int) (*big.Int, error)
ValidatorStake is a free data retrieval call binding the contract method 0xeceec1d3.
Solidity: function validatorStake(uint256 validatorId) view returns(uint256)
func (*StakemanagerCaller) ValidatorState ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) ValidatorState(opts *bind.CallOpts, arg0 *big.Int) (struct { Amount *big.Int StakerCount *big.Int }, error)
ValidatorState is a free data retrieval call binding the contract method 0x5c248855.
Solidity: function validatorState(uint256 ) view returns(int256 amount, int256 stakerCount)
func (*StakemanagerCaller) ValidatorThreshold ¶ added in v0.1.5
ValidatorThreshold is a free data retrieval call binding the contract method 0x4fd101d7.
Solidity: function validatorThreshold() view returns(uint256)
func (*StakemanagerCaller) Validators ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCaller) Validators(opts *bind.CallOpts, arg0 *big.Int) (struct { Amount *big.Int Reward *big.Int ActivationEpoch *big.Int DeactivationEpoch *big.Int JailTime *big.Int Signer common.Address ContractAddress common.Address Status uint8 }, error)
Validators is a free data retrieval call binding the contract method 0x35aa2e44.
Solidity: function validators(uint256 ) view returns(uint256 amount, uint256 reward, uint256 activationEpoch, uint256 deactivationEpoch, uint256 jailTime, address signer, address contractAddress, uint8 status)
func (*StakemanagerCaller) VerifyConsensus ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCaller) VerifyConsensus(opts *bind.CallOpts, voteHash [32]byte, sigs []byte) (*big.Int, *big.Int, error)
VerifyConsensus is a free data retrieval call binding the contract method 0xbbcfbbb0.
Solidity: function verifyConsensus(bytes32 voteHash, bytes sigs) view returns(uint256, uint256)
func (*StakemanagerCaller) WITHDRAWALDELAY ¶
WITHDRAWALDELAY is a free data retrieval call binding the contract method 0x0ebb172a.
Solidity: function WITHDRAWAL_DELAY() view returns(uint256)
func (*StakemanagerCaller) WithdrawalDelay ¶ added in v0.1.7
WithdrawalDelay is a free data retrieval call binding the contract method 0xa7ab6961.
Solidity: function withdrawalDelay() view returns(uint256)
type StakemanagerCallerRaw ¶
type StakemanagerCallerRaw struct {
Contract *StakemanagerCaller // Generic read-only contract binding to access the raw methods on
}
StakemanagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StakemanagerCallerRaw) Call ¶
func (_Stakemanager *StakemanagerCallerRaw) 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 StakemanagerCallerSession ¶
type StakemanagerCallerSession struct { Contract *StakemanagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StakemanagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StakemanagerCallerSession) AccountStateRoot ¶
func (_Stakemanager *StakemanagerCallerSession) AccountStateRoot() ([32]byte, error)
AccountStateRoot is a free data retrieval call binding the contract method 0x17c2b910.
Solidity: function accountStateRoot() view returns(bytes32)
func (*StakemanagerCallerSession) AuctionPeriod ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) AuctionPeriod() (*big.Int, error)
AuctionPeriod is a free data retrieval call binding the contract method 0x0cccfc58.
Solidity: function auctionPeriod() view returns(uint256)
func (*StakemanagerCallerSession) CHECKPOINTREWARD ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) CHECKPOINTREWARD() (*big.Int, error)
CHECKPOINTREWARD is a free data retrieval call binding the contract method 0x7d669752.
Solidity: function CHECKPOINT_REWARD() view returns(uint256)
func (*StakemanagerCallerSession) CheckPointBlockInterval ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) CheckPointBlockInterval() (*big.Int, error)
CheckPointBlockInterval is a free data retrieval call binding the contract method 0x25316411.
Solidity: function checkPointBlockInterval() view returns(uint256)
func (*StakemanagerCallerSession) CurrentEpoch ¶
func (_Stakemanager *StakemanagerCallerSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*StakemanagerCallerSession) CurrentValidatorSetSize ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) CurrentValidatorSetSize() (*big.Int, error)
CurrentValidatorSetSize is a free data retrieval call binding the contract method 0x7f952d95.
Solidity: function currentValidatorSetSize() view returns(uint256)
func (*StakemanagerCallerSession) CurrentValidatorSetTotalStake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) CurrentValidatorSetTotalStake() (*big.Int, error)
CurrentValidatorSetTotalStake is a free data retrieval call binding the contract method 0xa4769071.
Solidity: function currentValidatorSetTotalStake() view returns(uint256)
func (*StakemanagerCallerSession) DelegationEnabled ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) DelegationEnabled() (bool, error)
DelegationEnabled is a free data retrieval call binding the contract method 0x54b8c601.
Solidity: function delegationEnabled() view returns(bool)
func (*StakemanagerCallerSession) Dynasty ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Dynasty() (*big.Int, error)
Dynasty is a free data retrieval call binding the contract method 0x7060054d.
Solidity: function dynasty() view returns(uint256)
func (*StakemanagerCallerSession) Epoch ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) Epoch() (*big.Int, error)
Epoch is a free data retrieval call binding the contract method 0x900cf0cf.
Solidity: function epoch() view returns(uint256)
func (*StakemanagerCallerSession) Factory ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*StakemanagerCallerSession) GetCurrentValidatorSet ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) GetCurrentValidatorSet() ([]*big.Int, error)
GetCurrentValidatorSet is a free data retrieval call binding the contract method 0x0209fdd0.
Solidity: function getCurrentValidatorSet() view returns(uint256[])
func (*StakemanagerCallerSession) GetValidatorContract ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) GetValidatorContract(validatorId *big.Int) (common.Address, error)
GetValidatorContract is a free data retrieval call binding the contract method 0x56342d8c.
Solidity: function getValidatorContract(uint256 validatorId) view returns(address)
func (*StakemanagerCallerSession) GetValidatorId ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) GetValidatorId(user common.Address) (*big.Int, error)
GetValidatorId is a free data retrieval call binding the contract method 0x174e6832.
Solidity: function getValidatorId(address user) view returns(uint256)
func (*StakemanagerCallerSession) Governance ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Governance() (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*StakemanagerCallerSession) IsOwner ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*StakemanagerCallerSession) IsValidator ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) IsValidator(validatorId *big.Int) (bool, error)
IsValidator is a free data retrieval call binding the contract method 0x2649263a.
Solidity: function isValidator(uint256 validatorId) view returns(bool)
func (*StakemanagerCallerSession) LatestSignerUpdateEpoch ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) LatestSignerUpdateEpoch(arg0 *big.Int) (*big.Int, error)
LatestSignerUpdateEpoch is a free data retrieval call binding the contract method 0xd7f5549d.
Solidity: function latestSignerUpdateEpoch(uint256 ) view returns(uint256)
func (*StakemanagerCallerSession) Locked ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Locked() (bool, error)
Locked is a free data retrieval call binding the contract method 0xcf309012.
Solidity: function locked() view returns(bool)
func (*StakemanagerCallerSession) Logger ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Logger() (common.Address, error)
Logger is a free data retrieval call binding the contract method 0xf24ccbfe.
Solidity: function logger() view returns(address)
func (*StakemanagerCallerSession) MinDeposit ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) MinDeposit() (*big.Int, error)
MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.
Solidity: function minDeposit() view returns(uint256)
func (*StakemanagerCallerSession) MinHeimdallFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) MinHeimdallFee() (*big.Int, error)
MinHeimdallFee is a free data retrieval call binding the contract method 0xfba58f34.
Solidity: function minHeimdallFee() view returns(uint256)
func (*StakemanagerCallerSession) NFTContract ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) NFTContract() (common.Address, error)
NFTContract is a free data retrieval call binding the contract method 0x31c2273b.
Solidity: function NFTContract() view returns(address)
func (*StakemanagerCallerSession) NFTCounter ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) NFTCounter() (*big.Int, error)
NFTCounter is a free data retrieval call binding the contract method 0x5508d8e1.
Solidity: function NFTCounter() view returns(uint256)
func (*StakemanagerCallerSession) Owner ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StakemanagerCallerSession) OwnerOf ¶ added in v0.1.5
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*StakemanagerCallerSession) ProposerBonus ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) ProposerBonus() (*big.Int, error)
ProposerBonus is a free data retrieval call binding the contract method 0x34274586.
Solidity: function proposerBonus() view returns(uint256)
func (*StakemanagerCallerSession) PubToAddress ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) PubToAddress(pub []byte) (common.Address, error)
PubToAddress is a free data retrieval call binding the contract method 0xd0110274.
Solidity: function pubToAddress(bytes pub) pure returns(address)
func (*StakemanagerCallerSession) Registry ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*StakemanagerCallerSession) ReplacementCoolDown ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) ReplacementCoolDown() (*big.Int, error)
ReplacementCoolDown is a free data retrieval call binding the contract method 0x77939d10.
Solidity: function replacementCoolDown() view returns(uint256)
func (*StakemanagerCallerSession) RootChain ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) RootChain() (common.Address, error)
RootChain is a free data retrieval call binding the contract method 0x987ab9db.
Solidity: function rootChain() view returns(address)
func (*StakemanagerCallerSession) SignerToValidator ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) SignerToValidator(arg0 common.Address) (*big.Int, error)
SignerToValidator is a free data retrieval call binding the contract method 0x3862da0b.
Solidity: function signerToValidator(address ) view returns(uint256)
func (*StakemanagerCallerSession) SignerUpdateLimit ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) SignerUpdateLimit() (*big.Int, error)
SignerUpdateLimit is a free data retrieval call binding the contract method 0x4e3c83f1.
Solidity: function signerUpdateLimit() view returns(uint256)
func (*StakemanagerCallerSession) SupportsHistory ¶
func (_Stakemanager *StakemanagerCallerSession) SupportsHistory() (bool, error)
SupportsHistory is a free data retrieval call binding the contract method 0x7033e4a6.
Solidity: function supportsHistory() pure returns(bool)
func (*StakemanagerCallerSession) Token ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*StakemanagerCallerSession) TotalHeimdallFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) TotalHeimdallFee() (*big.Int, error)
TotalHeimdallFee is a free data retrieval call binding the contract method 0x9a8a6243.
Solidity: function totalHeimdallFee() view returns(uint256)
func (*StakemanagerCallerSession) TotalRewards ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) TotalRewards() (*big.Int, error)
TotalRewards is a free data retrieval call binding the contract method 0x0e15561a.
Solidity: function totalRewards() view returns(uint256)
func (*StakemanagerCallerSession) TotalRewardsLiquidated ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) TotalRewardsLiquidated() (*big.Int, error)
TotalRewardsLiquidated is a free data retrieval call binding the contract method 0xcd6b8388.
Solidity: function totalRewardsLiquidated() view returns(uint256)
func (*StakemanagerCallerSession) TotalStaked ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) TotalStaked() (*big.Int, error)
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() view returns(uint256)
func (*StakemanagerCallerSession) TotalStakedFor ¶
func (_Stakemanager *StakemanagerCallerSession) TotalStakedFor(user common.Address) (*big.Int, error)
TotalStakedFor is a free data retrieval call binding the contract method 0x4b341aed.
Solidity: function totalStakedFor(address user) view returns(uint256)
func (*StakemanagerCallerSession) UserFeeExit ¶ added in v0.1.7
UserFeeExit is a free data retrieval call binding the contract method 0x78f84a44.
Solidity: function userFeeExit(address ) view returns(uint256)
func (*StakemanagerCallerSession) ValidatorAuction ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) ValidatorAuction(arg0 *big.Int) (struct { Amount *big.Int StartEpoch *big.Int User common.Address }, error)
ValidatorAuction is a free data retrieval call binding the contract method 0x5325e144.
Solidity: function validatorAuction(uint256 ) view returns(uint256 amount, uint256 startEpoch, address user)
func (*StakemanagerCallerSession) ValidatorStake ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) ValidatorStake(validatorId *big.Int) (*big.Int, error)
ValidatorStake is a free data retrieval call binding the contract method 0xeceec1d3.
Solidity: function validatorStake(uint256 validatorId) view returns(uint256)
func (*StakemanagerCallerSession) ValidatorState ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) ValidatorState(arg0 *big.Int) (struct { Amount *big.Int StakerCount *big.Int }, error)
ValidatorState is a free data retrieval call binding the contract method 0x5c248855.
Solidity: function validatorState(uint256 ) view returns(int256 amount, int256 stakerCount)
func (*StakemanagerCallerSession) ValidatorThreshold ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) ValidatorThreshold() (*big.Int, error)
ValidatorThreshold is a free data retrieval call binding the contract method 0x4fd101d7.
Solidity: function validatorThreshold() view returns(uint256)
func (*StakemanagerCallerSession) Validators ¶ added in v0.1.5
func (_Stakemanager *StakemanagerCallerSession) Validators(arg0 *big.Int) (struct { Amount *big.Int Reward *big.Int ActivationEpoch *big.Int DeactivationEpoch *big.Int JailTime *big.Int Signer common.Address ContractAddress common.Address Status uint8 }, error)
Validators is a free data retrieval call binding the contract method 0x35aa2e44.
Solidity: function validators(uint256 ) view returns(uint256 amount, uint256 reward, uint256 activationEpoch, uint256 deactivationEpoch, uint256 jailTime, address signer, address contractAddress, uint8 status)
func (*StakemanagerCallerSession) VerifyConsensus ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) VerifyConsensus(voteHash [32]byte, sigs []byte) (*big.Int, *big.Int, error)
VerifyConsensus is a free data retrieval call binding the contract method 0xbbcfbbb0.
Solidity: function verifyConsensus(bytes32 voteHash, bytes sigs) view returns(uint256, uint256)
func (*StakemanagerCallerSession) WITHDRAWALDELAY ¶
func (_Stakemanager *StakemanagerCallerSession) WITHDRAWALDELAY() (*big.Int, error)
WITHDRAWALDELAY is a free data retrieval call binding the contract method 0x0ebb172a.
Solidity: function WITHDRAWAL_DELAY() view returns(uint256)
func (*StakemanagerCallerSession) WithdrawalDelay ¶ added in v0.1.7
func (_Stakemanager *StakemanagerCallerSession) WithdrawalDelay() (*big.Int, error)
WithdrawalDelay is a free data retrieval call binding the contract method 0xa7ab6961.
Solidity: function withdrawalDelay() view returns(uint256)
type StakemanagerFilterer ¶
type StakemanagerFilterer struct {
// contains filtered or unexported fields
}
StakemanagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStakemanagerFilterer ¶
func NewStakemanagerFilterer(address common.Address, filterer bind.ContractFilterer) (*StakemanagerFilterer, error)
NewStakemanagerFilterer creates a new log filterer instance of Stakemanager, bound to a specific deployed contract.
func (*StakemanagerFilterer) FilterOwnershipTransferred ¶ added in v0.1.5
func (_Stakemanager *StakemanagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StakemanagerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StakemanagerFilterer) FilterRootChainChanged ¶ added in v0.1.5
func (_Stakemanager *StakemanagerFilterer) FilterRootChainChanged(opts *bind.FilterOpts, previousRootChain []common.Address, newRootChain []common.Address) (*StakemanagerRootChainChangedIterator, error)
FilterRootChainChanged is a free log retrieval operation binding the contract event 0x211c9015fc81c0dbd45bd99f0f29fc1c143bfd53442d5ffd722bbbef7a887fe9.
Solidity: event RootChainChanged(address indexed previousRootChain, address indexed newRootChain)
func (*StakemanagerFilterer) ParseOwnershipTransferred ¶ added in v0.1.5
func (_Stakemanager *StakemanagerFilterer) ParseOwnershipTransferred(log types.Log) (*StakemanagerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StakemanagerFilterer) ParseRootChainChanged ¶ added in v0.1.5
func (_Stakemanager *StakemanagerFilterer) ParseRootChainChanged(log types.Log) (*StakemanagerRootChainChanged, error)
ParseRootChainChanged is a log parse operation binding the contract event 0x211c9015fc81c0dbd45bd99f0f29fc1c143bfd53442d5ffd722bbbef7a887fe9.
Solidity: event RootChainChanged(address indexed previousRootChain, address indexed newRootChain)
func (*StakemanagerFilterer) WatchOwnershipTransferred ¶ added in v0.1.5
func (_Stakemanager *StakemanagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StakemanagerOwnershipTransferred, 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 (*StakemanagerFilterer) WatchRootChainChanged ¶ added in v0.1.5
func (_Stakemanager *StakemanagerFilterer) WatchRootChainChanged(opts *bind.WatchOpts, sink chan<- *StakemanagerRootChainChanged, previousRootChain []common.Address, newRootChain []common.Address) (event.Subscription, error)
WatchRootChainChanged is a free log subscription operation binding the contract event 0x211c9015fc81c0dbd45bd99f0f29fc1c143bfd53442d5ffd722bbbef7a887fe9.
Solidity: event RootChainChanged(address indexed previousRootChain, address indexed newRootChain)
type StakemanagerOwnershipTransferred ¶ added in v0.1.5
type StakemanagerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
StakemanagerOwnershipTransferred represents a OwnershipTransferred event raised by the Stakemanager contract.
type StakemanagerOwnershipTransferredIterator ¶ added in v0.1.5
type StakemanagerOwnershipTransferredIterator struct { Event *StakemanagerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakemanagerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Stakemanager contract.
func (*StakemanagerOwnershipTransferredIterator) Close ¶ added in v0.1.5
func (it *StakemanagerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakemanagerOwnershipTransferredIterator) Error ¶ added in v0.1.5
func (it *StakemanagerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakemanagerOwnershipTransferredIterator) Next ¶ added in v0.1.5
func (it *StakemanagerOwnershipTransferredIterator) 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 StakemanagerRaw ¶
type StakemanagerRaw struct {
Contract *Stakemanager // Generic contract binding to access the raw methods on
}
StakemanagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StakemanagerRaw) Call ¶
func (_Stakemanager *StakemanagerRaw) 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 (*StakemanagerRaw) Transact ¶
func (_Stakemanager *StakemanagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakemanagerRaw) Transfer ¶
func (_Stakemanager *StakemanagerRaw) 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 StakemanagerRootChainChanged ¶ added in v0.1.5
type StakemanagerRootChainChanged struct { PreviousRootChain common.Address NewRootChain common.Address Raw types.Log // Blockchain specific contextual infos }
StakemanagerRootChainChanged represents a RootChainChanged event raised by the Stakemanager contract.
type StakemanagerRootChainChangedIterator ¶ added in v0.1.5
type StakemanagerRootChainChangedIterator struct { Event *StakemanagerRootChainChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakemanagerRootChainChangedIterator is returned from FilterRootChainChanged and is used to iterate over the raw logs and unpacked data for RootChainChanged events raised by the Stakemanager contract.
func (*StakemanagerRootChainChangedIterator) Close ¶ added in v0.1.5
func (it *StakemanagerRootChainChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakemanagerRootChainChangedIterator) Error ¶ added in v0.1.5
func (it *StakemanagerRootChainChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakemanagerRootChainChangedIterator) Next ¶ added in v0.1.5
func (it *StakemanagerRootChainChangedIterator) 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 StakemanagerSession ¶
type StakemanagerSession struct { Contract *Stakemanager // 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 }
StakemanagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StakemanagerSession) AccountStateRoot ¶
func (_Stakemanager *StakemanagerSession) AccountStateRoot() ([32]byte, error)
AccountStateRoot is a free data retrieval call binding the contract method 0x17c2b910.
Solidity: function accountStateRoot() view returns(bytes32)
func (*StakemanagerSession) AuctionPeriod ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) AuctionPeriod() (*big.Int, error)
AuctionPeriod is a free data retrieval call binding the contract method 0x0cccfc58.
Solidity: function auctionPeriod() view returns(uint256)
func (*StakemanagerSession) CHECKPOINTREWARD ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) CHECKPOINTREWARD() (*big.Int, error)
CHECKPOINTREWARD is a free data retrieval call binding the contract method 0x7d669752.
Solidity: function CHECKPOINT_REWARD() view returns(uint256)
func (*StakemanagerSession) ChangeRootChain ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) ChangeRootChain(newRootChain common.Address) (*types.Transaction, error)
ChangeRootChain is a paid mutator transaction binding the contract method 0xe8afa8e8.
Solidity: function changeRootChain(address newRootChain) returns()
func (*StakemanagerSession) CheckPointBlockInterval ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) CheckPointBlockInterval() (*big.Int, error)
CheckPointBlockInterval is a free data retrieval call binding the contract method 0x25316411.
Solidity: function checkPointBlockInterval() view returns(uint256)
func (*StakemanagerSession) CheckSignatures ¶
func (_Stakemanager *StakemanagerSession) CheckSignatures(blockInterval *big.Int, voteHash [32]byte, stateRoot [32]byte, proposer common.Address, sigs []byte) (*types.Transaction, error)
CheckSignatures is a paid mutator transaction binding the contract method 0x066647a0.
Solidity: function checkSignatures(uint256 blockInterval, bytes32 voteHash, bytes32 stateRoot, address proposer, bytes sigs) returns(uint256)
func (*StakemanagerSession) ClaimFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) ClaimFee(accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)
ClaimFee is a paid mutator transaction binding the contract method 0x68cb812a.
Solidity: function claimFee(uint256 accumFeeAmount, uint256 index, bytes proof) returns()
func (*StakemanagerSession) ConfirmAuctionBid ¶
func (_Stakemanager *StakemanagerSession) ConfirmAuctionBid(validatorId *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
ConfirmAuctionBid is a paid mutator transaction binding the contract method 0xc8b194a2.
Solidity: function confirmAuctionBid(uint256 validatorId, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerSession) CurrentEpoch ¶
func (_Stakemanager *StakemanagerSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*StakemanagerSession) CurrentValidatorSetSize ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) CurrentValidatorSetSize() (*big.Int, error)
CurrentValidatorSetSize is a free data retrieval call binding the contract method 0x7f952d95.
Solidity: function currentValidatorSetSize() view returns(uint256)
func (*StakemanagerSession) CurrentValidatorSetTotalStake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) CurrentValidatorSetTotalStake() (*big.Int, error)
CurrentValidatorSetTotalStake is a free data retrieval call binding the contract method 0xa4769071.
Solidity: function currentValidatorSetTotalStake() view returns(uint256)
func (*StakemanagerSession) DelegationDeposit ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) DelegationDeposit(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
DelegationDeposit is a paid mutator transaction binding the contract method 0x6901b253.
Solidity: function delegationDeposit(uint256 validatorId, uint256 amount, address delegator) returns(bool)
func (*StakemanagerSession) DelegationEnabled ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) DelegationEnabled() (bool, error)
DelegationEnabled is a free data retrieval call binding the contract method 0x54b8c601.
Solidity: function delegationEnabled() view returns(bool)
func (*StakemanagerSession) Dynasty ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Dynasty() (*big.Int, error)
Dynasty is a free data retrieval call binding the contract method 0x7060054d.
Solidity: function dynasty() view returns(uint256)
func (*StakemanagerSession) Epoch ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) Epoch() (*big.Int, error)
Epoch is a free data retrieval call binding the contract method 0x900cf0cf.
Solidity: function epoch() view returns(uint256)
func (*StakemanagerSession) Factory ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*StakemanagerSession) ForceUnstake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) ForceUnstake(validatorId *big.Int) (*types.Transaction, error)
ForceUnstake is a paid mutator transaction binding the contract method 0x91460149.
Solidity: function forceUnstake(uint256 validatorId) returns()
func (*StakemanagerSession) GetCurrentValidatorSet ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) GetCurrentValidatorSet() ([]*big.Int, error)
GetCurrentValidatorSet is a free data retrieval call binding the contract method 0x0209fdd0.
Solidity: function getCurrentValidatorSet() view returns(uint256[])
func (*StakemanagerSession) GetValidatorContract ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) GetValidatorContract(validatorId *big.Int) (common.Address, error)
GetValidatorContract is a free data retrieval call binding the contract method 0x56342d8c.
Solidity: function getValidatorContract(uint256 validatorId) view returns(address)
func (*StakemanagerSession) GetValidatorId ¶ added in v0.1.5
GetValidatorId is a free data retrieval call binding the contract method 0x174e6832.
Solidity: function getValidatorId(address user) view returns(uint256)
func (*StakemanagerSession) Governance ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Governance() (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*StakemanagerSession) IsOwner ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*StakemanagerSession) IsValidator ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) IsValidator(validatorId *big.Int) (bool, error)
IsValidator is a free data retrieval call binding the contract method 0x2649263a.
Solidity: function isValidator(uint256 validatorId) view returns(bool)
func (*StakemanagerSession) LatestSignerUpdateEpoch ¶ added in v0.1.7
LatestSignerUpdateEpoch is a free data retrieval call binding the contract method 0xd7f5549d.
Solidity: function latestSignerUpdateEpoch(uint256 ) view returns(uint256)
func (*StakemanagerSession) Lock ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Lock() (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0xf83d08ba.
Solidity: function lock() returns()
func (*StakemanagerSession) Locked ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Locked() (bool, error)
Locked is a free data retrieval call binding the contract method 0xcf309012.
Solidity: function locked() view returns(bool)
func (*StakemanagerSession) Logger ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Logger() (common.Address, error)
Logger is a free data retrieval call binding the contract method 0xf24ccbfe.
Solidity: function logger() view returns(address)
func (*StakemanagerSession) MinDeposit ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) MinDeposit() (*big.Int, error)
MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.
Solidity: function minDeposit() view returns(uint256)
func (*StakemanagerSession) MinHeimdallFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) MinHeimdallFee() (*big.Int, error)
MinHeimdallFee is a free data retrieval call binding the contract method 0xfba58f34.
Solidity: function minHeimdallFee() view returns(uint256)
func (*StakemanagerSession) NFTContract ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) NFTContract() (common.Address, error)
NFTContract is a free data retrieval call binding the contract method 0x31c2273b.
Solidity: function NFTContract() view returns(address)
func (*StakemanagerSession) NFTCounter ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) NFTCounter() (*big.Int, error)
NFTCounter is a free data retrieval call binding the contract method 0x5508d8e1.
Solidity: function NFTCounter() view returns(uint256)
func (*StakemanagerSession) Owner ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StakemanagerSession) OwnerOf ¶ added in v0.1.5
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*StakemanagerSession) ProposerBonus ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) ProposerBonus() (*big.Int, error)
ProposerBonus is a free data retrieval call binding the contract method 0x34274586.
Solidity: function proposerBonus() view returns(uint256)
func (*StakemanagerSession) PubToAddress ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) PubToAddress(pub []byte) (common.Address, error)
PubToAddress is a free data retrieval call binding the contract method 0xd0110274.
Solidity: function pubToAddress(bytes pub) pure returns(address)
func (*StakemanagerSession) Registry ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*StakemanagerSession) RenounceOwnership ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StakemanagerSession) ReplacementCoolDown ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) ReplacementCoolDown() (*big.Int, error)
ReplacementCoolDown is a free data retrieval call binding the contract method 0x77939d10.
Solidity: function replacementCoolDown() view returns(uint256)
func (*StakemanagerSession) Restake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Restake(validatorId *big.Int, amount *big.Int, stakeRewards bool) (*types.Transaction, error)
Restake is a paid mutator transaction binding the contract method 0x28cc4e41.
Solidity: function restake(uint256 validatorId, uint256 amount, bool stakeRewards) returns()
func (*StakemanagerSession) RootChain ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) RootChain() (common.Address, error)
RootChain is a free data retrieval call binding the contract method 0x987ab9db.
Solidity: function rootChain() view returns(address)
func (*StakemanagerSession) SetDelegationEnabled ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) SetDelegationEnabled(enabled bool) (*types.Transaction, error)
SetDelegationEnabled is a paid mutator transaction binding the contract method 0xf28699fa.
Solidity: function setDelegationEnabled(bool enabled) returns()
func (*StakemanagerSession) SetToken ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) SetToken(_token common.Address) (*types.Transaction, error)
SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.
Solidity: function setToken(address _token) returns()
func (*StakemanagerSession) SignerToValidator ¶ added in v0.1.5
SignerToValidator is a free data retrieval call binding the contract method 0x3862da0b.
Solidity: function signerToValidator(address ) view returns(uint256)
func (*StakemanagerSession) SignerUpdateLimit ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) SignerUpdateLimit() (*big.Int, error)
SignerUpdateLimit is a free data retrieval call binding the contract method 0x4e3c83f1.
Solidity: function signerUpdateLimit() view returns(uint256)
func (*StakemanagerSession) Slash ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Slash(_slashingInfoList []byte) (*types.Transaction, error)
Slash is a paid mutator transaction binding the contract method 0x5e47655f.
Solidity: function slash(bytes _slashingInfoList) returns(uint256)
func (*StakemanagerSession) Stake ¶
func (_Stakemanager *StakemanagerSession) Stake(amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x028c4c67.
Solidity: function stake(uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerSession) StakeFor ¶
func (_Stakemanager *StakemanagerSession) StakeFor(user common.Address, amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
StakeFor is a paid mutator transaction binding the contract method 0x4fdd20f1.
Solidity: function stakeFor(address user, uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerSession) StartAuction ¶
func (_Stakemanager *StakemanagerSession) StartAuction(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
StartAuction is a paid mutator transaction binding the contract method 0x4fee13fc.
Solidity: function startAuction(uint256 validatorId, uint256 amount) returns()
func (*StakemanagerSession) StopAuctions ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) StopAuctions(forNCheckpoints *big.Int) (*types.Transaction, error)
StopAuctions is a paid mutator transaction binding the contract method 0xf771fc87.
Solidity: function stopAuctions(uint256 forNCheckpoints) returns()
func (*StakemanagerSession) SupportsHistory ¶
func (_Stakemanager *StakemanagerSession) SupportsHistory() (bool, error)
SupportsHistory is a free data retrieval call binding the contract method 0x7033e4a6.
Solidity: function supportsHistory() pure returns(bool)
func (*StakemanagerSession) Token ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*StakemanagerSession) TopUpForFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) TopUpForFee(user common.Address, heimdallFee *big.Int) (*types.Transaction, error)
TopUpForFee is a paid mutator transaction binding the contract method 0x63656798.
Solidity: function topUpForFee(address user, uint256 heimdallFee) returns()
func (*StakemanagerSession) TotalHeimdallFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) TotalHeimdallFee() (*big.Int, error)
TotalHeimdallFee is a free data retrieval call binding the contract method 0x9a8a6243.
Solidity: function totalHeimdallFee() view returns(uint256)
func (*StakemanagerSession) TotalRewards ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) TotalRewards() (*big.Int, error)
TotalRewards is a free data retrieval call binding the contract method 0x0e15561a.
Solidity: function totalRewards() view returns(uint256)
func (*StakemanagerSession) TotalRewardsLiquidated ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) TotalRewardsLiquidated() (*big.Int, error)
TotalRewardsLiquidated is a free data retrieval call binding the contract method 0xcd6b8388.
Solidity: function totalRewardsLiquidated() view returns(uint256)
func (*StakemanagerSession) TotalStaked ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) TotalStaked() (*big.Int, error)
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() view returns(uint256)
func (*StakemanagerSession) TotalStakedFor ¶
TotalStakedFor is a free data retrieval call binding the contract method 0x4b341aed.
Solidity: function totalStakedFor(address user) view returns(uint256)
func (*StakemanagerSession) TransferFunds ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) TransferFunds(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
TransferFunds is a paid mutator transaction binding the contract method 0xbc8756a9.
Solidity: function transferFunds(uint256 validatorId, uint256 amount, address delegator) returns(bool)
func (*StakemanagerSession) TransferOwnership ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) 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 (*StakemanagerSession) UnJail ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UnJail(validatorId *big.Int) (*types.Transaction, error)
UnJail is a paid mutator transaction binding the contract method 0x3d02455b.
Solidity: function unJail(uint256 validatorId) returns()
func (*StakemanagerSession) Unlock ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Unlock() (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns()
func (*StakemanagerSession) Unstake ¶
func (_Stakemanager *StakemanagerSession) Unstake(validatorId *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 validatorId) returns()
func (*StakemanagerSession) UnstakeClaim ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UnstakeClaim(validatorId *big.Int) (*types.Transaction, error)
UnstakeClaim is a paid mutator transaction binding the contract method 0xd86d53e7.
Solidity: function unstakeClaim(uint256 validatorId) returns()
func (*StakemanagerSession) UpdateCheckPointBlockInterval ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UpdateCheckPointBlockInterval(_blocks *big.Int) (*types.Transaction, error)
UpdateCheckPointBlockInterval is a paid mutator transaction binding the contract method 0xa440ab1e.
Solidity: function updateCheckPointBlockInterval(uint256 _blocks) returns()
func (*StakemanagerSession) UpdateCheckpointReward ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UpdateCheckpointReward(newReward *big.Int) (*types.Transaction, error)
UpdateCheckpointReward is a paid mutator transaction binding the contract method 0xcbf383d5.
Solidity: function updateCheckpointReward(uint256 newReward) returns()
func (*StakemanagerSession) UpdateConstructor ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UpdateConstructor(_registry common.Address, _rootchain common.Address, _NFTContract common.Address, _stakingLogger common.Address, _ValidatorShareFactory common.Address) (*types.Transaction, error)
UpdateConstructor is a paid mutator transaction binding the contract method 0x118bdec9.
Solidity: function updateConstructor(address _registry, address _rootchain, address _NFTContract, address _stakingLogger, address _ValidatorShareFactory) returns()
func (*StakemanagerSession) UpdateDynastyValue ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UpdateDynastyValue(newDynasty *big.Int) (*types.Transaction, error)
UpdateDynastyValue is a paid mutator transaction binding the contract method 0xe6692f49.
Solidity: function updateDynastyValue(uint256 newDynasty) returns()
func (*StakemanagerSession) UpdateMinAmounts ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UpdateMinAmounts(_minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)
UpdateMinAmounts is a paid mutator transaction binding the contract method 0xb1d23f02.
Solidity: function updateMinAmounts(uint256 _minDeposit, uint256 _minHeimdallFee) returns()
func (*StakemanagerSession) UpdateProposerBonus ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) UpdateProposerBonus(newProposerBonus *big.Int) (*types.Transaction, error)
UpdateProposerBonus is a paid mutator transaction binding the contract method 0x9b33f434.
Solidity: function updateProposerBonus(uint256 newProposerBonus) returns()
func (*StakemanagerSession) UpdateSigner ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UpdateSigner(validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)
UpdateSigner is a paid mutator transaction binding the contract method 0xf41a9642.
Solidity: function updateSigner(uint256 validatorId, bytes signerPubkey) returns()
func (*StakemanagerSession) UpdateSignerUpdateLimit ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) UpdateSignerUpdateLimit(_limit *big.Int) (*types.Transaction, error)
UpdateSignerUpdateLimit is a paid mutator transaction binding the contract method 0x06cfb104.
Solidity: function updateSignerUpdateLimit(uint256 _limit) returns()
func (*StakemanagerSession) UpdateValidatorState ¶
func (_Stakemanager *StakemanagerSession) UpdateValidatorState(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
UpdateValidatorState is a paid mutator transaction binding the contract method 0x9ff11500.
Solidity: function updateValidatorState(uint256 validatorId, int256 amount) returns()
func (*StakemanagerSession) UpdateValidatorThreshold ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) UpdateValidatorThreshold(newThreshold *big.Int) (*types.Transaction, error)
UpdateValidatorThreshold is a paid mutator transaction binding the contract method 0x16827b1b.
Solidity: function updateValidatorThreshold(uint256 newThreshold) returns()
func (*StakemanagerSession) UserFeeExit ¶ added in v0.1.7
UserFeeExit is a free data retrieval call binding the contract method 0x78f84a44.
Solidity: function userFeeExit(address ) view returns(uint256)
func (*StakemanagerSession) ValidatorAuction ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) ValidatorAuction(arg0 *big.Int) (struct { Amount *big.Int StartEpoch *big.Int User common.Address }, error)
ValidatorAuction is a free data retrieval call binding the contract method 0x5325e144.
Solidity: function validatorAuction(uint256 ) view returns(uint256 amount, uint256 startEpoch, address user)
func (*StakemanagerSession) ValidatorStake ¶ added in v0.1.7
ValidatorStake is a free data retrieval call binding the contract method 0xeceec1d3.
Solidity: function validatorStake(uint256 validatorId) view returns(uint256)
func (*StakemanagerSession) ValidatorState ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) ValidatorState(arg0 *big.Int) (struct { Amount *big.Int StakerCount *big.Int }, error)
ValidatorState is a free data retrieval call binding the contract method 0x5c248855.
Solidity: function validatorState(uint256 ) view returns(int256 amount, int256 stakerCount)
func (*StakemanagerSession) ValidatorThreshold ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) ValidatorThreshold() (*big.Int, error)
ValidatorThreshold is a free data retrieval call binding the contract method 0x4fd101d7.
Solidity: function validatorThreshold() view returns(uint256)
func (*StakemanagerSession) Validators ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) Validators(arg0 *big.Int) (struct { Amount *big.Int Reward *big.Int ActivationEpoch *big.Int DeactivationEpoch *big.Int JailTime *big.Int Signer common.Address ContractAddress common.Address Status uint8 }, error)
Validators is a free data retrieval call binding the contract method 0x35aa2e44.
Solidity: function validators(uint256 ) view returns(uint256 amount, uint256 reward, uint256 activationEpoch, uint256 deactivationEpoch, uint256 jailTime, address signer, address contractAddress, uint8 status)
func (*StakemanagerSession) VerifyConsensus ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) VerifyConsensus(voteHash [32]byte, sigs []byte) (*big.Int, *big.Int, error)
VerifyConsensus is a free data retrieval call binding the contract method 0xbbcfbbb0.
Solidity: function verifyConsensus(bytes32 voteHash, bytes sigs) view returns(uint256, uint256)
func (*StakemanagerSession) WITHDRAWALDELAY ¶
func (_Stakemanager *StakemanagerSession) WITHDRAWALDELAY() (*big.Int, error)
WITHDRAWALDELAY is a free data retrieval call binding the contract method 0x0ebb172a.
Solidity: function WITHDRAWAL_DELAY() view returns(uint256)
func (*StakemanagerSession) WithdrawRewards ¶ added in v0.1.5
func (_Stakemanager *StakemanagerSession) WithdrawRewards(validatorId *big.Int) (*types.Transaction, error)
WithdrawRewards is a paid mutator transaction binding the contract method 0x9342c8f4.
Solidity: function withdrawRewards(uint256 validatorId) returns()
func (*StakemanagerSession) WithdrawalDelay ¶ added in v0.1.7
func (_Stakemanager *StakemanagerSession) WithdrawalDelay() (*big.Int, error)
WithdrawalDelay is a free data retrieval call binding the contract method 0xa7ab6961.
Solidity: function withdrawalDelay() view returns(uint256)
type StakemanagerTransactor ¶
type StakemanagerTransactor struct {
// contains filtered or unexported fields
}
StakemanagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStakemanagerTransactor ¶
func NewStakemanagerTransactor(address common.Address, transactor bind.ContractTransactor) (*StakemanagerTransactor, error)
NewStakemanagerTransactor creates a new write-only instance of Stakemanager, bound to a specific deployed contract.
func (*StakemanagerTransactor) ChangeRootChain ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) ChangeRootChain(opts *bind.TransactOpts, newRootChain common.Address) (*types.Transaction, error)
ChangeRootChain is a paid mutator transaction binding the contract method 0xe8afa8e8.
Solidity: function changeRootChain(address newRootChain) returns()
func (*StakemanagerTransactor) CheckSignatures ¶
func (_Stakemanager *StakemanagerTransactor) CheckSignatures(opts *bind.TransactOpts, blockInterval *big.Int, voteHash [32]byte, stateRoot [32]byte, proposer common.Address, sigs []byte) (*types.Transaction, error)
CheckSignatures is a paid mutator transaction binding the contract method 0x066647a0.
Solidity: function checkSignatures(uint256 blockInterval, bytes32 voteHash, bytes32 stateRoot, address proposer, bytes sigs) returns(uint256)
func (*StakemanagerTransactor) ClaimFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) ClaimFee(opts *bind.TransactOpts, accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)
ClaimFee is a paid mutator transaction binding the contract method 0x68cb812a.
Solidity: function claimFee(uint256 accumFeeAmount, uint256 index, bytes proof) returns()
func (*StakemanagerTransactor) ConfirmAuctionBid ¶
func (_Stakemanager *StakemanagerTransactor) ConfirmAuctionBid(opts *bind.TransactOpts, validatorId *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
ConfirmAuctionBid is a paid mutator transaction binding the contract method 0xc8b194a2.
Solidity: function confirmAuctionBid(uint256 validatorId, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerTransactor) DelegationDeposit ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) DelegationDeposit(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
DelegationDeposit is a paid mutator transaction binding the contract method 0x6901b253.
Solidity: function delegationDeposit(uint256 validatorId, uint256 amount, address delegator) returns(bool)
func (*StakemanagerTransactor) ForceUnstake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) ForceUnstake(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
ForceUnstake is a paid mutator transaction binding the contract method 0x91460149.
Solidity: function forceUnstake(uint256 validatorId) returns()
func (*StakemanagerTransactor) Lock ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) Lock(opts *bind.TransactOpts) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0xf83d08ba.
Solidity: function lock() returns()
func (*StakemanagerTransactor) RenounceOwnership ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StakemanagerTransactor) Restake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) Restake(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, stakeRewards bool) (*types.Transaction, error)
Restake is a paid mutator transaction binding the contract method 0x28cc4e41.
Solidity: function restake(uint256 validatorId, uint256 amount, bool stakeRewards) returns()
func (*StakemanagerTransactor) SetDelegationEnabled ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactor) SetDelegationEnabled(opts *bind.TransactOpts, enabled bool) (*types.Transaction, error)
SetDelegationEnabled is a paid mutator transaction binding the contract method 0xf28699fa.
Solidity: function setDelegationEnabled(bool enabled) returns()
func (*StakemanagerTransactor) SetToken ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) SetToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.
Solidity: function setToken(address _token) returns()
func (*StakemanagerTransactor) Slash ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) Slash(opts *bind.TransactOpts, _slashingInfoList []byte) (*types.Transaction, error)
Slash is a paid mutator transaction binding the contract method 0x5e47655f.
Solidity: function slash(bytes _slashingInfoList) returns(uint256)
func (*StakemanagerTransactor) Stake ¶
func (_Stakemanager *StakemanagerTransactor) Stake(opts *bind.TransactOpts, amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x028c4c67.
Solidity: function stake(uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerTransactor) StakeFor ¶
func (_Stakemanager *StakemanagerTransactor) StakeFor(opts *bind.TransactOpts, user common.Address, amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
StakeFor is a paid mutator transaction binding the contract method 0x4fdd20f1.
Solidity: function stakeFor(address user, uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerTransactor) StartAuction ¶
func (_Stakemanager *StakemanagerTransactor) StartAuction(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
StartAuction is a paid mutator transaction binding the contract method 0x4fee13fc.
Solidity: function startAuction(uint256 validatorId, uint256 amount) returns()
func (*StakemanagerTransactor) StopAuctions ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactor) StopAuctions(opts *bind.TransactOpts, forNCheckpoints *big.Int) (*types.Transaction, error)
StopAuctions is a paid mutator transaction binding the contract method 0xf771fc87.
Solidity: function stopAuctions(uint256 forNCheckpoints) returns()
func (*StakemanagerTransactor) TopUpForFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) TopUpForFee(opts *bind.TransactOpts, user common.Address, heimdallFee *big.Int) (*types.Transaction, error)
TopUpForFee is a paid mutator transaction binding the contract method 0x63656798.
Solidity: function topUpForFee(address user, uint256 heimdallFee) returns()
func (*StakemanagerTransactor) TransferFunds ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactor) TransferFunds(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
TransferFunds is a paid mutator transaction binding the contract method 0xbc8756a9.
Solidity: function transferFunds(uint256 validatorId, uint256 amount, address delegator) returns(bool)
func (*StakemanagerTransactor) TransferOwnership ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) 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 (*StakemanagerTransactor) UnJail ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UnJail(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
UnJail is a paid mutator transaction binding the contract method 0x3d02455b.
Solidity: function unJail(uint256 validatorId) returns()
func (*StakemanagerTransactor) Unlock ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns()
func (*StakemanagerTransactor) Unstake ¶
func (_Stakemanager *StakemanagerTransactor) Unstake(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 validatorId) returns()
func (*StakemanagerTransactor) UnstakeClaim ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UnstakeClaim(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
UnstakeClaim is a paid mutator transaction binding the contract method 0xd86d53e7.
Solidity: function unstakeClaim(uint256 validatorId) returns()
func (*StakemanagerTransactor) UpdateCheckPointBlockInterval ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UpdateCheckPointBlockInterval(opts *bind.TransactOpts, _blocks *big.Int) (*types.Transaction, error)
UpdateCheckPointBlockInterval is a paid mutator transaction binding the contract method 0xa440ab1e.
Solidity: function updateCheckPointBlockInterval(uint256 _blocks) returns()
func (*StakemanagerTransactor) UpdateCheckpointReward ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UpdateCheckpointReward(opts *bind.TransactOpts, newReward *big.Int) (*types.Transaction, error)
UpdateCheckpointReward is a paid mutator transaction binding the contract method 0xcbf383d5.
Solidity: function updateCheckpointReward(uint256 newReward) returns()
func (*StakemanagerTransactor) UpdateConstructor ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UpdateConstructor(opts *bind.TransactOpts, _registry common.Address, _rootchain common.Address, _NFTContract common.Address, _stakingLogger common.Address, _ValidatorShareFactory common.Address) (*types.Transaction, error)
UpdateConstructor is a paid mutator transaction binding the contract method 0x118bdec9.
Solidity: function updateConstructor(address _registry, address _rootchain, address _NFTContract, address _stakingLogger, address _ValidatorShareFactory) returns()
func (*StakemanagerTransactor) UpdateDynastyValue ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UpdateDynastyValue(opts *bind.TransactOpts, newDynasty *big.Int) (*types.Transaction, error)
UpdateDynastyValue is a paid mutator transaction binding the contract method 0xe6692f49.
Solidity: function updateDynastyValue(uint256 newDynasty) returns()
func (*StakemanagerTransactor) UpdateMinAmounts ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UpdateMinAmounts(opts *bind.TransactOpts, _minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)
UpdateMinAmounts is a paid mutator transaction binding the contract method 0xb1d23f02.
Solidity: function updateMinAmounts(uint256 _minDeposit, uint256 _minHeimdallFee) returns()
func (*StakemanagerTransactor) UpdateProposerBonus ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactor) UpdateProposerBonus(opts *bind.TransactOpts, newProposerBonus *big.Int) (*types.Transaction, error)
UpdateProposerBonus is a paid mutator transaction binding the contract method 0x9b33f434.
Solidity: function updateProposerBonus(uint256 newProposerBonus) returns()
func (*StakemanagerTransactor) UpdateSigner ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UpdateSigner(opts *bind.TransactOpts, validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)
UpdateSigner is a paid mutator transaction binding the contract method 0xf41a9642.
Solidity: function updateSigner(uint256 validatorId, bytes signerPubkey) returns()
func (*StakemanagerTransactor) UpdateSignerUpdateLimit ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactor) UpdateSignerUpdateLimit(opts *bind.TransactOpts, _limit *big.Int) (*types.Transaction, error)
UpdateSignerUpdateLimit is a paid mutator transaction binding the contract method 0x06cfb104.
Solidity: function updateSignerUpdateLimit(uint256 _limit) returns()
func (*StakemanagerTransactor) UpdateValidatorState ¶
func (_Stakemanager *StakemanagerTransactor) UpdateValidatorState(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
UpdateValidatorState is a paid mutator transaction binding the contract method 0x9ff11500.
Solidity: function updateValidatorState(uint256 validatorId, int256 amount) returns()
func (*StakemanagerTransactor) UpdateValidatorThreshold ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) UpdateValidatorThreshold(opts *bind.TransactOpts, newThreshold *big.Int) (*types.Transaction, error)
UpdateValidatorThreshold is a paid mutator transaction binding the contract method 0x16827b1b.
Solidity: function updateValidatorThreshold(uint256 newThreshold) returns()
func (*StakemanagerTransactor) WithdrawRewards ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactor) WithdrawRewards(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)
WithdrawRewards is a paid mutator transaction binding the contract method 0x9342c8f4.
Solidity: function withdrawRewards(uint256 validatorId) returns()
type StakemanagerTransactorRaw ¶
type StakemanagerTransactorRaw struct {
Contract *StakemanagerTransactor // Generic write-only contract binding to access the raw methods on
}
StakemanagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StakemanagerTransactorRaw) Transact ¶
func (_Stakemanager *StakemanagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakemanagerTransactorRaw) Transfer ¶
func (_Stakemanager *StakemanagerTransactorRaw) 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 StakemanagerTransactorSession ¶
type StakemanagerTransactorSession struct { Contract *StakemanagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StakemanagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StakemanagerTransactorSession) ChangeRootChain ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) ChangeRootChain(newRootChain common.Address) (*types.Transaction, error)
ChangeRootChain is a paid mutator transaction binding the contract method 0xe8afa8e8.
Solidity: function changeRootChain(address newRootChain) returns()
func (*StakemanagerTransactorSession) CheckSignatures ¶
func (_Stakemanager *StakemanagerTransactorSession) CheckSignatures(blockInterval *big.Int, voteHash [32]byte, stateRoot [32]byte, proposer common.Address, sigs []byte) (*types.Transaction, error)
CheckSignatures is a paid mutator transaction binding the contract method 0x066647a0.
Solidity: function checkSignatures(uint256 blockInterval, bytes32 voteHash, bytes32 stateRoot, address proposer, bytes sigs) returns(uint256)
func (*StakemanagerTransactorSession) ClaimFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) ClaimFee(accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)
ClaimFee is a paid mutator transaction binding the contract method 0x68cb812a.
Solidity: function claimFee(uint256 accumFeeAmount, uint256 index, bytes proof) returns()
func (*StakemanagerTransactorSession) ConfirmAuctionBid ¶
func (_Stakemanager *StakemanagerTransactorSession) ConfirmAuctionBid(validatorId *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
ConfirmAuctionBid is a paid mutator transaction binding the contract method 0xc8b194a2.
Solidity: function confirmAuctionBid(uint256 validatorId, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerTransactorSession) DelegationDeposit ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) DelegationDeposit(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
DelegationDeposit is a paid mutator transaction binding the contract method 0x6901b253.
Solidity: function delegationDeposit(uint256 validatorId, uint256 amount, address delegator) returns(bool)
func (*StakemanagerTransactorSession) ForceUnstake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) ForceUnstake(validatorId *big.Int) (*types.Transaction, error)
ForceUnstake is a paid mutator transaction binding the contract method 0x91460149.
Solidity: function forceUnstake(uint256 validatorId) returns()
func (*StakemanagerTransactorSession) Lock ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) Lock() (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0xf83d08ba.
Solidity: function lock() returns()
func (*StakemanagerTransactorSession) RenounceOwnership ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StakemanagerTransactorSession) Restake ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) Restake(validatorId *big.Int, amount *big.Int, stakeRewards bool) (*types.Transaction, error)
Restake is a paid mutator transaction binding the contract method 0x28cc4e41.
Solidity: function restake(uint256 validatorId, uint256 amount, bool stakeRewards) returns()
func (*StakemanagerTransactorSession) SetDelegationEnabled ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactorSession) SetDelegationEnabled(enabled bool) (*types.Transaction, error)
SetDelegationEnabled is a paid mutator transaction binding the contract method 0xf28699fa.
Solidity: function setDelegationEnabled(bool enabled) returns()
func (*StakemanagerTransactorSession) SetToken ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) SetToken(_token common.Address) (*types.Transaction, error)
SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.
Solidity: function setToken(address _token) returns()
func (*StakemanagerTransactorSession) Slash ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) Slash(_slashingInfoList []byte) (*types.Transaction, error)
Slash is a paid mutator transaction binding the contract method 0x5e47655f.
Solidity: function slash(bytes _slashingInfoList) returns(uint256)
func (*StakemanagerTransactorSession) Stake ¶
func (_Stakemanager *StakemanagerTransactorSession) Stake(amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x028c4c67.
Solidity: function stake(uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerTransactorSession) StakeFor ¶
func (_Stakemanager *StakemanagerTransactorSession) StakeFor(user common.Address, amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)
StakeFor is a paid mutator transaction binding the contract method 0x4fdd20f1.
Solidity: function stakeFor(address user, uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()
func (*StakemanagerTransactorSession) StartAuction ¶
func (_Stakemanager *StakemanagerTransactorSession) StartAuction(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
StartAuction is a paid mutator transaction binding the contract method 0x4fee13fc.
Solidity: function startAuction(uint256 validatorId, uint256 amount) returns()
func (*StakemanagerTransactorSession) StopAuctions ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactorSession) StopAuctions(forNCheckpoints *big.Int) (*types.Transaction, error)
StopAuctions is a paid mutator transaction binding the contract method 0xf771fc87.
Solidity: function stopAuctions(uint256 forNCheckpoints) returns()
func (*StakemanagerTransactorSession) TopUpForFee ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) TopUpForFee(user common.Address, heimdallFee *big.Int) (*types.Transaction, error)
TopUpForFee is a paid mutator transaction binding the contract method 0x63656798.
Solidity: function topUpForFee(address user, uint256 heimdallFee) returns()
func (*StakemanagerTransactorSession) TransferFunds ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactorSession) TransferFunds(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)
TransferFunds is a paid mutator transaction binding the contract method 0xbc8756a9.
Solidity: function transferFunds(uint256 validatorId, uint256 amount, address delegator) returns(bool)
func (*StakemanagerTransactorSession) TransferOwnership ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) 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 (*StakemanagerTransactorSession) UnJail ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UnJail(validatorId *big.Int) (*types.Transaction, error)
UnJail is a paid mutator transaction binding the contract method 0x3d02455b.
Solidity: function unJail(uint256 validatorId) returns()
func (*StakemanagerTransactorSession) Unlock ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) Unlock() (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns()
func (*StakemanagerTransactorSession) Unstake ¶
func (_Stakemanager *StakemanagerTransactorSession) Unstake(validatorId *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 validatorId) returns()
func (*StakemanagerTransactorSession) UnstakeClaim ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UnstakeClaim(validatorId *big.Int) (*types.Transaction, error)
UnstakeClaim is a paid mutator transaction binding the contract method 0xd86d53e7.
Solidity: function unstakeClaim(uint256 validatorId) returns()
func (*StakemanagerTransactorSession) UpdateCheckPointBlockInterval ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UpdateCheckPointBlockInterval(_blocks *big.Int) (*types.Transaction, error)
UpdateCheckPointBlockInterval is a paid mutator transaction binding the contract method 0xa440ab1e.
Solidity: function updateCheckPointBlockInterval(uint256 _blocks) returns()
func (*StakemanagerTransactorSession) UpdateCheckpointReward ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UpdateCheckpointReward(newReward *big.Int) (*types.Transaction, error)
UpdateCheckpointReward is a paid mutator transaction binding the contract method 0xcbf383d5.
Solidity: function updateCheckpointReward(uint256 newReward) returns()
func (*StakemanagerTransactorSession) UpdateConstructor ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UpdateConstructor(_registry common.Address, _rootchain common.Address, _NFTContract common.Address, _stakingLogger common.Address, _ValidatorShareFactory common.Address) (*types.Transaction, error)
UpdateConstructor is a paid mutator transaction binding the contract method 0x118bdec9.
Solidity: function updateConstructor(address _registry, address _rootchain, address _NFTContract, address _stakingLogger, address _ValidatorShareFactory) returns()
func (*StakemanagerTransactorSession) UpdateDynastyValue ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UpdateDynastyValue(newDynasty *big.Int) (*types.Transaction, error)
UpdateDynastyValue is a paid mutator transaction binding the contract method 0xe6692f49.
Solidity: function updateDynastyValue(uint256 newDynasty) returns()
func (*StakemanagerTransactorSession) UpdateMinAmounts ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UpdateMinAmounts(_minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)
UpdateMinAmounts is a paid mutator transaction binding the contract method 0xb1d23f02.
Solidity: function updateMinAmounts(uint256 _minDeposit, uint256 _minHeimdallFee) returns()
func (*StakemanagerTransactorSession) UpdateProposerBonus ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactorSession) UpdateProposerBonus(newProposerBonus *big.Int) (*types.Transaction, error)
UpdateProposerBonus is a paid mutator transaction binding the contract method 0x9b33f434.
Solidity: function updateProposerBonus(uint256 newProposerBonus) returns()
func (*StakemanagerTransactorSession) UpdateSigner ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UpdateSigner(validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)
UpdateSigner is a paid mutator transaction binding the contract method 0xf41a9642.
Solidity: function updateSigner(uint256 validatorId, bytes signerPubkey) returns()
func (*StakemanagerTransactorSession) UpdateSignerUpdateLimit ¶ added in v0.1.7
func (_Stakemanager *StakemanagerTransactorSession) UpdateSignerUpdateLimit(_limit *big.Int) (*types.Transaction, error)
UpdateSignerUpdateLimit is a paid mutator transaction binding the contract method 0x06cfb104.
Solidity: function updateSignerUpdateLimit(uint256 _limit) returns()
func (*StakemanagerTransactorSession) UpdateValidatorState ¶
func (_Stakemanager *StakemanagerTransactorSession) UpdateValidatorState(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)
UpdateValidatorState is a paid mutator transaction binding the contract method 0x9ff11500.
Solidity: function updateValidatorState(uint256 validatorId, int256 amount) returns()
func (*StakemanagerTransactorSession) UpdateValidatorThreshold ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) UpdateValidatorThreshold(newThreshold *big.Int) (*types.Transaction, error)
UpdateValidatorThreshold is a paid mutator transaction binding the contract method 0x16827b1b.
Solidity: function updateValidatorThreshold(uint256 newThreshold) returns()
func (*StakemanagerTransactorSession) WithdrawRewards ¶ added in v0.1.5
func (_Stakemanager *StakemanagerTransactorSession) WithdrawRewards(validatorId *big.Int) (*types.Transaction, error)
WithdrawRewards is a paid mutator transaction binding the contract method 0x9342c8f4.
Solidity: function withdrawRewards(uint256 validatorId) returns()