Skip to content

Commit

Permalink
Add Stakedao event table definitions for FeeUpdated, FeeCollectorUpda…
Browse files Browse the repository at this point in the history
…ted, ManagerUpdated, RecipientSet, BountyClosed, FeesCollected, OwnershipTransferred, and PeriodRolledOver (#799)
  • Loading branch information
wderose authored Oct 30, 2024
1 parent e2ba94c commit 7826e4c
Show file tree
Hide file tree
Showing 12 changed files with 681 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "remainingReward",
"type": "uint256"
}
],
"name": "BountyClosed",
"type": "event"
},
"contract_address": "0x000000073d065fc33a3050c2d0e19c393a5699ba",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "stakedao",
"schema": [
{
"description": "",
"name": "id",
"type": "STRING"
},
{
"description": "",
"name": "remainingReward",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Platform_event_BountyClosed"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "gauge",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "manager",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "rewardToken",
"type": "address"
},
{
"indexed": false,
"internalType": "uint8",
"name": "numberOfPeriods",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint256",
"name": "maxRewardPerVote",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "rewardPerPeriod",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalRewardAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "isUpgradeable",
"type": "bool"
}
],
"name": "BountyCreated",
"type": "event"
},
"contract_address": "0x000000073d065fc33a3050c2d0e19c393a5699ba",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "stakedao",
"schema": [
{
"description": "",
"name": "id",
"type": "STRING"
},
{
"description": "",
"name": "gauge",
"type": "STRING"
},
{
"description": "",
"name": "manager",
"type": "STRING"
},
{
"description": "",
"name": "rewardToken",
"type": "STRING"
},
{
"description": "",
"name": "numberOfPeriods",
"type": "STRING"
},
{
"description": "",
"name": "maxRewardPerVote",
"type": "STRING"
},
{
"description": "",
"name": "rewardPerPeriod",
"type": "STRING"
},
{
"description": "",
"name": "totalRewardAmount",
"type": "STRING"
},
{
"description": "",
"name": "isUpgradeable",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Platform_event_BountyCreated"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint8",
"name": "numberOfPeriods",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalRewardAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "maxRewardPerVote",
"type": "uint256"
}
],
"name": "BountyDurationIncrease",
"type": "event"
},
"contract_address": "0x000000073d065fc33a3050c2d0e19c393a5699ba",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "stakedao",
"schema": [
{
"description": "",
"name": "id",
"type": "STRING"
},
{
"description": "",
"name": "numberOfPeriods",
"type": "STRING"
},
{
"description": "",
"name": "totalRewardAmount",
"type": "STRING"
},
{
"description": "",
"name": "maxRewardPerVote",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Platform_event_BountyDurationIncrease"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint8",
"name": "numberOfPeriods",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalRewardAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "maxRewardPerVote",
"type": "uint256"
}
],
"name": "BountyDurationIncreaseQueued",
"type": "event"
},
"contract_address": "0x000000073d065fc33a3050c2d0e19c393a5699ba",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "stakedao",
"schema": [
{
"description": "",
"name": "id",
"type": "STRING"
},
{
"description": "",
"name": "numberOfPeriods",
"type": "STRING"
},
{
"description": "",
"name": "totalRewardAmount",
"type": "STRING"
},
{
"description": "",
"name": "maxRewardPerVote",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Platform_event_BountyDurationIncreaseQueued"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "rewardToken",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "bountyId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "protocolFees",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "period",
"type": "uint256"
}
],
"name": "Claimed",
"type": "event"
},
"contract_address": "0x000000073d065fc33a3050c2d0e19c393a5699ba",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "stakedao",
"schema": [
{
"description": "",
"name": "user",
"type": "STRING"
},
{
"description": "",
"name": "rewardToken",
"type": "STRING"
},
{
"description": "",
"name": "bountyId",
"type": "STRING"
},
{
"description": "",
"name": "amount",
"type": "STRING"
},
{
"description": "",
"name": "protocolFees",
"type": "STRING"
},
{
"description": "",
"name": "period",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Platform_event_Claimed"
}
}
Loading

0 comments on commit 7826e4c

Please sign in to comment.