From 21e128977b270982a1520641bc65dc6a97589803 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Wed, 18 Sep 2024 20:30:29 +0100 Subject: [PATCH] This time --- frontend/pages/api/v1/all_locked_accounts.ts | 1 - frontend/pages/api/v1/cmc/supply.ts | 3 +-- frontend/pages/api/v1/locked_accounts.ts | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/pages/api/v1/all_locked_accounts.ts b/frontend/pages/api/v1/all_locked_accounts.ts index f96d3218..87ccb855 100644 --- a/frontend/pages/api/v1/all_locked_accounts.ts +++ b/frontend/pages/api/v1/all_locked_accounts.ts @@ -19,7 +19,6 @@ const provider = new AnchorProvider( ) const stakingProgram = new Program( idl as Staking, - STAKING_ADDRESS, provider ) const tokenProgram = splTokenProgram({ diff --git a/frontend/pages/api/v1/cmc/supply.ts b/frontend/pages/api/v1/cmc/supply.ts index 982a39cb..3f18f225 100644 --- a/frontend/pages/api/v1/cmc/supply.ts +++ b/frontend/pages/api/v1/cmc/supply.ts @@ -23,7 +23,7 @@ const provider = new AnchorProvider( {} ) -const GLOBAL_VESTING_SCHEDULE: IdlTypes['VestingSchedule'] = { +const GLOBAL_VESTING_SCHEDULE: IdlTypes['vestingSchedule'] = { periodicVestingAfterListing: { initialBalance: PythBalance.fromString('8,500,000,000').toBN(), periodDuration: ONE_YEAR, @@ -33,7 +33,6 @@ const GLOBAL_VESTING_SCHEDULE: IdlTypes['VestingSchedule'] = { const stakingProgram = new Program( idl as Staking, - STAKING_ADDRESS, provider ) const tokenProgram = splTokenProgram({ diff --git a/frontend/pages/api/v1/locked_accounts.ts b/frontend/pages/api/v1/locked_accounts.ts index dfac8e69..7d4bea3f 100644 --- a/frontend/pages/api/v1/locked_accounts.ts +++ b/frontend/pages/api/v1/locked_accounts.ts @@ -20,7 +20,6 @@ const provider = new AnchorProvider( ) const stakingProgram = new Program( idl as Staking, - STAKING_ADDRESS, provider ) const tokenProgram = splTokenProgram({