L1Staking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0000…0000
-
variable spans 9 additional slots
9 additional
variables
Balances ($0.00)
No balances found for "L1Staking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "L1Staking"
ABI
ABI objects
Getter at block 20793850
controller() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAllocation(address _allocationID) view returns (struct IStakingDataAllocation)
getAllocationState(address _allocationID) view returns (uint8)
getIndexerCapacity(address _indexer) view returns (uint256)
getIndexerStakedTokens(address _indexer) view returns (uint256)
getSubgraphAllocatedTokens(bytes32 _subgraphDeploymentID) view returns (uint256)
hasStake(address _indexer) view returns (bool)
indexerTransferredToL2(address) view returns (address)
isAllocation(address _allocationID) view returns (bool)
isOperator(address _operator, address _indexer) view returns (bool)
State-modifying
Events acceptProxy(address _proxy)
acceptProxyAndCall(address _proxy, bytes _data)
allocate(bytes32 _subgraphDeploymentID, uint256 _tokens, address _allocationID, bytes32 _metadata, bytes _proof)
allocateFrom(address _indexer, bytes32 _subgraphDeploymentID, uint256 _tokens, address _allocationID, bytes32 _metadata, bytes _proof)
closeAllocation(address _allocationID, bytes32 _poi)
collect(uint256 _tokens, address _allocationID)
initialize(address _controller, uint256 _minimumIndexerStake, uint32 _thawingPeriod, uint32 _protocolPercentage, uint32 _curationPercentage, uint32 _maxAllocationEpochs, uint32 _delegationUnbondingPeriod, uint32 _delegationRatio, struct IStakingDataRebatesParameters _rebatesParameters, address _extensionImpl)
multicall(bytes[] data) returns (bytes[] results)
setAssetHolder(address _assetHolder, bool _allowed)
setController(address _controller)
setCounterpartStakingAddress(address _counterpart)
setCurationPercentage(uint32 _percentage)
setDelegationParameters(uint32 _indexingRewardCut, uint32 _queryFeeCut, uint32 _cooldownBlocks)
setExtensionImpl(address _extensionImpl)
setL1GraphTokenLockTransferTool(address _l1GraphTokenLockTransferTool)
setMaxAllocationEpochs(uint32 _maxAllocationEpochs)
setMinimumIndexerStake(uint256 _minimumIndexerStake)
setOperator(address _operator, bool _allowed)
setProtocolPercentage(uint32 _percentage)
setRebateParameters(uint32 _alphaNumerator, uint32 _alphaDenominator, uint32 _lambdaNumerator, uint32 _lambdaDenominator)
setRewardsDestination(address _destination)
setThawingPeriod(uint32 _thawingPeriod)
stake(uint256 _tokens)
stakeTo(address _indexer, uint256 _tokens)
syncAllContracts()
transferDelegationToL2(address _indexer, address _l2Beneficiary, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost) payable
transferLockedDelegationToL2(address _indexer, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost)
transferLockedStakeToL2(uint256 _amount, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost)
transferStakeToL2(address _l2Beneficiary, uint256 _amount, uint256 _maxGas, uint256 _gasPriceBid, uint256 _maxSubmissionCost) payable
unlockDelegationToTransferredIndexer(address _indexer)
unstake(uint256 _tokens)
withdraw()
AllocationClosed(address indexed indexer, bytes32 indexed subgraphDeploymentID, uint256 epoch, uint256 tokens, address indexed allocationID, address sender, bytes32 poi, bool isPublic)
AllocationCreated(address indexed indexer, bytes32 indexed subgraphDeploymentID, uint256 epoch, uint256 tokens, address indexed allocationID, bytes32 metadata)
AssetHolderUpdate(address indexed caller, address indexed assetHolder, bool allowed)
ContractSynced(bytes32 indexed nameHash, address contractAddress)
DelegationParametersUpdated(address indexed indexer, uint32 indexingRewardCut, uint32 queryFeeCut, uint32 cooldownBlocks)
DelegationTransferredToL2(address indexed delegator, address indexed l2Delegator, address indexed indexer, address l2Indexer, uint256 transferredDelegationTokens)
ExtensionImplementationSet(address indexed extensionImpl)
IndexerStakeTransferredToL2(address indexed indexer, address indexed l2Indexer, uint256 transferredStakeTokens)
L1GraphTokenLockTransferToolSet(address l1GraphTokenLockTransferTool)
ParameterUpdated(string param)
RebateCollected(address assetHolder, address indexed indexer, bytes32 indexed subgraphDeploymentID, address indexed allocationID, uint256 epoch, uint256 tokens, uint256 protocolTax, uint256 curationFees, uint256 queryFees, uint256 queryRebates, uint256 delegationRewards)
SetController(address controller)
SetOperator(address indexed indexer, address indexed operator, bool allowed)
SetRewardsDestination(address indexed indexer, address indexed destination)
StakeDelegatedUnlockedDueToL2Transfer(address indexed indexer, address indexed delegator)
StakeDeposited(address indexed indexer, uint256 tokens)
StakeLocked(address indexed indexer, uint256 tokens, uint256 until)
StakeWithdrawn(address indexed indexer, uint256 tokens)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.