Skip to content

Commit

Permalink
Added SBTC events (#776)
Browse files Browse the repository at this point in the history
* Added SBTC events

Used the Contract Parser: https://contract-parser.d5.ai

* Update contract name in file
  • Loading branch information
yilanzheng authored Aug 26, 2024
1 parent a6e62c7 commit 0851e2d
Show file tree
Hide file tree
Showing 5 changed files with 205 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
},
{
"indexed": true,
"name": "spender",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
"contract_address": "0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "sbtc",
"schema": [
{
"description": "",
"name": "owner",
"type": "STRING"
},
{
"description": "",
"name": "spender",
"type": "STRING"
},
{
"description": "",
"name": "value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "SBTC_event_Approval"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "oldOwner",
"type": "address"
},
{
"indexed": false,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnerChanged",
"type": "event"
},
"contract_address": "0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "sbtc",
"schema": [
{
"description": "",
"name": "oldOwner",
"type": "STRING"
},
{
"description": "",
"name": "newOwner",
"type": "STRING"
}
],
"table_description": "",
"table_name": "SBTC_event_OwnerChanged"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnerNominated",
"type": "event"
},
"contract_address": "0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "sbtc",
"schema": [
{
"description": "",
"name": "newOwner",
"type": "STRING"
}
],
"table_description": "",
"table_name": "SBTC_event_OwnerNominated"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "newTarget",
"type": "address"
}
],
"name": "TargetUpdated",
"type": "event"
},
"contract_address": "0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "sbtc",
"schema": [
{
"description": "",
"name": "newTarget",
"type": "STRING"
}
],
"table_description": "",
"table_name": "SBTC_event_TargetUpdated"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
"contract_address": "0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "sbtc",
"schema": [
{
"description": "",
"name": "from",
"type": "STRING"
},
{
"description": "",
"name": "to",
"type": "STRING"
},
{
"description": "",
"name": "value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "SBTC_event_Transfer"
}
}

0 comments on commit 0851e2d

Please sign in to comment.