Versions in this module Expand all Collapse all v0 v0.0.14 Nov 15, 2021 Changes in this version + var StakingABI = StakingMetaData.ABI + var StakingMetaData = &bind.MetaData + type IStakingCloseAllocationRequest struct + AllocationID common.Address + Poi [32]byte + type IStakingDataAllocation struct + AccRewardsPerAllocatedToken *big.Int + ClosedAtEpoch *big.Int + CollectedFees *big.Int + CreatedAtEpoch *big.Int + EffectiveAllocation *big.Int + Indexer common.Address + SubgraphDeploymentID [32]byte + Tokens *big.Int + type IStakingDataDelegation struct + Shares *big.Int + TokensLocked *big.Int + TokensLockedUntil *big.Int + type Staking struct + func NewStaking(address common.Address, backend bind.ContractBackend) (*Staking, error) + type StakingAllocationClosed struct + AllocationID common.Address + EffectiveAllocation *big.Int + Epoch *big.Int + Indexer common.Address + IsDelegator bool + Poi [32]byte + Raw types.Log + Sender common.Address + SubgraphDeploymentID [32]byte + Tokens *big.Int + type StakingAllocationClosedIterator struct + Event *StakingAllocationClosed + func (it *StakingAllocationClosedIterator) Close() error + func (it *StakingAllocationClosedIterator) Error() error + func (it *StakingAllocationClosedIterator) Next() bool + type StakingAllocationCollected struct + AllocationID common.Address + CurationFees *big.Int + Epoch *big.Int + From common.Address + Indexer common.Address + Raw types.Log + RebateFees *big.Int + SubgraphDeploymentID [32]byte + Tokens *big.Int + type StakingAllocationCollectedIterator struct + Event *StakingAllocationCollected + func (it *StakingAllocationCollectedIterator) Close() error + func (it *StakingAllocationCollectedIterator) Error() error + func (it *StakingAllocationCollectedIterator) Next() bool + type StakingAllocationCreated struct + AllocationID common.Address + Epoch *big.Int + Indexer common.Address + Metadata [32]byte + Raw types.Log + SubgraphDeploymentID [32]byte + Tokens *big.Int + type StakingAllocationCreatedIterator struct + Event *StakingAllocationCreated + func (it *StakingAllocationCreatedIterator) Close() error + func (it *StakingAllocationCreatedIterator) Error() error + func (it *StakingAllocationCreatedIterator) Next() bool + type StakingAssetHolderUpdate struct + Allowed bool + AssetHolder common.Address + Caller common.Address + Raw types.Log + type StakingAssetHolderUpdateIterator struct + Event *StakingAssetHolderUpdate + func (it *StakingAssetHolderUpdateIterator) Close() error + func (it *StakingAssetHolderUpdateIterator) Error() error + func (it *StakingAssetHolderUpdateIterator) Next() bool + type StakingCaller struct + func NewStakingCaller(address common.Address, caller bind.ContractCaller) (*StakingCaller, error) + func (_Staking *StakingCaller) AddressCache(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error) + func (_Staking *StakingCaller) Allocations(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingCaller) AlphaDenominator(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) AlphaNumerator(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) AssetHolders(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_Staking *StakingCaller) ChannelDisputeEpochs(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) Controller(opts *bind.CallOpts) (common.Address, error) + func (_Staking *StakingCaller) CurationPercentage(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) DelegationParametersCooldown(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) DelegationPools(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingCaller) DelegationRatio(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) DelegationTaxPercentage(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) DelegationUnbondingPeriod(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) GetAllocation(opts *bind.CallOpts, _allocationID common.Address) (IStakingDataAllocation, error) + func (_Staking *StakingCaller) GetAllocationState(opts *bind.CallOpts, _allocationID common.Address) (uint8, error) + func (_Staking *StakingCaller) GetDelegation(opts *bind.CallOpts, _indexer common.Address, _delegator common.Address) (IStakingDataDelegation, error) + func (_Staking *StakingCaller) GetIndexerCapacity(opts *bind.CallOpts, _indexer common.Address) (*big.Int, error) + func (_Staking *StakingCaller) GetIndexerStakedTokens(opts *bind.CallOpts, _indexer common.Address) (*big.Int, error) + func (_Staking *StakingCaller) GetSubgraphAllocatedTokens(opts *bind.CallOpts, _subgraphDeploymentID [32]byte) (*big.Int, error) + func (_Staking *StakingCaller) GetWithdraweableDelegatedTokens(opts *bind.CallOpts, _delegation IStakingDataDelegation) (*big.Int, error) + func (_Staking *StakingCaller) HasStake(opts *bind.CallOpts, _indexer common.Address) (bool, error) + func (_Staking *StakingCaller) IsAllocation(opts *bind.CallOpts, _allocationID common.Address) (bool, error) + func (_Staking *StakingCaller) IsDelegator(opts *bind.CallOpts, _indexer common.Address, _delegator common.Address) (bool, error) + func (_Staking *StakingCaller) IsOperator(opts *bind.CallOpts, _operator common.Address, _indexer common.Address) (bool, error) + func (_Staking *StakingCaller) MaxAllocationEpochs(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) MinimumIndexerStake(opts *bind.CallOpts) (*big.Int, error) + func (_Staking *StakingCaller) OperatorAuth(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error) + func (_Staking *StakingCaller) ProtocolPercentage(opts *bind.CallOpts) (uint32, error) + func (_Staking *StakingCaller) Rebates(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error) + func (_Staking *StakingCaller) RewardsDestination(opts *bind.CallOpts, arg0 common.Address) (common.Address, error) + func (_Staking *StakingCaller) Slashers(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_Staking *StakingCaller) Stakes(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingCaller) SubgraphAllocations(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error) + func (_Staking *StakingCaller) ThawingPeriod(opts *bind.CallOpts) (uint32, error) + type StakingCallerRaw struct + Contract *StakingCaller + func (_Staking *StakingCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type StakingCallerSession struct + CallOpts bind.CallOpts + Contract *StakingCaller + func (_Staking *StakingCallerSession) AddressCache(arg0 [32]byte) (common.Address, error) + func (_Staking *StakingCallerSession) Allocations(arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingCallerSession) AlphaDenominator() (uint32, error) + func (_Staking *StakingCallerSession) AlphaNumerator() (uint32, error) + func (_Staking *StakingCallerSession) AssetHolders(arg0 common.Address) (bool, error) + func (_Staking *StakingCallerSession) ChannelDisputeEpochs() (uint32, error) + func (_Staking *StakingCallerSession) Controller() (common.Address, error) + func (_Staking *StakingCallerSession) CurationPercentage() (uint32, error) + func (_Staking *StakingCallerSession) DelegationParametersCooldown() (uint32, error) + func (_Staking *StakingCallerSession) DelegationPools(arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingCallerSession) DelegationRatio() (uint32, error) + func (_Staking *StakingCallerSession) DelegationTaxPercentage() (uint32, error) + func (_Staking *StakingCallerSession) DelegationUnbondingPeriod() (uint32, error) + func (_Staking *StakingCallerSession) GetAllocation(_allocationID common.Address) (IStakingDataAllocation, error) + func (_Staking *StakingCallerSession) GetAllocationState(_allocationID common.Address) (uint8, error) + func (_Staking *StakingCallerSession) GetDelegation(_indexer common.Address, _delegator common.Address) (IStakingDataDelegation, error) + func (_Staking *StakingCallerSession) GetIndexerCapacity(_indexer common.Address) (*big.Int, error) + func (_Staking *StakingCallerSession) GetIndexerStakedTokens(_indexer common.Address) (*big.Int, error) + func (_Staking *StakingCallerSession) GetSubgraphAllocatedTokens(_subgraphDeploymentID [32]byte) (*big.Int, error) + func (_Staking *StakingCallerSession) GetWithdraweableDelegatedTokens(_delegation IStakingDataDelegation) (*big.Int, error) + func (_Staking *StakingCallerSession) HasStake(_indexer common.Address) (bool, error) + func (_Staking *StakingCallerSession) IsAllocation(_allocationID common.Address) (bool, error) + func (_Staking *StakingCallerSession) IsDelegator(_indexer common.Address, _delegator common.Address) (bool, error) + func (_Staking *StakingCallerSession) IsOperator(_operator common.Address, _indexer common.Address) (bool, error) + func (_Staking *StakingCallerSession) MaxAllocationEpochs() (uint32, error) + func (_Staking *StakingCallerSession) MinimumIndexerStake() (*big.Int, error) + func (_Staking *StakingCallerSession) OperatorAuth(arg0 common.Address, arg1 common.Address) (bool, error) + func (_Staking *StakingCallerSession) ProtocolPercentage() (uint32, error) + func (_Staking *StakingCallerSession) Rebates(arg0 *big.Int) (struct{ ... }, error) + func (_Staking *StakingCallerSession) RewardsDestination(arg0 common.Address) (common.Address, error) + func (_Staking *StakingCallerSession) Slashers(arg0 common.Address) (bool, error) + func (_Staking *StakingCallerSession) Stakes(arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingCallerSession) SubgraphAllocations(arg0 [32]byte) (*big.Int, error) + func (_Staking *StakingCallerSession) ThawingPeriod() (uint32, error) + type StakingDelegationParametersUpdated struct + CooldownBlocks uint32 + Indexer common.Address + IndexingRewardCut uint32 + QueryFeeCut uint32 + Raw types.Log + type StakingDelegationParametersUpdatedIterator struct + Event *StakingDelegationParametersUpdated + func (it *StakingDelegationParametersUpdatedIterator) Close() error + func (it *StakingDelegationParametersUpdatedIterator) Error() error + func (it *StakingDelegationParametersUpdatedIterator) Next() bool + type StakingFilterer struct + func NewStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingFilterer, error) + func (_Staking *StakingFilterer) FilterAllocationClosed(opts *bind.FilterOpts, indexer []common.Address, ...) (*StakingAllocationClosedIterator, error) + func (_Staking *StakingFilterer) FilterAllocationCollected(opts *bind.FilterOpts, indexer []common.Address, ...) (*StakingAllocationCollectedIterator, error) + func (_Staking *StakingFilterer) FilterAllocationCreated(opts *bind.FilterOpts, indexer []common.Address, ...) (*StakingAllocationCreatedIterator, error) + func (_Staking *StakingFilterer) FilterAssetHolderUpdate(opts *bind.FilterOpts, caller []common.Address, assetHolder []common.Address) (*StakingAssetHolderUpdateIterator, error) + func (_Staking *StakingFilterer) FilterDelegationParametersUpdated(opts *bind.FilterOpts, indexer []common.Address) (*StakingDelegationParametersUpdatedIterator, error) + func (_Staking *StakingFilterer) FilterParameterUpdated(opts *bind.FilterOpts) (*StakingParameterUpdatedIterator, error) + func (_Staking *StakingFilterer) FilterRebateClaimed(opts *bind.FilterOpts, indexer []common.Address, ...) (*StakingRebateClaimedIterator, error) + func (_Staking *StakingFilterer) FilterSetController(opts *bind.FilterOpts) (*StakingSetControllerIterator, error) + func (_Staking *StakingFilterer) FilterSetOperator(opts *bind.FilterOpts, indexer []common.Address, operator []common.Address) (*StakingSetOperatorIterator, error) + func (_Staking *StakingFilterer) FilterSetRewardsDestination(opts *bind.FilterOpts, indexer []common.Address, destination []common.Address) (*StakingSetRewardsDestinationIterator, error) + func (_Staking *StakingFilterer) FilterSlasherUpdate(opts *bind.FilterOpts, caller []common.Address, slasher []common.Address) (*StakingSlasherUpdateIterator, error) + func (_Staking *StakingFilterer) FilterStakeDelegated(opts *bind.FilterOpts, indexer []common.Address, delegator []common.Address) (*StakingStakeDelegatedIterator, error) + func (_Staking *StakingFilterer) FilterStakeDelegatedLocked(opts *bind.FilterOpts, indexer []common.Address, delegator []common.Address) (*StakingStakeDelegatedLockedIterator, error) + func (_Staking *StakingFilterer) FilterStakeDelegatedWithdrawn(opts *bind.FilterOpts, indexer []common.Address, delegator []common.Address) (*StakingStakeDelegatedWithdrawnIterator, error) + func (_Staking *StakingFilterer) FilterStakeDeposited(opts *bind.FilterOpts, indexer []common.Address) (*StakingStakeDepositedIterator, error) + func (_Staking *StakingFilterer) FilterStakeLocked(opts *bind.FilterOpts, indexer []common.Address) (*StakingStakeLockedIterator, error) + func (_Staking *StakingFilterer) FilterStakeSlashed(opts *bind.FilterOpts, indexer []common.Address) (*StakingStakeSlashedIterator, error) + func (_Staking *StakingFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, indexer []common.Address) (*StakingStakeWithdrawnIterator, error) + func (_Staking *StakingFilterer) ParseAllocationClosed(log types.Log) (*StakingAllocationClosed, error) + func (_Staking *StakingFilterer) ParseAllocationCollected(log types.Log) (*StakingAllocationCollected, error) + func (_Staking *StakingFilterer) ParseAllocationCreated(log types.Log) (*StakingAllocationCreated, error) + func (_Staking *StakingFilterer) ParseAssetHolderUpdate(log types.Log) (*StakingAssetHolderUpdate, error) + func (_Staking *StakingFilterer) ParseDelegationParametersUpdated(log types.Log) (*StakingDelegationParametersUpdated, error) + func (_Staking *StakingFilterer) ParseParameterUpdated(log types.Log) (*StakingParameterUpdated, error) + func (_Staking *StakingFilterer) ParseRebateClaimed(log types.Log) (*StakingRebateClaimed, error) + func (_Staking *StakingFilterer) ParseSetController(log types.Log) (*StakingSetController, error) + func (_Staking *StakingFilterer) ParseSetOperator(log types.Log) (*StakingSetOperator, error) + func (_Staking *StakingFilterer) ParseSetRewardsDestination(log types.Log) (*StakingSetRewardsDestination, error) + func (_Staking *StakingFilterer) ParseSlasherUpdate(log types.Log) (*StakingSlasherUpdate, error) + func (_Staking *StakingFilterer) ParseStakeDelegated(log types.Log) (*StakingStakeDelegated, error) + func (_Staking *StakingFilterer) ParseStakeDelegatedLocked(log types.Log) (*StakingStakeDelegatedLocked, error) + func (_Staking *StakingFilterer) ParseStakeDelegatedWithdrawn(log types.Log) (*StakingStakeDelegatedWithdrawn, error) + func (_Staking *StakingFilterer) ParseStakeDeposited(log types.Log) (*StakingStakeDeposited, error) + func (_Staking *StakingFilterer) ParseStakeLocked(log types.Log) (*StakingStakeLocked, error) + func (_Staking *StakingFilterer) ParseStakeSlashed(log types.Log) (*StakingStakeSlashed, error) + func (_Staking *StakingFilterer) ParseStakeWithdrawn(log types.Log) (*StakingStakeWithdrawn, error) + func (_Staking *StakingFilterer) WatchAllocationClosed(opts *bind.WatchOpts, sink chan<- *StakingAllocationClosed, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchAllocationCollected(opts *bind.WatchOpts, sink chan<- *StakingAllocationCollected, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchAllocationCreated(opts *bind.WatchOpts, sink chan<- *StakingAllocationCreated, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchAssetHolderUpdate(opts *bind.WatchOpts, sink chan<- *StakingAssetHolderUpdate, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchDelegationParametersUpdated(opts *bind.WatchOpts, sink chan<- *StakingDelegationParametersUpdated, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchParameterUpdated(opts *bind.WatchOpts, sink chan<- *StakingParameterUpdated) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchRebateClaimed(opts *bind.WatchOpts, sink chan<- *StakingRebateClaimed, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *StakingSetController) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchSetOperator(opts *bind.WatchOpts, sink chan<- *StakingSetOperator, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchSetRewardsDestination(opts *bind.WatchOpts, sink chan<- *StakingSetRewardsDestination, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchSlasherUpdate(opts *bind.WatchOpts, sink chan<- *StakingSlasherUpdate, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchStakeDelegated(opts *bind.WatchOpts, sink chan<- *StakingStakeDelegated, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchStakeDelegatedLocked(opts *bind.WatchOpts, sink chan<- *StakingStakeDelegatedLocked, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchStakeDelegatedWithdrawn(opts *bind.WatchOpts, sink chan<- *StakingStakeDelegatedWithdrawn, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchStakeDeposited(opts *bind.WatchOpts, sink chan<- *StakingStakeDeposited, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchStakeLocked(opts *bind.WatchOpts, sink chan<- *StakingStakeLocked, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchStakeSlashed(opts *bind.WatchOpts, sink chan<- *StakingStakeSlashed, ...) (event.Subscription, error) + func (_Staking *StakingFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *StakingStakeWithdrawn, ...) (event.Subscription, error) + type StakingParameterUpdated struct + Param string + Raw types.Log + type StakingParameterUpdatedIterator struct + Event *StakingParameterUpdated + func (it *StakingParameterUpdatedIterator) Close() error + func (it *StakingParameterUpdatedIterator) Error() error + func (it *StakingParameterUpdatedIterator) Next() bool + type StakingRaw struct + Contract *Staking + func (_Staking *StakingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Staking *StakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Staking *StakingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type StakingRebateClaimed struct + AllocationID common.Address + DelegationFees *big.Int + Epoch *big.Int + ForEpoch *big.Int + Indexer common.Address + Raw types.Log + SubgraphDeploymentID [32]byte + Tokens *big.Int + UnclaimedAllocationsCount *big.Int + type StakingRebateClaimedIterator struct + Event *StakingRebateClaimed + func (it *StakingRebateClaimedIterator) Close() error + func (it *StakingRebateClaimedIterator) Error() error + func (it *StakingRebateClaimedIterator) Next() bool + type StakingSession struct + CallOpts bind.CallOpts + Contract *Staking + TransactOpts bind.TransactOpts + func (_Staking *StakingSession) AcceptProxy(_proxy common.Address) (*types.Transaction, error) + func (_Staking *StakingSession) AcceptProxyAndCall(_proxy common.Address, _data []byte) (*types.Transaction, error) + func (_Staking *StakingSession) AddressCache(arg0 [32]byte) (common.Address, error) + func (_Staking *StakingSession) Allocate(_subgraphDeploymentID [32]byte, _tokens *big.Int, _allocationID common.Address, ...) (*types.Transaction, error) + func (_Staking *StakingSession) AllocateFrom(_indexer common.Address, _subgraphDeploymentID [32]byte, _tokens *big.Int, ...) (*types.Transaction, error) + func (_Staking *StakingSession) Allocations(arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingSession) AlphaDenominator() (uint32, error) + func (_Staking *StakingSession) AlphaNumerator() (uint32, error) + func (_Staking *StakingSession) AssetHolders(arg0 common.Address) (bool, error) + func (_Staking *StakingSession) ChannelDisputeEpochs() (uint32, error) + func (_Staking *StakingSession) Claim(_allocationID common.Address, _restake bool) (*types.Transaction, error) + func (_Staking *StakingSession) ClaimMany(_allocationID []common.Address, _restake bool) (*types.Transaction, error) + func (_Staking *StakingSession) CloseAllocation(_allocationID common.Address, _poi [32]byte) (*types.Transaction, error) + func (_Staking *StakingSession) CloseAllocationMany(_requests []IStakingCloseAllocationRequest) (*types.Transaction, error) + func (_Staking *StakingSession) CloseAndAllocate(_closingAllocationID common.Address, _poi [32]byte, _indexer common.Address, ...) (*types.Transaction, error) + func (_Staking *StakingSession) Collect(_tokens *big.Int, _allocationID common.Address) (*types.Transaction, error) + func (_Staking *StakingSession) Controller() (common.Address, error) + func (_Staking *StakingSession) CurationPercentage() (uint32, error) + func (_Staking *StakingSession) Delegate(_indexer common.Address, _tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingSession) DelegationParametersCooldown() (uint32, error) + func (_Staking *StakingSession) DelegationPools(arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingSession) DelegationRatio() (uint32, error) + func (_Staking *StakingSession) DelegationTaxPercentage() (uint32, error) + func (_Staking *StakingSession) DelegationUnbondingPeriod() (uint32, error) + func (_Staking *StakingSession) GetAllocation(_allocationID common.Address) (IStakingDataAllocation, error) + func (_Staking *StakingSession) GetAllocationState(_allocationID common.Address) (uint8, error) + func (_Staking *StakingSession) GetDelegation(_indexer common.Address, _delegator common.Address) (IStakingDataDelegation, error) + func (_Staking *StakingSession) GetIndexerCapacity(_indexer common.Address) (*big.Int, error) + func (_Staking *StakingSession) GetIndexerStakedTokens(_indexer common.Address) (*big.Int, error) + func (_Staking *StakingSession) GetSubgraphAllocatedTokens(_subgraphDeploymentID [32]byte) (*big.Int, error) + func (_Staking *StakingSession) GetWithdraweableDelegatedTokens(_delegation IStakingDataDelegation) (*big.Int, error) + func (_Staking *StakingSession) HasStake(_indexer common.Address) (bool, error) + func (_Staking *StakingSession) Initialize(_controller common.Address, _minimumIndexerStake *big.Int, ...) (*types.Transaction, error) + func (_Staking *StakingSession) IsAllocation(_allocationID common.Address) (bool, error) + func (_Staking *StakingSession) IsDelegator(_indexer common.Address, _delegator common.Address) (bool, error) + func (_Staking *StakingSession) IsOperator(_operator common.Address, _indexer common.Address) (bool, error) + func (_Staking *StakingSession) MaxAllocationEpochs() (uint32, error) + func (_Staking *StakingSession) MinimumIndexerStake() (*big.Int, error) + func (_Staking *StakingSession) OperatorAuth(arg0 common.Address, arg1 common.Address) (bool, error) + func (_Staking *StakingSession) ProtocolPercentage() (uint32, error) + func (_Staking *StakingSession) Rebates(arg0 *big.Int) (struct{ ... }, error) + func (_Staking *StakingSession) RewardsDestination(arg0 common.Address) (common.Address, error) + func (_Staking *StakingSession) SetAssetHolder(_assetHolder common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingSession) SetChannelDisputeEpochs(_channelDisputeEpochs uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetController(_controller common.Address) (*types.Transaction, error) + func (_Staking *StakingSession) SetCurationPercentage(_percentage uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetDelegationParameters(_indexingRewardCut uint32, _queryFeeCut uint32, _cooldownBlocks uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetDelegationParametersCooldown(_blocks uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetDelegationRatio(_delegationRatio uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetDelegationTaxPercentage(_percentage uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetDelegationUnbondingPeriod(_delegationUnbondingPeriod uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetMaxAllocationEpochs(_maxAllocationEpochs uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetMinimumIndexerStake(_minimumIndexerStake *big.Int) (*types.Transaction, error) + func (_Staking *StakingSession) SetOperator(_operator common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingSession) SetProtocolPercentage(_percentage uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetRebateRatio(_alphaNumerator uint32, _alphaDenominator uint32) (*types.Transaction, error) + func (_Staking *StakingSession) SetRewardsDestination(_destination common.Address) (*types.Transaction, error) + func (_Staking *StakingSession) SetSlasher(_slasher common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingSession) SetThawingPeriod(_thawingPeriod uint32) (*types.Transaction, error) + func (_Staking *StakingSession) Slash(_indexer common.Address, _tokens *big.Int, _reward *big.Int, ...) (*types.Transaction, error) + func (_Staking *StakingSession) Slashers(arg0 common.Address) (bool, error) + func (_Staking *StakingSession) Stake(_tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingSession) StakeTo(_indexer common.Address, _tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingSession) Stakes(arg0 common.Address) (struct{ ... }, error) + func (_Staking *StakingSession) SubgraphAllocations(arg0 [32]byte) (*big.Int, error) + func (_Staking *StakingSession) ThawingPeriod() (uint32, error) + func (_Staking *StakingSession) Undelegate(_indexer common.Address, _shares *big.Int) (*types.Transaction, error) + func (_Staking *StakingSession) Unstake(_tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingSession) Withdraw() (*types.Transaction, error) + func (_Staking *StakingSession) WithdrawDelegated(_indexer common.Address, _delegateToIndexer common.Address) (*types.Transaction, error) + type StakingSetController struct + Controller common.Address + Raw types.Log + type StakingSetControllerIterator struct + Event *StakingSetController + func (it *StakingSetControllerIterator) Close() error + func (it *StakingSetControllerIterator) Error() error + func (it *StakingSetControllerIterator) Next() bool + type StakingSetOperator struct + Allowed bool + Indexer common.Address + Operator common.Address + Raw types.Log + type StakingSetOperatorIterator struct + Event *StakingSetOperator + func (it *StakingSetOperatorIterator) Close() error + func (it *StakingSetOperatorIterator) Error() error + func (it *StakingSetOperatorIterator) Next() bool + type StakingSetRewardsDestination struct + Destination common.Address + Indexer common.Address + Raw types.Log + type StakingSetRewardsDestinationIterator struct + Event *StakingSetRewardsDestination + func (it *StakingSetRewardsDestinationIterator) Close() error + func (it *StakingSetRewardsDestinationIterator) Error() error + func (it *StakingSetRewardsDestinationIterator) Next() bool + type StakingSlasherUpdate struct + Allowed bool + Caller common.Address + Raw types.Log + Slasher common.Address + type StakingSlasherUpdateIterator struct + Event *StakingSlasherUpdate + func (it *StakingSlasherUpdateIterator) Close() error + func (it *StakingSlasherUpdateIterator) Error() error + func (it *StakingSlasherUpdateIterator) Next() bool + type StakingStakeDelegated struct + Delegator common.Address + Indexer common.Address + Raw types.Log + Shares *big.Int + Tokens *big.Int + type StakingStakeDelegatedIterator struct + Event *StakingStakeDelegated + func (it *StakingStakeDelegatedIterator) Close() error + func (it *StakingStakeDelegatedIterator) Error() error + func (it *StakingStakeDelegatedIterator) Next() bool + type StakingStakeDelegatedLocked struct + Delegator common.Address + Indexer common.Address + Raw types.Log + Shares *big.Int + Tokens *big.Int + Until *big.Int + type StakingStakeDelegatedLockedIterator struct + Event *StakingStakeDelegatedLocked + func (it *StakingStakeDelegatedLockedIterator) Close() error + func (it *StakingStakeDelegatedLockedIterator) Error() error + func (it *StakingStakeDelegatedLockedIterator) Next() bool + type StakingStakeDelegatedWithdrawn struct + Delegator common.Address + Indexer common.Address + Raw types.Log + Tokens *big.Int + type StakingStakeDelegatedWithdrawnIterator struct + Event *StakingStakeDelegatedWithdrawn + func (it *StakingStakeDelegatedWithdrawnIterator) Close() error + func (it *StakingStakeDelegatedWithdrawnIterator) Error() error + func (it *StakingStakeDelegatedWithdrawnIterator) Next() bool + type StakingStakeDeposited struct + Indexer common.Address + Raw types.Log + Tokens *big.Int + type StakingStakeDepositedIterator struct + Event *StakingStakeDeposited + func (it *StakingStakeDepositedIterator) Close() error + func (it *StakingStakeDepositedIterator) Error() error + func (it *StakingStakeDepositedIterator) Next() bool + type StakingStakeLocked struct + Indexer common.Address + Raw types.Log + Tokens *big.Int + Until *big.Int + type StakingStakeLockedIterator struct + Event *StakingStakeLocked + func (it *StakingStakeLockedIterator) Close() error + func (it *StakingStakeLockedIterator) Error() error + func (it *StakingStakeLockedIterator) Next() bool + type StakingStakeSlashed struct + Beneficiary common.Address + Indexer common.Address + Raw types.Log + Reward *big.Int + Tokens *big.Int + type StakingStakeSlashedIterator struct + Event *StakingStakeSlashed + func (it *StakingStakeSlashedIterator) Close() error + func (it *StakingStakeSlashedIterator) Error() error + func (it *StakingStakeSlashedIterator) Next() bool + type StakingStakeWithdrawn struct + Indexer common.Address + Raw types.Log + Tokens *big.Int + type StakingStakeWithdrawnIterator struct + Event *StakingStakeWithdrawn + func (it *StakingStakeWithdrawnIterator) Close() error + func (it *StakingStakeWithdrawnIterator) Error() error + func (it *StakingStakeWithdrawnIterator) Next() bool + type StakingTransactor struct + func NewStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTransactor, error) + func (_Staking *StakingTransactor) AcceptProxy(opts *bind.TransactOpts, _proxy common.Address) (*types.Transaction, error) + func (_Staking *StakingTransactor) AcceptProxyAndCall(opts *bind.TransactOpts, _proxy common.Address, _data []byte) (*types.Transaction, error) + func (_Staking *StakingTransactor) Allocate(opts *bind.TransactOpts, _subgraphDeploymentID [32]byte, _tokens *big.Int, ...) (*types.Transaction, error) + func (_Staking *StakingTransactor) AllocateFrom(opts *bind.TransactOpts, _indexer common.Address, ...) (*types.Transaction, error) + func (_Staking *StakingTransactor) Claim(opts *bind.TransactOpts, _allocationID common.Address, _restake bool) (*types.Transaction, error) + func (_Staking *StakingTransactor) ClaimMany(opts *bind.TransactOpts, _allocationID []common.Address, _restake bool) (*types.Transaction, error) + func (_Staking *StakingTransactor) CloseAllocation(opts *bind.TransactOpts, _allocationID common.Address, _poi [32]byte) (*types.Transaction, error) + func (_Staking *StakingTransactor) CloseAllocationMany(opts *bind.TransactOpts, _requests []IStakingCloseAllocationRequest) (*types.Transaction, error) + func (_Staking *StakingTransactor) CloseAndAllocate(opts *bind.TransactOpts, _closingAllocationID common.Address, _poi [32]byte, ...) (*types.Transaction, error) + func (_Staking *StakingTransactor) Collect(opts *bind.TransactOpts, _tokens *big.Int, _allocationID common.Address) (*types.Transaction, error) + func (_Staking *StakingTransactor) Delegate(opts *bind.TransactOpts, _indexer common.Address, _tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactor) Initialize(opts *bind.TransactOpts, _controller common.Address, ...) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetAssetHolder(opts *bind.TransactOpts, _assetHolder common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetChannelDisputeEpochs(opts *bind.TransactOpts, _channelDisputeEpochs uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetCurationPercentage(opts *bind.TransactOpts, _percentage uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetDelegationParameters(opts *bind.TransactOpts, _indexingRewardCut uint32, _queryFeeCut uint32, ...) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetDelegationParametersCooldown(opts *bind.TransactOpts, _blocks uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetDelegationRatio(opts *bind.TransactOpts, _delegationRatio uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetDelegationTaxPercentage(opts *bind.TransactOpts, _percentage uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetDelegationUnbondingPeriod(opts *bind.TransactOpts, _delegationUnbondingPeriod uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetMaxAllocationEpochs(opts *bind.TransactOpts, _maxAllocationEpochs uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetMinimumIndexerStake(opts *bind.TransactOpts, _minimumIndexerStake *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetOperator(opts *bind.TransactOpts, _operator common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetProtocolPercentage(opts *bind.TransactOpts, _percentage uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetRebateRatio(opts *bind.TransactOpts, _alphaNumerator uint32, _alphaDenominator uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetRewardsDestination(opts *bind.TransactOpts, _destination common.Address) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetSlasher(opts *bind.TransactOpts, _slasher common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingTransactor) SetThawingPeriod(opts *bind.TransactOpts, _thawingPeriod uint32) (*types.Transaction, error) + func (_Staking *StakingTransactor) Slash(opts *bind.TransactOpts, _indexer common.Address, _tokens *big.Int, ...) (*types.Transaction, error) + func (_Staking *StakingTransactor) Stake(opts *bind.TransactOpts, _tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactor) StakeTo(opts *bind.TransactOpts, _indexer common.Address, _tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactor) Undelegate(opts *bind.TransactOpts, _indexer common.Address, _shares *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactor) Unstake(opts *bind.TransactOpts, _tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Staking *StakingTransactor) WithdrawDelegated(opts *bind.TransactOpts, _indexer common.Address, ...) (*types.Transaction, error) + type StakingTransactorRaw struct + Contract *StakingTransactor + func (_Staking *StakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Staking *StakingTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type StakingTransactorSession struct + Contract *StakingTransactor + TransactOpts bind.TransactOpts + func (_Staking *StakingTransactorSession) AcceptProxy(_proxy common.Address) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) AcceptProxyAndCall(_proxy common.Address, _data []byte) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Allocate(_subgraphDeploymentID [32]byte, _tokens *big.Int, _allocationID common.Address, ...) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) AllocateFrom(_indexer common.Address, _subgraphDeploymentID [32]byte, _tokens *big.Int, ...) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Claim(_allocationID common.Address, _restake bool) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) ClaimMany(_allocationID []common.Address, _restake bool) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) CloseAllocation(_allocationID common.Address, _poi [32]byte) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) CloseAllocationMany(_requests []IStakingCloseAllocationRequest) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) CloseAndAllocate(_closingAllocationID common.Address, _poi [32]byte, _indexer common.Address, ...) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Collect(_tokens *big.Int, _allocationID common.Address) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Delegate(_indexer common.Address, _tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Initialize(_controller common.Address, _minimumIndexerStake *big.Int, ...) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetAssetHolder(_assetHolder common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetChannelDisputeEpochs(_channelDisputeEpochs uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetController(_controller common.Address) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetCurationPercentage(_percentage uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetDelegationParameters(_indexingRewardCut uint32, _queryFeeCut uint32, _cooldownBlocks uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetDelegationParametersCooldown(_blocks uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetDelegationRatio(_delegationRatio uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetDelegationTaxPercentage(_percentage uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetDelegationUnbondingPeriod(_delegationUnbondingPeriod uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetMaxAllocationEpochs(_maxAllocationEpochs uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetMinimumIndexerStake(_minimumIndexerStake *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetOperator(_operator common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetProtocolPercentage(_percentage uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetRebateRatio(_alphaNumerator uint32, _alphaDenominator uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetRewardsDestination(_destination common.Address) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetSlasher(_slasher common.Address, _allowed bool) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) SetThawingPeriod(_thawingPeriod uint32) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Slash(_indexer common.Address, _tokens *big.Int, _reward *big.Int, ...) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Stake(_tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) StakeTo(_indexer common.Address, _tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Undelegate(_indexer common.Address, _shares *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Unstake(_tokens *big.Int) (*types.Transaction, error) + func (_Staking *StakingTransactorSession) Withdraw() (*types.Transaction, error) + func (_Staking *StakingTransactorSession) WithdrawDelegated(_indexer common.Address, _delegateToIndexer common.Address) (*types.Transaction, error)