From 8f46a14e025b2fd866afa7fee7130b0319b31279 Mon Sep 17 00:00:00 2001 From: othernet-global <125950061+salty-io@users.noreply.github.com> Date: Fri, 26 Apr 2024 17:18:33 -0800 Subject: [PATCH 1/3] Added Salty.IO --- protocols/saltyio.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 protocols/saltyio.ts diff --git a/protocols/saltyio.ts b/protocols/saltyio.ts new file mode 100644 index 0000000..418b50d --- /dev/null +++ b/protocols/saltyio.ts @@ -0,0 +1,31 @@ +import { manualCliff, manualLinear, manualStep, manualLog } from "../adapters/manual"; +import { LinearAdapterResult, Protocol } from "../types/adapters"; +import { periodToSeconds } from "../utils/time"; + +const start = 1713700739; + +const saltyio: Protocol = + { + "Emissions": manualLog(start, start + periodToSeconds.year * 10, 51000000, periodToSeconds.week, .50), + "DAO Reserve": manualLinear(start, start + periodToSeconds.year * 10, 25000000), + "Initial Dev Team": manualLinear(start, start + periodToSeconds.year * 10, 10000000), + "Liquidity Bootstrapping": manualLog(start, start + periodToSeconds.year * 10, 5000000, periodToSeconds.day, .75), + "Staking Bootstrapping": manualLog(start, start + periodToSeconds.year * 10, 3000000, periodToSeconds.day, .75), + "Airdrop 1": manualLinear(start, start + periodToSeconds.week * 52, 3000000), + "Airdrop 2": manualLinear(start + periodToSeconds.day * 45, start + periodToSeconds.day * 45 + periodToSeconds.week * 52, 3000000), + meta: + { + sources: ["https://docs.salty.io/the-salt-token/distribution"], + token: "ethereum:0x0110B0c3391584Ba24Dbf8017Bf462e9f78A6d9F", + protocolIds: [] + }, + categories: + { + farming: [ "Airdrop 1", "Airdrop 2", "Emissions"], + noncirculating: [ "DAO Reserve" ], + insiders: [ "Initial Dev Team" ], + } + }; + +export default saltyio; + From 1a1f2acdd2005da3d231186d226ee58ce8539b9d Mon Sep 17 00:00:00 2001 From: Othernet Global <125950061+othernet-global@users.noreply.github.com> Date: Fri, 26 Apr 2024 17:24:56 -0800 Subject: [PATCH 2/3] Update saltyio.ts Added Staking and Liquidity Bootstrapping to farming --- protocols/saltyio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/saltyio.ts b/protocols/saltyio.ts index 418b50d..80cc314 100644 --- a/protocols/saltyio.ts +++ b/protocols/saltyio.ts @@ -21,7 +21,7 @@ const saltyio: Protocol = }, categories: { - farming: [ "Airdrop 1", "Airdrop 2", "Emissions"], + farming: [ "Airdrop 1", "Airdrop 2", "Emissions", "Liquidity Bootstrapping", "Staking Bootstrapping"], noncirculating: [ "DAO Reserve" ], insiders: [ "Initial Dev Team" ], } From 01bc71b8a7b45aeb6a5d2d1413ba0e12f88ef438 Mon Sep 17 00:00:00 2001 From: Real Shaman <85087525+realdealshaman@users.noreply.github.com> Date: Sat, 27 Apr 2024 22:20:50 +0100 Subject: [PATCH 3/3] Update saltyio.ts add id and add additional categories --- protocols/saltyio.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/protocols/saltyio.ts b/protocols/saltyio.ts index 80cc314..e673564 100644 --- a/protocols/saltyio.ts +++ b/protocols/saltyio.ts @@ -17,11 +17,13 @@ const saltyio: Protocol = { sources: ["https://docs.salty.io/the-salt-token/distribution"], token: "ethereum:0x0110B0c3391584Ba24Dbf8017Bf462e9f78A6d9F", - protocolIds: [] + protocolIds: ["4533"] }, categories: { - farming: [ "Airdrop 1", "Airdrop 2", "Emissions", "Liquidity Bootstrapping", "Staking Bootstrapping"], + farming: [ "Emissions" ], + airdrop: ["Airdrop 1", "Airdrop 2"], + liquidity: ["Liquidity Bootstrapping", "Staking Bootstrapping"], noncirculating: [ "DAO Reserve" ], insiders: [ "Initial Dev Team" ], }