Skip to content

Commit

Permalink
add rarible
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Nov 2, 2023
1 parent 8b03dc5 commit c45d452
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions protocols/rarible.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit c45d452

Please sign in to comment.