Skip to content

Commit 9733fd8

Browse files
Add Arrland adapter (DefiLlama#11214)
* Name: Pirates of the Arrland Twitter Link: https://x.com/ArrlandNFT List of audit links if any: https://github.com/solidproof/projects/tree/main/2024/Arrland https://skynet.certik.com/projects/arrland https://github.com/solidproof/projects/tree/main/2024/Pirates%20of%20the%20Arrland Website Link: https://arrland.com/ Logo (High resolution, will be shown with rounded borders): https://imgur.com/WelrkvN.png Current TVL: --- polygon-staking --- RUM 928.9489624865132 Total: 928.9489624865132 --- polygon-pool2 --- RUM 11.11 k WMATIC 9.15 k USDT 1.97 k Total: 22.23 k --- polygon --- USD+ 51.66 k Total: 51.66 k --- staking --- RUM 929 Total: 928.9489624865132 --- pool2 --- RUM 11.11 k WMATIC 9.15 k USDT 1.97 k Total: 22.23 k --- tvl --- USD+ 51.66 k Total: 51.66 k ------ TVL ------ polygon 51.66 k polygon-pool2 22.23 k pool2 22.23 k polygon-staking 929 staking 929 total 51.66 k Treasury Addresses (if the protocol has treasury) - None Chain: Polygon Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): "arrland-rum" Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): 24789 Short Description (to be shown on DefiLlama): Pirates of the Arrland is a Play2Earn competetive 3D game project combining DeFi and on-chain farming. Token address and ticker if any: 0x14E5386f47466A463f85D151653E1736c0c50Fc3 Category (full list at https://defillama.com/categories) *Please choose only one: Gaming forkedFrom (Does your project originate from another project): No methodology: Counts total value locked on Pirate NFTs staked, the token staking, LP token staking Github org/user (Optional, if your code is open source, we can track activity): https://github.com/arrland * Update TVL calculation for Arrland on Polygon - Remove custom TVL calculation based on NFT floor price - Simplify TVL calculation using sumTokensExport helper - TVL now counts $RUM tokens locked in LP staking contracts - Update methodology description to reflect new calculation method * Refactor TVL calculation for Arrland on Polygon - Remove sumTokensExport helper for TVL calculation - Set TVL to return 0 - Update methodology to reflect the simplified TVL calculation --------- Co-authored-by: Dominik Szopa <[email protected]>
1 parent d255b0d commit 9733fd8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

projects/arrland/index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
const { stakings } = require("../helper/staking");
3+
const { pool2s } = require("../helper/pool2");
4+
5+
const stakingAddresses = ["0x111e34bA90D1dE9a2A57f987b5711C71FA4c0Fa0"];
6+
const stakingToken = "0x14e5386f47466a463f85d151653e1736c0c50fc3";
7+
const pool2StakingAddresses = ["0xEAf6E84B4E4C2Ce70a80fd781B6A7f177E7b60F5", "0xb94380939A15C574FE22B04FC95Ec5CCaAD783b8"];
8+
const lpTokens = ["0x6495b61b8088a0a82de737ffb142136119b016e6", "0x464b7eb1c66d662e652dfbfced35d465498ad9ac"];
9+
10+
module.exports = {
11+
polygon: {
12+
tvl: () => 0,
13+
staking: stakings(stakingAddresses, stakingToken, "polygon"),
14+
pool2: pool2s(pool2StakingAddresses, lpTokens, "polygon")
15+
},
16+
methodology: "Counts total value locked as the $RUM token staking, LP token staking",
17+
}

0 commit comments

Comments
 (0)