Skip to content

Commit

Permalink
Get LToken addr from MarketListed ref (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinja authored Nov 28, 2023
1 parent 3a781f3 commit dbd9750
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"name": "Approval",
"type": "event"
},
"contract_address": "SELECT * FROM UNNEST(['0xc7d8489dae3d2ebef075b1db2257e2c231c9d231', '0xea0f73296a6147fb56bae29306aae0ffaff9de5f', '0x2ad69a0cf272b9941c7ddcada7b0273e9046c4b0'])",
"contract_address": "SELECT gToken FROM ref('Core_event_MarketListed') GROUP BY gToken",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"name": "Borrow",
"type": "event"
},
"contract_address": "SELECT * FROM UNNEST(['0xc7d8489dae3d2ebef075b1db2257e2c231c9d231', '0xea0f73296a6147fb56bae29306aae0ffaff9de5f', '0x2ad69a0cf272b9941c7ddcada7b0273e9046c4b0'])",
"contract_address": "SELECT gToken FROM ref('Core_event_MarketListed') GROUP BY gToken",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"name": "LiquidateBorrow",
"type": "event"
},
"contract_address": "SELECT * FROM UNNEST(['0xc7d8489dae3d2ebef075b1db2257e2c231c9d231', '0xea0f73296a6147fb56bae29306aae0ffaff9de5f', '0x2ad69a0cf272b9941c7ddcada7b0273e9046c4b0'])",
"contract_address": "SELECT gToken FROM ref('Core_event_MarketListed') GROUP BY gToken",
"field_mapping": {},
"type": "log"
},
Expand Down
78 changes: 39 additions & 39 deletions parse/table_definitions_linea/layerbank/LToken_event_Mint.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "minter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "mintAmount",
"type": "uint256"
}
],
"name": "Mint",
"type": "event"
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "minter",
"type": "address"
},
"contract_address": "SELECT * FROM UNNEST(['0xc7d8489dae3d2ebef075b1db2257e2c231c9d231', '0xea0f73296a6147fb56bae29306aae0ffaff9de5f', '0x2ad69a0cf272b9941c7ddcada7b0273e9046c4b0'])",
"field_mapping": {},
"type": "log"
{
"indexed": false,
"internalType": "uint256",
"name": "mintAmount",
"type": "uint256"
}
],
"name": "Mint",
"type": "event"
},
"table": {
"dataset_name": "layerbank",
"schema": [
{
"description": "",
"name": "minter",
"type": "STRING"
},
{
"description": "",
"name": "mintAmount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "LToken_event_Mint"
}
"contract_address": "SELECT gToken FROM ref('Core_event_MarketListed') GROUP BY gToken",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "layerbank",
"schema": [
{
"description": "",
"name": "minter",
"type": "STRING"
},
{
"description": "",
"name": "mintAmount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "LToken_event_Mint"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"name": "OwnershipTransferred",
"type": "event"
},
"contract_address": "SELECT * FROM UNNEST(['0xc7d8489dae3d2ebef075b1db2257e2c231c9d231', '0xea0f73296a6147fb56bae29306aae0ffaff9de5f', '0x2ad69a0cf272b9941c7ddcada7b0273e9046c4b0'])",
"contract_address": "SELECT gToken FROM ref('Core_event_MarketListed') GROUP BY gToken",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"name": "Redeem",
"type": "event"
},
"contract_address": "SELECT * FROM UNNEST(['0xc7d8489dae3d2ebef075b1db2257e2c231c9d231', '0xea0f73296a6147fb56bae29306aae0ffaff9de5f', '0x2ad69a0cf272b9941c7ddcada7b0273e9046c4b0'])",
"contract_address": "SELECT gToken FROM ref('Core_event_MarketListed') GROUP BY gToken",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"name": "RepayBorrow",
"type": "event"
},
"contract_address": "SELECT * FROM UNNEST(['0xc7d8489dae3d2ebef075b1db2257e2c231c9d231', '0xea0f73296a6147fb56bae29306aae0ffaff9de5f', '0x2ad69a0cf272b9941c7ddcada7b0273e9046c4b0'])",
"contract_address": "SELECT gToken FROM ref('Core_event_MarketListed') GROUP BY gToken",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"name": "Transfer",
"type": "event"
},
"contract_address": "SELECT * FROM UNNEST(['0xc7d8489dae3d2ebef075b1db2257e2c231c9d231', '0xea0f73296a6147fb56bae29306aae0ffaff9de5f', '0x2ad69a0cf272b9941c7ddcada7b0273e9046c4b0'])",
"contract_address": "SELECT gToken FROM ref('Core_event_MarketListed') GROUP BY gToken",
"field_mapping": {},
"type": "log"
},
Expand Down

0 comments on commit dbd9750

Please sign in to comment.