-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new stablecoins (USDtb, USR, USD0) (#808)
* add new stables * Update USR_call_burn.json * Update USR_call_mint.json * Update USR_call_transfer.json
- Loading branch information
Showing
12 changed files
with
548 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
dags/resources/stages/parse/table_definitions/ethena/USDtb_call_burn.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "burn", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0xc139190f447e929f090edeb554d95abb8b18ac1c", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "ethena", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "USDtb_call_burn" | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
dags/resources/stages/parse/table_definitions/ethena/USDtb_call_mint.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "0xc139190f447e929f090edeb554d95abb8b18ac1c", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "ethena", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "to", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "USDtb_call_mint" | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
dags/resources/stages/parse/table_definitions/ethena/USDtb_call_transfer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "0xc139190f447e929f090edeb554d95abb8b18ac1c", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "ethena", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "to", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "USDtb_call_transfer" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
dags/resources/stages/parse/table_definitions/ethena/USDtb_event_Transfer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "0xc139190f447e929f090edeb554d95abb8b18ac1c", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "ethena", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "from", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "to", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "value", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "USDtb_event_Transfer" | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
dags/resources/stages/parse/table_definitions/resolv/USR_call_burn.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_account", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "burn", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x66a1e37c9b0eaddca17d3662d6c05f4decf3e110", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "resolv", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "_account", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "_amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "USR_call_burn" | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
dags/resources/stages/parse/table_definitions/resolv/USR_call_mint.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"inputs": [ | ||
{ | ||
"internalType": "bytes32", | ||
"name": "_idempotencyKey", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "_account", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "mint", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x66a1e37c9b0eaddca17d3662d6c05f4decf3e110", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "resolv", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "_idempotencyKey", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "_account", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "_amount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "USR_call_mint" | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
dags/resources/stages/parse/table_definitions/resolv/USR_call_transfer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "value", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "transfer", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
"contract_address": "0x66a1e37c9b0eaddca17d3662d6c05f4decf3e110", | ||
"field_mapping": {}, | ||
"type": "trace" | ||
}, | ||
"table": { | ||
"dataset_name": "resolv", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "to", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "value", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "USR_call_transfer" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
dags/resources/stages/parse/table_definitions/resolv/USR_event_Transfer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "0x66a1e37c9b0eaddca17d3662d6c05f4decf3e110", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "resolv", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "from", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "to", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "value", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "USR_event_Transfer" | ||
} | ||
} |
Oops, something went wrong.