Skip to content

Commit

Permalink
cUSDTv3 (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
katiebk authored Jul 10, 2024
1 parent c6765c3 commit db2917e
Show file tree
Hide file tree
Showing 11 changed files with 682 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "absorber",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "borrower",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "asset",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "collateralAbsorbed",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "usdValue",
"type": "uint256"
}
],
"name": "AbsorbCollateral",
"type": "event"
},
"contract_address": "0xaeb318360f27748acb200ce616e389a6c9409a07",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "compound",
"schema": [
{
"description": "",
"name": "absorber",
"type": "STRING"
},
{
"description": "",
"name": "borrower",
"type": "STRING"
},
{
"description": "",
"name": "asset",
"type": "STRING"
},
{
"description": "",
"name": "collateralAbsorbed",
"type": "STRING"
},
{
"description": "",
"name": "usdValue",
"type": "STRING"
}
],
"table_description": "",
"table_name": "cUSDTv3_event_AbsorbCollateral"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "absorber",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "borrower",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "basePaidOut",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "usdValue",
"type": "uint256"
}
],
"name": "AbsorbDebt",
"type": "event"
},
"contract_address": "0xaeb318360f27748acb200ce616e389a6c9409a07",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "compound",
"schema": [
{
"description": "",
"name": "absorber",
"type": "STRING"
},
{
"description": "",
"name": "borrower",
"type": "STRING"
},
{
"description": "",
"name": "basePaidOut",
"type": "STRING"
},
{
"description": "",
"name": "usdValue",
"type": "STRING"
}
],
"table_description": "",
"table_name": "cUSDTv3_event_AbsorbDebt"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "buyer",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "asset",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "baseAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "collateralAmount",
"type": "uint256"
}
],
"name": "BuyCollateral",
"type": "event"
},
"contract_address": "0xaeb318360f27748acb200ce616e389a6c9409a07",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "compound",
"schema": [
{
"description": "",
"name": "buyer",
"type": "STRING"
},
{
"description": "",
"name": "asset",
"type": "STRING"
},
{
"description": "",
"name": "baseAmount",
"type": "STRING"
},
{
"description": "",
"name": "collateralAmount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "cUSDTv3_event_BuyCollateral"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "supplyPaused",
"type": "bool"
},
{
"indexed": false,
"internalType": "bool",
"name": "transferPaused",
"type": "bool"
},
{
"indexed": false,
"internalType": "bool",
"name": "withdrawPaused",
"type": "bool"
},
{
"indexed": false,
"internalType": "bool",
"name": "absorbPaused",
"type": "bool"
},
{
"indexed": false,
"internalType": "bool",
"name": "buyPaused",
"type": "bool"
}
],
"name": "PauseAction",
"type": "event"
},
"contract_address": "0xaeb318360f27748acb200ce616e389a6c9409a07",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "compound",
"schema": [
{
"description": "",
"name": "supplyPaused",
"type": "STRING"
},
{
"description": "",
"name": "transferPaused",
"type": "STRING"
},
{
"description": "",
"name": "withdrawPaused",
"type": "STRING"
},
{
"description": "",
"name": "absorbPaused",
"type": "STRING"
},
{
"description": "",
"name": "buyPaused",
"type": "STRING"
}
],
"table_description": "",
"table_name": "cUSDTv3_event_PauseAction"
}
}
54 changes: 54 additions & 0 deletions parse/table_definitions_polygon/compound/cUSDTv3_event_Supply.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "dst",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Supply",
"type": "event"
},
"contract_address": "0xaeb318360f27748acb200ce616e389a6c9409a07",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "compound",
"schema": [
{
"description": "",
"name": "from",
"type": "STRING"
},
{
"description": "",
"name": "dst",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "cUSDTv3_event_Supply"
}
}
Loading

0 comments on commit db2917e

Please sign in to comment.