diff --git a/frontend/config/stakingPrograms/gnosis.ts b/frontend/config/stakingPrograms/gnosis.ts index 7c472c91..8aaffe6b 100644 --- a/frontend/config/stakingPrograms/gnosis.ts +++ b/frontend/config/stakingPrograms/gnosis.ts @@ -21,6 +21,7 @@ export const GNOSIS_STAKING_PROGRAMS_CONTRACT_ADDRESSES: Record< [StakingProgramId.PearlBeta3]: '0xBd59Ff0522aA773cB6074ce83cD1e4a05A457bc1', [StakingProgramId.PearlBeta4]: '0x3052451e1eAee78e62E169AfdF6288F8791F2918', [StakingProgramId.PearlBeta5]: '0x4Abe376Fda28c2F43b84884E5f822eA775DeA9F4', + [StakingProgramId.PearlBeta6]: '0x6C6D01e8eA8f806eF0c22F0ef7ed81D868C1aB39', [StakingProgramId.PearlBetaMechMarketplace]: '0xDaF34eC46298b53a3d24CBCb431E84eBd23927dA', } as const; @@ -117,6 +118,21 @@ export const GNOSIS_STAKING_PROGRAMS: StakingProgramMap = { STAKING_TOKEN_PROXY_ABI, ), }, + [StakingProgramId.PearlBeta6]: { + chainId: EvmChainId.Gnosis, + name: 'Pearl Beta 6', + agentsSupported: [AgentType.PredictTrader], + stakingRequirements: { + [TokenSymbol.OLAS]: 5000, + }, + mechType: MechType.Agent, + mech: MECHS[EvmChainId.Gnosis][MechType.Agent].contract, + activityChecker: ACTIVITY_CHECKERS[EvmChainId.Gnosis][MechType.Agent], + contract: new MulticallContract( + GNOSIS_STAKING_PROGRAMS_CONTRACT_ADDRESSES[StakingProgramId.PearlBeta6], + STAKING_TOKEN_PROXY_ABI, + ), + }, [StakingProgramId.PearlBetaMechMarketplace]: { chainId: EvmChainId.Gnosis, name: 'Pearl Beta Mech Marketplace', diff --git a/frontend/config/stakingPrograms/mode.ts b/frontend/config/stakingPrograms/mode.ts index 0c0d09b8..ebb3a318 100644 --- a/frontend/config/stakingPrograms/mode.ts +++ b/frontend/config/stakingPrograms/mode.ts @@ -19,6 +19,7 @@ export const MODE_STAKING_PROGRAMS_CONTRACT_ADDRESSES: Record = }; export const MODE_STAKING_PROGRAMS: StakingProgramMap = { + // modius alpha [StakingProgramId.ModiusAlpha]: { chainId: EvmChainId.Mode, name: 'Modius Alpha', @@ -33,6 +34,49 @@ export const MODE_STAKING_PROGRAMS: StakingProgramMap = { STAKING_TOKEN_PROXY_ABI, ), }, + [StakingProgramId.ModiusAlpha2]: { + chainId: EvmChainId.Mode, + name: 'Modius Alpha 2', + agentsSupported: [AgentType.Modius], + stakingRequirements: { + [TokenSymbol.OLAS]: 100, + }, + activityChecker: + ACTIVITY_CHECKERS[EvmChainId.Mode][ActivityCheckerType.Staking], + contract: new MulticallContract( + MODE_STAKING_PROGRAMS_CONTRACT_ADDRESSES[StakingProgramId.ModiusAlpha2], + STAKING_TOKEN_PROXY_ABI, + ), + }, + [StakingProgramId.ModiusAlpha3]: { + chainId: EvmChainId.Mode, + name: 'Modius Alpha 3', + agentsSupported: [AgentType.Modius], + stakingRequirements: { + [TokenSymbol.OLAS]: 1000, + }, + activityChecker: + ACTIVITY_CHECKERS[EvmChainId.Mode][ActivityCheckerType.Staking], + contract: new MulticallContract( + MODE_STAKING_PROGRAMS_CONTRACT_ADDRESSES[StakingProgramId.ModiusAlpha3], + STAKING_TOKEN_PROXY_ABI, + ), + }, + [StakingProgramId.ModiusAlpha4]: { + chainId: EvmChainId.Mode, + name: 'Modius Alpha 4', + agentsSupported: [AgentType.Modius], + stakingRequirements: { + [TokenSymbol.OLAS]: 5000, + }, + activityChecker: + ACTIVITY_CHECKERS[EvmChainId.Mode][ActivityCheckerType.Staking], + contract: new MulticallContract( + MODE_STAKING_PROGRAMS_CONTRACT_ADDRESSES[StakingProgramId.ModiusAlpha4], + STAKING_TOKEN_PROXY_ABI, + ), + }, + //optimus alpha [StakingProgramId.OptimusAlpha]: { chainId: EvmChainId.Mode, name: 'Optimus Alpha', diff --git a/frontend/enums/StakingProgram.ts b/frontend/enums/StakingProgram.ts index 35dd27dc..7a773a9b 100644 --- a/frontend/enums/StakingProgram.ts +++ b/frontend/enums/StakingProgram.ts @@ -5,9 +5,13 @@ export enum StakingProgramId { PearlBeta3 = 'pearl_beta_3', PearlBeta4 = 'pearl_beta_4', PearlBeta5 = 'pearl_beta_5', + PearlBeta6 = 'pearl_beta_6', PearlBetaMechMarketplace = 'pearl_beta_mech_marketplace', OptimusAlpha = 'optimus_alpha', MemeBaseAlpha2 = 'meme_base_alpha_2', MemeCeloAlpha2 = 'meme_celo_alpha_2', ModiusAlpha = 'modius_alpha', + ModiusAlpha2 = 'modius_alpha_2', + ModiusAlpha3 = 'modius_alpha_3', + ModiusAlpha4 = 'modius_alpha_4', } diff --git a/operate/ledger/profiles.py b/operate/ledger/profiles.py index 8fb0fab5..05d657ee 100644 --- a/operate/ledger/profiles.py +++ b/operate/ledger/profiles.py @@ -85,6 +85,7 @@ "pearl_beta_3": "0xBd59Ff0522aA773cB6074ce83cD1e4a05A457bc1", "pearl_beta_4": "0x3052451e1eAee78e62E169AfdF6288F8791F2918", "pearl_beta_5": "0x4Abe376Fda28c2F43b84884E5f822eA775DeA9F4", + "pearl_beta_6": "0x6C6D01e8eA8f806eF0c22F0ef7ed81D868C1aB39", "pearl_beta_mech_marketplace": "0xDaF34eC46298b53a3d24CBCb431E84eBd23927dA", }, Chain.OPTIMISTIC: { @@ -98,6 +99,9 @@ Chain.MODE: { "optimus_alpha": "0x5fc25f50E96857373C64dC0eDb1AbCBEd4587e91", "modius_alpha": "0x534C0A05B6d4d28d5f3630D6D74857B253cf8332", + "modius_alpha_2": "0xeC013E68FE4B5734643499887941eC197fd757D0", + "modius_alpha_3": "0x9034D0413D122015710f1744A19eFb1d7c2CEB13", + "modius_alpha_4": "0x8BcAdb2c291C159F9385964e5eD95a9887302862", }, }