Skip to content

Commit

Permalink
patch arbi
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Jan 15, 2025
1 parent fd6acff commit 064e52a
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions protocols/arbitrum.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { balance } from "../adapters/balance";
import { latest } from "../adapters/balance";
import { manualCliff, manualStep } from "../adapters/manual";
import { manualCliff, manualLinear, manualStep } from "../adapters/manual";
import { Protocol } from "../types/adapters";
import { periodToSeconds } from "../utils/time";

Expand All @@ -13,6 +13,15 @@ const token = "0x912ce59144191c1204e64559fe8253a0e49e6548";
const chain = "arbitrum";
const arbitrum: Protocol = {
Airdrop: manualCliff(start, qty * 0.1162),
Foundation: manualLinear("2023-04-17", "2027-04-17", 75e7),
"Arbitrum DAO Treasury": () =>
balance(
["0xF3FC178157fb3c87548bAA86F9d24BA38E649B58"],
token,
chain,
"arbitrum",
1686132532, // no outflows at this time
),
"Advisors Team OffchainLabs": [
manualCliff(end_team_investors_1year, qty_advisors * 0.25), // 25% cliff after 1 year
manualStep(
Expand All @@ -31,16 +40,6 @@ const arbitrum: Protocol = {
(qty_investors * 0.75) / 36,
), // monthly steps for the next 3 years
],
"Ecosystem Development Fund": () =>
balance([], token, chain, "arbitrum", 1686132532),
"Arbitrum DAO Treasury": () =>
balance(
["0xF3FC178157fb3c87548bAA86F9d24BA38E649B58"],
token,
chain,
"arbitrum",
1686132532, // no outflows at this time
),
meta: {
token: `${chain}:${token}`,
sources: [
Expand All @@ -54,11 +53,6 @@ const arbitrum: Protocol = {
allocation: qty * 0.4278,
lastRecord: () => latest("arbitrum", 1686132532), // no outflows at this time
},
{
key: "Ecosystem Development Fund",
allocation: undefined,
lastRecord: () => latest("arbitrum", 1686132532),
},
],
},
categories: {
Expand Down

0 comments on commit 064e52a

Please sign in to comment.