Skip to content

Commit

Permalink
This time
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Sep 18, 2024
1 parent 7bd0cfd commit 21e1289
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion frontend/pages/api/v1/all_locked_accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const provider = new AnchorProvider(
)
const stakingProgram = new Program<Staking>(
idl as Staking,
STAKING_ADDRESS,
provider
)
const tokenProgram = splTokenProgram({
Expand Down
3 changes: 1 addition & 2 deletions frontend/pages/api/v1/cmc/supply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const provider = new AnchorProvider(
{}
)

const GLOBAL_VESTING_SCHEDULE: IdlTypes<Staking>['VestingSchedule'] = {
const GLOBAL_VESTING_SCHEDULE: IdlTypes<Staking>['vestingSchedule'] = {
periodicVestingAfterListing: {
initialBalance: PythBalance.fromString('8,500,000,000').toBN(),
periodDuration: ONE_YEAR,
Expand All @@ -33,7 +33,6 @@ const GLOBAL_VESTING_SCHEDULE: IdlTypes<Staking>['VestingSchedule'] = {

const stakingProgram = new Program<Staking>(
idl as Staking,
STAKING_ADDRESS,
provider
)
const tokenProgram = splTokenProgram({
Expand Down
1 change: 0 additions & 1 deletion frontend/pages/api/v1/locked_accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const provider = new AnchorProvider(
)
const stakingProgram = new Program<Staking>(
idl as Staking,
STAKING_ADDRESS,
provider
)
const tokenProgram = splTokenProgram({
Expand Down

0 comments on commit 21e1289

Please sign in to comment.