Skip to content

Commit

Permalink
add Pendle SY token events (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeng-gauntlet authored Jul 16, 2024
1 parent 47ee691 commit c7a842a
Show file tree
Hide file tree
Showing 11 changed files with 504 additions and 0 deletions.
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": "SELECT DISTINCT SY FROM ref('PendleYieldContractFactory_event_CreateYieldContract')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "pendle",
"schema": [
{
"description": "",
"name": "owner",
"type": "STRING"
},
{
"description": "",
"name": "spender",
"type": "STRING"
},
{
"description": "",
"name": "value",
"type": "STRING"
}
],
"table_description": "",
"table_name": "PendleSYToken_event_Approval"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": false,
"internalType": "address[]",
"name": "rewardTokens",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "rewardAmounts",
"type": "uint256[]"
}
],
"name": "ClaimRewards",
"type": "event"
},
"contract_address": "SELECT DISTINCT SY FROM ref('PendleYieldContractFactory_event_CreateYieldContract')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "pendle",
"schema": [
{
"description": "",
"name": "user",
"type": "STRING"
},
{
"description": "",
"name": "rewardTokens",
"type": "STRING"
},
{
"description": "",
"name": "rewardAmounts",
"type": "STRING"
}
],
"table_description": "",
"table_name": "PendleSYToken_event_ClaimRewards"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "tokenIn",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountDeposited",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountSyOut",
"type": "uint256"
}
],
"name": "Deposit",
"type": "event"
},
"contract_address": "SELECT DISTINCT SY FROM ref('PendleYieldContractFactory_event_CreateYieldContract')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "pendle",
"schema": [
{
"description": "",
"name": "caller",
"type": "STRING"
},
{
"description": "",
"name": "receiver",
"type": "STRING"
},
{
"description": "",
"name": "tokenIn",
"type": "STRING"
},
{
"description": "",
"name": "amountDeposited",
"type": "STRING"
},
{
"description": "",
"name": "amountSyOut",
"type": "STRING"
}
],
"table_description": "",
"table_name": "PendleSYToken_event_Deposit"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [],
"name": "EIP712DomainChanged",
"type": "event"
},
"contract_address": "SELECT DISTINCT SY FROM ref('PendleYieldContractFactory_event_CreateYieldContract')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "pendle",
"schema": [],
"table_description": "",
"table_name": "PendleSYToken_event_EIP712DomainChanged"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
"contract_address": "SELECT DISTINCT SY FROM ref('PendleYieldContractFactory_event_CreateYieldContract')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "pendle",
"schema": [
{
"description": "",
"name": "version",
"type": "STRING"
}
],
"table_description": "",
"table_name": "PendleSYToken_event_Initialized"
}
}
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": "SELECT DISTINCT SY FROM ref('PendleYieldContractFactory_event_CreateYieldContract')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "pendle",
"schema": [
{
"description": "",
"name": "previousOwner",
"type": "STRING"
},
{
"description": "",
"name": "newOwner",
"type": "STRING"
}
],
"table_description": "",
"table_name": "PendleSYToken_event_OwnershipTransferred"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Paused",
"type": "event"
},
"contract_address": "SELECT DISTINCT SY FROM ref('PendleYieldContractFactory_event_CreateYieldContract')",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "pendle",
"schema": [
{
"description": "",
"name": "account",
"type": "STRING"
}
],
"table_description": "",
"table_name": "PendleSYToken_event_Paused"
}
}
Loading

0 comments on commit c7a842a

Please sign in to comment.