-
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Stakedao event table definitions for FeeUpdated, FeeCollectorUpda…
…ted, ManagerUpdated, RecipientSet, BountyClosed, FeesCollected, OwnershipTransferred, and PeriodRolledOver (#799)
- Loading branch information
wderose
authored
Oct 30, 2024
1 parent
e2ba94c
commit 7826e4c
Showing
12 changed files
with
681 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
dags/resources/stages/parse/table_definitions/stakedao/Platform_event_BountyClosed.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,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" | ||
} | ||
} |
120 changes: 120 additions & 0 deletions
120
dags/resources/stages/parse/table_definitions/stakedao/Platform_event_BountyCreated.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,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" | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...ources/stages/parse/table_definitions/stakedao/Platform_event_BountyDurationIncrease.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,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" | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
.../stages/parse/table_definitions/stakedao/Platform_event_BountyDurationIncreaseQueued.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,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" | ||
} | ||
} |
87 changes: 87 additions & 0 deletions
87
dags/resources/stages/parse/table_definitions/stakedao/Platform_event_Claimed.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,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" | ||
} | ||
} |
Oops, something went wrong.