Skip to content

Commit

Permalink
add equalizer flashloan event and call
Browse files Browse the repository at this point in the history
  • Loading branch information
AyadiGithub committed Nov 29, 2023
1 parent b921c63 commit 9d621df
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "contract IERC3156FlashBorrower",
"name": "receiver",
"type": "address"
},
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "flashLoan",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbd332e2f7240487db5cab355a9cdd945fe2234c9",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "equalizer",
"schema": [
{
"description": "",
"name": "receiver",
"type": "STRING"
},
{
"description": "",
"name": "token",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
},
{
"description": "",
"name": "data",
"type": "STRING"
}
],
"table_description": "",
"table_name": "FlashLoanProvider_call_flashLoan"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "fee",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "treasuryFee",
"type": "uint256"
}
],
"name": "FlashLoan",
"type": "event"
},
"contract_address": "0xbd332e2f7240487db5cab355a9cdd945fe2234c9",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "equalizer",
"schema": [
{
"description": "",
"name": "receiver",
"type": "STRING"
},
{
"description": "",
"name": "token",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
},
{
"description": "",
"name": "fee",
"type": "STRING"
},
{
"description": "",
"name": "treasuryFee",
"type": "STRING"
}
],
"table_description": "",
"table_name": "FlashLoanProvider_event_FlashLoan"
}
}

0 comments on commit 9d621df

Please sign in to comment.