File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -133,18 +133,10 @@ export class GearboxBackendApi {
133133
134134 static getReferralUrl = ( ) => REFERRAL_API ;
135135
136- static apyServerAllRewards = ( chainId : number ) =>
137- URLApi . getRelativeUrl ( "https://apy-server.fly.dev/api/rewards/tokens/all" , {
138- params : { chain_id : chainId } ,
139- } ) ;
140- static apyServerGearAPY = ( chainId : number ) =>
141- URLApi . getRelativeUrl ( "https://apy-server.fly.dev/api/rewards/gear-apy" , {
142- params : { chain_id : chainId } ,
143- } ) ;
144- static apyServerAllPoolRewards = ( chainId : number ) =>
145- URLApi . getRelativeUrl ( "https://apy-server.fly.dev/api/rewards/pools/all" , {
146- params : { chain_id : chainId } ,
147- } ) ;
136+ static apyAllRewards = ( ) =>
137+ URLApi . getRelativeUrl (
138+ "https://state-cache.gearbox.foundation/apy-server/latest.json" ,
139+ ) ;
148140}
149141
150142interface Options {
You can’t perform that action at this time.
0 commit comments