Skip to content

Commit

Permalink
Add Swell Vault Factory, Vault Event Logs (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
qshao-gauntlet authored Aug 15, 2024
1 parent d0e23df commit 5ba6861
Show file tree
Hide file tree
Showing 28 changed files with 1,124 additions and 0 deletions.
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"
}
}
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"
}
}
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"
}
}
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"
}
}
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"
}
}
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"
}
}
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"
}
}
Loading

0 comments on commit 5ba6861

Please sign in to comment.