-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Swell Vault Factory, Vault Event Logs (#772)
- Loading branch information
1 parent
d0e23df
commit 5ba6861
Showing
28 changed files
with
1,124 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
dags/resources/stages/parse/table_definitions/swell/YearnV3Vault_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,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 vault_address FROM ref('YearnVaultFactory_event_NewVault')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "swell", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "owner", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "spender", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "value", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "YearnV3Vault_event_Approval" | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
dags/resources/stages/parse/table_definitions/swell/YearnV3Vault_event_DebtPurchased.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,41 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "strategy", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "DebtPurchased", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT vault_address FROM ref('YearnVaultFactory_event_NewVault')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "swell", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "strategy", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "YearnV3Vault_event_DebtPurchased" | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
dags/resources/stages/parse/table_definitions/swell/YearnV3Vault_event_DebtUpdated.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,51 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "strategy", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "current_debt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "new_debt", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "DebtUpdated", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT vault_address FROM ref('YearnVaultFactory_event_NewVault')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "swell", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "strategy", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "current_debt", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "new_debt", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "YearnV3Vault_event_DebtUpdated" | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
dags/resources/stages/parse/table_definitions/swell/YearnV3Vault_event_Deposit.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,61 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "sender", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "owner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "assets", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "shares", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Deposit", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT vault_address FROM ref('YearnVaultFactory_event_NewVault')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "swell", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "sender", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "owner", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "assets", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "shares", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "YearnV3Vault_event_Deposit" | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
dags/resources/stages/parse/table_definitions/swell/YearnV3Vault_event_RoleSet.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,41 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "account", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "role", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "RoleSet", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT vault_address FROM ref('YearnVaultFactory_event_NewVault')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "swell", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "account", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "role", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "YearnV3Vault_event_RoleSet" | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
dags/resources/stages/parse/table_definitions/swell/YearnV3Vault_event_Shutdown.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,19 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [], | ||
"name": "Shutdown", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT vault_address FROM ref('YearnVaultFactory_event_NewVault')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "swell", | ||
"schema": [], | ||
"table_description": "", | ||
"table_name": "YearnV3Vault_event_Shutdown" | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
dags/resources/stages/parse/table_definitions/swell/YearnV3Vault_event_StrategyChanged.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,41 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "strategy", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "change_type", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "StrategyChanged", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT vault_address FROM ref('YearnVaultFactory_event_NewVault')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "swell", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "strategy", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "change_type", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "YearnV3Vault_event_StrategyChanged" | ||
} | ||
} |
Oops, something went wrong.