Skip to content

Commit

Permalink
feat(#minor); Curve Finance ETH; Address spike in TVL and missing vol…
Browse files Browse the repository at this point in the history
…ume for few pools (#2526)

Co-authored-by: Chris Steege <[email protected]>
  • Loading branch information
harsh9200 and steegecs authored Apr 22, 2024
1 parent b168bb9 commit 7fe2d0b
Show file tree
Hide file tree
Showing 7 changed files with 3,311 additions and 2,804 deletions.
2 changes: 1 addition & 1 deletion deployment/deployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,7 @@
"status": "prod",
"versions": {
"schema": "1.3.0",
"subgraph": "1.0.3",
"subgraph": "1.1.3",
"methodology": "1.0.0"
},
"files": {
Expand Down
39 changes: 39 additions & 0 deletions subgraphs/curve-finance/abis/Pool.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@
"anonymous": false,
"type": "event"
},
{
"name": "TokenExchange",
"inputs": [
{ "name": "buyer", "type": "address", "indexed": true },
{ "name": "sold_id", "type": "uint256", "indexed": false },
{ "name": "tokens_sold", "type": "uint256", "indexed": false },
{ "name": "bought_id", "type": "uint256", "indexed": false },
{ "name": "tokens_bought", "type": "uint256", "indexed": false },
{ "name": "fee", "type": "uint256", "indexed": false },
{ "name": "packed_price_scale", "type": "uint256", "indexed": false }
],
"anonymous": false,
"type": "event"
},
{
"name": "TokenExchange",
"inputs": [
Expand Down Expand Up @@ -93,6 +107,18 @@
"anonymous": false,
"type": "event"
},
{
"name": "AddLiquidity",
"inputs": [
{ "name": "provider", "type": "address", "indexed": true },
{ "name": "token_amounts", "type": "uint256[3]", "indexed": false },
{ "name": "fee", "type": "uint256", "indexed": false },
{ "name": "token_supply", "type": "uint256", "indexed": false },
{ "name": "packed_price_scale", "type": "uint256", "indexed": false }
],
"anonymous": false,
"type": "event"
},
{
"name": "RemoveLiquidity",
"inputs": [
Expand Down Expand Up @@ -167,6 +193,19 @@
"anonymous": false,
"type": "event"
},
{
"name": "RemoveLiquidityOne",
"inputs": [
{ "name": "provider", "type": "address", "indexed": true },
{ "name": "token_amount", "type": "uint256", "indexed": false },
{ "name": "coin_index", "type": "uint256", "indexed": false },
{ "name": "coin_amount", "type": "uint256", "indexed": false },
{ "name": "approx_fee", "type": "uint256", "indexed": false },
{ "name": "packed_price_scale", "type": "uint256", "indexed": false }
],
"anonymous": false,
"type": "event"
},
{
"name": "RemoveLiquidityImbalance",
"inputs": [
Expand Down
Loading

0 comments on commit 7fe2d0b

Please sign in to comment.