Skip to content

Commit

Permalink
Adding support for some Stablecoins (#669)
Browse files Browse the repository at this point in the history
* add Ethena USD USDe Events and Calls

* add USDM calls and events

* add prisma USD mkUSD events and calls

* add alchemix alUSD

* remove wrong blacklist function - add correct one

* add whitelist call

* add wUSDM events and calls
  • Loading branch information
AyadiGithub authored Feb 24, 2024
1 parent ea9c1af commit a116390
Show file tree
Hide file tree
Showing 47 changed files with 2,300 additions and 0 deletions.
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": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "alchemix",
"schema": [
{
"description": "",
"name": "amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "alUSD_call_burn"
}
}
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": "burnFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "alchemix",
"schema": [
{
"description": "",
"name": "account",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "alUSD_call_burnFrom"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "address",
"name": "_recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "alchemix",
"schema": [
{
"description": "",
"name": "_recipient",
"type": "STRING"
},
{
"description": "",
"name": "_amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "alUSD_call_mint"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "address",
"name": "_toBlacklist",
"type": "address"
}
],
"name": "setBlacklist",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "alchemix",
"schema": [
{
"description": "",
"name": "_toBlacklist",
"type": "STRING"
}
],
"table_description": "",
"table_name": "alUSD_call_setBlacklist"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "address",
"name": "_toWhitelist",
"type": "address"
},
{
"internalType": "bool",
"name": "_state",
"type": "bool"
}
],
"name": "setWhitelist",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "alchemix",
"schema": [
{
"description": "",
"name": "_toWhitelist",
"type": "STRING"
},
{
"description": "",
"name": "_state",
"type": "STRING"
}
],
"table_description": "",
"table_name": "alUSD_call_setWhitelist"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "alchemix",
"schema": [
{
"description": "",
"name": "recipient",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "alUSD_call_transfer"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "alchemix",
"schema": [
{
"description": "",
"name": "sender",
"type": "STRING"
},
{
"description": "",
"name": "recipient",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
}
],
"table_description": "",
"table_name": "alUSD_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": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "alchemix",
"schema": [
{
"description": "",
"name": "owner",
"type": "STRING"
},
{
"description": "",
"name": "spender",
"type": "STRING"
},
{
"description": "",
"name": "value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "alUSD_event_Approval"
}
}
Loading

0 comments on commit a116390

Please sign in to comment.