Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production v5.3.8 #177

Merged
merged 15 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pangolindex/sdk",
"license": "MIT",
"version": "5.3.7",
"version": "5.3.8-rc.1",
"description": "🛠 An SDK for building applications on top of Pangolin.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
27 changes: 20 additions & 7 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ export const AVALANCHE_MAINNET: Chain = {
supported_by_bridge: true,
rpc_uri: 'https://api.avax.network/ext/bc/C/rpc',
subgraph: {
exchange: 'https://graph-avalanche.pangolin.network/subgraphs/name/avalanche/pangolin-v2',
blocks: 'https://graph-avalanche.pangolin.network/subgraphs/name/avalanche/blocks',
minichef: 'https://graph-avalanche.pangolin.network/subgraphs/name/avalanche/pangolin-v2',
governance: 'https://graph-avalanche.pangolin.network/subgraphs/name/avalanche/governorAlpha',
elixir: 'https://graph-avalanche.pangolin.network/subgraphs/name/avalanche/pangolin-elixir'
exchange: 'https://api.studio.thegraph.com/query/59684/avalanche-pangolin-v2/version/latest',
blocks: 'https://api.studio.thegraph.com/query/59684/avalanche-pangolin-blocks/version/latest',
minichef: 'https://api.studio.thegraph.com/query/59684/avalanche-pangolin-v2/version/latest',
governance: 'https://api.studio.thegraph.com/query/59684/avalan-pangolin-governor-alpha/version/latest',
elixir: 'https://api.studio.thegraph.com/query/59684/avalanche-pangolin-elixir/version/latest'
},
coingecko_id: 'avalanche',
debank_pangolin_id: 'avax_pangolin',
Expand Down Expand Up @@ -712,6 +712,9 @@ export const COSTON_TESTNET: Chain = {
supported_by_twap: false,
supported_by_bridge: false,
rpc_uri: 'https://coston-api.flare.network/ext/bc/C/rpc',
subgraph: {
governance: 'https://flare.pangolin.network/subgraphs/name/coston/governorPango'
},
contracts: {
png: '0x0A8744c2a48b0e09a3e4C3A381A8E0d8d900bAFe',
factory: '0xa5D4D920cea39f0344A99b2a3c4597E10DA16D88',
Expand Down Expand Up @@ -1407,7 +1410,8 @@ export const HEDERA_MAINNET: Chain = {
exchange: 'https://graph-hedera-main.pangolin.network/subgraphs/name/pangolin',
blocks: 'https://graph-hedera-main.pangolin.network/subgraphs/name/blocks',
pangochef: 'https://graph-hedera-main.pangolin.network/subgraphs/name/pangolin',
singleStaking: 'https://graph-hedera-main.pangolin.network/subgraphs/name/pangolin'
singleStaking: 'https://graph-hedera-main.pangolin.network/subgraphs/name/pangolin',
governance: 'https://graph-hedera-main.pangolin.network/subgraphs/name/governor'
},
contracts: {
png: '0x00000000000000000000000000000000001a88b2',
Expand Down Expand Up @@ -1438,7 +1442,7 @@ export const HEDERA_MAINNET: Chain = {
],
timelock: '0x00000000000000000000000000000000001a88ac',
governor: {
address: '0x0000000000000000000000000000000000316e89',
address: '0x00000000000000000000000000000000003c73df',
type: GovernanceType.SAR_NFT
},
migrator: '',
Expand Down Expand Up @@ -1635,6 +1639,9 @@ export const SONGBIRD_CANARY: Chain = {
supported_by_twap: false,
supported_by_bridge: false,
rpc_uri: 'https://sgb.ftso.com.au/ext/bc/C/rpc',
subgraph: {
governance: 'https://flare.pangolin.network/subgraphs/name/songbird/governorPango'
},
contracts: {
png: '0xb2987753D1561570f726Aa373F48E77e27aa5FF4',
factory: '0xB66E62b25c42D55655a82F8ebf699f2266f329FB',
Expand Down Expand Up @@ -1701,6 +1708,9 @@ export const FLARE_MAINNET: Chain = {
supported_by_twap: false,
supported_by_bridge: false,
rpc_uri: 'https://flare-api.flare.network/ext/C/rpc',
subgraph: {
governance: 'https://flare.pangolin.network/subgraphs/name/flare/governorPango'
},
contracts: {
png: '0xB5010D5Eb31AA8776b52C7394B76D6d627501C73',
factory: '0xbfe13753156b9c6b2818FB45ff3D2392ea43d79A',
Expand Down Expand Up @@ -2136,6 +2146,9 @@ export const COSTON2_TESTNET: Chain = {
supported_by_twap: false,
supported_by_bridge: false,
rpc_uri: 'https://coston2-api.flare.network/ext/C/rpc',
subgraph: {
governance: 'https://flare.pangolin.network/subgraphs/name/coston2/governorPango'
},
contracts: {
png: '0x6169CD307Be7E24152dF23a7A945A1ea3eC7b438',
factory: '0x4a2ba0812a92c78b3975bA25509b08b49972dFFa',
Expand Down
8 changes: 6 additions & 2 deletions src/elixirVaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ export interface ElixirVaultProvider {
id: string
name: string
logo: string
description: string
}

export const DEFIEDGE: ElixirVaultProvider = {
id: 'defiedge',
name: 'DefiEdge',
logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/elixirVaults/DefiEdge.png'
logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/elixirVaults/DefiEdge.png',
description:
"Optimize your liquidity management with DeFiEdge's Automated Liquidity Optimization (ALO) solution. Designed to manage both narrow and wide ranges within a single strategy. ALO dynamically allocates liquidity in response to market volatility and fluctuations, aiming for consistent returns and reduced impermanent loss."
}

export const ICHI: ElixirVaultProvider = {
id: 'ichi',
name: 'Ichi',
logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/elixirVaults/Ichi.png'
logo: 'https://raw.githubusercontent.com/pangolindex/sdk/master/src/images/elixirVaults/Ichi.png',
description: ''
}
Loading