Skip to content

Commit

Permalink
Feature/rarible (#182)
Browse files Browse the repository at this point in the history
* Create empty.txt

Creating the rarible empty text file

* Adding events for Rarible market place

Events are extracted from Contract Parser.

The address is a proxy contract, the ABI is from the smart contract behind the proxy

* Delete airflow/dags/resources/stages/parse/table_definitions/rarible/empty.txt

deleting empty.txt file

* uploading new files

Moved all contract address to lower caps
  • Loading branch information
jasonbxu authored Aug 30, 2023
1 parent 3c078b7 commit f1dfbcf
Show file tree
Hide file tree
Showing 6 changed files with 280 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "hash",
"type": "bytes32"
}
],
"name": "Cancel",
"type": "event"
},
"contract_address": "0x12b3897a36fdb436dde2788c06eff0ffd997066e",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "rarible",
"schema": [
{
"description": "",
"name": "hash",
"type": "STRING"
}
],
"table_description": "",
"table_name": "ExchangeMetaV2_event_Cancel"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "leftHash",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "rightHash",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newLeftFill",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newRightFill",
"type": "uint256"
}
],
"name": "Match",
"type": "event"
},
"contract_address": "0x12b3897a36fdb436dde2788c06eff0ffd997066e",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "rarible",
"schema": [
{
"description": "",
"name": "leftHash",
"type": "STRING"
},
{
"description": "",
"name": "rightHash",
"type": "STRING"
},
{
"description": "",
"name": "newLeftFill",
"type": "STRING"
},
{
"description": "",
"name": "newRightFill",
"type": "STRING"
}
],
"table_description": "",
"table_name": "ExchangeMetaV2_event_Match"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes4",
"name": "assetType",
"type": "bytes4"
},
{
"indexed": false,
"internalType": "address",
"name": "matcher",
"type": "address"
}
],
"name": "MatcherChange",
"type": "event"
},
"contract_address": "0x12b3897a36fdb436dde2788c06eff0ffd997066e",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "rarible",
"schema": [
{
"description": "",
"name": "assetType",
"type": "STRING"
},
{
"description": "",
"name": "matcher",
"type": "STRING"
}
],
"table_description": "",
"table_name": "ExchangeMetaV2_event_MatcherChange"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "userAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address payable",
"name": "relayerAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "functionSignature",
"type": "bytes"
}
],
"name": "MetaTransactionExecuted",
"type": "event"
},
"contract_address": "0x12b3897a36fdb436dde2788c06eff0ffd997066e",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "rarible",
"schema": [
{
"description": "",
"name": "userAddress",
"type": "STRING"
},
{
"description": "",
"name": "relayerAddress",
"type": "STRING"
},
{
"description": "",
"name": "functionSignature",
"type": "STRING"
}
],
"table_description": "",
"table_name": "ExchangeMetaV2_event_MetaTransactionExecuted"
}
}
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": "0x12b3897a36fdb436dde2788c06eff0ffd997066e",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "rarible",
"schema": [
{
"description": "",
"name": "previousOwner",
"type": "STRING"
},
{
"description": "",
"name": "newOwner",
"type": "STRING"
}
],
"table_description": "",
"table_name": "ExchangeMetaV2_event_OwnershipTransferred"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes4",
"name": "assetType",
"type": "bytes4"
},
{
"indexed": false,
"internalType": "address",
"name": "proxy",
"type": "address"
}
],
"name": "ProxyChange",
"type": "event"
},
"contract_address": "0x12b3897a36fdb436dde2788c06eff0ffd997066e",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "rarible",
"schema": [
{
"description": "",
"name": "assetType",
"type": "STRING"
},
{
"description": "",
"name": "proxy",
"type": "STRING"
}
],
"table_description": "",
"table_name": "ExchangeMetaV2_event_ProxyChange"
}
}

0 comments on commit f1dfbcf

Please sign in to comment.