From c45d452eb8cef67fcf70db6d802e033b5b240105 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Thu, 2 Nov 2023 03:56:59 +0000 Subject: [PATCH] add rarible --- protocols/rarible.ts | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 protocols/rarible.ts diff --git a/protocols/rarible.ts b/protocols/rarible.ts new file mode 100644 index 0000000..776e01e --- /dev/null +++ b/protocols/rarible.ts @@ -0,0 +1,48 @@ +import { Protocol } from "../types/adapters"; +import { manualStep, manualLog, manualCliff } from "../adapters/manual"; +import { periodToSeconds } from "../utils/time"; + +const start = 1594771200; +const tradingRewardsStart = 1595116800; +const weeklyUnlockAmount = 75e3; + +const rarible: Protocol = { + "Team and Investors": manualStep( + start, + periodToSeconds.day, + 1, + 7.5e6 + ), + "Airdrop: All NFT Holders": manualStep( + start, + periodToSeconds.day, + 1, + 2e6 + ), + "Airdrop: Rarible Users": manualStep( + start, + periodToSeconds.day, + 1, + 500e3 + ), + "Trading Rewards":[ + manualCliff(tradingRewardsStart, weeklyUnlockAmount), + manualStep( tradingRewardsStart, periodToSeconds.week, 200, weeklyUnlockAmount), + ], + meta: { + notes: [ + "Token allocation and distribution are based on Rarible's governance and token economics.", + "Trading rewards are distributed weekly over a 200-week period, starting from July 15, 2020." + ], + sources: ["https://www.bybit.com/en/web3/raiders/47"], + token: "ethereum:0xfca59cd816ab1ead66534d82bc21e7515ce441cf", + protocolIds: ["2504"], + }, + categories: { + insiders: ["Team and Investors"], + airdrop: ["Airdrop: All NFT Holders", "Airdrop: Rarible Users"], + farming: ["Trading Rewards"], + }, +}; + +export default rarible; \ No newline at end of file