-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from cheungringo/balancer-stable-pool-events
add balancer stable pool events
- Loading branch information
Showing
13 changed files
with
559 additions
and
0 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
...ces/stages/parse/table_definitions/balancer/V2_MetaStablePool_event_AmpUpdateStarted.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...ces/stages/parse/table_definitions/balancer/V2_MetaStablePool_event_AmpUpdateStopped.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...s/resources/stages/parse/table_definitions/balancer/V2_MetaStablePool_event_Approval.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...stages/parse/table_definitions/balancer/V2_MetaStablePool_event_OracleEnabledChanged.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...s/stages/parse/table_definitions/balancer/V2_MetaStablePool_event_PausedStateChanged.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...tages/parse/table_definitions/balancer/V2_MetaStablePool_event_PriceRateCacheUpdated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...stages/parse/table_definitions/balancer/V2_MetaStablePool_event_PriceRateProviderSet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...es/parse/table_definitions/balancer/V2_MetaStablePool_event_SwapFeePercentageChanged.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
Oops, something went wrong.