Documentation ¶
Index ¶
- Constants
- Variables
- type Contract
- type ContractCaller
- func (_Contract *ContractCaller) CalcDelegationCompoundRewards(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCaller) CalcDelegationRewards(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCaller) CalcValidatorCompoundRewards(opts *bind.CallOpts, stakerID *big.Int, _fromEpoch *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCaller) CalcValidatorRewards(opts *bind.CallOpts, stakerID *big.Int, _fromEpoch *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCaller) ContractCommission(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) CurrentSealedEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) DelegationEarlyWithdrawalPenalty(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractCaller) DelegationLockPeriodEpochs(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) DelegationLockPeriodTime(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) Delegations(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) DelegationsNum(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) DelegationsTotalAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) EpochSnapshots(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) EpochValidator(opts *bind.CallOpts, e *big.Int, v *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) FirstLockedUpEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) GetDelegationRewardRatio(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int) (*big.Int, error)
- func (_Contract *ContractCaller) GetStakerID(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
- func (_Contract *ContractCaller) GetValidatorRewardRatio(opts *bind.CallOpts, stakerID *big.Int) (*big.Int, error)
- func (_Contract *ContractCaller) IsDelegationLockedUp(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int) (bool, error)
- func (_Contract *ContractCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Contract *ContractCaller) IsStakeLockedUp(opts *bind.CallOpts, staker *big.Int) (bool, error)
- func (_Contract *ContractCaller) LegacyDelegations(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Contract *ContractCaller) LockedDelegations(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) LockedStakes(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) MaxDelegatedRatio(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MaxLockupDuration(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MaxStakerMetadataSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinDelegation(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinDelegationDecrease(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinDelegationIncrease(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinLockupDuration(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinStake(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinStakeDecrease(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinStakeIncrease(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Contract *ContractCaller) RewardsStash(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractCaller) SfcAddressToStakerID(opts *bind.CallOpts, sfcAddress common.Address) (*big.Int, error)
- func (_Contract *ContractCaller) SlashedDelegationsTotalAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) SlashedStakeTotalAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakeLockPeriodEpochs(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakeLockPeriodTime(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakeTotalAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakerMetadata(opts *bind.CallOpts, arg0 *big.Int) ([]byte, error)
- func (_Contract *ContractCaller) Stakers(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) StakersLastID(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakersNum(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) TotalBurntLockupRewards(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) UnlockedRewardRatio(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) ValidatorCommission(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) Version(opts *bind.CallOpts) ([3]byte, error)
- func (_Contract *ContractCaller) WithdrawalRequests(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type ContractCallerRaw
- type ContractCallerSession
- func (_Contract *ContractCallerSession) CalcDelegationCompoundRewards(delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCallerSession) CalcDelegationRewards(delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCallerSession) CalcValidatorCompoundRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCallerSession) CalcValidatorRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCallerSession) ContractCommission() (*big.Int, error)
- func (_Contract *ContractCallerSession) CurrentEpoch() (*big.Int, error)
- func (_Contract *ContractCallerSession) CurrentSealedEpoch() (*big.Int, error)
- func (_Contract *ContractCallerSession) DelegationEarlyWithdrawalPenalty(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractCallerSession) DelegationLockPeriodEpochs() (*big.Int, error)
- func (_Contract *ContractCallerSession) DelegationLockPeriodTime() (*big.Int, error)
- func (_Contract *ContractCallerSession) Delegations(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) DelegationsNum() (*big.Int, error)
- func (_Contract *ContractCallerSession) DelegationsTotalAmount() (*big.Int, error)
- func (_Contract *ContractCallerSession) EpochSnapshots(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) EpochValidator(e *big.Int, v *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) FirstLockedUpEpoch() (*big.Int, error)
- func (_Contract *ContractCallerSession) GetDelegationRewardRatio(delegator common.Address, toStakerID *big.Int) (*big.Int, error)
- func (_Contract *ContractCallerSession) GetStakerID(addr common.Address) (*big.Int, error)
- func (_Contract *ContractCallerSession) GetValidatorRewardRatio(stakerID *big.Int) (*big.Int, error)
- func (_Contract *ContractCallerSession) IsDelegationLockedUp(delegator common.Address, toStakerID *big.Int) (bool, error)
- func (_Contract *ContractCallerSession) IsOwner() (bool, error)
- func (_Contract *ContractCallerSession) IsStakeLockedUp(staker *big.Int) (bool, error)
- func (_Contract *ContractCallerSession) LegacyDelegations(arg0 common.Address) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) LockedDelegations(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) LockedStakes(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) MaxDelegatedRatio() (*big.Int, error)
- func (_Contract *ContractCallerSession) MaxLockupDuration() (*big.Int, error)
- func (_Contract *ContractCallerSession) MaxStakerMetadataSize() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinDelegation() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinDelegationDecrease() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinDelegationIncrease() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinLockupDuration() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinStake() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinStakeDecrease() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinStakeIncrease() (*big.Int, error)
- func (_Contract *ContractCallerSession) Owner() (common.Address, error)
- func (_Contract *ContractCallerSession) RewardsStash(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractCallerSession) SfcAddressToStakerID(sfcAddress common.Address) (*big.Int, error)
- func (_Contract *ContractCallerSession) SlashedDelegationsTotalAmount() (*big.Int, error)
- func (_Contract *ContractCallerSession) SlashedStakeTotalAmount() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakeLockPeriodEpochs() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakeLockPeriodTime() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakeTotalAmount() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakerMetadata(arg0 *big.Int) ([]byte, error)
- func (_Contract *ContractCallerSession) Stakers(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) StakersLastID() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakersNum() (*big.Int, error)
- func (_Contract *ContractCallerSession) TotalBurntLockupRewards() (*big.Int, error)
- func (_Contract *ContractCallerSession) UnlockedRewardRatio() (*big.Int, error)
- func (_Contract *ContractCallerSession) ValidatorCommission() (*big.Int, error)
- func (_Contract *ContractCallerSession) Version() ([3]byte, error)
- func (_Contract *ContractCallerSession) WithdrawalRequests(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type ContractClaimedDelegationReward
- type ContractClaimedDelegationRewardIterator
- type ContractClaimedValidatorReward
- type ContractClaimedValidatorRewardIterator
- type ContractCreatedDelegation
- type ContractCreatedDelegationIterator
- type ContractCreatedStake
- type ContractCreatedStakeIterator
- type ContractCreatedWithdrawRequest
- type ContractCreatedWithdrawRequestIterator
- type ContractDeactivatedDelegation
- type ContractDeactivatedDelegationIterator
- type ContractDeactivatedStake
- type ContractDeactivatedStakeIterator
- type ContractFilterer
- func (_Contract *ContractFilterer) FilterClaimedDelegationReward(opts *bind.FilterOpts, from []common.Address, stakerID []*big.Int) (*ContractClaimedDelegationRewardIterator, error)
- func (_Contract *ContractFilterer) FilterClaimedValidatorReward(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractClaimedValidatorRewardIterator, error)
- func (_Contract *ContractFilterer) FilterCreatedDelegation(opts *bind.FilterOpts, delegator []common.Address, toStakerID []*big.Int) (*ContractCreatedDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterCreatedStake(opts *bind.FilterOpts, stakerID []*big.Int, dagSfcAddress []common.Address) (*ContractCreatedStakeIterator, error)
- func (_Contract *ContractFilterer) FilterCreatedWithdrawRequest(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address, ...) (*ContractCreatedWithdrawRequestIterator, error)
- func (_Contract *ContractFilterer) FilterDeactivatedDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractDeactivatedDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterDeactivatedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractDeactivatedStakeIterator, error)
- func (_Contract *ContractFilterer) FilterIncreasedDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractIncreasedDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterIncreasedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractIncreasedStakeIterator, error)
- func (_Contract *ContractFilterer) FilterLockingDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractLockingDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterLockingStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractLockingStakeIterator, error)
- func (_Contract *ContractFilterer) FilterNetworkUpgradeActivated(opts *bind.FilterOpts) (*ContractNetworkUpgradeActivatedIterator, error)
- func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ContractOwnershipTransferredIterator, error)
- func (_Contract *ContractFilterer) FilterPartialWithdrawnByRequest(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address, ...) (*ContractPartialWithdrawnByRequestIterator, error)
- func (_Contract *ContractFilterer) FilterPreparedToWithdrawDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractPreparedToWithdrawDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterPreparedToWithdrawStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractPreparedToWithdrawStakeIterator, error)
- func (_Contract *ContractFilterer) FilterUnstashedRewards(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address) (*ContractUnstashedRewardsIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedBaseRewardPerSec(opts *bind.FilterOpts) (*ContractUpdatedBaseRewardPerSecIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedDelegation(opts *bind.FilterOpts, delegator []common.Address, oldStakerID []*big.Int, ...) (*ContractUpdatedDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedGasPowerAllocationRate(opts *bind.FilterOpts) (*ContractUpdatedGasPowerAllocationRateIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedMinGasPrice(opts *bind.FilterOpts) (*ContractUpdatedMinGasPriceIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedOfflinePenaltyThreshold(opts *bind.FilterOpts) (*ContractUpdatedOfflinePenaltyThresholdIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractUpdatedStakeIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedStakerMetadata(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractUpdatedStakerMetadataIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedStakerSfcAddress(opts *bind.FilterOpts, stakerID []*big.Int, oldSfcAddress []common.Address, ...) (*ContractUpdatedStakerSfcAddressIterator, error)
- func (_Contract *ContractFilterer) FilterWithdrawnDelegation(opts *bind.FilterOpts, delegator []common.Address, toStakerID []*big.Int) (*ContractWithdrawnDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterWithdrawnStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractWithdrawnStakeIterator, error)
- func (_Contract *ContractFilterer) ParseClaimedDelegationReward(log types.Log) (*ContractClaimedDelegationReward, error)
- func (_Contract *ContractFilterer) ParseClaimedValidatorReward(log types.Log) (*ContractClaimedValidatorReward, error)
- func (_Contract *ContractFilterer) ParseCreatedDelegation(log types.Log) (*ContractCreatedDelegation, error)
- func (_Contract *ContractFilterer) ParseCreatedStake(log types.Log) (*ContractCreatedStake, error)
- func (_Contract *ContractFilterer) ParseCreatedWithdrawRequest(log types.Log) (*ContractCreatedWithdrawRequest, error)
- func (_Contract *ContractFilterer) ParseDeactivatedDelegation(log types.Log) (*ContractDeactivatedDelegation, error)
- func (_Contract *ContractFilterer) ParseDeactivatedStake(log types.Log) (*ContractDeactivatedStake, error)
- func (_Contract *ContractFilterer) ParseIncreasedDelegation(log types.Log) (*ContractIncreasedDelegation, error)
- func (_Contract *ContractFilterer) ParseIncreasedStake(log types.Log) (*ContractIncreasedStake, error)
- func (_Contract *ContractFilterer) ParseLockingDelegation(log types.Log) (*ContractLockingDelegation, error)
- func (_Contract *ContractFilterer) ParseLockingStake(log types.Log) (*ContractLockingStake, error)
- func (_Contract *ContractFilterer) ParseNetworkUpgradeActivated(log types.Log) (*ContractNetworkUpgradeActivated, error)
- func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)
- func (_Contract *ContractFilterer) ParsePartialWithdrawnByRequest(log types.Log) (*ContractPartialWithdrawnByRequest, error)
- func (_Contract *ContractFilterer) ParsePreparedToWithdrawDelegation(log types.Log) (*ContractPreparedToWithdrawDelegation, error)
- func (_Contract *ContractFilterer) ParsePreparedToWithdrawStake(log types.Log) (*ContractPreparedToWithdrawStake, error)
- func (_Contract *ContractFilterer) ParseUnstashedRewards(log types.Log) (*ContractUnstashedRewards, error)
- func (_Contract *ContractFilterer) ParseUpdatedBaseRewardPerSec(log types.Log) (*ContractUpdatedBaseRewardPerSec, error)
- func (_Contract *ContractFilterer) ParseUpdatedDelegation(log types.Log) (*ContractUpdatedDelegation, error)
- func (_Contract *ContractFilterer) ParseUpdatedGasPowerAllocationRate(log types.Log) (*ContractUpdatedGasPowerAllocationRate, error)
- func (_Contract *ContractFilterer) ParseUpdatedMinGasPrice(log types.Log) (*ContractUpdatedMinGasPrice, error)
- func (_Contract *ContractFilterer) ParseUpdatedOfflinePenaltyThreshold(log types.Log) (*ContractUpdatedOfflinePenaltyThreshold, error)
- func (_Contract *ContractFilterer) ParseUpdatedStake(log types.Log) (*ContractUpdatedStake, error)
- func (_Contract *ContractFilterer) ParseUpdatedStakerMetadata(log types.Log) (*ContractUpdatedStakerMetadata, error)
- func (_Contract *ContractFilterer) ParseUpdatedStakerSfcAddress(log types.Log) (*ContractUpdatedStakerSfcAddress, error)
- func (_Contract *ContractFilterer) ParseWithdrawnDelegation(log types.Log) (*ContractWithdrawnDelegation, error)
- func (_Contract *ContractFilterer) ParseWithdrawnStake(log types.Log) (*ContractWithdrawnStake, error)
- func (_Contract *ContractFilterer) WatchClaimedDelegationReward(opts *bind.WatchOpts, sink chan<- *ContractClaimedDelegationReward, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchClaimedValidatorReward(opts *bind.WatchOpts, sink chan<- *ContractClaimedValidatorReward, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchCreatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractCreatedDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchCreatedStake(opts *bind.WatchOpts, sink chan<- *ContractCreatedStake, stakerID []*big.Int, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchCreatedWithdrawRequest(opts *bind.WatchOpts, sink chan<- *ContractCreatedWithdrawRequest, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchDeactivatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchDeactivatedStake(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedStake, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchIncreasedDelegation(opts *bind.WatchOpts, sink chan<- *ContractIncreasedDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchIncreasedStake(opts *bind.WatchOpts, sink chan<- *ContractIncreasedStake, stakerID []*big.Int) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchLockingDelegation(opts *bind.WatchOpts, sink chan<- *ContractLockingDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchLockingStake(opts *bind.WatchOpts, sink chan<- *ContractLockingStake, stakerID []*big.Int) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchNetworkUpgradeActivated(opts *bind.WatchOpts, sink chan<- *ContractNetworkUpgradeActivated) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchPartialWithdrawnByRequest(opts *bind.WatchOpts, sink chan<- *ContractPartialWithdrawnByRequest, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchPreparedToWithdrawDelegation(opts *bind.WatchOpts, sink chan<- *ContractPreparedToWithdrawDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchPreparedToWithdrawStake(opts *bind.WatchOpts, sink chan<- *ContractPreparedToWithdrawStake, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUnstashedRewards(opts *bind.WatchOpts, sink chan<- *ContractUnstashedRewards, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedBaseRewardPerSec(opts *bind.WatchOpts, sink chan<- *ContractUpdatedBaseRewardPerSec) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractUpdatedDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedGasPowerAllocationRate(opts *bind.WatchOpts, sink chan<- *ContractUpdatedGasPowerAllocationRate) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedMinGasPrice(opts *bind.WatchOpts, sink chan<- *ContractUpdatedMinGasPrice) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedOfflinePenaltyThreshold(opts *bind.WatchOpts, sink chan<- *ContractUpdatedOfflinePenaltyThreshold) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedStake(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStake, stakerID []*big.Int) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedStakerMetadata(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerMetadata, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedStakerSfcAddress(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerSfcAddress, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchWithdrawnDelegation(opts *bind.WatchOpts, sink chan<- *ContractWithdrawnDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchWithdrawnStake(opts *bind.WatchOpts, sink chan<- *ContractWithdrawnStake, stakerID []*big.Int) (event.Subscription, error)
- type ContractIncreasedDelegation
- type ContractIncreasedDelegationIterator
- type ContractIncreasedStake
- type ContractIncreasedStakeIterator
- type ContractLockingDelegation
- type ContractLockingDelegationIterator
- type ContractLockingStake
- type ContractLockingStakeIterator
- type ContractNetworkUpgradeActivated
- type ContractNetworkUpgradeActivatedIterator
- type ContractOwnershipTransferred
- type ContractOwnershipTransferredIterator
- type ContractPartialWithdrawnByRequest
- type ContractPartialWithdrawnByRequestIterator
- type ContractPreparedToWithdrawDelegation
- type ContractPreparedToWithdrawDelegationIterator
- type ContractPreparedToWithdrawStake
- type ContractPreparedToWithdrawStakeIterator
- type ContractRaw
- func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractSession
- func (_Contract *ContractSession) ActivateNetworkUpgrade(minVersion *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) CalcDelegationCompoundRewards(delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractSession) CalcDelegationRewards(delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractSession) CalcValidatorCompoundRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractSession) CalcValidatorRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractSession) ClaimDelegationCompoundRewards(maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) ClaimDelegationRewards(maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) ClaimValidatorCompoundRewards(maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) ClaimValidatorRewards(maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) ContractCommission() (*big.Int, error)
- func (_Contract *ContractSession) CreateDelegation(to *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) CreateStake(metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractSession) CreateStakeWithAddresses(dagAddress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractSession) CurrentEpoch() (*big.Int, error)
- func (_Contract *ContractSession) CurrentSealedEpoch() (*big.Int, error)
- func (_Contract *ContractSession) DelegationEarlyWithdrawalPenalty(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractSession) DelegationLockPeriodEpochs() (*big.Int, error)
- func (_Contract *ContractSession) DelegationLockPeriodTime() (*big.Int, error)
- func (_Contract *ContractSession) Delegations(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) DelegationsNum() (*big.Int, error)
- func (_Contract *ContractSession) DelegationsTotalAmount() (*big.Int, error)
- func (_Contract *ContractSession) EpochSnapshots(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) EpochValidator(e *big.Int, v *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) FirstLockedUpEpoch() (*big.Int, error)
- func (_Contract *ContractSession) GetDelegationRewardRatio(delegator common.Address, toStakerID *big.Int) (*big.Int, error)
- func (_Contract *ContractSession) GetStakerID(addr common.Address) (*big.Int, error)
- func (_Contract *ContractSession) GetValidatorRewardRatio(stakerID *big.Int) (*big.Int, error)
- func (_Contract *ContractSession) IsDelegationLockedUp(delegator common.Address, toStakerID *big.Int) (bool, error)
- func (_Contract *ContractSession) IsOwner() (bool, error)
- func (_Contract *ContractSession) IsStakeLockedUp(staker *big.Int) (bool, error)
- func (_Contract *ContractSession) LegacyDelegations(arg0 common.Address) (struct{ ... }, error)
- func (_Contract *ContractSession) LockUpDelegation(lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) LockUpStake(lockDuration *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) LockedDelegations(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) LockedStakes(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) MaxDelegatedRatio() (*big.Int, error)
- func (_Contract *ContractSession) MaxLockupDuration() (*big.Int, error)
- func (_Contract *ContractSession) MaxStakerMetadataSize() (*big.Int, error)
- func (_Contract *ContractSession) MinDelegation() (*big.Int, error)
- func (_Contract *ContractSession) MinDelegationDecrease() (*big.Int, error)
- func (_Contract *ContractSession) MinDelegationIncrease() (*big.Int, error)
- func (_Contract *ContractSession) MinLockupDuration() (*big.Int, error)
- func (_Contract *ContractSession) MinStake() (*big.Int, error)
- func (_Contract *ContractSession) MinStakeDecrease() (*big.Int, error)
- func (_Contract *ContractSession) MinStakeIncrease() (*big.Int, error)
- func (_Contract *ContractSession) Owner() (common.Address, error)
- func (_Contract *ContractSession) PartialWithdrawByRequest(wrID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) PrepareToWithdrawDelegation(toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) PrepareToWithdrawStake() (*types.Transaction, error)
- func (_Contract *ContractSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)
- func (_Contract *ContractSession) RewardsStash(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractSession) SfcAddressToStakerID(sfcAddress common.Address) (*big.Int, error)
- func (_Contract *ContractSession) SlashedDelegationsTotalAmount() (*big.Int, error)
- func (_Contract *ContractSession) SlashedStakeTotalAmount() (*big.Int, error)
- func (_Contract *ContractSession) StakeLockPeriodEpochs() (*big.Int, error)
- func (_Contract *ContractSession) StakeLockPeriodTime() (*big.Int, error)
- func (_Contract *ContractSession) StakeTotalAmount() (*big.Int, error)
- func (_Contract *ContractSession) StakerMetadata(arg0 *big.Int) ([]byte, error)
- func (_Contract *ContractSession) Stakers(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) StakersLastID() (*big.Int, error)
- func (_Contract *ContractSession) StakersNum() (*big.Int, error)
- func (_Contract *ContractSession) StartLockedUp(epochNum *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) SyncDelegation(delegator common.Address, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) SyncStaker(stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) TotalBurntLockupRewards() (*big.Int, error)
- func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) UnlockedRewardRatio() (*big.Int, error)
- func (_Contract *ContractSession) UnstashRewards() (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateBaseRewardPerSec(value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateGasPowerAllocationRate(short *big.Int, long *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateMinGasPrice(minGasPrice *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateOfflinePenaltyThreshold(blocksNum *big.Int, period *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateStakerMetadata(metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateStakerSfcAddress(newSfcAddress common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) UpgradeDelegationStorage(delegator common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) UpgradeStakerStorage(stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) ValidatorCommission() (*big.Int, error)
- func (_Contract *ContractSession) Version() ([3]byte, error)
- func (_Contract *ContractSession) WithdrawDelegation(toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) WithdrawStake() (*types.Transaction, error)
- func (_Contract *ContractSession) WithdrawalRequests(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type ContractTransactor
- func (_Contract *ContractTransactor) ActivateNetworkUpgrade(opts *bind.TransactOpts, minVersion *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) ClaimDelegationCompoundRewards(opts *bind.TransactOpts, maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) ClaimDelegationRewards(opts *bind.TransactOpts, maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) ClaimValidatorCompoundRewards(opts *bind.TransactOpts, maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) ClaimValidatorRewards(opts *bind.TransactOpts, maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) CreateDelegation(opts *bind.TransactOpts, to *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) CreateStake(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactor) CreateStakeWithAddresses(opts *bind.TransactOpts, dagAddress common.Address, sfcAddress common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) LockUpDelegation(opts *bind.TransactOpts, lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) LockUpStake(opts *bind.TransactOpts, lockDuration *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PartialWithdrawByRequest(opts *bind.TransactOpts, wrID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PrepareToWithdrawDelegation(opts *bind.TransactOpts, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PrepareToWithdrawDelegationPartial(opts *bind.TransactOpts, wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PrepareToWithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PrepareToWithdrawStakePartial(opts *bind.TransactOpts, wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) StartLockedUp(opts *bind.TransactOpts, epochNum *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SyncDelegation(opts *bind.TransactOpts, delegator common.Address, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SyncStaker(opts *bind.TransactOpts, stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UnstashRewards(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateBaseRewardPerSec(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateGasPowerAllocationRate(opts *bind.TransactOpts, short *big.Int, long *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateMinGasPrice(opts *bind.TransactOpts, minGasPrice *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateOfflinePenaltyThreshold(opts *bind.TransactOpts, blocksNum *big.Int, period *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateStakerMetadata(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateStakerSfcAddress(opts *bind.TransactOpts, newSfcAddress common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpgradeDelegationStorage(opts *bind.TransactOpts, delegator common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpgradeStakerStorage(opts *bind.TransactOpts, stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) WithdrawDelegation(opts *bind.TransactOpts, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractTransactorRaw
- type ContractTransactorSession
- func (_Contract *ContractTransactorSession) ActivateNetworkUpgrade(minVersion *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) ClaimDelegationCompoundRewards(maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) ClaimDelegationRewards(maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) ClaimValidatorCompoundRewards(maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) ClaimValidatorRewards(maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) CreateDelegation(to *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) CreateStake(metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) CreateStakeWithAddresses(dagAddress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) LockUpDelegation(lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) LockUpStake(lockDuration *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PartialWithdrawByRequest(wrID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegation(toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PrepareToWithdrawStake() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) StartLockedUp(epochNum *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SyncDelegation(delegator common.Address, toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SyncStaker(stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UnstashRewards() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateBaseRewardPerSec(value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateGasPowerAllocationRate(short *big.Int, long *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateMinGasPrice(minGasPrice *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateOfflinePenaltyThreshold(blocksNum *big.Int, period *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateStakerMetadata(metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateStakerSfcAddress(newSfcAddress common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpgradeDelegationStorage(delegator common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpgradeStakerStorage(stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) WithdrawDelegation(toStakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) WithdrawStake() (*types.Transaction, error)
- type ContractUnstashedRewards
- type ContractUnstashedRewardsIterator
- type ContractUpdatedBaseRewardPerSec
- type ContractUpdatedBaseRewardPerSecIterator
- type ContractUpdatedDelegation
- type ContractUpdatedDelegationIterator
- type ContractUpdatedGasPowerAllocationRate
- type ContractUpdatedGasPowerAllocationRateIterator
- type ContractUpdatedMinGasPrice
- type ContractUpdatedMinGasPriceIterator
- type ContractUpdatedOfflinePenaltyThreshold
- type ContractUpdatedOfflinePenaltyThresholdIterator
- type ContractUpdatedStake
- type ContractUpdatedStakeIterator
- type ContractUpdatedStakerMetadata
- type ContractUpdatedStakerMetadataIterator
- type ContractUpdatedStakerSfcAddress
- type ContractUpdatedStakerSfcAddressIterator
- type ContractWithdrawnDelegation
- type ContractWithdrawnDelegationIterator
- type ContractWithdrawnStake
- type ContractWithdrawnStakeIterator
Constants ¶
const ContractABI = "" /* 34538-byte string literal not displayed */
ContractABI is the input ABI used to generate the binding from.
Variables ¶
var ContractBin = "" /* 47012-byte string literal not displayed */
ContractBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ContractCaller // Read-only binding to the contract ContractTransactor // Write-only binding to the contract ContractFilterer // Log filterer for contract events }
Contract is an auto generated Go binding around an Ethereum contract.
func DeployContract ¶
func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contract, error)
DeployContract deploys a new Ethereum contract, binding an instance of Contract to it.
func NewContract ¶
NewContract creates a new instance of Contract, bound to a specific deployed contract.
type ContractCaller ¶
type ContractCaller struct {
// contains filtered or unexported fields
}
ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractCaller ¶
func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)
NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.
func (*ContractCaller) CalcDelegationCompoundRewards ¶
func (_Contract *ContractCaller) CalcDelegationCompoundRewards(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationCompoundRewards is a free data retrieval call binding the contract method 0x9864183d.
Solidity: function calcDelegationCompoundRewards(address delegator, uint256 toStakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCaller) CalcDelegationRewards ¶
func (_Contract *ContractCaller) CalcDelegationRewards(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationRewards is a free data retrieval call binding the contract method 0xd845fc90.
Solidity: function calcDelegationRewards(address delegator, uint256 toStakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCaller) CalcValidatorCompoundRewards ¶
func (_Contract *ContractCaller) CalcValidatorCompoundRewards(opts *bind.CallOpts, stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorCompoundRewards is a free data retrieval call binding the contract method 0x74240362.
Solidity: function calcValidatorCompoundRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCaller) CalcValidatorRewards ¶
func (_Contract *ContractCaller) CalcValidatorRewards(opts *bind.CallOpts, stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.
Solidity: function calcValidatorRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCaller) ContractCommission ¶
ContractCommission is a free data retrieval call binding the contract method 0x2709275e.
Solidity: function contractCommission() pure returns(uint256)
func (*ContractCaller) CurrentEpoch ¶
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*ContractCaller) CurrentSealedEpoch ¶
CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.
Solidity: function currentSealedEpoch() view returns(uint256)
func (*ContractCaller) DelegationEarlyWithdrawalPenalty ¶
func (_Contract *ContractCaller) DelegationEarlyWithdrawalPenalty(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
DelegationEarlyWithdrawalPenalty is a free data retrieval call binding the contract method 0x66799a54.
Solidity: function delegationEarlyWithdrawalPenalty(address , uint256 ) view returns(uint256)
func (*ContractCaller) DelegationLockPeriodEpochs ¶
DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.
Solidity: function delegationLockPeriodEpochs() pure returns(uint256)
func (*ContractCaller) DelegationLockPeriodTime ¶
DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.
Solidity: function delegationLockPeriodTime() pure returns(uint256)
func (*ContractCaller) Delegations ¶
func (_Contract *ContractCaller) Delegations(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
Delegations is a free data retrieval call binding the contract method 0x223fae09.
Solidity: function delegations(address , uint256 ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractCaller) DelegationsNum ¶
DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.
Solidity: function delegationsNum() view returns(uint256)
func (*ContractCaller) DelegationsTotalAmount ¶
DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.
Solidity: function delegationsTotalAmount() view returns(uint256)
func (*ContractCaller) EpochSnapshots ¶
func (_Contract *ContractCaller) EpochSnapshots(opts *bind.CallOpts, arg0 *big.Int) (struct { EndTime *big.Int Duration *big.Int EpochFee *big.Int TotalBaseRewardWeight *big.Int TotalTxRewardWeight *big.Int BaseRewardPerSecond *big.Int StakeTotalAmount *big.Int DelegationsTotalAmount *big.Int TotalSupply *big.Int }, error)
EpochSnapshots is a free data retrieval call binding the contract method 0x1e8a6956.
Solidity: function epochSnapshots(uint256 ) view returns(uint256 endTime, uint256 duration, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 stakeTotalAmount, uint256 delegationsTotalAmount, uint256 totalSupply)
func (*ContractCaller) EpochValidator ¶
func (_Contract *ContractCaller) EpochValidator(opts *bind.CallOpts, e *big.Int, v *big.Int) (struct { StakeAmount *big.Int DelegatedMe *big.Int BaseRewardWeight *big.Int TxRewardWeight *big.Int }, error)
EpochValidator is a free data retrieval call binding the contract method 0xb9029d50.
Solidity: function epochValidator(uint256 e, uint256 v) view returns(uint256 stakeAmount, uint256 delegatedMe, uint256 baseRewardWeight, uint256 txRewardWeight)
func (*ContractCaller) FirstLockedUpEpoch ¶
FirstLockedUpEpoch is a free data retrieval call binding the contract method 0x6e1a767a.
Solidity: function firstLockedUpEpoch() view returns(uint256)
func (*ContractCaller) GetDelegationRewardRatio ¶
func (_Contract *ContractCaller) GetDelegationRewardRatio(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int) (*big.Int, error)
GetDelegationRewardRatio is a free data retrieval call binding the contract method 0x5573184d.
Solidity: function getDelegationRewardRatio(address delegator, uint256 toStakerID) view returns(uint256)
func (*ContractCaller) GetStakerID ¶
func (_Contract *ContractCaller) GetStakerID(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
GetStakerID is a free data retrieval call binding the contract method 0x63321e27.
Solidity: function getStakerID(address addr) view returns(uint256)
func (*ContractCaller) GetValidatorRewardRatio ¶
func (_Contract *ContractCaller) GetValidatorRewardRatio(opts *bind.CallOpts, stakerID *big.Int) (*big.Int, error)
GetValidatorRewardRatio is a free data retrieval call binding the contract method 0x8e431b8d.
Solidity: function getValidatorRewardRatio(uint256 stakerID) view returns(uint256)
func (*ContractCaller) IsDelegationLockedUp ¶
func (_Contract *ContractCaller) IsDelegationLockedUp(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int) (bool, error)
IsDelegationLockedUp is a free data retrieval call binding the contract method 0xcfd5fa0c.
Solidity: function isDelegationLockedUp(address delegator, uint256 toStakerID) view returns(bool)
func (*ContractCaller) IsOwner ¶
func (_Contract *ContractCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ContractCaller) IsStakeLockedUp ¶
func (_Contract *ContractCaller) IsStakeLockedUp(opts *bind.CallOpts, staker *big.Int) (bool, error)
IsStakeLockedUp is a free data retrieval call binding the contract method 0x7f664d87.
Solidity: function isStakeLockedUp(uint256 staker) view returns(bool)
func (*ContractCaller) LegacyDelegations ¶
func (_Contract *ContractCaller) LegacyDelegations(opts *bind.CallOpts, arg0 common.Address) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
LegacyDelegations is a free data retrieval call binding the contract method 0x5b81b886.
Solidity: function legacyDelegations(address ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractCaller) LockedDelegations ¶
func (_Contract *ContractCaller) LockedDelegations(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct { FromEpoch *big.Int EndTime *big.Int Duration *big.Int }, error)
LockedDelegations is a free data retrieval call binding the contract method 0xdd099bb6.
Solidity: function lockedDelegations(address , uint256 ) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)
func (*ContractCaller) LockedStakes ¶
func (_Contract *ContractCaller) LockedStakes(opts *bind.CallOpts, arg0 *big.Int) (struct { FromEpoch *big.Int EndTime *big.Int Duration *big.Int }, error)
LockedStakes is a free data retrieval call binding the contract method 0xdf4f49d4.
Solidity: function lockedStakes(uint256 ) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)
func (*ContractCaller) MaxDelegatedRatio ¶
MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.
Solidity: function maxDelegatedRatio() pure returns(uint256)
func (*ContractCaller) MaxLockupDuration ¶
MaxLockupDuration is a free data retrieval call binding the contract method 0x0d4955e3.
Solidity: function maxLockupDuration() pure returns(uint256)
func (*ContractCaller) MaxStakerMetadataSize ¶
MaxStakerMetadataSize is a free data retrieval call binding the contract method 0xab2273c0.
Solidity: function maxStakerMetadataSize() pure returns(uint256)
func (*ContractCaller) MinDelegation ¶
MinDelegation is a free data retrieval call binding the contract method 0x02985992.
Solidity: function minDelegation() pure returns(uint256)
func (*ContractCaller) MinDelegationDecrease ¶
MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.
Solidity: function minDelegationDecrease() pure returns(uint256)
func (*ContractCaller) MinDelegationIncrease ¶
MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.
Solidity: function minDelegationIncrease() pure returns(uint256)
func (*ContractCaller) MinLockupDuration ¶
MinLockupDuration is a free data retrieval call binding the contract method 0x0d7b2609.
Solidity: function minLockupDuration() pure returns(uint256)
func (*ContractCaller) MinStake ¶
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() pure returns(uint256)
func (*ContractCaller) MinStakeDecrease ¶
MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.
Solidity: function minStakeDecrease() pure returns(uint256)
func (*ContractCaller) MinStakeIncrease ¶
MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.
Solidity: function minStakeIncrease() pure returns(uint256)
func (*ContractCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractCaller) RewardsStash ¶
func (_Contract *ContractCaller) RewardsStash(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
RewardsStash is a free data retrieval call binding the contract method 0x6f498663.
Solidity: function rewardsStash(address , uint256 ) view returns(uint256 amount)
func (*ContractCaller) SfcAddressToStakerID ¶
func (_Contract *ContractCaller) SfcAddressToStakerID(opts *bind.CallOpts, sfcAddress common.Address) (*big.Int, error)
SfcAddressToStakerID is a free data retrieval call binding the contract method 0xb42cb58d.
Solidity: function _sfcAddressToStakerID(address sfcAddress) view returns(uint256)
func (*ContractCaller) SlashedDelegationsTotalAmount ¶
func (_Contract *ContractCaller) SlashedDelegationsTotalAmount(opts *bind.CallOpts) (*big.Int, error)
SlashedDelegationsTotalAmount is a free data retrieval call binding the contract method 0xa70da4d2.
Solidity: function slashedDelegationsTotalAmount() view returns(uint256)
func (*ContractCaller) SlashedStakeTotalAmount ¶
SlashedStakeTotalAmount is a free data retrieval call binding the contract method 0x0a29180c.
Solidity: function slashedStakeTotalAmount() view returns(uint256)
func (*ContractCaller) StakeLockPeriodEpochs ¶
StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.
Solidity: function stakeLockPeriodEpochs() pure returns(uint256)
func (*ContractCaller) StakeLockPeriodTime ¶
StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.
Solidity: function stakeLockPeriodTime() pure returns(uint256)
func (*ContractCaller) StakeTotalAmount ¶
StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.
Solidity: function stakeTotalAmount() view returns(uint256)
func (*ContractCaller) StakerMetadata ¶
StakerMetadata is a free data retrieval call binding the contract method 0x98ec2de5.
Solidity: function stakerMetadata(uint256 ) view returns(bytes)
func (*ContractCaller) Stakers ¶
func (_Contract *ContractCaller) Stakers(opts *bind.CallOpts, arg0 *big.Int) (struct { Status *big.Int CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int StakeAmount *big.Int PaidUntilEpoch *big.Int DelegatedMe *big.Int DagAddress common.Address SfcAddress common.Address }, error)
Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.
Solidity: function stakers(uint256 ) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)
func (*ContractCaller) StakersLastID ¶
StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.
Solidity: function stakersLastID() view returns(uint256)
func (*ContractCaller) StakersNum ¶
StakersNum is a free data retrieval call binding the contract method 0x08728f6e.
Solidity: function stakersNum() view returns(uint256)
func (*ContractCaller) TotalBurntLockupRewards ¶
TotalBurntLockupRewards is a free data retrieval call binding the contract method 0xa289ad6e.
Solidity: function totalBurntLockupRewards() view returns(uint256)
func (*ContractCaller) UnlockedRewardRatio ¶
UnlockedRewardRatio is a free data retrieval call binding the contract method 0x5e2308d2.
Solidity: function unlockedRewardRatio() pure returns(uint256)
func (*ContractCaller) ValidatorCommission ¶
ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.
Solidity: function validatorCommission() pure returns(uint256)
func (*ContractCaller) Version ¶
func (_Contract *ContractCaller) Version(opts *bind.CallOpts) ([3]byte, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(bytes3)
func (*ContractCaller) WithdrawalRequests ¶
func (_Contract *ContractCaller) WithdrawalRequests(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct { StakerID *big.Int Epoch *big.Int Time *big.Int Amount *big.Int Delegation bool }, error)
WithdrawalRequests is a free data retrieval call binding the contract method 0x4e5a2328.
Solidity: function withdrawalRequests(address , uint256 ) view returns(uint256 stakerID, uint256 epoch, uint256 time, uint256 amount, bool delegation)
type ContractCallerRaw ¶
type ContractCallerRaw struct {
Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}
ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractCallerRaw) Call ¶
func (_Contract *ContractCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ContractCallerSession ¶
type ContractCallerSession struct { Contract *ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractCallerSession) CalcDelegationCompoundRewards ¶
func (_Contract *ContractCallerSession) CalcDelegationCompoundRewards(delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationCompoundRewards is a free data retrieval call binding the contract method 0x9864183d.
Solidity: function calcDelegationCompoundRewards(address delegator, uint256 toStakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCallerSession) CalcDelegationRewards ¶
func (_Contract *ContractCallerSession) CalcDelegationRewards(delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationRewards is a free data retrieval call binding the contract method 0xd845fc90.
Solidity: function calcDelegationRewards(address delegator, uint256 toStakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCallerSession) CalcValidatorCompoundRewards ¶
func (_Contract *ContractCallerSession) CalcValidatorCompoundRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorCompoundRewards is a free data retrieval call binding the contract method 0x74240362.
Solidity: function calcValidatorCompoundRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCallerSession) CalcValidatorRewards ¶
func (_Contract *ContractCallerSession) CalcValidatorRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.
Solidity: function calcValidatorRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCallerSession) ContractCommission ¶
func (_Contract *ContractCallerSession) ContractCommission() (*big.Int, error)
ContractCommission is a free data retrieval call binding the contract method 0x2709275e.
Solidity: function contractCommission() pure returns(uint256)
func (*ContractCallerSession) CurrentEpoch ¶
func (_Contract *ContractCallerSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*ContractCallerSession) CurrentSealedEpoch ¶
func (_Contract *ContractCallerSession) CurrentSealedEpoch() (*big.Int, error)
CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.
Solidity: function currentSealedEpoch() view returns(uint256)
func (*ContractCallerSession) DelegationEarlyWithdrawalPenalty ¶
func (_Contract *ContractCallerSession) DelegationEarlyWithdrawalPenalty(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
DelegationEarlyWithdrawalPenalty is a free data retrieval call binding the contract method 0x66799a54.
Solidity: function delegationEarlyWithdrawalPenalty(address , uint256 ) view returns(uint256)
func (*ContractCallerSession) DelegationLockPeriodEpochs ¶
func (_Contract *ContractCallerSession) DelegationLockPeriodEpochs() (*big.Int, error)
DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.
Solidity: function delegationLockPeriodEpochs() pure returns(uint256)
func (*ContractCallerSession) DelegationLockPeriodTime ¶
func (_Contract *ContractCallerSession) DelegationLockPeriodTime() (*big.Int, error)
DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.
Solidity: function delegationLockPeriodTime() pure returns(uint256)
func (*ContractCallerSession) Delegations ¶
func (_Contract *ContractCallerSession) Delegations(arg0 common.Address, arg1 *big.Int) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
Delegations is a free data retrieval call binding the contract method 0x223fae09.
Solidity: function delegations(address , uint256 ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractCallerSession) DelegationsNum ¶
func (_Contract *ContractCallerSession) DelegationsNum() (*big.Int, error)
DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.
Solidity: function delegationsNum() view returns(uint256)
func (*ContractCallerSession) DelegationsTotalAmount ¶
func (_Contract *ContractCallerSession) DelegationsTotalAmount() (*big.Int, error)
DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.
Solidity: function delegationsTotalAmount() view returns(uint256)
func (*ContractCallerSession) EpochSnapshots ¶
func (_Contract *ContractCallerSession) EpochSnapshots(arg0 *big.Int) (struct { EndTime *big.Int Duration *big.Int EpochFee *big.Int TotalBaseRewardWeight *big.Int TotalTxRewardWeight *big.Int BaseRewardPerSecond *big.Int StakeTotalAmount *big.Int DelegationsTotalAmount *big.Int TotalSupply *big.Int }, error)
EpochSnapshots is a free data retrieval call binding the contract method 0x1e8a6956.
Solidity: function epochSnapshots(uint256 ) view returns(uint256 endTime, uint256 duration, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 stakeTotalAmount, uint256 delegationsTotalAmount, uint256 totalSupply)
func (*ContractCallerSession) EpochValidator ¶
func (_Contract *ContractCallerSession) EpochValidator(e *big.Int, v *big.Int) (struct { StakeAmount *big.Int DelegatedMe *big.Int BaseRewardWeight *big.Int TxRewardWeight *big.Int }, error)
EpochValidator is a free data retrieval call binding the contract method 0xb9029d50.
Solidity: function epochValidator(uint256 e, uint256 v) view returns(uint256 stakeAmount, uint256 delegatedMe, uint256 baseRewardWeight, uint256 txRewardWeight)
func (*ContractCallerSession) FirstLockedUpEpoch ¶
func (_Contract *ContractCallerSession) FirstLockedUpEpoch() (*big.Int, error)
FirstLockedUpEpoch is a free data retrieval call binding the contract method 0x6e1a767a.
Solidity: function firstLockedUpEpoch() view returns(uint256)
func (*ContractCallerSession) GetDelegationRewardRatio ¶
func (_Contract *ContractCallerSession) GetDelegationRewardRatio(delegator common.Address, toStakerID *big.Int) (*big.Int, error)
GetDelegationRewardRatio is a free data retrieval call binding the contract method 0x5573184d.
Solidity: function getDelegationRewardRatio(address delegator, uint256 toStakerID) view returns(uint256)
func (*ContractCallerSession) GetStakerID ¶
GetStakerID is a free data retrieval call binding the contract method 0x63321e27.
Solidity: function getStakerID(address addr) view returns(uint256)
func (*ContractCallerSession) GetValidatorRewardRatio ¶
func (_Contract *ContractCallerSession) GetValidatorRewardRatio(stakerID *big.Int) (*big.Int, error)
GetValidatorRewardRatio is a free data retrieval call binding the contract method 0x8e431b8d.
Solidity: function getValidatorRewardRatio(uint256 stakerID) view returns(uint256)
func (*ContractCallerSession) IsDelegationLockedUp ¶
func (_Contract *ContractCallerSession) IsDelegationLockedUp(delegator common.Address, toStakerID *big.Int) (bool, error)
IsDelegationLockedUp is a free data retrieval call binding the contract method 0xcfd5fa0c.
Solidity: function isDelegationLockedUp(address delegator, uint256 toStakerID) view returns(bool)
func (*ContractCallerSession) IsOwner ¶
func (_Contract *ContractCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ContractCallerSession) IsStakeLockedUp ¶
func (_Contract *ContractCallerSession) IsStakeLockedUp(staker *big.Int) (bool, error)
IsStakeLockedUp is a free data retrieval call binding the contract method 0x7f664d87.
Solidity: function isStakeLockedUp(uint256 staker) view returns(bool)
func (*ContractCallerSession) LegacyDelegations ¶
func (_Contract *ContractCallerSession) LegacyDelegations(arg0 common.Address) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
LegacyDelegations is a free data retrieval call binding the contract method 0x5b81b886.
Solidity: function legacyDelegations(address ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractCallerSession) LockedDelegations ¶
func (_Contract *ContractCallerSession) LockedDelegations(arg0 common.Address, arg1 *big.Int) (struct { FromEpoch *big.Int EndTime *big.Int Duration *big.Int }, error)
LockedDelegations is a free data retrieval call binding the contract method 0xdd099bb6.
Solidity: function lockedDelegations(address , uint256 ) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)
func (*ContractCallerSession) LockedStakes ¶
func (_Contract *ContractCallerSession) LockedStakes(arg0 *big.Int) (struct { FromEpoch *big.Int EndTime *big.Int Duration *big.Int }, error)
LockedStakes is a free data retrieval call binding the contract method 0xdf4f49d4.
Solidity: function lockedStakes(uint256 ) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)
func (*ContractCallerSession) MaxDelegatedRatio ¶
func (_Contract *ContractCallerSession) MaxDelegatedRatio() (*big.Int, error)
MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.
Solidity: function maxDelegatedRatio() pure returns(uint256)
func (*ContractCallerSession) MaxLockupDuration ¶
func (_Contract *ContractCallerSession) MaxLockupDuration() (*big.Int, error)
MaxLockupDuration is a free data retrieval call binding the contract method 0x0d4955e3.
Solidity: function maxLockupDuration() pure returns(uint256)
func (*ContractCallerSession) MaxStakerMetadataSize ¶
func (_Contract *ContractCallerSession) MaxStakerMetadataSize() (*big.Int, error)
MaxStakerMetadataSize is a free data retrieval call binding the contract method 0xab2273c0.
Solidity: function maxStakerMetadataSize() pure returns(uint256)
func (*ContractCallerSession) MinDelegation ¶
func (_Contract *ContractCallerSession) MinDelegation() (*big.Int, error)
MinDelegation is a free data retrieval call binding the contract method 0x02985992.
Solidity: function minDelegation() pure returns(uint256)
func (*ContractCallerSession) MinDelegationDecrease ¶
func (_Contract *ContractCallerSession) MinDelegationDecrease() (*big.Int, error)
MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.
Solidity: function minDelegationDecrease() pure returns(uint256)
func (*ContractCallerSession) MinDelegationIncrease ¶
func (_Contract *ContractCallerSession) MinDelegationIncrease() (*big.Int, error)
MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.
Solidity: function minDelegationIncrease() pure returns(uint256)
func (*ContractCallerSession) MinLockupDuration ¶
func (_Contract *ContractCallerSession) MinLockupDuration() (*big.Int, error)
MinLockupDuration is a free data retrieval call binding the contract method 0x0d7b2609.
Solidity: function minLockupDuration() pure returns(uint256)
func (*ContractCallerSession) MinStake ¶
func (_Contract *ContractCallerSession) MinStake() (*big.Int, error)
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() pure returns(uint256)
func (*ContractCallerSession) MinStakeDecrease ¶
func (_Contract *ContractCallerSession) MinStakeDecrease() (*big.Int, error)
MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.
Solidity: function minStakeDecrease() pure returns(uint256)
func (*ContractCallerSession) MinStakeIncrease ¶
func (_Contract *ContractCallerSession) MinStakeIncrease() (*big.Int, error)
MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.
Solidity: function minStakeIncrease() pure returns(uint256)
func (*ContractCallerSession) Owner ¶
func (_Contract *ContractCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractCallerSession) RewardsStash ¶
func (_Contract *ContractCallerSession) RewardsStash(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
RewardsStash is a free data retrieval call binding the contract method 0x6f498663.
Solidity: function rewardsStash(address , uint256 ) view returns(uint256 amount)
func (*ContractCallerSession) SfcAddressToStakerID ¶
func (_Contract *ContractCallerSession) SfcAddressToStakerID(sfcAddress common.Address) (*big.Int, error)
SfcAddressToStakerID is a free data retrieval call binding the contract method 0xb42cb58d.
Solidity: function _sfcAddressToStakerID(address sfcAddress) view returns(uint256)
func (*ContractCallerSession) SlashedDelegationsTotalAmount ¶
func (_Contract *ContractCallerSession) SlashedDelegationsTotalAmount() (*big.Int, error)
SlashedDelegationsTotalAmount is a free data retrieval call binding the contract method 0xa70da4d2.
Solidity: function slashedDelegationsTotalAmount() view returns(uint256)
func (*ContractCallerSession) SlashedStakeTotalAmount ¶
func (_Contract *ContractCallerSession) SlashedStakeTotalAmount() (*big.Int, error)
SlashedStakeTotalAmount is a free data retrieval call binding the contract method 0x0a29180c.
Solidity: function slashedStakeTotalAmount() view returns(uint256)
func (*ContractCallerSession) StakeLockPeriodEpochs ¶
func (_Contract *ContractCallerSession) StakeLockPeriodEpochs() (*big.Int, error)
StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.
Solidity: function stakeLockPeriodEpochs() pure returns(uint256)
func (*ContractCallerSession) StakeLockPeriodTime ¶
func (_Contract *ContractCallerSession) StakeLockPeriodTime() (*big.Int, error)
StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.
Solidity: function stakeLockPeriodTime() pure returns(uint256)
func (*ContractCallerSession) StakeTotalAmount ¶
func (_Contract *ContractCallerSession) StakeTotalAmount() (*big.Int, error)
StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.
Solidity: function stakeTotalAmount() view returns(uint256)
func (*ContractCallerSession) StakerMetadata ¶
func (_Contract *ContractCallerSession) StakerMetadata(arg0 *big.Int) ([]byte, error)
StakerMetadata is a free data retrieval call binding the contract method 0x98ec2de5.
Solidity: function stakerMetadata(uint256 ) view returns(bytes)
func (*ContractCallerSession) Stakers ¶
func (_Contract *ContractCallerSession) Stakers(arg0 *big.Int) (struct { Status *big.Int CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int StakeAmount *big.Int PaidUntilEpoch *big.Int DelegatedMe *big.Int DagAddress common.Address SfcAddress common.Address }, error)
Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.
Solidity: function stakers(uint256 ) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)
func (*ContractCallerSession) StakersLastID ¶
func (_Contract *ContractCallerSession) StakersLastID() (*big.Int, error)
StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.
Solidity: function stakersLastID() view returns(uint256)
func (*ContractCallerSession) StakersNum ¶
func (_Contract *ContractCallerSession) StakersNum() (*big.Int, error)
StakersNum is a free data retrieval call binding the contract method 0x08728f6e.
Solidity: function stakersNum() view returns(uint256)
func (*ContractCallerSession) TotalBurntLockupRewards ¶
func (_Contract *ContractCallerSession) TotalBurntLockupRewards() (*big.Int, error)
TotalBurntLockupRewards is a free data retrieval call binding the contract method 0xa289ad6e.
Solidity: function totalBurntLockupRewards() view returns(uint256)
func (*ContractCallerSession) UnlockedRewardRatio ¶
func (_Contract *ContractCallerSession) UnlockedRewardRatio() (*big.Int, error)
UnlockedRewardRatio is a free data retrieval call binding the contract method 0x5e2308d2.
Solidity: function unlockedRewardRatio() pure returns(uint256)
func (*ContractCallerSession) ValidatorCommission ¶
func (_Contract *ContractCallerSession) ValidatorCommission() (*big.Int, error)
ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.
Solidity: function validatorCommission() pure returns(uint256)
func (*ContractCallerSession) Version ¶
func (_Contract *ContractCallerSession) Version() ([3]byte, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(bytes3)
func (*ContractCallerSession) WithdrawalRequests ¶
func (_Contract *ContractCallerSession) WithdrawalRequests(arg0 common.Address, arg1 *big.Int) (struct { StakerID *big.Int Epoch *big.Int Time *big.Int Amount *big.Int Delegation bool }, error)
WithdrawalRequests is a free data retrieval call binding the contract method 0x4e5a2328.
Solidity: function withdrawalRequests(address , uint256 ) view returns(uint256 stakerID, uint256 epoch, uint256 time, uint256 amount, bool delegation)
type ContractClaimedDelegationReward ¶
type ContractClaimedDelegationReward struct { From common.Address StakerID *big.Int Reward *big.Int FromEpoch *big.Int UntilEpoch *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractClaimedDelegationReward represents a ClaimedDelegationReward event raised by the Contract contract.
type ContractClaimedDelegationRewardIterator ¶
type ContractClaimedDelegationRewardIterator struct { Event *ContractClaimedDelegationReward // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractClaimedDelegationRewardIterator is returned from FilterClaimedDelegationReward and is used to iterate over the raw logs and unpacked data for ClaimedDelegationReward events raised by the Contract contract.
func (*ContractClaimedDelegationRewardIterator) Close ¶
func (it *ContractClaimedDelegationRewardIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractClaimedDelegationRewardIterator) Error ¶
func (it *ContractClaimedDelegationRewardIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractClaimedDelegationRewardIterator) Next ¶
func (it *ContractClaimedDelegationRewardIterator) 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 ContractClaimedValidatorReward ¶
type ContractClaimedValidatorReward struct { StakerID *big.Int Reward *big.Int FromEpoch *big.Int UntilEpoch *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractClaimedValidatorReward represents a ClaimedValidatorReward event raised by the Contract contract.
type ContractClaimedValidatorRewardIterator ¶
type ContractClaimedValidatorRewardIterator struct { Event *ContractClaimedValidatorReward // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractClaimedValidatorRewardIterator is returned from FilterClaimedValidatorReward and is used to iterate over the raw logs and unpacked data for ClaimedValidatorReward events raised by the Contract contract.
func (*ContractClaimedValidatorRewardIterator) Close ¶
func (it *ContractClaimedValidatorRewardIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractClaimedValidatorRewardIterator) Error ¶
func (it *ContractClaimedValidatorRewardIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractClaimedValidatorRewardIterator) Next ¶
func (it *ContractClaimedValidatorRewardIterator) 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 ContractCreatedDelegation ¶
type ContractCreatedDelegation struct { Delegator common.Address ToStakerID *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractCreatedDelegation represents a CreatedDelegation event raised by the Contract contract.
type ContractCreatedDelegationIterator ¶
type ContractCreatedDelegationIterator struct { Event *ContractCreatedDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractCreatedDelegationIterator is returned from FilterCreatedDelegation and is used to iterate over the raw logs and unpacked data for CreatedDelegation events raised by the Contract contract.
func (*ContractCreatedDelegationIterator) Close ¶
func (it *ContractCreatedDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractCreatedDelegationIterator) Error ¶
func (it *ContractCreatedDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractCreatedDelegationIterator) Next ¶
func (it *ContractCreatedDelegationIterator) 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 ContractCreatedStake ¶
type ContractCreatedStake struct { StakerID *big.Int DagSfcAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractCreatedStake represents a CreatedStake event raised by the Contract contract.
type ContractCreatedStakeIterator ¶
type ContractCreatedStakeIterator struct { Event *ContractCreatedStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractCreatedStakeIterator is returned from FilterCreatedStake and is used to iterate over the raw logs and unpacked data for CreatedStake events raised by the Contract contract.
func (*ContractCreatedStakeIterator) Close ¶
func (it *ContractCreatedStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractCreatedStakeIterator) Error ¶
func (it *ContractCreatedStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractCreatedStakeIterator) Next ¶
func (it *ContractCreatedStakeIterator) 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 ContractCreatedWithdrawRequest ¶
type ContractCreatedWithdrawRequest struct { Auth common.Address Receiver common.Address StakerID *big.Int WrID *big.Int Delegation bool Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractCreatedWithdrawRequest represents a CreatedWithdrawRequest event raised by the Contract contract.
type ContractCreatedWithdrawRequestIterator ¶
type ContractCreatedWithdrawRequestIterator struct { Event *ContractCreatedWithdrawRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractCreatedWithdrawRequestIterator is returned from FilterCreatedWithdrawRequest and is used to iterate over the raw logs and unpacked data for CreatedWithdrawRequest events raised by the Contract contract.
func (*ContractCreatedWithdrawRequestIterator) Close ¶
func (it *ContractCreatedWithdrawRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractCreatedWithdrawRequestIterator) Error ¶
func (it *ContractCreatedWithdrawRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractCreatedWithdrawRequestIterator) Next ¶
func (it *ContractCreatedWithdrawRequestIterator) 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 ContractDeactivatedDelegation ¶
type ContractDeactivatedDelegation struct { Delegator common.Address StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractDeactivatedDelegation represents a DeactivatedDelegation event raised by the Contract contract.
type ContractDeactivatedDelegationIterator ¶
type ContractDeactivatedDelegationIterator struct { Event *ContractDeactivatedDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractDeactivatedDelegationIterator is returned from FilterDeactivatedDelegation and is used to iterate over the raw logs and unpacked data for DeactivatedDelegation events raised by the Contract contract.
func (*ContractDeactivatedDelegationIterator) Close ¶
func (it *ContractDeactivatedDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractDeactivatedDelegationIterator) Error ¶
func (it *ContractDeactivatedDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractDeactivatedDelegationIterator) Next ¶
func (it *ContractDeactivatedDelegationIterator) 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 ContractDeactivatedStake ¶
type ContractDeactivatedStake struct { StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractDeactivatedStake represents a DeactivatedStake event raised by the Contract contract.
type ContractDeactivatedStakeIterator ¶
type ContractDeactivatedStakeIterator struct { Event *ContractDeactivatedStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractDeactivatedStakeIterator is returned from FilterDeactivatedStake and is used to iterate over the raw logs and unpacked data for DeactivatedStake events raised by the Contract contract.
func (*ContractDeactivatedStakeIterator) Close ¶
func (it *ContractDeactivatedStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractDeactivatedStakeIterator) Error ¶
func (it *ContractDeactivatedStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractDeactivatedStakeIterator) Next ¶
func (it *ContractDeactivatedStakeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContractFilterer ¶
type ContractFilterer struct {
// contains filtered or unexported fields
}
ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractFilterer ¶
func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)
NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.
func (*ContractFilterer) FilterClaimedDelegationReward ¶
func (_Contract *ContractFilterer) FilterClaimedDelegationReward(opts *bind.FilterOpts, from []common.Address, stakerID []*big.Int) (*ContractClaimedDelegationRewardIterator, error)
FilterClaimedDelegationReward is a free log retrieval operation binding the contract event 0x2676e1697cf4731b93ddb4ef54e0e5a98c06cccbbbb2202848a3c6286595e6ce.
Solidity: event ClaimedDelegationReward(address indexed from, uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) FilterClaimedValidatorReward ¶
func (_Contract *ContractFilterer) FilterClaimedValidatorReward(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractClaimedValidatorRewardIterator, error)
FilterClaimedValidatorReward is a free log retrieval operation binding the contract event 0x2ea54c2b22a07549d19fb5eb8e4e48ebe1c653117215e94d5468c5612750d35c.
Solidity: event ClaimedValidatorReward(uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) FilterCreatedDelegation ¶
func (_Contract *ContractFilterer) FilterCreatedDelegation(opts *bind.FilterOpts, delegator []common.Address, toStakerID []*big.Int) (*ContractCreatedDelegationIterator, error)
FilterCreatedDelegation is a free log retrieval operation binding the contract event 0xfd8c857fb9acd6f4ad59b8621a2a77825168b7b4b76de9586d08e00d4ed462be.
Solidity: event CreatedDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 amount)
func (*ContractFilterer) FilterCreatedStake ¶
func (_Contract *ContractFilterer) FilterCreatedStake(opts *bind.FilterOpts, stakerID []*big.Int, dagSfcAddress []common.Address) (*ContractCreatedStakeIterator, error)
FilterCreatedStake is a free log retrieval operation binding the contract event 0x0697dfe5062b9db8108e4b31254f47a912ae6bbb78837667b2e923a6f5160d39.
Solidity: event CreatedStake(uint256 indexed stakerID, address indexed dagSfcAddress, uint256 amount)
func (*ContractFilterer) FilterCreatedWithdrawRequest ¶
func (_Contract *ContractFilterer) FilterCreatedWithdrawRequest(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (*ContractCreatedWithdrawRequestIterator, error)
FilterCreatedWithdrawRequest is a free log retrieval operation binding the contract event 0xde2d2a87af2fa2de55bde86f04143144eb632fa6be266dc224341a371fb8916d.
Solidity: event CreatedWithdrawRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 amount)
func (*ContractFilterer) FilterDeactivatedDelegation ¶
func (_Contract *ContractFilterer) FilterDeactivatedDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractDeactivatedDelegationIterator, error)
FilterDeactivatedDelegation is a free log retrieval operation binding the contract event 0x912c4125a208704a342cbdc4726795d26556b0170b7fc95bc706d5cb1f506469.
Solidity: event DeactivatedDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) FilterDeactivatedStake ¶
func (_Contract *ContractFilterer) FilterDeactivatedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractDeactivatedStakeIterator, error)
FilterDeactivatedStake is a free log retrieval operation binding the contract event 0xf7c308d0d978cce3aec157d1b34e355db4636b4e71ce91b4f5ec9e7a4f5cdc60.
Solidity: event DeactivatedStake(uint256 indexed stakerID)
func (*ContractFilterer) FilterIncreasedDelegation ¶
func (_Contract *ContractFilterer) FilterIncreasedDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractIncreasedDelegationIterator, error)
FilterIncreasedDelegation is a free log retrieval operation binding the contract event 0x4ca781bfe171e588a2661d5a7f2f5f59df879c53489063552fbad2145b707fc1.
Solidity: event IncreasedDelegation(address indexed delegator, uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) FilterIncreasedStake ¶
func (_Contract *ContractFilterer) FilterIncreasedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractIncreasedStakeIterator, error)
FilterIncreasedStake is a free log retrieval operation binding the contract event 0xa1d93e9a2a16bf4c2d0cdc6f47fe0fa054c741c96b3dac1297c79eaca31714e9.
Solidity: event IncreasedStake(uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) FilterLockingDelegation ¶
func (_Contract *ContractFilterer) FilterLockingDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractLockingDelegationIterator, error)
FilterLockingDelegation is a free log retrieval operation binding the contract event 0x823f252f996e1f519fd0215db7eb4d5a688d78587bf03bfb03d77bfca939806d.
Solidity: event LockingDelegation(address indexed delegator, uint256 indexed stakerID, uint256 fromEpoch, uint256 endTime)
func (*ContractFilterer) FilterLockingStake ¶
func (_Contract *ContractFilterer) FilterLockingStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractLockingStakeIterator, error)
FilterLockingStake is a free log retrieval operation binding the contract event 0x71f8e76b11dde805fa567e857c4beba340500f4ca9da003520a25014f542162b.
Solidity: event LockingStake(uint256 indexed stakerID, uint256 fromEpoch, uint256 endTime)
func (*ContractFilterer) FilterNetworkUpgradeActivated ¶
func (_Contract *ContractFilterer) FilterNetworkUpgradeActivated(opts *bind.FilterOpts) (*ContractNetworkUpgradeActivatedIterator, error)
FilterNetworkUpgradeActivated is a free log retrieval operation binding the contract event 0xa3deceaa35ccc5aa4f1e61ffe83a006792b8989d4e80dd2c8aa07ba8a923cde1.
Solidity: event NetworkUpgradeActivated(uint256 minVersion)
func (*ContractFilterer) FilterOwnershipTransferred ¶
func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) FilterPartialWithdrawnByRequest ¶
func (_Contract *ContractFilterer) FilterPartialWithdrawnByRequest(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (*ContractPartialWithdrawnByRequestIterator, error)
FilterPartialWithdrawnByRequest is a free log retrieval operation binding the contract event 0xd5304dabc5bd47105b6921889d1b528c4b2223250248a916afd129b1c0512ddd.
Solidity: event PartialWithdrawnByRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 penalty)
func (*ContractFilterer) FilterPreparedToWithdrawDelegation ¶
func (_Contract *ContractFilterer) FilterPreparedToWithdrawDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractPreparedToWithdrawDelegationIterator, error)
FilterPreparedToWithdrawDelegation is a free log retrieval operation binding the contract event 0x5b1eea49e405ef6d509836aac841959c30bb0673b1fd70859bfc6ae5e4ee3df2.
Solidity: event PreparedToWithdrawDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) FilterPreparedToWithdrawStake ¶
func (_Contract *ContractFilterer) FilterPreparedToWithdrawStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractPreparedToWithdrawStakeIterator, error)
FilterPreparedToWithdrawStake is a free log retrieval operation binding the contract event 0x84244546a9da4942f506db48ff90ebc240c73bb399e3e47d58843c6bb60e7185.
Solidity: event PreparedToWithdrawStake(uint256 indexed stakerID)
func (*ContractFilterer) FilterUnstashedRewards ¶
func (_Contract *ContractFilterer) FilterUnstashedRewards(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address) (*ContractUnstashedRewardsIterator, error)
FilterUnstashedRewards is a free log retrieval operation binding the contract event 0x80b36a0e929d7e7925087e54acfeecf4c6043e451b9d71ac5e908b66f9e5d126.
Solidity: event UnstashedRewards(address indexed auth, address indexed receiver, uint256 rewards)
func (*ContractFilterer) FilterUpdatedBaseRewardPerSec ¶
func (_Contract *ContractFilterer) FilterUpdatedBaseRewardPerSec(opts *bind.FilterOpts) (*ContractUpdatedBaseRewardPerSecIterator, error)
FilterUpdatedBaseRewardPerSec is a free log retrieval operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.
Solidity: event UpdatedBaseRewardPerSec(uint256 value)
func (*ContractFilterer) FilterUpdatedDelegation ¶
func (_Contract *ContractFilterer) FilterUpdatedDelegation(opts *bind.FilterOpts, delegator []common.Address, oldStakerID []*big.Int, newStakerID []*big.Int) (*ContractUpdatedDelegationIterator, error)
FilterUpdatedDelegation is a free log retrieval operation binding the contract event 0x19b46b9014e4dc8ca74f505b8921797c6a8a489860217d15b3c7d741637dfcff.
Solidity: event UpdatedDelegation(address indexed delegator, uint256 indexed oldStakerID, uint256 indexed newStakerID, uint256 amount)
func (*ContractFilterer) FilterUpdatedGasPowerAllocationRate ¶
func (_Contract *ContractFilterer) FilterUpdatedGasPowerAllocationRate(opts *bind.FilterOpts) (*ContractUpdatedGasPowerAllocationRateIterator, error)
FilterUpdatedGasPowerAllocationRate is a free log retrieval operation binding the contract event 0x95ae5488127de4bc98492f4487556e7af9f37eb4b6d5e94f6d849e03ff76cc7c.
Solidity: event UpdatedGasPowerAllocationRate(uint256 short, uint256 long)
func (*ContractFilterer) FilterUpdatedMinGasPrice ¶
func (_Contract *ContractFilterer) FilterUpdatedMinGasPrice(opts *bind.FilterOpts) (*ContractUpdatedMinGasPriceIterator, error)
FilterUpdatedMinGasPrice is a free log retrieval operation binding the contract event 0x35feeeac858525cae277d98c1c4792d0550aeab30f107addc09d8d5279faa53f.
Solidity: event UpdatedMinGasPrice(uint256 minGasPrice)
func (*ContractFilterer) FilterUpdatedOfflinePenaltyThreshold ¶
func (_Contract *ContractFilterer) FilterUpdatedOfflinePenaltyThreshold(opts *bind.FilterOpts) (*ContractUpdatedOfflinePenaltyThresholdIterator, error)
FilterUpdatedOfflinePenaltyThreshold is a free log retrieval operation binding the contract event 0x702756a07c05d0bbfd06fc17b67951a5f4deb7bb6b088407e68a58969daf2a34.
Solidity: event UpdatedOfflinePenaltyThreshold(uint256 blocksNum, uint256 period)
func (*ContractFilterer) FilterUpdatedStake ¶
func (_Contract *ContractFilterer) FilterUpdatedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractUpdatedStakeIterator, error)
FilterUpdatedStake is a free log retrieval operation binding the contract event 0x509404fa75ce234a1273cf9f7918bcf54e0ef19f2772e4f71b6526606a723b7c.
Solidity: event UpdatedStake(uint256 indexed stakerID, uint256 amount, uint256 delegatedMe)
func (*ContractFilterer) FilterUpdatedStakerMetadata ¶
func (_Contract *ContractFilterer) FilterUpdatedStakerMetadata(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractUpdatedStakerMetadataIterator, error)
FilterUpdatedStakerMetadata is a free log retrieval operation binding the contract event 0xb7a99a0df6a9e15c2689e6a55811ef76cdb514c67d4a0e37fcb125ada0e3cd83.
Solidity: event UpdatedStakerMetadata(uint256 indexed stakerID)
func (*ContractFilterer) FilterUpdatedStakerSfcAddress ¶
func (_Contract *ContractFilterer) FilterUpdatedStakerSfcAddress(opts *bind.FilterOpts, stakerID []*big.Int, oldSfcAddress []common.Address, newSfcAddress []common.Address) (*ContractUpdatedStakerSfcAddressIterator, error)
FilterUpdatedStakerSfcAddress is a free log retrieval operation binding the contract event 0x7cc102ee500cbca85691c9642080562e8f012b04d27f5b7f389453672b206946.
Solidity: event UpdatedStakerSfcAddress(uint256 indexed stakerID, address indexed oldSfcAddress, address indexed newSfcAddress)
func (*ContractFilterer) FilterWithdrawnDelegation ¶
func (_Contract *ContractFilterer) FilterWithdrawnDelegation(opts *bind.FilterOpts, delegator []common.Address, toStakerID []*big.Int) (*ContractWithdrawnDelegationIterator, error)
FilterWithdrawnDelegation is a free log retrieval operation binding the contract event 0x87e86b3710b72c10173ca52c6a9f9cf2df27e77ed177741a8b4feb12bb7a606f.
Solidity: event WithdrawnDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 penalty)
func (*ContractFilterer) FilterWithdrawnStake ¶
func (_Contract *ContractFilterer) FilterWithdrawnStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractWithdrawnStakeIterator, error)
FilterWithdrawnStake is a free log retrieval operation binding the contract event 0x8c6548258f8f12a9d4b593fa89a223417ed901d4ee9712ba09beb4d56f5262b6.
Solidity: event WithdrawnStake(uint256 indexed stakerID, uint256 penalty)
func (*ContractFilterer) ParseClaimedDelegationReward ¶
func (_Contract *ContractFilterer) ParseClaimedDelegationReward(log types.Log) (*ContractClaimedDelegationReward, error)
ParseClaimedDelegationReward is a log parse operation binding the contract event 0x2676e1697cf4731b93ddb4ef54e0e5a98c06cccbbbb2202848a3c6286595e6ce.
Solidity: event ClaimedDelegationReward(address indexed from, uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) ParseClaimedValidatorReward ¶
func (_Contract *ContractFilterer) ParseClaimedValidatorReward(log types.Log) (*ContractClaimedValidatorReward, error)
ParseClaimedValidatorReward is a log parse operation binding the contract event 0x2ea54c2b22a07549d19fb5eb8e4e48ebe1c653117215e94d5468c5612750d35c.
Solidity: event ClaimedValidatorReward(uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) ParseCreatedDelegation ¶
func (_Contract *ContractFilterer) ParseCreatedDelegation(log types.Log) (*ContractCreatedDelegation, error)
ParseCreatedDelegation is a log parse operation binding the contract event 0xfd8c857fb9acd6f4ad59b8621a2a77825168b7b4b76de9586d08e00d4ed462be.
Solidity: event CreatedDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 amount)
func (*ContractFilterer) ParseCreatedStake ¶
func (_Contract *ContractFilterer) ParseCreatedStake(log types.Log) (*ContractCreatedStake, error)
ParseCreatedStake is a log parse operation binding the contract event 0x0697dfe5062b9db8108e4b31254f47a912ae6bbb78837667b2e923a6f5160d39.
Solidity: event CreatedStake(uint256 indexed stakerID, address indexed dagSfcAddress, uint256 amount)
func (*ContractFilterer) ParseCreatedWithdrawRequest ¶
func (_Contract *ContractFilterer) ParseCreatedWithdrawRequest(log types.Log) (*ContractCreatedWithdrawRequest, error)
ParseCreatedWithdrawRequest is a log parse operation binding the contract event 0xde2d2a87af2fa2de55bde86f04143144eb632fa6be266dc224341a371fb8916d.
Solidity: event CreatedWithdrawRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 amount)
func (*ContractFilterer) ParseDeactivatedDelegation ¶
func (_Contract *ContractFilterer) ParseDeactivatedDelegation(log types.Log) (*ContractDeactivatedDelegation, error)
ParseDeactivatedDelegation is a log parse operation binding the contract event 0x912c4125a208704a342cbdc4726795d26556b0170b7fc95bc706d5cb1f506469.
Solidity: event DeactivatedDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) ParseDeactivatedStake ¶
func (_Contract *ContractFilterer) ParseDeactivatedStake(log types.Log) (*ContractDeactivatedStake, error)
ParseDeactivatedStake is a log parse operation binding the contract event 0xf7c308d0d978cce3aec157d1b34e355db4636b4e71ce91b4f5ec9e7a4f5cdc60.
Solidity: event DeactivatedStake(uint256 indexed stakerID)
func (*ContractFilterer) ParseIncreasedDelegation ¶
func (_Contract *ContractFilterer) ParseIncreasedDelegation(log types.Log) (*ContractIncreasedDelegation, error)
ParseIncreasedDelegation is a log parse operation binding the contract event 0x4ca781bfe171e588a2661d5a7f2f5f59df879c53489063552fbad2145b707fc1.
Solidity: event IncreasedDelegation(address indexed delegator, uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) ParseIncreasedStake ¶
func (_Contract *ContractFilterer) ParseIncreasedStake(log types.Log) (*ContractIncreasedStake, error)
ParseIncreasedStake is a log parse operation binding the contract event 0xa1d93e9a2a16bf4c2d0cdc6f47fe0fa054c741c96b3dac1297c79eaca31714e9.
Solidity: event IncreasedStake(uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) ParseLockingDelegation ¶
func (_Contract *ContractFilterer) ParseLockingDelegation(log types.Log) (*ContractLockingDelegation, error)
ParseLockingDelegation is a log parse operation binding the contract event 0x823f252f996e1f519fd0215db7eb4d5a688d78587bf03bfb03d77bfca939806d.
Solidity: event LockingDelegation(address indexed delegator, uint256 indexed stakerID, uint256 fromEpoch, uint256 endTime)
func (*ContractFilterer) ParseLockingStake ¶
func (_Contract *ContractFilterer) ParseLockingStake(log types.Log) (*ContractLockingStake, error)
ParseLockingStake is a log parse operation binding the contract event 0x71f8e76b11dde805fa567e857c4beba340500f4ca9da003520a25014f542162b.
Solidity: event LockingStake(uint256 indexed stakerID, uint256 fromEpoch, uint256 endTime)
func (*ContractFilterer) ParseNetworkUpgradeActivated ¶
func (_Contract *ContractFilterer) ParseNetworkUpgradeActivated(log types.Log) (*ContractNetworkUpgradeActivated, error)
ParseNetworkUpgradeActivated is a log parse operation binding the contract event 0xa3deceaa35ccc5aa4f1e61ffe83a006792b8989d4e80dd2c8aa07ba8a923cde1.
Solidity: event NetworkUpgradeActivated(uint256 minVersion)
func (*ContractFilterer) ParseOwnershipTransferred ¶
func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) ParsePartialWithdrawnByRequest ¶
func (_Contract *ContractFilterer) ParsePartialWithdrawnByRequest(log types.Log) (*ContractPartialWithdrawnByRequest, error)
ParsePartialWithdrawnByRequest is a log parse operation binding the contract event 0xd5304dabc5bd47105b6921889d1b528c4b2223250248a916afd129b1c0512ddd.
Solidity: event PartialWithdrawnByRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 penalty)
func (*ContractFilterer) ParsePreparedToWithdrawDelegation ¶
func (_Contract *ContractFilterer) ParsePreparedToWithdrawDelegation(log types.Log) (*ContractPreparedToWithdrawDelegation, error)
ParsePreparedToWithdrawDelegation is a log parse operation binding the contract event 0x5b1eea49e405ef6d509836aac841959c30bb0673b1fd70859bfc6ae5e4ee3df2.
Solidity: event PreparedToWithdrawDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) ParsePreparedToWithdrawStake ¶
func (_Contract *ContractFilterer) ParsePreparedToWithdrawStake(log types.Log) (*ContractPreparedToWithdrawStake, error)
ParsePreparedToWithdrawStake is a log parse operation binding the contract event 0x84244546a9da4942f506db48ff90ebc240c73bb399e3e47d58843c6bb60e7185.
Solidity: event PreparedToWithdrawStake(uint256 indexed stakerID)
func (*ContractFilterer) ParseUnstashedRewards ¶
func (_Contract *ContractFilterer) ParseUnstashedRewards(log types.Log) (*ContractUnstashedRewards, error)
ParseUnstashedRewards is a log parse operation binding the contract event 0x80b36a0e929d7e7925087e54acfeecf4c6043e451b9d71ac5e908b66f9e5d126.
Solidity: event UnstashedRewards(address indexed auth, address indexed receiver, uint256 rewards)
func (*ContractFilterer) ParseUpdatedBaseRewardPerSec ¶
func (_Contract *ContractFilterer) ParseUpdatedBaseRewardPerSec(log types.Log) (*ContractUpdatedBaseRewardPerSec, error)
ParseUpdatedBaseRewardPerSec is a log parse operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.
Solidity: event UpdatedBaseRewardPerSec(uint256 value)
func (*ContractFilterer) ParseUpdatedDelegation ¶
func (_Contract *ContractFilterer) ParseUpdatedDelegation(log types.Log) (*ContractUpdatedDelegation, error)
ParseUpdatedDelegation is a log parse operation binding the contract event 0x19b46b9014e4dc8ca74f505b8921797c6a8a489860217d15b3c7d741637dfcff.
Solidity: event UpdatedDelegation(address indexed delegator, uint256 indexed oldStakerID, uint256 indexed newStakerID, uint256 amount)
func (*ContractFilterer) ParseUpdatedGasPowerAllocationRate ¶
func (_Contract *ContractFilterer) ParseUpdatedGasPowerAllocationRate(log types.Log) (*ContractUpdatedGasPowerAllocationRate, error)
ParseUpdatedGasPowerAllocationRate is a log parse operation binding the contract event 0x95ae5488127de4bc98492f4487556e7af9f37eb4b6d5e94f6d849e03ff76cc7c.
Solidity: event UpdatedGasPowerAllocationRate(uint256 short, uint256 long)
func (*ContractFilterer) ParseUpdatedMinGasPrice ¶
func (_Contract *ContractFilterer) ParseUpdatedMinGasPrice(log types.Log) (*ContractUpdatedMinGasPrice, error)
ParseUpdatedMinGasPrice is a log parse operation binding the contract event 0x35feeeac858525cae277d98c1c4792d0550aeab30f107addc09d8d5279faa53f.
Solidity: event UpdatedMinGasPrice(uint256 minGasPrice)
func (*ContractFilterer) ParseUpdatedOfflinePenaltyThreshold ¶
func (_Contract *ContractFilterer) ParseUpdatedOfflinePenaltyThreshold(log types.Log) (*ContractUpdatedOfflinePenaltyThreshold, error)
ParseUpdatedOfflinePenaltyThreshold is a log parse operation binding the contract event 0x702756a07c05d0bbfd06fc17b67951a5f4deb7bb6b088407e68a58969daf2a34.
Solidity: event UpdatedOfflinePenaltyThreshold(uint256 blocksNum, uint256 period)
func (*ContractFilterer) ParseUpdatedStake ¶
func (_Contract *ContractFilterer) ParseUpdatedStake(log types.Log) (*ContractUpdatedStake, error)
ParseUpdatedStake is a log parse operation binding the contract event 0x509404fa75ce234a1273cf9f7918bcf54e0ef19f2772e4f71b6526606a723b7c.
Solidity: event UpdatedStake(uint256 indexed stakerID, uint256 amount, uint256 delegatedMe)
func (*ContractFilterer) ParseUpdatedStakerMetadata ¶
func (_Contract *ContractFilterer) ParseUpdatedStakerMetadata(log types.Log) (*ContractUpdatedStakerMetadata, error)
ParseUpdatedStakerMetadata is a log parse operation binding the contract event 0xb7a99a0df6a9e15c2689e6a55811ef76cdb514c67d4a0e37fcb125ada0e3cd83.
Solidity: event UpdatedStakerMetadata(uint256 indexed stakerID)
func (*ContractFilterer) ParseUpdatedStakerSfcAddress ¶
func (_Contract *ContractFilterer) ParseUpdatedStakerSfcAddress(log types.Log) (*ContractUpdatedStakerSfcAddress, error)
ParseUpdatedStakerSfcAddress is a log parse operation binding the contract event 0x7cc102ee500cbca85691c9642080562e8f012b04d27f5b7f389453672b206946.
Solidity: event UpdatedStakerSfcAddress(uint256 indexed stakerID, address indexed oldSfcAddress, address indexed newSfcAddress)
func (*ContractFilterer) ParseWithdrawnDelegation ¶
func (_Contract *ContractFilterer) ParseWithdrawnDelegation(log types.Log) (*ContractWithdrawnDelegation, error)
ParseWithdrawnDelegation is a log parse operation binding the contract event 0x87e86b3710b72c10173ca52c6a9f9cf2df27e77ed177741a8b4feb12bb7a606f.
Solidity: event WithdrawnDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 penalty)
func (*ContractFilterer) ParseWithdrawnStake ¶
func (_Contract *ContractFilterer) ParseWithdrawnStake(log types.Log) (*ContractWithdrawnStake, error)
ParseWithdrawnStake is a log parse operation binding the contract event 0x8c6548258f8f12a9d4b593fa89a223417ed901d4ee9712ba09beb4d56f5262b6.
Solidity: event WithdrawnStake(uint256 indexed stakerID, uint256 penalty)
func (*ContractFilterer) WatchClaimedDelegationReward ¶
func (_Contract *ContractFilterer) WatchClaimedDelegationReward(opts *bind.WatchOpts, sink chan<- *ContractClaimedDelegationReward, from []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchClaimedDelegationReward is a free log subscription operation binding the contract event 0x2676e1697cf4731b93ddb4ef54e0e5a98c06cccbbbb2202848a3c6286595e6ce.
Solidity: event ClaimedDelegationReward(address indexed from, uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) WatchClaimedValidatorReward ¶
func (_Contract *ContractFilterer) WatchClaimedValidatorReward(opts *bind.WatchOpts, sink chan<- *ContractClaimedValidatorReward, stakerID []*big.Int) (event.Subscription, error)
WatchClaimedValidatorReward is a free log subscription operation binding the contract event 0x2ea54c2b22a07549d19fb5eb8e4e48ebe1c653117215e94d5468c5612750d35c.
Solidity: event ClaimedValidatorReward(uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) WatchCreatedDelegation ¶
func (_Contract *ContractFilterer) WatchCreatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractCreatedDelegation, delegator []common.Address, toStakerID []*big.Int) (event.Subscription, error)
WatchCreatedDelegation is a free log subscription operation binding the contract event 0xfd8c857fb9acd6f4ad59b8621a2a77825168b7b4b76de9586d08e00d4ed462be.
Solidity: event CreatedDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 amount)
func (*ContractFilterer) WatchCreatedStake ¶
func (_Contract *ContractFilterer) WatchCreatedStake(opts *bind.WatchOpts, sink chan<- *ContractCreatedStake, stakerID []*big.Int, dagSfcAddress []common.Address) (event.Subscription, error)
WatchCreatedStake is a free log subscription operation binding the contract event 0x0697dfe5062b9db8108e4b31254f47a912ae6bbb78837667b2e923a6f5160d39.
Solidity: event CreatedStake(uint256 indexed stakerID, address indexed dagSfcAddress, uint256 amount)
func (*ContractFilterer) WatchCreatedWithdrawRequest ¶
func (_Contract *ContractFilterer) WatchCreatedWithdrawRequest(opts *bind.WatchOpts, sink chan<- *ContractCreatedWithdrawRequest, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchCreatedWithdrawRequest is a free log subscription operation binding the contract event 0xde2d2a87af2fa2de55bde86f04143144eb632fa6be266dc224341a371fb8916d.
Solidity: event CreatedWithdrawRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 amount)
func (*ContractFilterer) WatchDeactivatedDelegation ¶
func (_Contract *ContractFilterer) WatchDeactivatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedDelegation, delegator []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchDeactivatedDelegation is a free log subscription operation binding the contract event 0x912c4125a208704a342cbdc4726795d26556b0170b7fc95bc706d5cb1f506469.
Solidity: event DeactivatedDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) WatchDeactivatedStake ¶
func (_Contract *ContractFilterer) WatchDeactivatedStake(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedStake, stakerID []*big.Int) (event.Subscription, error)
WatchDeactivatedStake is a free log subscription operation binding the contract event 0xf7c308d0d978cce3aec157d1b34e355db4636b4e71ce91b4f5ec9e7a4f5cdc60.
Solidity: event DeactivatedStake(uint256 indexed stakerID)
func (*ContractFilterer) WatchIncreasedDelegation ¶
func (_Contract *ContractFilterer) WatchIncreasedDelegation(opts *bind.WatchOpts, sink chan<- *ContractIncreasedDelegation, delegator []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchIncreasedDelegation is a free log subscription operation binding the contract event 0x4ca781bfe171e588a2661d5a7f2f5f59df879c53489063552fbad2145b707fc1.
Solidity: event IncreasedDelegation(address indexed delegator, uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) WatchIncreasedStake ¶
func (_Contract *ContractFilterer) WatchIncreasedStake(opts *bind.WatchOpts, sink chan<- *ContractIncreasedStake, stakerID []*big.Int) (event.Subscription, error)
WatchIncreasedStake is a free log subscription operation binding the contract event 0xa1d93e9a2a16bf4c2d0cdc6f47fe0fa054c741c96b3dac1297c79eaca31714e9.
Solidity: event IncreasedStake(uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) WatchLockingDelegation ¶
func (_Contract *ContractFilterer) WatchLockingDelegation(opts *bind.WatchOpts, sink chan<- *ContractLockingDelegation, delegator []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchLockingDelegation is a free log subscription operation binding the contract event 0x823f252f996e1f519fd0215db7eb4d5a688d78587bf03bfb03d77bfca939806d.
Solidity: event LockingDelegation(address indexed delegator, uint256 indexed stakerID, uint256 fromEpoch, uint256 endTime)
func (*ContractFilterer) WatchLockingStake ¶
func (_Contract *ContractFilterer) WatchLockingStake(opts *bind.WatchOpts, sink chan<- *ContractLockingStake, stakerID []*big.Int) (event.Subscription, error)
WatchLockingStake is a free log subscription operation binding the contract event 0x71f8e76b11dde805fa567e857c4beba340500f4ca9da003520a25014f542162b.
Solidity: event LockingStake(uint256 indexed stakerID, uint256 fromEpoch, uint256 endTime)
func (*ContractFilterer) WatchNetworkUpgradeActivated ¶
func (_Contract *ContractFilterer) WatchNetworkUpgradeActivated(opts *bind.WatchOpts, sink chan<- *ContractNetworkUpgradeActivated) (event.Subscription, error)
WatchNetworkUpgradeActivated is a free log subscription operation binding the contract event 0xa3deceaa35ccc5aa4f1e61ffe83a006792b8989d4e80dd2c8aa07ba8a923cde1.
Solidity: event NetworkUpgradeActivated(uint256 minVersion)
func (*ContractFilterer) WatchOwnershipTransferred ¶
func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) WatchPartialWithdrawnByRequest ¶
func (_Contract *ContractFilterer) WatchPartialWithdrawnByRequest(opts *bind.WatchOpts, sink chan<- *ContractPartialWithdrawnByRequest, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchPartialWithdrawnByRequest is a free log subscription operation binding the contract event 0xd5304dabc5bd47105b6921889d1b528c4b2223250248a916afd129b1c0512ddd.
Solidity: event PartialWithdrawnByRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 penalty)
func (*ContractFilterer) WatchPreparedToWithdrawDelegation ¶
func (_Contract *ContractFilterer) WatchPreparedToWithdrawDelegation(opts *bind.WatchOpts, sink chan<- *ContractPreparedToWithdrawDelegation, delegator []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchPreparedToWithdrawDelegation is a free log subscription operation binding the contract event 0x5b1eea49e405ef6d509836aac841959c30bb0673b1fd70859bfc6ae5e4ee3df2.
Solidity: event PreparedToWithdrawDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) WatchPreparedToWithdrawStake ¶
func (_Contract *ContractFilterer) WatchPreparedToWithdrawStake(opts *bind.WatchOpts, sink chan<- *ContractPreparedToWithdrawStake, stakerID []*big.Int) (event.Subscription, error)
WatchPreparedToWithdrawStake is a free log subscription operation binding the contract event 0x84244546a9da4942f506db48ff90ebc240c73bb399e3e47d58843c6bb60e7185.
Solidity: event PreparedToWithdrawStake(uint256 indexed stakerID)
func (*ContractFilterer) WatchUnstashedRewards ¶
func (_Contract *ContractFilterer) WatchUnstashedRewards(opts *bind.WatchOpts, sink chan<- *ContractUnstashedRewards, auth []common.Address, receiver []common.Address) (event.Subscription, error)
WatchUnstashedRewards is a free log subscription operation binding the contract event 0x80b36a0e929d7e7925087e54acfeecf4c6043e451b9d71ac5e908b66f9e5d126.
Solidity: event UnstashedRewards(address indexed auth, address indexed receiver, uint256 rewards)
func (*ContractFilterer) WatchUpdatedBaseRewardPerSec ¶
func (_Contract *ContractFilterer) WatchUpdatedBaseRewardPerSec(opts *bind.WatchOpts, sink chan<- *ContractUpdatedBaseRewardPerSec) (event.Subscription, error)
WatchUpdatedBaseRewardPerSec is a free log subscription operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.
Solidity: event UpdatedBaseRewardPerSec(uint256 value)
func (*ContractFilterer) WatchUpdatedDelegation ¶
func (_Contract *ContractFilterer) WatchUpdatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractUpdatedDelegation, delegator []common.Address, oldStakerID []*big.Int, newStakerID []*big.Int) (event.Subscription, error)
WatchUpdatedDelegation is a free log subscription operation binding the contract event 0x19b46b9014e4dc8ca74f505b8921797c6a8a489860217d15b3c7d741637dfcff.
Solidity: event UpdatedDelegation(address indexed delegator, uint256 indexed oldStakerID, uint256 indexed newStakerID, uint256 amount)
func (*ContractFilterer) WatchUpdatedGasPowerAllocationRate ¶
func (_Contract *ContractFilterer) WatchUpdatedGasPowerAllocationRate(opts *bind.WatchOpts, sink chan<- *ContractUpdatedGasPowerAllocationRate) (event.Subscription, error)
WatchUpdatedGasPowerAllocationRate is a free log subscription operation binding the contract event 0x95ae5488127de4bc98492f4487556e7af9f37eb4b6d5e94f6d849e03ff76cc7c.
Solidity: event UpdatedGasPowerAllocationRate(uint256 short, uint256 long)
func (*ContractFilterer) WatchUpdatedMinGasPrice ¶
func (_Contract *ContractFilterer) WatchUpdatedMinGasPrice(opts *bind.WatchOpts, sink chan<- *ContractUpdatedMinGasPrice) (event.Subscription, error)
WatchUpdatedMinGasPrice is a free log subscription operation binding the contract event 0x35feeeac858525cae277d98c1c4792d0550aeab30f107addc09d8d5279faa53f.
Solidity: event UpdatedMinGasPrice(uint256 minGasPrice)
func (*ContractFilterer) WatchUpdatedOfflinePenaltyThreshold ¶
func (_Contract *ContractFilterer) WatchUpdatedOfflinePenaltyThreshold(opts *bind.WatchOpts, sink chan<- *ContractUpdatedOfflinePenaltyThreshold) (event.Subscription, error)
WatchUpdatedOfflinePenaltyThreshold is a free log subscription operation binding the contract event 0x702756a07c05d0bbfd06fc17b67951a5f4deb7bb6b088407e68a58969daf2a34.
Solidity: event UpdatedOfflinePenaltyThreshold(uint256 blocksNum, uint256 period)
func (*ContractFilterer) WatchUpdatedStake ¶
func (_Contract *ContractFilterer) WatchUpdatedStake(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStake, stakerID []*big.Int) (event.Subscription, error)
WatchUpdatedStake is a free log subscription operation binding the contract event 0x509404fa75ce234a1273cf9f7918bcf54e0ef19f2772e4f71b6526606a723b7c.
Solidity: event UpdatedStake(uint256 indexed stakerID, uint256 amount, uint256 delegatedMe)
func (*ContractFilterer) WatchUpdatedStakerMetadata ¶
func (_Contract *ContractFilterer) WatchUpdatedStakerMetadata(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerMetadata, stakerID []*big.Int) (event.Subscription, error)
WatchUpdatedStakerMetadata is a free log subscription operation binding the contract event 0xb7a99a0df6a9e15c2689e6a55811ef76cdb514c67d4a0e37fcb125ada0e3cd83.
Solidity: event UpdatedStakerMetadata(uint256 indexed stakerID)
func (*ContractFilterer) WatchUpdatedStakerSfcAddress ¶
func (_Contract *ContractFilterer) WatchUpdatedStakerSfcAddress(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerSfcAddress, stakerID []*big.Int, oldSfcAddress []common.Address, newSfcAddress []common.Address) (event.Subscription, error)
WatchUpdatedStakerSfcAddress is a free log subscription operation binding the contract event 0x7cc102ee500cbca85691c9642080562e8f012b04d27f5b7f389453672b206946.
Solidity: event UpdatedStakerSfcAddress(uint256 indexed stakerID, address indexed oldSfcAddress, address indexed newSfcAddress)
func (*ContractFilterer) WatchWithdrawnDelegation ¶
func (_Contract *ContractFilterer) WatchWithdrawnDelegation(opts *bind.WatchOpts, sink chan<- *ContractWithdrawnDelegation, delegator []common.Address, toStakerID []*big.Int) (event.Subscription, error)
WatchWithdrawnDelegation is a free log subscription operation binding the contract event 0x87e86b3710b72c10173ca52c6a9f9cf2df27e77ed177741a8b4feb12bb7a606f.
Solidity: event WithdrawnDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 penalty)
func (*ContractFilterer) WatchWithdrawnStake ¶
func (_Contract *ContractFilterer) WatchWithdrawnStake(opts *bind.WatchOpts, sink chan<- *ContractWithdrawnStake, stakerID []*big.Int) (event.Subscription, error)
WatchWithdrawnStake is a free log subscription operation binding the contract event 0x8c6548258f8f12a9d4b593fa89a223417ed901d4ee9712ba09beb4d56f5262b6.
Solidity: event WithdrawnStake(uint256 indexed stakerID, uint256 penalty)
type ContractIncreasedDelegation ¶
type ContractIncreasedDelegation struct { Delegator common.Address StakerID *big.Int NewAmount *big.Int Diff *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractIncreasedDelegation represents a IncreasedDelegation event raised by the Contract contract.
type ContractIncreasedDelegationIterator ¶
type ContractIncreasedDelegationIterator struct { Event *ContractIncreasedDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractIncreasedDelegationIterator is returned from FilterIncreasedDelegation and is used to iterate over the raw logs and unpacked data for IncreasedDelegation events raised by the Contract contract.
func (*ContractIncreasedDelegationIterator) Close ¶
func (it *ContractIncreasedDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractIncreasedDelegationIterator) Error ¶
func (it *ContractIncreasedDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractIncreasedDelegationIterator) Next ¶
func (it *ContractIncreasedDelegationIterator) 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 ContractIncreasedStake ¶
type ContractIncreasedStake struct { StakerID *big.Int NewAmount *big.Int Diff *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractIncreasedStake represents a IncreasedStake event raised by the Contract contract.
type ContractIncreasedStakeIterator ¶
type ContractIncreasedStakeIterator struct { Event *ContractIncreasedStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractIncreasedStakeIterator is returned from FilterIncreasedStake and is used to iterate over the raw logs and unpacked data for IncreasedStake events raised by the Contract contract.
func (*ContractIncreasedStakeIterator) Close ¶
func (it *ContractIncreasedStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractIncreasedStakeIterator) Error ¶
func (it *ContractIncreasedStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractIncreasedStakeIterator) Next ¶
func (it *ContractIncreasedStakeIterator) 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 ContractLockingDelegation ¶
type ContractLockingDelegation struct { Delegator common.Address StakerID *big.Int FromEpoch *big.Int EndTime *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractLockingDelegation represents a LockingDelegation event raised by the Contract contract.
type ContractLockingDelegationIterator ¶
type ContractLockingDelegationIterator struct { Event *ContractLockingDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractLockingDelegationIterator is returned from FilterLockingDelegation and is used to iterate over the raw logs and unpacked data for LockingDelegation events raised by the Contract contract.
func (*ContractLockingDelegationIterator) Close ¶
func (it *ContractLockingDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractLockingDelegationIterator) Error ¶
func (it *ContractLockingDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractLockingDelegationIterator) Next ¶
func (it *ContractLockingDelegationIterator) 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 ContractLockingStake ¶
type ContractLockingStake struct { StakerID *big.Int FromEpoch *big.Int EndTime *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractLockingStake represents a LockingStake event raised by the Contract contract.
type ContractLockingStakeIterator ¶
type ContractLockingStakeIterator struct { Event *ContractLockingStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractLockingStakeIterator is returned from FilterLockingStake and is used to iterate over the raw logs and unpacked data for LockingStake events raised by the Contract contract.
func (*ContractLockingStakeIterator) Close ¶
func (it *ContractLockingStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractLockingStakeIterator) Error ¶
func (it *ContractLockingStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractLockingStakeIterator) Next ¶
func (it *ContractLockingStakeIterator) 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 ContractNetworkUpgradeActivated ¶
type ContractNetworkUpgradeActivated struct { MinVersion *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractNetworkUpgradeActivated represents a NetworkUpgradeActivated event raised by the Contract contract.
type ContractNetworkUpgradeActivatedIterator ¶
type ContractNetworkUpgradeActivatedIterator struct { Event *ContractNetworkUpgradeActivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractNetworkUpgradeActivatedIterator is returned from FilterNetworkUpgradeActivated and is used to iterate over the raw logs and unpacked data for NetworkUpgradeActivated events raised by the Contract contract.
func (*ContractNetworkUpgradeActivatedIterator) Close ¶
func (it *ContractNetworkUpgradeActivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractNetworkUpgradeActivatedIterator) Error ¶
func (it *ContractNetworkUpgradeActivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractNetworkUpgradeActivatedIterator) Next ¶
func (it *ContractNetworkUpgradeActivatedIterator) 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 ContractOwnershipTransferred ¶
type ContractOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.
type ContractOwnershipTransferredIterator ¶
type ContractOwnershipTransferredIterator struct { Event *ContractOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Contract contract.
func (*ContractOwnershipTransferredIterator) Close ¶
func (it *ContractOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractOwnershipTransferredIterator) Error ¶
func (it *ContractOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractOwnershipTransferredIterator) Next ¶
func (it *ContractOwnershipTransferredIterator) 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 ContractPartialWithdrawnByRequest ¶
type ContractPartialWithdrawnByRequest struct { Auth common.Address Receiver common.Address StakerID *big.Int WrID *big.Int Delegation bool Penalty *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractPartialWithdrawnByRequest represents a PartialWithdrawnByRequest event raised by the Contract contract.
type ContractPartialWithdrawnByRequestIterator ¶
type ContractPartialWithdrawnByRequestIterator struct { Event *ContractPartialWithdrawnByRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractPartialWithdrawnByRequestIterator is returned from FilterPartialWithdrawnByRequest and is used to iterate over the raw logs and unpacked data for PartialWithdrawnByRequest events raised by the Contract contract.
func (*ContractPartialWithdrawnByRequestIterator) Close ¶
func (it *ContractPartialWithdrawnByRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractPartialWithdrawnByRequestIterator) Error ¶
func (it *ContractPartialWithdrawnByRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractPartialWithdrawnByRequestIterator) Next ¶
func (it *ContractPartialWithdrawnByRequestIterator) 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 ContractPreparedToWithdrawDelegation ¶
type ContractPreparedToWithdrawDelegation struct { Delegator common.Address StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractPreparedToWithdrawDelegation represents a PreparedToWithdrawDelegation event raised by the Contract contract.
type ContractPreparedToWithdrawDelegationIterator ¶
type ContractPreparedToWithdrawDelegationIterator struct { Event *ContractPreparedToWithdrawDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractPreparedToWithdrawDelegationIterator is returned from FilterPreparedToWithdrawDelegation and is used to iterate over the raw logs and unpacked data for PreparedToWithdrawDelegation events raised by the Contract contract.
func (*ContractPreparedToWithdrawDelegationIterator) Close ¶
func (it *ContractPreparedToWithdrawDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractPreparedToWithdrawDelegationIterator) Error ¶
func (it *ContractPreparedToWithdrawDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractPreparedToWithdrawDelegationIterator) Next ¶
func (it *ContractPreparedToWithdrawDelegationIterator) 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 ContractPreparedToWithdrawStake ¶
type ContractPreparedToWithdrawStake struct { StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractPreparedToWithdrawStake represents a PreparedToWithdrawStake event raised by the Contract contract.
type ContractPreparedToWithdrawStakeIterator ¶
type ContractPreparedToWithdrawStakeIterator struct { Event *ContractPreparedToWithdrawStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractPreparedToWithdrawStakeIterator is returned from FilterPreparedToWithdrawStake and is used to iterate over the raw logs and unpacked data for PreparedToWithdrawStake events raised by the Contract contract.
func (*ContractPreparedToWithdrawStakeIterator) Close ¶
func (it *ContractPreparedToWithdrawStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractPreparedToWithdrawStakeIterator) Error ¶
func (it *ContractPreparedToWithdrawStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractPreparedToWithdrawStakeIterator) Next ¶
func (it *ContractPreparedToWithdrawStakeIterator) 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 ContractRaw ¶
type ContractRaw struct {
Contract *Contract // Generic contract binding to access the raw methods on
}
ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractRaw) Call ¶
func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ContractRaw) Transact ¶
func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractRaw) Transfer ¶
func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractSession ¶
type ContractSession struct { Contract *Contract // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractSession) ActivateNetworkUpgrade ¶
func (_Contract *ContractSession) ActivateNetworkUpgrade(minVersion *big.Int) (*types.Transaction, error)
ActivateNetworkUpgrade is a paid mutator transaction binding the contract method 0xf5a83c7d.
Solidity: function _activateNetworkUpgrade(uint256 minVersion) returns()
func (*ContractSession) CalcDelegationCompoundRewards ¶
func (_Contract *ContractSession) CalcDelegationCompoundRewards(delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationCompoundRewards is a free data retrieval call binding the contract method 0x9864183d.
Solidity: function calcDelegationCompoundRewards(address delegator, uint256 toStakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractSession) CalcDelegationRewards ¶
func (_Contract *ContractSession) CalcDelegationRewards(delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationRewards is a free data retrieval call binding the contract method 0xd845fc90.
Solidity: function calcDelegationRewards(address delegator, uint256 toStakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractSession) CalcValidatorCompoundRewards ¶
func (_Contract *ContractSession) CalcValidatorCompoundRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorCompoundRewards is a free data retrieval call binding the contract method 0x74240362.
Solidity: function calcValidatorCompoundRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractSession) CalcValidatorRewards ¶
func (_Contract *ContractSession) CalcValidatorRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.
Solidity: function calcValidatorRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractSession) ClaimDelegationCompoundRewards ¶
func (_Contract *ContractSession) ClaimDelegationCompoundRewards(maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
ClaimDelegationCompoundRewards is a paid mutator transaction binding the contract method 0xdc599bb1.
Solidity: function claimDelegationCompoundRewards(uint256 maxEpochs, uint256 toStakerID) returns()
func (*ContractSession) ClaimDelegationRewards ¶
func (_Contract *ContractSession) ClaimDelegationRewards(maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
ClaimDelegationRewards is a paid mutator transaction binding the contract method 0xf99837e6.
Solidity: function claimDelegationRewards(uint256 maxEpochs, uint256 toStakerID) returns()
func (*ContractSession) ClaimValidatorCompoundRewards ¶
func (_Contract *ContractSession) ClaimValidatorCompoundRewards(maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorCompoundRewards is a paid mutator transaction binding the contract method 0xcda5826a.
Solidity: function claimValidatorCompoundRewards(uint256 maxEpochs) returns()
func (*ContractSession) ClaimValidatorRewards ¶
func (_Contract *ContractSession) ClaimValidatorRewards(maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.
Solidity: function claimValidatorRewards(uint256 maxEpochs) returns()
func (*ContractSession) ContractCommission ¶
func (_Contract *ContractSession) ContractCommission() (*big.Int, error)
ContractCommission is a free data retrieval call binding the contract method 0x2709275e.
Solidity: function contractCommission() pure returns(uint256)
func (*ContractSession) CreateDelegation ¶
func (_Contract *ContractSession) CreateDelegation(to *big.Int) (*types.Transaction, error)
CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.
Solidity: function createDelegation(uint256 to) payable returns()
func (*ContractSession) CreateStake ¶
func (_Contract *ContractSession) CreateStake(metadata []byte) (*types.Transaction, error)
CreateStake is a paid mutator transaction binding the contract method 0xcc8c2120.
Solidity: function createStake(bytes metadata) payable returns()
func (*ContractSession) CreateStakeWithAddresses ¶
func (_Contract *ContractSession) CreateStakeWithAddresses(dagAddress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
CreateStakeWithAddresses is a paid mutator transaction binding the contract method 0x90475ae4.
Solidity: function createStakeWithAddresses(address dagAddress, address sfcAddress, bytes metadata) payable returns()
func (*ContractSession) CurrentEpoch ¶
func (_Contract *ContractSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*ContractSession) CurrentSealedEpoch ¶
func (_Contract *ContractSession) CurrentSealedEpoch() (*big.Int, error)
CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.
Solidity: function currentSealedEpoch() view returns(uint256)
func (*ContractSession) DelegationEarlyWithdrawalPenalty ¶
func (_Contract *ContractSession) DelegationEarlyWithdrawalPenalty(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
DelegationEarlyWithdrawalPenalty is a free data retrieval call binding the contract method 0x66799a54.
Solidity: function delegationEarlyWithdrawalPenalty(address , uint256 ) view returns(uint256)
func (*ContractSession) DelegationLockPeriodEpochs ¶
func (_Contract *ContractSession) DelegationLockPeriodEpochs() (*big.Int, error)
DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.
Solidity: function delegationLockPeriodEpochs() pure returns(uint256)
func (*ContractSession) DelegationLockPeriodTime ¶
func (_Contract *ContractSession) DelegationLockPeriodTime() (*big.Int, error)
DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.
Solidity: function delegationLockPeriodTime() pure returns(uint256)
func (*ContractSession) Delegations ¶
func (_Contract *ContractSession) Delegations(arg0 common.Address, arg1 *big.Int) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
Delegations is a free data retrieval call binding the contract method 0x223fae09.
Solidity: function delegations(address , uint256 ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractSession) DelegationsNum ¶
func (_Contract *ContractSession) DelegationsNum() (*big.Int, error)
DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.
Solidity: function delegationsNum() view returns(uint256)
func (*ContractSession) DelegationsTotalAmount ¶
func (_Contract *ContractSession) DelegationsTotalAmount() (*big.Int, error)
DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.
Solidity: function delegationsTotalAmount() view returns(uint256)
func (*ContractSession) EpochSnapshots ¶
func (_Contract *ContractSession) EpochSnapshots(arg0 *big.Int) (struct { EndTime *big.Int Duration *big.Int EpochFee *big.Int TotalBaseRewardWeight *big.Int TotalTxRewardWeight *big.Int BaseRewardPerSecond *big.Int StakeTotalAmount *big.Int DelegationsTotalAmount *big.Int TotalSupply *big.Int }, error)
EpochSnapshots is a free data retrieval call binding the contract method 0x1e8a6956.
Solidity: function epochSnapshots(uint256 ) view returns(uint256 endTime, uint256 duration, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 stakeTotalAmount, uint256 delegationsTotalAmount, uint256 totalSupply)
func (*ContractSession) EpochValidator ¶
func (_Contract *ContractSession) EpochValidator(e *big.Int, v *big.Int) (struct { StakeAmount *big.Int DelegatedMe *big.Int BaseRewardWeight *big.Int TxRewardWeight *big.Int }, error)
EpochValidator is a free data retrieval call binding the contract method 0xb9029d50.
Solidity: function epochValidator(uint256 e, uint256 v) view returns(uint256 stakeAmount, uint256 delegatedMe, uint256 baseRewardWeight, uint256 txRewardWeight)
func (*ContractSession) FirstLockedUpEpoch ¶
func (_Contract *ContractSession) FirstLockedUpEpoch() (*big.Int, error)
FirstLockedUpEpoch is a free data retrieval call binding the contract method 0x6e1a767a.
Solidity: function firstLockedUpEpoch() view returns(uint256)
func (*ContractSession) GetDelegationRewardRatio ¶
func (_Contract *ContractSession) GetDelegationRewardRatio(delegator common.Address, toStakerID *big.Int) (*big.Int, error)
GetDelegationRewardRatio is a free data retrieval call binding the contract method 0x5573184d.
Solidity: function getDelegationRewardRatio(address delegator, uint256 toStakerID) view returns(uint256)
func (*ContractSession) GetStakerID ¶
GetStakerID is a free data retrieval call binding the contract method 0x63321e27.
Solidity: function getStakerID(address addr) view returns(uint256)
func (*ContractSession) GetValidatorRewardRatio ¶
GetValidatorRewardRatio is a free data retrieval call binding the contract method 0x8e431b8d.
Solidity: function getValidatorRewardRatio(uint256 stakerID) view returns(uint256)
func (*ContractSession) IsDelegationLockedUp ¶
func (_Contract *ContractSession) IsDelegationLockedUp(delegator common.Address, toStakerID *big.Int) (bool, error)
IsDelegationLockedUp is a free data retrieval call binding the contract method 0xcfd5fa0c.
Solidity: function isDelegationLockedUp(address delegator, uint256 toStakerID) view returns(bool)
func (*ContractSession) IsOwner ¶
func (_Contract *ContractSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ContractSession) IsStakeLockedUp ¶
func (_Contract *ContractSession) IsStakeLockedUp(staker *big.Int) (bool, error)
IsStakeLockedUp is a free data retrieval call binding the contract method 0x7f664d87.
Solidity: function isStakeLockedUp(uint256 staker) view returns(bool)
func (*ContractSession) LegacyDelegations ¶
func (_Contract *ContractSession) LegacyDelegations(arg0 common.Address) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
LegacyDelegations is a free data retrieval call binding the contract method 0x5b81b886.
Solidity: function legacyDelegations(address ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractSession) LockUpDelegation ¶
func (_Contract *ContractSession) LockUpDelegation(lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)
LockUpDelegation is a paid mutator transaction binding the contract method 0xa4b89fab.
Solidity: function lockUpDelegation(uint256 lockDuration, uint256 toStakerID) returns()
func (*ContractSession) LockUpStake ¶
func (_Contract *ContractSession) LockUpStake(lockDuration *big.Int) (*types.Transaction, error)
LockUpStake is a paid mutator transaction binding the contract method 0xf3ae5b1a.
Solidity: function lockUpStake(uint256 lockDuration) returns()
func (*ContractSession) LockedDelegations ¶
func (_Contract *ContractSession) LockedDelegations(arg0 common.Address, arg1 *big.Int) (struct { FromEpoch *big.Int EndTime *big.Int Duration *big.Int }, error)
LockedDelegations is a free data retrieval call binding the contract method 0xdd099bb6.
Solidity: function lockedDelegations(address , uint256 ) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)
func (*ContractSession) LockedStakes ¶
func (_Contract *ContractSession) LockedStakes(arg0 *big.Int) (struct { FromEpoch *big.Int EndTime *big.Int Duration *big.Int }, error)
LockedStakes is a free data retrieval call binding the contract method 0xdf4f49d4.
Solidity: function lockedStakes(uint256 ) view returns(uint256 fromEpoch, uint256 endTime, uint256 duration)
func (*ContractSession) MaxDelegatedRatio ¶
func (_Contract *ContractSession) MaxDelegatedRatio() (*big.Int, error)
MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.
Solidity: function maxDelegatedRatio() pure returns(uint256)
func (*ContractSession) MaxLockupDuration ¶
func (_Contract *ContractSession) MaxLockupDuration() (*big.Int, error)
MaxLockupDuration is a free data retrieval call binding the contract method 0x0d4955e3.
Solidity: function maxLockupDuration() pure returns(uint256)
func (*ContractSession) MaxStakerMetadataSize ¶
func (_Contract *ContractSession) MaxStakerMetadataSize() (*big.Int, error)
MaxStakerMetadataSize is a free data retrieval call binding the contract method 0xab2273c0.
Solidity: function maxStakerMetadataSize() pure returns(uint256)
func (*ContractSession) MinDelegation ¶
func (_Contract *ContractSession) MinDelegation() (*big.Int, error)
MinDelegation is a free data retrieval call binding the contract method 0x02985992.
Solidity: function minDelegation() pure returns(uint256)
func (*ContractSession) MinDelegationDecrease ¶
func (_Contract *ContractSession) MinDelegationDecrease() (*big.Int, error)
MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.
Solidity: function minDelegationDecrease() pure returns(uint256)
func (*ContractSession) MinDelegationIncrease ¶
func (_Contract *ContractSession) MinDelegationIncrease() (*big.Int, error)
MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.
Solidity: function minDelegationIncrease() pure returns(uint256)
func (*ContractSession) MinLockupDuration ¶
func (_Contract *ContractSession) MinLockupDuration() (*big.Int, error)
MinLockupDuration is a free data retrieval call binding the contract method 0x0d7b2609.
Solidity: function minLockupDuration() pure returns(uint256)
func (*ContractSession) MinStake ¶
func (_Contract *ContractSession) MinStake() (*big.Int, error)
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() pure returns(uint256)
func (*ContractSession) MinStakeDecrease ¶
func (_Contract *ContractSession) MinStakeDecrease() (*big.Int, error)
MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.
Solidity: function minStakeDecrease() pure returns(uint256)
func (*ContractSession) MinStakeIncrease ¶
func (_Contract *ContractSession) MinStakeIncrease() (*big.Int, error)
MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.
Solidity: function minStakeIncrease() pure returns(uint256)
func (*ContractSession) Owner ¶
func (_Contract *ContractSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractSession) PartialWithdrawByRequest ¶
func (_Contract *ContractSession) PartialWithdrawByRequest(wrID *big.Int) (*types.Transaction, error)
PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.
Solidity: function partialWithdrawByRequest(uint256 wrID) returns()
func (*ContractSession) PrepareToWithdrawDelegation ¶
func (_Contract *ContractSession) PrepareToWithdrawDelegation(toStakerID *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0xb1e64339.
Solidity: function prepareToWithdrawDelegation(uint256 toStakerID) returns()
func (*ContractSession) PrepareToWithdrawDelegationPartial ¶
func (_Contract *ContractSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xbb03a4bd.
Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 toStakerID, uint256 amount) returns()
func (*ContractSession) PrepareToWithdrawStake ¶
func (_Contract *ContractSession) PrepareToWithdrawStake() (*types.Transaction, error)
PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.
Solidity: function prepareToWithdrawStake() returns()
func (*ContractSession) PrepareToWithdrawStakePartial ¶
func (_Contract *ContractSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.
Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()
func (*ContractSession) RenounceOwnership ¶
func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractSession) RewardsStash ¶
func (_Contract *ContractSession) RewardsStash(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
RewardsStash is a free data retrieval call binding the contract method 0x6f498663.
Solidity: function rewardsStash(address , uint256 ) view returns(uint256 amount)
func (*ContractSession) SfcAddressToStakerID ¶
SfcAddressToStakerID is a free data retrieval call binding the contract method 0xb42cb58d.
Solidity: function _sfcAddressToStakerID(address sfcAddress) view returns(uint256)
func (*ContractSession) SlashedDelegationsTotalAmount ¶
func (_Contract *ContractSession) SlashedDelegationsTotalAmount() (*big.Int, error)
SlashedDelegationsTotalAmount is a free data retrieval call binding the contract method 0xa70da4d2.
Solidity: function slashedDelegationsTotalAmount() view returns(uint256)
func (*ContractSession) SlashedStakeTotalAmount ¶
func (_Contract *ContractSession) SlashedStakeTotalAmount() (*big.Int, error)
SlashedStakeTotalAmount is a free data retrieval call binding the contract method 0x0a29180c.
Solidity: function slashedStakeTotalAmount() view returns(uint256)
func (*ContractSession) StakeLockPeriodEpochs ¶
func (_Contract *ContractSession) StakeLockPeriodEpochs() (*big.Int, error)
StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.
Solidity: function stakeLockPeriodEpochs() pure returns(uint256)
func (*ContractSession) StakeLockPeriodTime ¶
func (_Contract *ContractSession) StakeLockPeriodTime() (*big.Int, error)
StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.
Solidity: function stakeLockPeriodTime() pure returns(uint256)
func (*ContractSession) StakeTotalAmount ¶
func (_Contract *ContractSession) StakeTotalAmount() (*big.Int, error)
StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.
Solidity: function stakeTotalAmount() view returns(uint256)
func (*ContractSession) StakerMetadata ¶
func (_Contract *ContractSession) StakerMetadata(arg0 *big.Int) ([]byte, error)
StakerMetadata is a free data retrieval call binding the contract method 0x98ec2de5.
Solidity: function stakerMetadata(uint256 ) view returns(bytes)
func (*ContractSession) Stakers ¶
func (_Contract *ContractSession) Stakers(arg0 *big.Int) (struct { Status *big.Int CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int StakeAmount *big.Int PaidUntilEpoch *big.Int DelegatedMe *big.Int DagAddress common.Address SfcAddress common.Address }, error)
Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.
Solidity: function stakers(uint256 ) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)
func (*ContractSession) StakersLastID ¶
func (_Contract *ContractSession) StakersLastID() (*big.Int, error)
StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.
Solidity: function stakersLastID() view returns(uint256)
func (*ContractSession) StakersNum ¶
func (_Contract *ContractSession) StakersNum() (*big.Int, error)
StakersNum is a free data retrieval call binding the contract method 0x08728f6e.
Solidity: function stakersNum() view returns(uint256)
func (*ContractSession) StartLockedUp ¶
func (_Contract *ContractSession) StartLockedUp(epochNum *big.Int) (*types.Transaction, error)
StartLockedUp is a paid mutator transaction binding the contract method 0xc9400d4f.
Solidity: function startLockedUp(uint256 epochNum) returns()
func (*ContractSession) SyncDelegation ¶
func (_Contract *ContractSession) SyncDelegation(delegator common.Address, toStakerID *big.Int) (*types.Transaction, error)
SyncDelegation is a paid mutator transaction binding the contract method 0x75b9d3d8.
Solidity: function _syncDelegation(address delegator, uint256 toStakerID) returns()
func (*ContractSession) SyncStaker ¶
func (_Contract *ContractSession) SyncStaker(stakerID *big.Int) (*types.Transaction, error)
SyncStaker is a paid mutator transaction binding the contract method 0xeac3baf2.
Solidity: function _syncStaker(uint256 stakerID) returns()
func (*ContractSession) TotalBurntLockupRewards ¶
func (_Contract *ContractSession) TotalBurntLockupRewards() (*big.Int, error)
TotalBurntLockupRewards is a free data retrieval call binding the contract method 0xa289ad6e.
Solidity: function totalBurntLockupRewards() view returns(uint256)
func (*ContractSession) TransferOwnership ¶
func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ContractSession) UnlockedRewardRatio ¶
func (_Contract *ContractSession) UnlockedRewardRatio() (*big.Int, error)
UnlockedRewardRatio is a free data retrieval call binding the contract method 0x5e2308d2.
Solidity: function unlockedRewardRatio() pure returns(uint256)
func (*ContractSession) UnstashRewards ¶
func (_Contract *ContractSession) UnstashRewards() (*types.Transaction, error)
UnstashRewards is a paid mutator transaction binding the contract method 0x876f7e2a.
Solidity: function unstashRewards() returns()
func (*ContractSession) UpdateBaseRewardPerSec ¶
func (_Contract *ContractSession) UpdateBaseRewardPerSec(value *big.Int) (*types.Transaction, error)
UpdateBaseRewardPerSec is a paid mutator transaction binding the contract method 0x7b015db9.
Solidity: function _updateBaseRewardPerSec(uint256 value) returns()
func (*ContractSession) UpdateGasPowerAllocationRate ¶
func (_Contract *ContractSession) UpdateGasPowerAllocationRate(short *big.Int, long *big.Int) (*types.Transaction, error)
UpdateGasPowerAllocationRate is a paid mutator transaction binding the contract method 0x1c3c60c8.
Solidity: function _updateGasPowerAllocationRate(uint256 short, uint256 long) returns()
func (*ContractSession) UpdateMinGasPrice ¶
func (_Contract *ContractSession) UpdateMinGasPrice(minGasPrice *big.Int) (*types.Transaction, error)
UpdateMinGasPrice is a paid mutator transaction binding the contract method 0xaa34eb45.
Solidity: function _updateMinGasPrice(uint256 minGasPrice) returns()
func (*ContractSession) UpdateOfflinePenaltyThreshold ¶
func (_Contract *ContractSession) UpdateOfflinePenaltyThreshold(blocksNum *big.Int, period *big.Int) (*types.Transaction, error)
UpdateOfflinePenaltyThreshold is a paid mutator transaction binding the contract method 0x2e5f75ef.
Solidity: function _updateOfflinePenaltyThreshold(uint256 blocksNum, uint256 period) returns()
func (*ContractSession) UpdateStakerMetadata ¶
func (_Contract *ContractSession) UpdateStakerMetadata(metadata []byte) (*types.Transaction, error)
UpdateStakerMetadata is a paid mutator transaction binding the contract method 0x33a14912.
Solidity: function updateStakerMetadata(bytes metadata) returns()
func (*ContractSession) UpdateStakerSfcAddress ¶
func (_Contract *ContractSession) UpdateStakerSfcAddress(newSfcAddress common.Address) (*types.Transaction, error)
UpdateStakerSfcAddress is a paid mutator transaction binding the contract method 0xc3d74f1a.
Solidity: function updateStakerSfcAddress(address newSfcAddress) returns()
func (*ContractSession) UpgradeDelegationStorage ¶
func (_Contract *ContractSession) UpgradeDelegationStorage(delegator common.Address) (*types.Transaction, error)
UpgradeDelegationStorage is a paid mutator transaction binding the contract method 0x846ebb77.
Solidity: function _upgradeDelegationStorage(address delegator) returns()
func (*ContractSession) UpgradeStakerStorage ¶
func (_Contract *ContractSession) UpgradeStakerStorage(stakerID *big.Int) (*types.Transaction, error)
UpgradeStakerStorage is a paid mutator transaction binding the contract method 0x28dca8ff.
Solidity: function _upgradeStakerStorage(uint256 stakerID) returns()
func (*ContractSession) ValidatorCommission ¶
func (_Contract *ContractSession) ValidatorCommission() (*big.Int, error)
ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.
Solidity: function validatorCommission() pure returns(uint256)
func (*ContractSession) Version ¶
func (_Contract *ContractSession) Version() ([3]byte, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(bytes3)
func (*ContractSession) WithdrawDelegation ¶
func (_Contract *ContractSession) WithdrawDelegation(toStakerID *big.Int) (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0xdf0e307a.
Solidity: function withdrawDelegation(uint256 toStakerID) returns()
func (*ContractSession) WithdrawStake ¶
func (_Contract *ContractSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
func (*ContractSession) WithdrawalRequests ¶
func (_Contract *ContractSession) WithdrawalRequests(arg0 common.Address, arg1 *big.Int) (struct { StakerID *big.Int Epoch *big.Int Time *big.Int Amount *big.Int Delegation bool }, error)
WithdrawalRequests is a free data retrieval call binding the contract method 0x4e5a2328.
Solidity: function withdrawalRequests(address , uint256 ) view returns(uint256 stakerID, uint256 epoch, uint256 time, uint256 amount, bool delegation)
type ContractTransactor ¶
type ContractTransactor struct {
// contains filtered or unexported fields
}
ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTransactor ¶
func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)
NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.
func (*ContractTransactor) ActivateNetworkUpgrade ¶
func (_Contract *ContractTransactor) ActivateNetworkUpgrade(opts *bind.TransactOpts, minVersion *big.Int) (*types.Transaction, error)
ActivateNetworkUpgrade is a paid mutator transaction binding the contract method 0xf5a83c7d.
Solidity: function _activateNetworkUpgrade(uint256 minVersion) returns()
func (*ContractTransactor) ClaimDelegationCompoundRewards ¶
func (_Contract *ContractTransactor) ClaimDelegationCompoundRewards(opts *bind.TransactOpts, maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
ClaimDelegationCompoundRewards is a paid mutator transaction binding the contract method 0xdc599bb1.
Solidity: function claimDelegationCompoundRewards(uint256 maxEpochs, uint256 toStakerID) returns()
func (*ContractTransactor) ClaimDelegationRewards ¶
func (_Contract *ContractTransactor) ClaimDelegationRewards(opts *bind.TransactOpts, maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
ClaimDelegationRewards is a paid mutator transaction binding the contract method 0xf99837e6.
Solidity: function claimDelegationRewards(uint256 maxEpochs, uint256 toStakerID) returns()
func (*ContractTransactor) ClaimValidatorCompoundRewards ¶
func (_Contract *ContractTransactor) ClaimValidatorCompoundRewards(opts *bind.TransactOpts, maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorCompoundRewards is a paid mutator transaction binding the contract method 0xcda5826a.
Solidity: function claimValidatorCompoundRewards(uint256 maxEpochs) returns()
func (*ContractTransactor) ClaimValidatorRewards ¶
func (_Contract *ContractTransactor) ClaimValidatorRewards(opts *bind.TransactOpts, maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.
Solidity: function claimValidatorRewards(uint256 maxEpochs) returns()
func (*ContractTransactor) CreateDelegation ¶
func (_Contract *ContractTransactor) CreateDelegation(opts *bind.TransactOpts, to *big.Int) (*types.Transaction, error)
CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.
Solidity: function createDelegation(uint256 to) payable returns()
func (*ContractTransactor) CreateStake ¶
func (_Contract *ContractTransactor) CreateStake(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)
CreateStake is a paid mutator transaction binding the contract method 0xcc8c2120.
Solidity: function createStake(bytes metadata) payable returns()
func (*ContractTransactor) CreateStakeWithAddresses ¶
func (_Contract *ContractTransactor) CreateStakeWithAddresses(opts *bind.TransactOpts, dagAddress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
CreateStakeWithAddresses is a paid mutator transaction binding the contract method 0x90475ae4.
Solidity: function createStakeWithAddresses(address dagAddress, address sfcAddress, bytes metadata) payable returns()
func (*ContractTransactor) LockUpDelegation ¶
func (_Contract *ContractTransactor) LockUpDelegation(opts *bind.TransactOpts, lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)
LockUpDelegation is a paid mutator transaction binding the contract method 0xa4b89fab.
Solidity: function lockUpDelegation(uint256 lockDuration, uint256 toStakerID) returns()
func (*ContractTransactor) LockUpStake ¶
func (_Contract *ContractTransactor) LockUpStake(opts *bind.TransactOpts, lockDuration *big.Int) (*types.Transaction, error)
LockUpStake is a paid mutator transaction binding the contract method 0xf3ae5b1a.
Solidity: function lockUpStake(uint256 lockDuration) returns()
func (*ContractTransactor) PartialWithdrawByRequest ¶
func (_Contract *ContractTransactor) PartialWithdrawByRequest(opts *bind.TransactOpts, wrID *big.Int) (*types.Transaction, error)
PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.
Solidity: function partialWithdrawByRequest(uint256 wrID) returns()
func (*ContractTransactor) PrepareToWithdrawDelegation ¶
func (_Contract *ContractTransactor) PrepareToWithdrawDelegation(opts *bind.TransactOpts, toStakerID *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0xb1e64339.
Solidity: function prepareToWithdrawDelegation(uint256 toStakerID) returns()
func (*ContractTransactor) PrepareToWithdrawDelegationPartial ¶
func (_Contract *ContractTransactor) PrepareToWithdrawDelegationPartial(opts *bind.TransactOpts, wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xbb03a4bd.
Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 toStakerID, uint256 amount) returns()
func (*ContractTransactor) PrepareToWithdrawStake ¶
func (_Contract *ContractTransactor) PrepareToWithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.
Solidity: function prepareToWithdrawStake() returns()
func (*ContractTransactor) PrepareToWithdrawStakePartial ¶
func (_Contract *ContractTransactor) PrepareToWithdrawStakePartial(opts *bind.TransactOpts, wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.
Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()
func (*ContractTransactor) RenounceOwnership ¶
func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTransactor) StartLockedUp ¶
func (_Contract *ContractTransactor) StartLockedUp(opts *bind.TransactOpts, epochNum *big.Int) (*types.Transaction, error)
StartLockedUp is a paid mutator transaction binding the contract method 0xc9400d4f.
Solidity: function startLockedUp(uint256 epochNum) returns()
func (*ContractTransactor) SyncDelegation ¶
func (_Contract *ContractTransactor) SyncDelegation(opts *bind.TransactOpts, delegator common.Address, toStakerID *big.Int) (*types.Transaction, error)
SyncDelegation is a paid mutator transaction binding the contract method 0x75b9d3d8.
Solidity: function _syncDelegation(address delegator, uint256 toStakerID) returns()
func (*ContractTransactor) SyncStaker ¶
func (_Contract *ContractTransactor) SyncStaker(opts *bind.TransactOpts, stakerID *big.Int) (*types.Transaction, error)
SyncStaker is a paid mutator transaction binding the contract method 0xeac3baf2.
Solidity: function _syncStaker(uint256 stakerID) returns()
func (*ContractTransactor) TransferOwnership ¶
func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ContractTransactor) UnstashRewards ¶
func (_Contract *ContractTransactor) UnstashRewards(opts *bind.TransactOpts) (*types.Transaction, error)
UnstashRewards is a paid mutator transaction binding the contract method 0x876f7e2a.
Solidity: function unstashRewards() returns()
func (*ContractTransactor) UpdateBaseRewardPerSec ¶
func (_Contract *ContractTransactor) UpdateBaseRewardPerSec(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
UpdateBaseRewardPerSec is a paid mutator transaction binding the contract method 0x7b015db9.
Solidity: function _updateBaseRewardPerSec(uint256 value) returns()
func (*ContractTransactor) UpdateGasPowerAllocationRate ¶
func (_Contract *ContractTransactor) UpdateGasPowerAllocationRate(opts *bind.TransactOpts, short *big.Int, long *big.Int) (*types.Transaction, error)
UpdateGasPowerAllocationRate is a paid mutator transaction binding the contract method 0x1c3c60c8.
Solidity: function _updateGasPowerAllocationRate(uint256 short, uint256 long) returns()
func (*ContractTransactor) UpdateMinGasPrice ¶
func (_Contract *ContractTransactor) UpdateMinGasPrice(opts *bind.TransactOpts, minGasPrice *big.Int) (*types.Transaction, error)
UpdateMinGasPrice is a paid mutator transaction binding the contract method 0xaa34eb45.
Solidity: function _updateMinGasPrice(uint256 minGasPrice) returns()
func (*ContractTransactor) UpdateOfflinePenaltyThreshold ¶
func (_Contract *ContractTransactor) UpdateOfflinePenaltyThreshold(opts *bind.TransactOpts, blocksNum *big.Int, period *big.Int) (*types.Transaction, error)
UpdateOfflinePenaltyThreshold is a paid mutator transaction binding the contract method 0x2e5f75ef.
Solidity: function _updateOfflinePenaltyThreshold(uint256 blocksNum, uint256 period) returns()
func (*ContractTransactor) UpdateStakerMetadata ¶
func (_Contract *ContractTransactor) UpdateStakerMetadata(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)
UpdateStakerMetadata is a paid mutator transaction binding the contract method 0x33a14912.
Solidity: function updateStakerMetadata(bytes metadata) returns()
func (*ContractTransactor) UpdateStakerSfcAddress ¶
func (_Contract *ContractTransactor) UpdateStakerSfcAddress(opts *bind.TransactOpts, newSfcAddress common.Address) (*types.Transaction, error)
UpdateStakerSfcAddress is a paid mutator transaction binding the contract method 0xc3d74f1a.
Solidity: function updateStakerSfcAddress(address newSfcAddress) returns()
func (*ContractTransactor) UpgradeDelegationStorage ¶
func (_Contract *ContractTransactor) UpgradeDelegationStorage(opts *bind.TransactOpts, delegator common.Address) (*types.Transaction, error)
UpgradeDelegationStorage is a paid mutator transaction binding the contract method 0x846ebb77.
Solidity: function _upgradeDelegationStorage(address delegator) returns()
func (*ContractTransactor) UpgradeStakerStorage ¶
func (_Contract *ContractTransactor) UpgradeStakerStorage(opts *bind.TransactOpts, stakerID *big.Int) (*types.Transaction, error)
UpgradeStakerStorage is a paid mutator transaction binding the contract method 0x28dca8ff.
Solidity: function _upgradeStakerStorage(uint256 stakerID) returns()
func (*ContractTransactor) WithdrawDelegation ¶
func (_Contract *ContractTransactor) WithdrawDelegation(opts *bind.TransactOpts, toStakerID *big.Int) (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0xdf0e307a.
Solidity: function withdrawDelegation(uint256 toStakerID) returns()
func (*ContractTransactor) WithdrawStake ¶
func (_Contract *ContractTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ContractTransactorRaw ¶
type ContractTransactorRaw struct {
Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTransactorRaw) Transact ¶
func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTransactorRaw) Transfer ¶
func (_Contract *ContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractTransactorSession ¶
type ContractTransactorSession struct { Contract *ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTransactorSession) ActivateNetworkUpgrade ¶
func (_Contract *ContractTransactorSession) ActivateNetworkUpgrade(minVersion *big.Int) (*types.Transaction, error)
ActivateNetworkUpgrade is a paid mutator transaction binding the contract method 0xf5a83c7d.
Solidity: function _activateNetworkUpgrade(uint256 minVersion) returns()
func (*ContractTransactorSession) ClaimDelegationCompoundRewards ¶
func (_Contract *ContractTransactorSession) ClaimDelegationCompoundRewards(maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
ClaimDelegationCompoundRewards is a paid mutator transaction binding the contract method 0xdc599bb1.
Solidity: function claimDelegationCompoundRewards(uint256 maxEpochs, uint256 toStakerID) returns()
func (*ContractTransactorSession) ClaimDelegationRewards ¶
func (_Contract *ContractTransactorSession) ClaimDelegationRewards(maxEpochs *big.Int, toStakerID *big.Int) (*types.Transaction, error)
ClaimDelegationRewards is a paid mutator transaction binding the contract method 0xf99837e6.
Solidity: function claimDelegationRewards(uint256 maxEpochs, uint256 toStakerID) returns()
func (*ContractTransactorSession) ClaimValidatorCompoundRewards ¶
func (_Contract *ContractTransactorSession) ClaimValidatorCompoundRewards(maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorCompoundRewards is a paid mutator transaction binding the contract method 0xcda5826a.
Solidity: function claimValidatorCompoundRewards(uint256 maxEpochs) returns()
func (*ContractTransactorSession) ClaimValidatorRewards ¶
func (_Contract *ContractTransactorSession) ClaimValidatorRewards(maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.
Solidity: function claimValidatorRewards(uint256 maxEpochs) returns()
func (*ContractTransactorSession) CreateDelegation ¶
func (_Contract *ContractTransactorSession) CreateDelegation(to *big.Int) (*types.Transaction, error)
CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.
Solidity: function createDelegation(uint256 to) payable returns()
func (*ContractTransactorSession) CreateStake ¶
func (_Contract *ContractTransactorSession) CreateStake(metadata []byte) (*types.Transaction, error)
CreateStake is a paid mutator transaction binding the contract method 0xcc8c2120.
Solidity: function createStake(bytes metadata) payable returns()
func (*ContractTransactorSession) CreateStakeWithAddresses ¶
func (_Contract *ContractTransactorSession) CreateStakeWithAddresses(dagAddress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
CreateStakeWithAddresses is a paid mutator transaction binding the contract method 0x90475ae4.
Solidity: function createStakeWithAddresses(address dagAddress, address sfcAddress, bytes metadata) payable returns()
func (*ContractTransactorSession) LockUpDelegation ¶
func (_Contract *ContractTransactorSession) LockUpDelegation(lockDuration *big.Int, toStakerID *big.Int) (*types.Transaction, error)
LockUpDelegation is a paid mutator transaction binding the contract method 0xa4b89fab.
Solidity: function lockUpDelegation(uint256 lockDuration, uint256 toStakerID) returns()
func (*ContractTransactorSession) LockUpStake ¶
func (_Contract *ContractTransactorSession) LockUpStake(lockDuration *big.Int) (*types.Transaction, error)
LockUpStake is a paid mutator transaction binding the contract method 0xf3ae5b1a.
Solidity: function lockUpStake(uint256 lockDuration) returns()
func (*ContractTransactorSession) PartialWithdrawByRequest ¶
func (_Contract *ContractTransactorSession) PartialWithdrawByRequest(wrID *big.Int) (*types.Transaction, error)
PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.
Solidity: function partialWithdrawByRequest(uint256 wrID) returns()
func (*ContractTransactorSession) PrepareToWithdrawDelegation ¶
func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegation(toStakerID *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0xb1e64339.
Solidity: function prepareToWithdrawDelegation(uint256 toStakerID) returns()
func (*ContractTransactorSession) PrepareToWithdrawDelegationPartial ¶
func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, toStakerID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xbb03a4bd.
Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 toStakerID, uint256 amount) returns()
func (*ContractTransactorSession) PrepareToWithdrawStake ¶
func (_Contract *ContractTransactorSession) PrepareToWithdrawStake() (*types.Transaction, error)
PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.
Solidity: function prepareToWithdrawStake() returns()
func (*ContractTransactorSession) PrepareToWithdrawStakePartial ¶
func (_Contract *ContractTransactorSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.
Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()
func (*ContractTransactorSession) RenounceOwnership ¶
func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTransactorSession) StartLockedUp ¶
func (_Contract *ContractTransactorSession) StartLockedUp(epochNum *big.Int) (*types.Transaction, error)
StartLockedUp is a paid mutator transaction binding the contract method 0xc9400d4f.
Solidity: function startLockedUp(uint256 epochNum) returns()
func (*ContractTransactorSession) SyncDelegation ¶
func (_Contract *ContractTransactorSession) SyncDelegation(delegator common.Address, toStakerID *big.Int) (*types.Transaction, error)
SyncDelegation is a paid mutator transaction binding the contract method 0x75b9d3d8.
Solidity: function _syncDelegation(address delegator, uint256 toStakerID) returns()
func (*ContractTransactorSession) SyncStaker ¶
func (_Contract *ContractTransactorSession) SyncStaker(stakerID *big.Int) (*types.Transaction, error)
SyncStaker is a paid mutator transaction binding the contract method 0xeac3baf2.
Solidity: function _syncStaker(uint256 stakerID) returns()
func (*ContractTransactorSession) TransferOwnership ¶
func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ContractTransactorSession) UnstashRewards ¶
func (_Contract *ContractTransactorSession) UnstashRewards() (*types.Transaction, error)
UnstashRewards is a paid mutator transaction binding the contract method 0x876f7e2a.
Solidity: function unstashRewards() returns()
func (*ContractTransactorSession) UpdateBaseRewardPerSec ¶
func (_Contract *ContractTransactorSession) UpdateBaseRewardPerSec(value *big.Int) (*types.Transaction, error)
UpdateBaseRewardPerSec is a paid mutator transaction binding the contract method 0x7b015db9.
Solidity: function _updateBaseRewardPerSec(uint256 value) returns()
func (*ContractTransactorSession) UpdateGasPowerAllocationRate ¶
func (_Contract *ContractTransactorSession) UpdateGasPowerAllocationRate(short *big.Int, long *big.Int) (*types.Transaction, error)
UpdateGasPowerAllocationRate is a paid mutator transaction binding the contract method 0x1c3c60c8.
Solidity: function _updateGasPowerAllocationRate(uint256 short, uint256 long) returns()
func (*ContractTransactorSession) UpdateMinGasPrice ¶
func (_Contract *ContractTransactorSession) UpdateMinGasPrice(minGasPrice *big.Int) (*types.Transaction, error)
UpdateMinGasPrice is a paid mutator transaction binding the contract method 0xaa34eb45.
Solidity: function _updateMinGasPrice(uint256 minGasPrice) returns()
func (*ContractTransactorSession) UpdateOfflinePenaltyThreshold ¶
func (_Contract *ContractTransactorSession) UpdateOfflinePenaltyThreshold(blocksNum *big.Int, period *big.Int) (*types.Transaction, error)
UpdateOfflinePenaltyThreshold is a paid mutator transaction binding the contract method 0x2e5f75ef.
Solidity: function _updateOfflinePenaltyThreshold(uint256 blocksNum, uint256 period) returns()
func (*ContractTransactorSession) UpdateStakerMetadata ¶
func (_Contract *ContractTransactorSession) UpdateStakerMetadata(metadata []byte) (*types.Transaction, error)
UpdateStakerMetadata is a paid mutator transaction binding the contract method 0x33a14912.
Solidity: function updateStakerMetadata(bytes metadata) returns()
func (*ContractTransactorSession) UpdateStakerSfcAddress ¶
func (_Contract *ContractTransactorSession) UpdateStakerSfcAddress(newSfcAddress common.Address) (*types.Transaction, error)
UpdateStakerSfcAddress is a paid mutator transaction binding the contract method 0xc3d74f1a.
Solidity: function updateStakerSfcAddress(address newSfcAddress) returns()
func (*ContractTransactorSession) UpgradeDelegationStorage ¶
func (_Contract *ContractTransactorSession) UpgradeDelegationStorage(delegator common.Address) (*types.Transaction, error)
UpgradeDelegationStorage is a paid mutator transaction binding the contract method 0x846ebb77.
Solidity: function _upgradeDelegationStorage(address delegator) returns()
func (*ContractTransactorSession) UpgradeStakerStorage ¶
func (_Contract *ContractTransactorSession) UpgradeStakerStorage(stakerID *big.Int) (*types.Transaction, error)
UpgradeStakerStorage is a paid mutator transaction binding the contract method 0x28dca8ff.
Solidity: function _upgradeStakerStorage(uint256 stakerID) returns()
func (*ContractTransactorSession) WithdrawDelegation ¶
func (_Contract *ContractTransactorSession) WithdrawDelegation(toStakerID *big.Int) (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0xdf0e307a.
Solidity: function withdrawDelegation(uint256 toStakerID) returns()
func (*ContractTransactorSession) WithdrawStake ¶
func (_Contract *ContractTransactorSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ContractUnstashedRewards ¶
type ContractUnstashedRewards struct { Auth common.Address Receiver common.Address Rewards *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUnstashedRewards represents a UnstashedRewards event raised by the Contract contract.
type ContractUnstashedRewardsIterator ¶
type ContractUnstashedRewardsIterator struct { Event *ContractUnstashedRewards // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUnstashedRewardsIterator is returned from FilterUnstashedRewards and is used to iterate over the raw logs and unpacked data for UnstashedRewards events raised by the Contract contract.
func (*ContractUnstashedRewardsIterator) Close ¶
func (it *ContractUnstashedRewardsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUnstashedRewardsIterator) Error ¶
func (it *ContractUnstashedRewardsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUnstashedRewardsIterator) Next ¶
func (it *ContractUnstashedRewardsIterator) 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 ContractUpdatedBaseRewardPerSec ¶
type ContractUpdatedBaseRewardPerSec struct { Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedBaseRewardPerSec represents a UpdatedBaseRewardPerSec event raised by the Contract contract.
type ContractUpdatedBaseRewardPerSecIterator ¶
type ContractUpdatedBaseRewardPerSecIterator struct { Event *ContractUpdatedBaseRewardPerSec // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedBaseRewardPerSecIterator is returned from FilterUpdatedBaseRewardPerSec and is used to iterate over the raw logs and unpacked data for UpdatedBaseRewardPerSec events raised by the Contract contract.
func (*ContractUpdatedBaseRewardPerSecIterator) Close ¶
func (it *ContractUpdatedBaseRewardPerSecIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedBaseRewardPerSecIterator) Error ¶
func (it *ContractUpdatedBaseRewardPerSecIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedBaseRewardPerSecIterator) Next ¶
func (it *ContractUpdatedBaseRewardPerSecIterator) 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 ContractUpdatedDelegation ¶
type ContractUpdatedDelegation struct { Delegator common.Address OldStakerID *big.Int NewStakerID *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedDelegation represents a UpdatedDelegation event raised by the Contract contract.
type ContractUpdatedDelegationIterator ¶
type ContractUpdatedDelegationIterator struct { Event *ContractUpdatedDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedDelegationIterator is returned from FilterUpdatedDelegation and is used to iterate over the raw logs and unpacked data for UpdatedDelegation events raised by the Contract contract.
func (*ContractUpdatedDelegationIterator) Close ¶
func (it *ContractUpdatedDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedDelegationIterator) Error ¶
func (it *ContractUpdatedDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedDelegationIterator) Next ¶
func (it *ContractUpdatedDelegationIterator) 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 ContractUpdatedGasPowerAllocationRate ¶
type ContractUpdatedGasPowerAllocationRate struct { Short *big.Int Long *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedGasPowerAllocationRate represents a UpdatedGasPowerAllocationRate event raised by the Contract contract.
type ContractUpdatedGasPowerAllocationRateIterator ¶
type ContractUpdatedGasPowerAllocationRateIterator struct { Event *ContractUpdatedGasPowerAllocationRate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedGasPowerAllocationRateIterator is returned from FilterUpdatedGasPowerAllocationRate and is used to iterate over the raw logs and unpacked data for UpdatedGasPowerAllocationRate events raised by the Contract contract.
func (*ContractUpdatedGasPowerAllocationRateIterator) Close ¶
func (it *ContractUpdatedGasPowerAllocationRateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedGasPowerAllocationRateIterator) Error ¶
func (it *ContractUpdatedGasPowerAllocationRateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedGasPowerAllocationRateIterator) Next ¶
func (it *ContractUpdatedGasPowerAllocationRateIterator) 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 ContractUpdatedMinGasPrice ¶
type ContractUpdatedMinGasPrice struct { MinGasPrice *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedMinGasPrice represents a UpdatedMinGasPrice event raised by the Contract contract.
type ContractUpdatedMinGasPriceIterator ¶
type ContractUpdatedMinGasPriceIterator struct { Event *ContractUpdatedMinGasPrice // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedMinGasPriceIterator is returned from FilterUpdatedMinGasPrice and is used to iterate over the raw logs and unpacked data for UpdatedMinGasPrice events raised by the Contract contract.
func (*ContractUpdatedMinGasPriceIterator) Close ¶
func (it *ContractUpdatedMinGasPriceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedMinGasPriceIterator) Error ¶
func (it *ContractUpdatedMinGasPriceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedMinGasPriceIterator) Next ¶
func (it *ContractUpdatedMinGasPriceIterator) 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 ContractUpdatedOfflinePenaltyThreshold ¶
type ContractUpdatedOfflinePenaltyThreshold struct { BlocksNum *big.Int Period *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedOfflinePenaltyThreshold represents a UpdatedOfflinePenaltyThreshold event raised by the Contract contract.
type ContractUpdatedOfflinePenaltyThresholdIterator ¶
type ContractUpdatedOfflinePenaltyThresholdIterator struct { Event *ContractUpdatedOfflinePenaltyThreshold // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedOfflinePenaltyThresholdIterator is returned from FilterUpdatedOfflinePenaltyThreshold and is used to iterate over the raw logs and unpacked data for UpdatedOfflinePenaltyThreshold events raised by the Contract contract.
func (*ContractUpdatedOfflinePenaltyThresholdIterator) Close ¶
func (it *ContractUpdatedOfflinePenaltyThresholdIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedOfflinePenaltyThresholdIterator) Error ¶
func (it *ContractUpdatedOfflinePenaltyThresholdIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedOfflinePenaltyThresholdIterator) Next ¶
func (it *ContractUpdatedOfflinePenaltyThresholdIterator) 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 ContractUpdatedStake ¶
type ContractUpdatedStake struct { StakerID *big.Int Amount *big.Int DelegatedMe *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedStake represents a UpdatedStake event raised by the Contract contract.
type ContractUpdatedStakeIterator ¶
type ContractUpdatedStakeIterator struct { Event *ContractUpdatedStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedStakeIterator is returned from FilterUpdatedStake and is used to iterate over the raw logs and unpacked data for UpdatedStake events raised by the Contract contract.
func (*ContractUpdatedStakeIterator) Close ¶
func (it *ContractUpdatedStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedStakeIterator) Error ¶
func (it *ContractUpdatedStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedStakeIterator) Next ¶
func (it *ContractUpdatedStakeIterator) 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 ContractUpdatedStakerMetadata ¶
type ContractUpdatedStakerMetadata struct { StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedStakerMetadata represents a UpdatedStakerMetadata event raised by the Contract contract.
type ContractUpdatedStakerMetadataIterator ¶
type ContractUpdatedStakerMetadataIterator struct { Event *ContractUpdatedStakerMetadata // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedStakerMetadataIterator is returned from FilterUpdatedStakerMetadata and is used to iterate over the raw logs and unpacked data for UpdatedStakerMetadata events raised by the Contract contract.
func (*ContractUpdatedStakerMetadataIterator) Close ¶
func (it *ContractUpdatedStakerMetadataIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedStakerMetadataIterator) Error ¶
func (it *ContractUpdatedStakerMetadataIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedStakerMetadataIterator) Next ¶
func (it *ContractUpdatedStakerMetadataIterator) 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 ContractUpdatedStakerSfcAddress ¶
type ContractUpdatedStakerSfcAddress struct { StakerID *big.Int OldSfcAddress common.Address NewSfcAddress common.Address Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedStakerSfcAddress represents a UpdatedStakerSfcAddress event raised by the Contract contract.
type ContractUpdatedStakerSfcAddressIterator ¶
type ContractUpdatedStakerSfcAddressIterator struct { Event *ContractUpdatedStakerSfcAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedStakerSfcAddressIterator is returned from FilterUpdatedStakerSfcAddress and is used to iterate over the raw logs and unpacked data for UpdatedStakerSfcAddress events raised by the Contract contract.
func (*ContractUpdatedStakerSfcAddressIterator) Close ¶
func (it *ContractUpdatedStakerSfcAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedStakerSfcAddressIterator) Error ¶
func (it *ContractUpdatedStakerSfcAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedStakerSfcAddressIterator) Next ¶
func (it *ContractUpdatedStakerSfcAddressIterator) 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 ContractWithdrawnDelegation ¶
type ContractWithdrawnDelegation struct { Delegator common.Address ToStakerID *big.Int Penalty *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractWithdrawnDelegation represents a WithdrawnDelegation event raised by the Contract contract.
type ContractWithdrawnDelegationIterator ¶
type ContractWithdrawnDelegationIterator struct { Event *ContractWithdrawnDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractWithdrawnDelegationIterator is returned from FilterWithdrawnDelegation and is used to iterate over the raw logs and unpacked data for WithdrawnDelegation events raised by the Contract contract.
func (*ContractWithdrawnDelegationIterator) Close ¶
func (it *ContractWithdrawnDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractWithdrawnDelegationIterator) Error ¶
func (it *ContractWithdrawnDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractWithdrawnDelegationIterator) Next ¶
func (it *ContractWithdrawnDelegationIterator) 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 ContractWithdrawnStake ¶
type ContractWithdrawnStake struct { StakerID *big.Int Penalty *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractWithdrawnStake represents a WithdrawnStake event raised by the Contract contract.
type ContractWithdrawnStakeIterator ¶
type ContractWithdrawnStakeIterator struct { Event *ContractWithdrawnStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractWithdrawnStakeIterator is returned from FilterWithdrawnStake and is used to iterate over the raw logs and unpacked data for WithdrawnStake events raised by the Contract contract.
func (*ContractWithdrawnStakeIterator) Close ¶
func (it *ContractWithdrawnStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractWithdrawnStakeIterator) Error ¶
func (it *ContractWithdrawnStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractWithdrawnStakeIterator) Next ¶
func (it *ContractWithdrawnStakeIterator) 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.