-
-
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.
[Gauntlet] Blueberry ingestion: Blueberry Soft Vaults and Staking (#660)
* add blueberry bank events * add hard vault events * add blueberry staking * add soft vaults * fix contract address references * add union * add berc20 contracts
- Loading branch information
Showing
45 changed files
with
2,179 additions
and
1 deletion.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
...ources/stages/parse/table_definitions/blueberry/BErc20Delegator_event_AccrueInterest.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": "cashPrior", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "interestAccumulated", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "borrowIndex", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "totalBorrows", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "AccrueInterest", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT bToken FROM ref('BlueberryBank_event_AddBank') UNION ALL bToken FROM ref('BlueberryBank_event_ModifyBank')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "blueberry", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "cashPrior", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "interestAccumulated", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "borrowIndex", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "totalBorrows", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "BErc20Delegator_event_AccrueInterest" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
dags/resources/stages/parse/table_definitions/blueberry/BErc20Delegator_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": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Approval", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT bToken FROM ref('BlueberryBank_event_AddBank') UNION ALL bToken FROM ref('BlueberryBank_event_ModifyBank')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "blueberry", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "owner", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "spender", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "BErc20Delegator_event_Approval" | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
dags/resources/stages/parse/table_definitions/blueberry/BErc20Delegator_event_Borrow.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": "address", | ||
"name": "borrower", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "borrowAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "accountBorrows", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "totalBorrows", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Borrow", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT bToken FROM ref('BlueberryBank_event_AddBank') UNION ALL bToken FROM ref('BlueberryBank_event_ModifyBank')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "blueberry", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "borrower", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "borrowAmount", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "accountBorrows", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "totalBorrows", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "BErc20Delegator_event_Borrow" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
dags/resources/stages/parse/table_definitions/blueberry/BErc20Delegator_event_Failure.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": false, | ||
"internalType": "uint256", | ||
"name": "error", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "info", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "detail", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Failure", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT bToken FROM ref('BlueberryBank_event_AddBank') UNION ALL bToken FROM ref('BlueberryBank_event_ModifyBank')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "blueberry", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "error", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "info", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "detail", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "BErc20Delegator_event_Failure" | ||
} | ||
} |
76 changes: 76 additions & 0 deletions
76
...urces/stages/parse/table_definitions/blueberry/BErc20Delegator_event_LiquidateBorrow.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,76 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "liquidator", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "borrower", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "repayAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "bTokenCollateral", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "seizeTokens", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "LiquidateBorrow", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT bToken FROM ref('BlueberryBank_event_AddBank') UNION ALL bToken FROM ref('BlueberryBank_event_ModifyBank')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "blueberry", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "liquidator", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "borrower", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "repayAmount", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "bTokenCollateral", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "seizeTokens", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "BErc20Delegator_event_LiquidateBorrow" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
dags/resources/stages/parse/table_definitions/blueberry/BErc20Delegator_event_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,54 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "minter", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "mintAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "mintTokens", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Mint", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT bToken FROM ref('BlueberryBank_event_AddBank') UNION ALL bToken FROM ref('BlueberryBank_event_ModifyBank')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "blueberry", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "minter", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "mintAmount", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "mintTokens", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "BErc20Delegator_event_Mint" | ||
} | ||
} |
Oops, something went wrong.