Skip to content

Commit

Permalink
stellaswap offchain rewards (#1532)
Browse files Browse the repository at this point in the history
* feat: stellaswap off-chain rewards
move merkl rewards to offchain rewards framework
add stellaswap rewards to offchain rewards framework

* add sei to merkl chains list

* add start/end timestamp to StellaSwapCampaign

* dune ltipp campaigns endpoint
  • Loading branch information
ReflectiveChimp authored Aug 12, 2024
1 parent a09b875 commit 99a3109
Show file tree
Hide file tree
Showing 30 changed files with 1,766 additions and 943 deletions.
4 changes: 2 additions & 2 deletions src/api/cowcentrated/getCowClms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import mantlePools from '../../data/mantle/beefyCowVaults.json';
import seiPools from '../../data/sei/beefyCowVaults.json';
import bscPools from '../../data/bsc/beefyCowVaults.json';

const chainToClms: Partial<Record<ApiChain, CowClm[]>> = {
const chainToClms: Readonly<Partial<Record<ApiChain, CowClm[]>>> = {
optimism: validateCowClms(optimismPools),
base: validateCowClms(basePools),
arbitrum: validateCowClms(arbitrumPools),
Expand All @@ -38,6 +38,6 @@ export function getCowClms(chainId: ApiChain): ReadonlyArray<CowClm> {
return chainToClms[chainId] || [];
}

export function getAllCowClms(): Partial<Record<ApiChain, ReadonlyArray<CowClm>>> {
export function getAllCowClmsByChain() {
return chainToClms;
}
236 changes: 0 additions & 236 deletions src/api/cowcentrated/getCowMerkleCampaigns.ts

This file was deleted.

Loading

0 comments on commit 99a3109

Please sign in to comment.