Skip to content

Commit

Permalink
add balancer v2 gauge events (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
zigzag2002 authored May 20, 2024
1 parent 03185bd commit 4cad0fc
Show file tree
Hide file tree
Showing 8 changed files with 359 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "gauge",
"type": "address"
}
],
"name": "GaugeCreated",
"type": "event"
},
"contract_address": "0xf1665e19bc105be4edd3739f88315cc699cc5b65",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "gauge",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_LiquidityGaugeFactory_event_GaugeCreated"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
"contract_address": "SELECT gauge FROM ref('V2_LiquidityGaugeFactory_event_GaugeCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "_owner",
"type": "STRING"
},
{
"description": "",
"name": "_spender",
"type": "STRING"
},
{
"description": "",
"name": "_value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_LiquidityGaugeV5_event_Approval"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "provider",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Deposit",
"type": "event"
},
"contract_address": "SELECT gauge FROM ref('V2_LiquidityGaugeFactory_event_GaugeCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "provider",
"type": "STRING"
},
{
"description": "",
"name": "value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_LiquidityGaugeV5_event_Deposit"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "new_relative_weight_cap",
"type": "uint256"
}
],
"name": "RelativeWeightCapChanged",
"type": "event"
},
"contract_address": "SELECT gauge FROM ref('V2_LiquidityGaugeFactory_event_GaugeCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "new_relative_weight_cap",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_LiquidityGaugeV5_event_RelativeWeightCapChanged"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "reward_token",
"type": "address"
},
{
"indexed": false,
"name": "distributor",
"type": "address"
}
],
"name": "RewardDistributorUpdated",
"type": "event"
},
"contract_address": "SELECT gauge FROM ref('V2_LiquidityGaugeFactory_event_GaugeCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "reward_token",
"type": "STRING"
},
{
"description": "",
"name": "distributor",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_LiquidityGaugeV5_event_RewardDistributorUpdated"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_from",
"type": "address"
},
{
"indexed": true,
"name": "_to",
"type": "address"
},
{
"indexed": false,
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
"contract_address": "SELECT gauge FROM ref('V2_LiquidityGaugeFactory_event_GaugeCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "_from",
"type": "STRING"
},
{
"description": "",
"name": "_to",
"type": "STRING"
},
{
"description": "",
"name": "_value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_LiquidityGaugeV5_event_Transfer"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "user",
"type": "address"
},
{
"indexed": false,
"name": "original_balance",
"type": "uint256"
},
{
"indexed": false,
"name": "original_supply",
"type": "uint256"
},
{
"indexed": false,
"name": "working_balance",
"type": "uint256"
},
{
"indexed": false,
"name": "working_supply",
"type": "uint256"
}
],
"name": "UpdateLiquidityLimit",
"type": "event"
},
"contract_address": "SELECT gauge FROM ref('V2_LiquidityGaugeFactory_event_GaugeCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "user",
"type": "STRING"
},
{
"description": "",
"name": "original_balance",
"type": "STRING"
},
{
"description": "",
"name": "original_supply",
"type": "STRING"
},
{
"description": "",
"name": "working_balance",
"type": "STRING"
},
{
"description": "",
"name": "working_supply",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_LiquidityGaugeV5_event_UpdateLiquidityLimit"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "provider",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Withdraw",
"type": "event"
},
"contract_address": "SELECT gauge FROM ref('V2_LiquidityGaugeFactory_event_GaugeCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "provider",
"type": "STRING"
},
{
"description": "",
"name": "value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_LiquidityGaugeV5_event_Withdraw"
}
}

0 comments on commit 4cad0fc

Please sign in to comment.