Skip to content

Commit

Permalink
evault (nansen-ai#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
katiebk authored Jan 14, 2025
1 parent 2ff2f0e commit 57f6962
Show file tree
Hide file tree
Showing 24 changed files with 1,219 additions and 0 deletions.
54 changes: 54 additions & 0 deletions parse/table_definitions_base/euler_v2/EVault_event_Approval.json
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 proxy FROM ref('GenericFactory_event_ProxyCreated') WHERE implementation = '0x30a9a9654804f1e5b3291a86e83eded7cf281618'",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "euler_v2",
"schema": [
{
"description": "",
"name": "owner",
"type": "STRING"
},
{
"description": "",
"name": "spender",
"type": "STRING"
},
{
"description": "",
"name": "value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "EVault_event_Approval"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "status",
"type": "bool"
}
],
"name": "BalanceForwarderStatus",
"type": "event"
},
"contract_address": "SELECT proxy FROM ref('GenericFactory_event_ProxyCreated') WHERE implementation = '0x30a9a9654804f1e5b3291a86e83eded7cf281618'",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "euler_v2",
"schema": [
{
"description": "",
"name": "account",
"type": "STRING"
},
{
"description": "",
"name": "status",
"type": "STRING"
}
],
"table_description": "",
"table_name": "EVault_event_BalanceForwarderStatus"
}
}
43 changes: 43 additions & 0 deletions parse/table_definitions_base/euler_v2/EVault_event_Borrow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"name": "Borrow",
"type": "event"
},
"contract_address": "SELECT proxy FROM ref('GenericFactory_event_ProxyCreated') WHERE implementation = '0x30a9a9654804f1e5b3291a86e83eded7cf281618'",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "euler_v2",
"schema": [
{
"description": "",
"name": "account",
"type": "STRING"
},
{
"description": "",
"name": "assets",
"type": "STRING"
}
],
"table_description": "",
"table_name": "EVault_event_Borrow"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "protocolReceiver",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "governorReceiver",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "protocolShares",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "governorShares",
"type": "uint256"
}
],
"name": "ConvertFees",
"type": "event"
},
"contract_address": "SELECT proxy FROM ref('GenericFactory_event_ProxyCreated') WHERE implementation = '0x30a9a9654804f1e5b3291a86e83eded7cf281618'",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "euler_v2",
"schema": [
{
"description": "",
"name": "sender",
"type": "STRING"
},
{
"description": "",
"name": "protocolReceiver",
"type": "STRING"
},
{
"description": "",
"name": "governorReceiver",
"type": "STRING"
},
{
"description": "",
"name": "protocolShares",
"type": "STRING"
},
{
"description": "",
"name": "governorShares",
"type": "STRING"
}
],
"table_description": "",
"table_name": "EVault_event_ConvertFees"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"name": "DebtSocialized",
"type": "event"
},
"contract_address": "SELECT proxy FROM ref('GenericFactory_event_ProxyCreated') WHERE implementation = '0x30a9a9654804f1e5b3291a86e83eded7cf281618'",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "euler_v2",
"schema": [
{
"description": "",
"name": "account",
"type": "STRING"
},
{
"description": "",
"name": "assets",
"type": "STRING"
}
],
"table_description": "",
"table_name": "EVault_event_DebtSocialized"
}
}
65 changes: 65 additions & 0 deletions parse/table_definitions_base/euler_v2/EVault_event_Deposit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assets",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "shares",
"type": "uint256"
}
],
"name": "Deposit",
"type": "event"
},
"contract_address": "SELECT proxy FROM ref('GenericFactory_event_ProxyCreated') WHERE implementation = '0x30a9a9654804f1e5b3291a86e83eded7cf281618'",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "euler_v2",
"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": "EVault_event_Deposit"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "creator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "asset",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "dToken",
"type": "address"
}
],
"name": "EVaultCreated",
"type": "event"
},
"contract_address": "SELECT proxy FROM ref('GenericFactory_event_ProxyCreated') WHERE implementation = '0x30a9a9654804f1e5b3291a86e83eded7cf281618'",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "euler_v2",
"schema": [
{
"description": "",
"name": "creator",
"type": "STRING"
},
{
"description": "",
"name": "asset",
"type": "STRING"
},
{
"description": "",
"name": "dToken",
"type": "STRING"
}
],
"table_description": "",
"table_name": "EVault_event_EVaultCreated"
}
}
Loading

0 comments on commit 57f6962

Please sign in to comment.