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({