Snapshot strategy
To get started, in order to add a Snapshot strategy to your Staking Pool, you need to prepare the ABI code.
1
{
2
"address": "your_staking_pool_address",
3
"symbol": "your_staking_pool_symbol",
4
"decimals": 18,
5
"methodABI": {
6
"name": "voterBalance",
7
"type": "function",
8
"inputs": [ { "name": "account", "type": "address", "internalType": "address" } ],
9
"outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ],
10
"stateMutability": "view"
11
}
12
}
Replace the values of the following fields:
- symbol - a symbol that will represent your ve staking pool. e.g. veJELLY
- address - an address of your Staking Pool
Go to the settings of your snapshot space, click Add strategy, and enter "contract-call" into the search form:

Next, open the contract-call strategy and select the network where your Staking Pool is deployed:

Replace the current code with the ABI code that you have prepared above and save the strategy:

Save the settings on the right side of the settings:

Now you can use this strategy in your snapshot.
Last modified 3mo ago