Closed bvotteler closed 5 months ago
Sample output (updated):
{
// ...
"wd7svyXhyKPao4yxmQNYaUq24W6LfWNLYtGuWqNXmEiGzCRCo": {
"DOT": "251157228793"
},
"wdCwNZeeibBLnGbAXtNMbYX1C77mJMn67bLhYJtcbeBobGnLw": {
"VDOT": "11185015028811"
},
"wd9Dd4BVQP57Mth44TG6BWcU9HiakoppsSnZRCCc8ttmJe2Un": {
"DOT": "20000000000000",
"VDOT": "20000000000000"
},
// ...
}
Attaching full output from running for blockhash 0xb541ad774ba9e8d35d9551a3b6580e813990cd17abe1d8dcc1bde3a0d6f43348
:
output-0xb541ad774ba9e8d35d9551a3b6580e813990cd17abe1d8dcc1bde3a0d6f43348.json
More detailed data, with separated reserved (eg. vault collateral) amounts from amounts locked in lending can be found here: raw-output-0xb541ad774ba9e8d35d9551a3b6580e813990cd17abe1d8dcc1bde3a0d6f43348.json
A script to gather locked balances for vaults and lending protocol via reserved amounts in
tokens.account
.Usage: From project root
Options:
To run specifically for the last block on March 31, 2024 (UTC)
The blockhash is
0xb541ad774ba9e8d35d9551a3b6580e813990cd17abe1d8dcc1bde3a0d6f43348
From the project's root, run it with the hash:
The output file (
output-<hash>.json
) will have entries as follows: