Skip to content

Commit

Permalink
Merge pull request #158 from cheungringo/balancer-stable-pool-events
Browse files Browse the repository at this point in the history
add balancer stable pool events
  • Loading branch information
kome12 committed Jun 5, 2023
2 parents 28c2e53 + 4fe53ac commit 2022b81
Show file tree
Hide file tree
Showing 13 changed files with 559 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "startValue",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "endValue",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "startTime",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "endTime",
"type": "uint256"
}
],
"name": "AmpUpdateStarted",
"type": "event"
},
"contract_address": "SELECT pool FROM ref('V2_MetaStablePoolFactory_event_PoolCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "startValue",
"type": "STRING"
},
{
"description": "",
"name": "endValue",
"type": "STRING"
},
{
"description": "",
"name": "startTime",
"type": "STRING"
},
{
"description": "",
"name": "endTime",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_MetaStablePool_event_AmpUpdateStarted"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "currentValue",
"type": "uint256"
}
],
"name": "AmpUpdateStopped",
"type": "event"
},
"contract_address": "SELECT pool FROM ref('V2_MetaStablePoolFactory_event_PoolCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "currentValue",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_MetaStablePool_event_AmpUpdateStopped"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
"contract_address": "SELECT pool FROM ref('V2_MetaStablePoolFactory_event_PoolCreated')",
"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_MetaStablePool_event_Approval"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "enabled",
"type": "bool"
}
],
"name": "OracleEnabledChanged",
"type": "event"
},
"contract_address": "SELECT pool FROM ref('V2_MetaStablePoolFactory_event_PoolCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "enabled",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_MetaStablePool_event_OracleEnabledChanged"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "paused",
"type": "bool"
}
],
"name": "PausedStateChanged",
"type": "event"
},
"contract_address": "SELECT pool FROM ref('V2_MetaStablePoolFactory_event_PoolCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "paused",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_MetaStablePool_event_PausedStateChanged"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "contract IERC20",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "rate",
"type": "uint256"
}
],
"name": "PriceRateCacheUpdated",
"type": "event"
},
"contract_address": "SELECT pool FROM ref('V2_MetaStablePoolFactory_event_PoolCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "token",
"type": "STRING"
},
{
"description": "",
"name": "rate",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_MetaStablePool_event_PriceRateCacheUpdated"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "contract IERC20",
"name": "token",
"type": "address"
},
{
"indexed": true,
"internalType": "contract IRateProvider",
"name": "provider",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "cacheDuration",
"type": "uint256"
}
],
"name": "PriceRateProviderSet",
"type": "event"
},
"contract_address": "SELECT pool FROM ref('V2_MetaStablePoolFactory_event_PoolCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "token",
"type": "STRING"
},
{
"description": "",
"name": "provider",
"type": "STRING"
},
{
"description": "",
"name": "cacheDuration",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_MetaStablePool_event_PriceRateProviderSet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "swapFeePercentage",
"type": "uint256"
}
],
"name": "SwapFeePercentageChanged",
"type": "event"
},
"contract_address": "SELECT pool FROM ref('V2_MetaStablePoolFactory_event_PoolCreated')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "balancer",
"schema": [
{
"description": "",
"name": "swapFeePercentage",
"type": "STRING"
}
],
"table_description": "",
"table_name": "V2_MetaStablePool_event_SwapFeePercentageChanged"
}
}
Loading

0 comments on commit 2022b81

Please sign in to comment.