Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@fastify/type-provider-typebox": "5.2.0",
"@sinclair/typebox": "0.34.48",
"@stacks/api-toolkit": "1.13.0",
"@stacks/codec": "2.0.0-pox5.2",
"@stacks/codec": "2.0.0-pox5.3",
"@stacks/common": "7.3.1",
"@stacks/encryption": "7.4.0",
"@stacks/network": "7.3.1",
Expand Down
9 changes: 8 additions & 1 deletion src/datastore/pg-write-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@
await this.updateBondRewardDistribution(sql, txLocation, poxEvent);
break;
case Pox5EventName.ClaimRewards:
case Pox5EventName.ClaimStakerRewardsForSigner:
// TODO: Implement

Check warning on line 584 in src/datastore/pg-write-store.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected 'todo' comment: 'TODO: Implement'
break;
case Pox5EventName.Stake:
case Pox5EventName.StakeUpdate:
Expand All @@ -589,6 +591,11 @@
// TODO: Implement
break;
case Pox5EventName.RegisterSigner:
case Pox5EventName.AllowContractCaller:
case Pox5EventName.DisallowContractCaller:
case Pox5EventName.GrantSignerKey:
case Pox5EventName.RevokeSignerGrant:
case Pox5EventName.SetBondAdmin:
// TODO: Implement
break;
}
Expand All @@ -609,7 +616,7 @@
stx_value_ratio: parseInt(event.data.stx_value_ratio),
min_ustx_ratio: parseInt(event.data.min_ustx_ratio),
early_unlock_bytes: event.data.early_unlock_bytes,
early_unlock_admin: event.data.early_unlock_admin,
early_unlock_admin: '', // TODO: Make nullable
first_reward_cycle: parseInt(event.data.first_reward_cycle),
bond_start_height: parseInt(event.data.bond_start_height),
unlock_cycle: parseInt(event.data.unlock_cycle),
Expand Down
Loading