Skip to content

Commit

Permalink
[Gauntlet] Blueberry ingestion: Blueberry Soft Vaults and Staking (#660)
Browse files Browse the repository at this point in the history
* 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
alifier authored Jan 30, 2024
1 parent 52ad5cd commit 2875d82
Show file tree
Hide file tree
Showing 45 changed files with 2,179 additions and 1 deletion.
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"
}
}
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"
}
}
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"
}
}
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"
}
}
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"
}
}
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"
}
}
Loading

0 comments on commit 2875d82

Please sign in to comment.