mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-29 13:25:30 +08:00
Add New Chain: 0G (#16713)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
12
projects/gimo/index.js
Normal file
12
projects/gimo/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const { staking } = require("../helper/staking");
|
||||
|
||||
const st0gAddress = "0x7bBC63D01CA42491c3E084C941c3E86e55951404"; // st0G - Liquid Staking 0G
|
||||
const stakingAddress = "0xAc06d1Df23a4Fa00981aFAC0f33A5936Bd2135aF"; // Gimo Staking Vault
|
||||
|
||||
module.exports = {
|
||||
methodology: "TVL counts st0G tokens locked in Gimo's staking vault for liquid staking on 0G Chain.",
|
||||
"0g": {
|
||||
tvl: () => ({}),
|
||||
staking: staking(stakingAddress, st0gAddress, "0g"),
|
||||
},
|
||||
};
|
||||
@@ -1,4 +1,5 @@
|
||||
[
|
||||
"0g",
|
||||
"abstract",
|
||||
"acala",
|
||||
"ace",
|
||||
|
||||
@@ -112,6 +112,11 @@ const fixBalancesTokens = {
|
||||
kasplex: {
|
||||
'0x2c2Ae87Ba178F48637acAe54B87c3924F544a83e': { coingeckoId: 'kaspa', decimals: 18 },
|
||||
},
|
||||
'0g': {
|
||||
'0x1cd0690ff9a693f5ef2dd976660a8dafc81a109c': { coingeckoId: 'zero-gravity', decimals: 18 }, // W0G (Wrapped 0G)
|
||||
'0x7bbc63d01ca42491c3e084c941c3e86e55951404': { coingeckoId: 'zero-gravity', decimals: 18 }, // st0G (Liquid Staking 0G from Gimo)
|
||||
'0x9cc1d782e6dfe5936204c3295cb430e641dcf300': { coingeckoId: 'ethereum', decimals: 18 }, // WETH (Wrapped ETH)
|
||||
}
|
||||
}
|
||||
|
||||
ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) })
|
||||
|
||||
8
projects/jaine/index.js
Normal file
8
projects/jaine/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const { uniV3Export } = require("../helper/uniswapV3");
|
||||
|
||||
module.exports = uniV3Export({
|
||||
"0g": {
|
||||
factory: "0x9bdcA5798E52e592A08e3b34d3F18EeF76Af7ef4",
|
||||
fromBlock: 5938512,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user