-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f719011
commit 492e4fd
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { manualLinear, manualStep } from "../adapters/manual"; | ||
import { Protocol } from "../types/adapters"; | ||
import { periodToSeconds } from "../utils/time"; | ||
|
||
const chain = "ethereum"; | ||
const address = "0x64bc2ca1be492be7185faa2c8835d9b824c8a194"; | ||
const start = 1696896000; | ||
const total = 5e9; | ||
|
||
const altlayer: Protocol = { | ||
"Community / Marketing": manualLinear( | ||
start, | ||
start + periodToSeconds.years(7), | ||
total * 0.2, | ||
), | ||
"Player Rewards": manualStep( | ||
start, | ||
periodToSeconds.months(6), | ||
6, | ||
total * 0.1, | ||
), | ||
"Ecosystem / Treasury": manualStep( | ||
start, | ||
periodToSeconds.months(6), | ||
6, | ||
(total * 0.2) / 6, | ||
), | ||
meta: { | ||
sources: [ | ||
"https://wiki.bigtime.gg/big-time-economy/economy-components/resources/usdbigtime-tokens", | ||
], | ||
token: `${chain}:${address}`, | ||
protocolIds: ["4644"], | ||
}, | ||
categories: { | ||
noncirculating: ["Ecosystem / Treasury"], | ||
farming: ["Community / Marketing", "Player Rewards"], | ||
}, | ||
}; | ||
export default altlayer; |