Skip to content

Commit

Permalink
Merge pull request #575 from ememet/feature/nft-lending-marketplaces
Browse files Browse the repository at this point in the history
add events for nft lending marketplaces (bend, nftfi, x2y2)
  • Loading branch information
daishuai323 authored Jun 26, 2023
2 parents b73b49c + 2932730 commit 0703ba6
Show file tree
Hide file tree
Showing 29 changed files with 4,004 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "onBehalfOf",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "loanId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "nftAsset",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "nftTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "reserveAsset",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "borrowIndex",
"type": "uint256"
}
],
"name": "LoanCreated",
"type": "event"
},
"contract_address": "0x5f6ac80cdb9e87f3cfa6a90e5140b9a16a361d5c",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "bend",
"schema": [
{
"description": "",
"name": "user",
"type": "STRING"
},
{
"description": "",
"name": "onBehalfOf",
"type": "STRING"
},
{
"description": "",
"name": "loanId",
"type": "STRING"
},
{
"description": "",
"name": "nftAsset",
"type": "STRING"
},
{
"description": "",
"name": "nftTokenId",
"type": "STRING"
},
{
"description": "",
"name": "reserveAsset",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
},
{
"description": "",
"name": "borrowIndex",
"type": "STRING"
}
],
"table_description": "",
"table_name": "bend_LendPoolLoan_event_LoanCreated"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "loanId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "nftAsset",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "nftTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "reserveAsset",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "borrowIndex",
"type": "uint256"
}
],
"name": "LoanLiquidated",
"type": "event"
},
"contract_address": "0x5f6ac80cdb9e87f3cfa6a90e5140b9a16a361d5c",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "bend",
"schema": [
{
"description": "",
"name": "user",
"type": "STRING"
},
{
"description": "",
"name": "loanId",
"type": "STRING"
},
{
"description": "",
"name": "nftAsset",
"type": "STRING"
},
{
"description": "",
"name": "nftTokenId",
"type": "STRING"
},
{
"description": "",
"name": "reserveAsset",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
},
{
"description": "",
"name": "borrowIndex",
"type": "STRING"
}
],
"table_description": "",
"table_name": "bend_LendPoolLoan_event_LoanLiquidated"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "loanId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "nftAsset",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "nftTokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "reserveAsset",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountTaken",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "borrowIndex",
"type": "uint256"
}
],
"name": "LoanRedeemed",
"type": "event"
},
"contract_address": "0x5f6ac80cdb9e87f3cfa6a90e5140b9a16a361d5c",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "bend",
"schema": [
{
"description": "",
"name": "user",
"type": "STRING"
},
{
"description": "",
"name": "loanId",
"type": "STRING"
},
{
"description": "",
"name": "nftAsset",
"type": "STRING"
},
{
"description": "",
"name": "nftTokenId",
"type": "STRING"
},
{
"description": "",
"name": "reserveAsset",
"type": "STRING"
},
{
"description": "",
"name": "amountTaken",
"type": "STRING"
},
{
"description": "",
"name": "borrowIndex",
"type": "STRING"
}
],
"table_description": "",
"table_name": "bend_LendPoolLoan_event_LoanRedeemed"
}
}
Loading

0 comments on commit 0703ba6

Please sign in to comment.