forked from blockchain-etl/ethereum-etl-airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for crvUSD GHO FDUSD stablecoins (blockchain-etl#623)
* add crvUSD stablecoin events * add crvUSD stablecoin calls * add aave gho stablecoin events * add aave gho stablecoin calls * add first digital usd stablecoin events * change from proxy to non-proxy contract * add FDUSD calls * change calls to non-proxy contract address * change dataset name * fix calls table name * delete approve calls to pass the file limit check
- Loading branch information
1 parent
8ec8e06
commit fcd7853
Showing
49 changed files
with
2,205 additions
and
0 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
dags/resources/stages/parse/table_definitions/aave/GhoToken_call_addFacilitator.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,52 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "facilitatorAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "facilitatorLabel", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "uint128", | ||
"name": "bucketCapacity", | ||
"type": "uint128" | ||
} | ||
], | ||
"name": "addFacilitator", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "facilitatorAddress", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "facilitatorLabel", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "bucketCapacity", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "GhoToken_call_addFacilitator" | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
dags/resources/stages/parse/table_definitions/aave/GhoToken_call_burn.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": { | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "burn", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "GhoToken_call_burn" | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
dags/resources/stages/parse/table_definitions/aave/GhoToken_call_grantRole.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,42 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "bytes32", | ||
"name": "role", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "account", | ||
"type": "address" | ||
} | ||
], | ||
"name": "grantRole", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "role", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "account", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "GhoToken_call_grantRole" | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
dags/resources/stages/parse/table_definitions/aave/GhoToken_call_mint.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,42 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "account", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "mint", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "account", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "GhoToken_call_mint" | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
dags/resources/stages/parse/table_definitions/aave/GhoToken_call_removeFacilitator.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": { | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "facilitatorAddress", | ||
"type": "address" | ||
} | ||
], | ||
"name": "removeFacilitator", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "facilitatorAddress", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "GhoToken_call_removeFacilitator" | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...urces/stages/parse/table_definitions/aave/GhoToken_call_setFacilitatorBucketCapacity.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,42 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "facilitator", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint128", | ||
"name": "newCapacity", | ||
"type": "uint128" | ||
} | ||
], | ||
"name": "setFacilitatorBucketCapacity", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "facilitator", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "newCapacity", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "GhoToken_call_setFacilitatorBucketCapacity" | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
dags/resources/stages/parse/table_definitions/aave/GhoToken_call_transfer.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,48 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "to", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "transfer", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "to", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "GhoToken_call_transfer" | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
dags/resources/stages/parse/table_definitions/aave/GhoToken_call_transferFrom.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,58 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "from", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "to", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "transferFrom", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "from", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "to", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "GhoToken_call_transferFrom" | ||
} | ||
} |
Oops, something went wrong.