Skip to content

Commit

Permalink
Abracadabra tokens and staking (blockchain-etl#633)
Browse files Browse the repository at this point in the history
* add Spell token events

* add Staked Spell sSpell token events

* add sSpell calls

* fix sSpell dataset name

* fix sSpell table name

* add SPELL token calls

* change target dataset and table name

* add mSpell staking contract events

* add mSpell staking contract calls

* change mSpell target dataset and table name
  • Loading branch information
AyadiGithub authored Oct 1, 2023
1 parent 68cd8f6 commit c39cb98
Show file tree
Hide file tree
Showing 20 changed files with 936 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0x090185f2135308bad17527004364ebcc2d37e5f6",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "abracadabra",
"schema": [
{
"description": "",
"name": "to",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Spell_call_mint"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0x090185f2135308bad17527004364ebcc2d37e5f6",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "abracadabra",
"schema": [
{
"description": "",
"name": "to",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Spell_call_transfer"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0x090185f2135308bad17527004364ebcc2d37e5f6",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "abracadabra",
"schema": [
{
"description": "",
"name": "from",
"type": "STRING"
},
{
"description": "",
"name": "to",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Spell_call_transferFrom"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
"contract_address": "0x090185f2135308bad17527004364ebcc2d37e5f6",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "abracadabra",
"schema": [
{
"description": "",
"name": "_owner",
"type": "STRING"
},
{
"description": "",
"name": "_spender",
"type": "STRING"
},
{
"description": "",
"name": "_value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Spell_event_Approval"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
"contract_address": "0x090185f2135308bad17527004364ebcc2d37e5f6",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "abracadabra",
"schema": [
{
"description": "",
"name": "previousOwner",
"type": "STRING"
},
{
"description": "",
"name": "newOwner",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Spell_event_OwnershipTransferred"
}
}
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": "_to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
"contract_address": "0x090185f2135308bad17527004364ebcc2d37e5f6",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "abracadabra",
"schema": [
{
"description": "",
"name": "_from",
"type": "STRING"
},
{
"description": "",
"name": "_to",
"type": "STRING"
},
{
"description": "",
"name": "_value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Spell_event_Transfer"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "deposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbd2fbaf2dc95bd78cf1cd3c5235b33d1165e6797",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "abracadabra",
"schema": [
{
"description": "",
"name": "_amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "mSpellStaking_call_deposit"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "withdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbd2fbaf2dc95bd78cf1cd3c5235b33d1165e6797",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "abracadabra",
"schema": [
{
"description": "",
"name": "_amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "mSpellStaking_call_withdraw"
}
}
Loading

0 comments on commit c39cb98

Please sign in to comment.