impermax-sdk 1.2.112 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/abis/ImpermaxABI.d.ts +2 -2
- package/lib/abis/ImpermaxABI.js +3 -3
- package/lib/abis/contracts/ClaimAggregator.json +2015 -2015
- package/lib/abis/contracts/IAllowanceTransfer.json +3772 -0
- package/lib/abis/contracts/IBorrowable.json +13207 -13207
- package/lib/abis/contracts/IClaimable.json +406 -406
- package/lib/abis/contracts/ICollateral.json +9052 -9052
- package/lib/abis/contracts/IERC20.json +2376 -2376
- package/lib/abis/contracts/IERC721.json +3515 -0
- package/lib/abis/contracts/IFactory.json +3660 -3660
- package/lib/abis/contracts/IFarmingPool.json +3584 -3584
- package/lib/abis/contracts/ILendingVaultV1.json +8358 -8358
- package/lib/abis/contracts/IMerkleDistributor.json +1134 -1134
- package/lib/abis/contracts/IRouter02.json +7283 -7283
- package/lib/abis/contracts/ISimpleUniswapOracle.json +1469 -1469
- package/lib/abis/contracts/IStakedLPToken.json +7309 -7309
- package/lib/abis/contracts/IStakingRewards.json +1036 -1036
- package/lib/abis/contracts/ITokenizedUniswapV2Position.json +4167 -0
- package/lib/abis/contracts/ITokenizedUniswapV3Position.json +5539 -0
- package/lib/abis/contracts/IUniswapV2Factory.json +1690 -1690
- package/lib/abis/contracts/IUniswapV2Pair.json +6761 -6761
- package/lib/abis/contracts/IUniswapV3Pool.json +6606 -0
- package/lib/abis/contracts/ImpermaxChef.json +20945 -20945
- package/lib/abis/contracts/ImpermaxConfigManager.json +31595 -31595
- package/lib/abis/contracts/ImpermaxV3Borrowable.json +22131 -0
- package/lib/abis/contracts/ImpermaxV3Collateral.json +22988 -0
- package/lib/abis/contracts/ImpermaxV3Factory.json +17645 -0
- package/lib/abis/contracts/ImpermaxV3UniV2Router01.json +32488 -0
- package/lib/abis/contracts/ImpermaxV3UniV3Router01.json +37742 -0
- package/lib/abis/contracts/LendingVaultWatcher01.json +4076 -4076
- package/lib/abis/contracts/PoolTokenRouter01.json +9058 -0
- package/lib/config/amms.d.ts +102 -104
- package/lib/config/amms.js +433 -436
- package/lib/config/chainId.d.ts +2 -0
- package/lib/config/chainId.js +26 -0
- package/lib/config/contracts/claim-aggregators.d.ts +2 -2
- package/lib/config/contracts/claim-aggregators.js +26 -26
- package/lib/config/contracts/impermax-chef.d.ts +2 -2
- package/lib/config/contracts/impermax-chef.js +27 -27
- package/lib/config/contracts/impermax-config-manager.d.ts +2 -2
- package/lib/config/contracts/impermax-config-manager.js +26 -26
- package/lib/config/contracts/impermax-factories.d.ts +4 -4
- package/lib/config/contracts/impermax-factories.js +87 -87
- package/lib/config/contracts/imxes.d.ts +2 -2
- package/lib/config/contracts/imxes.js +26 -26
- package/lib/config/contracts/lending-vault-watcher.d.ts +2 -2
- package/lib/config/contracts/lending-vault-watcher.js +26 -26
- package/lib/config/contracts/merkle-distributors.d.ts +4 -4
- package/lib/config/contracts/merkle-distributors.js +70 -70
- package/lib/config/contracts/routers.d.ts +4 -3
- package/lib/config/contracts/routers.js +118 -94
- package/lib/config/contracts/simple-uniswap-oracles.d.ts +2 -2
- package/lib/config/contracts/simple-uniswap-oracles.js +49 -49
- package/lib/config/contracts/weths.d.ts +2 -2
- package/lib/config/contracts/weths.js +27 -27
- package/lib/config/debank-ids.d.ts +2 -2
- package/lib/config/debank-ids.js +26 -26
- package/lib/config/endpoints/merkle-distributors.d.ts +4 -4
- package/lib/config/endpoints/merkle-distributors.js +70 -70
- package/lib/config/eth.d.ts +3 -3
- package/lib/config/eth.js +48 -48
- package/lib/config/factories.d.ts +7 -7
- package/lib/config/factories.js +31 -30
- package/lib/config/farms.d.ts +109 -111
- package/lib/config/farms.js +207 -210
- package/lib/config/general.d.ts +5 -5
- package/lib/config/general.js +8 -8
- package/lib/config/subgraphs.d.ts +45 -45
- package/lib/config/subgraphs.js +187 -187
- package/lib/config/types.d.ts +85 -72
- package/lib/config/types.js +72 -58
- package/lib/index.d.ts +36 -35
- package/lib/index.js +159 -152
- package/lib/offchain/account/index.d.ts +9 -7
- package/lib/offchain/account/index.js +43 -39
- package/lib/offchain/account/lendingPool/borrowable.d.ts +14 -0
- package/lib/offchain/account/lendingPool/borrowable.js +73 -0
- package/lib/offchain/account/lendingPool/collateral.d.ts +12 -0
- package/lib/offchain/account/lendingPool/collateral.js +42 -0
- package/lib/offchain/account/lendingPool/index.d.ts +6 -5
- package/lib/offchain/account/lendingPool/index.js +14 -12
- package/lib/offchain/account/lendingPool/offchainAccountBorrowable.d.ts +14 -17
- package/lib/offchain/account/lendingPool/offchainAccountBorrowable.js +45 -71
- package/lib/offchain/account/lendingPool/offchainAccountCollateral.d.ts +11 -13
- package/lib/offchain/account/lendingPool/offchainAccountCollateral.js +31 -43
- package/lib/offchain/account/lendingPool/offchainAccountLendingPool.d.ts +28 -21
- package/lib/offchain/account/lendingPool/offchainAccountLendingPool.js +69 -68
- package/lib/offchain/account/lendingPool/offchainLeveragedPosition.d.ts +25 -0
- package/lib/offchain/account/lendingPool/offchainLeveragedPosition.js +116 -0
- package/lib/offchain/account/lendingVault.d.ts +11 -0
- package/lib/offchain/account/lendingVault.js +38 -0
- package/lib/offchain/account/offchainAccount.d.ts +25 -25
- package/lib/offchain/account/offchainAccount.js +129 -129
- package/lib/offchain/account/offchainAccountLendingVault.d.ts +16 -16
- package/lib/offchain/account/offchainAccountLendingVault.js +64 -64
- package/lib/offchain/account/offchainAccountPoolToken.d.ts +7 -7
- package/lib/offchain/account/offchainAccountPoolToken.js +24 -24
- package/lib/offchain/account/offchainMultichainAccount.d.ts +34 -0
- package/lib/offchain/account/offchainMultichainAccount.js +66 -0
- package/lib/offchain/account/poolToken.d.ts +6 -0
- package/lib/offchain/account/poolToken.js +21 -0
- package/lib/offchain/account/vault/index.d.ts +3 -0
- package/lib/offchain/account/vault/index.js +7 -0
- package/lib/offchain/account/vault/offchainAccountVault.d.ts +16 -0
- package/lib/offchain/account/vault/offchainAccountVault.js +64 -0
- package/lib/offchain/configManager/index.d.ts +5 -5
- package/lib/offchain/configManager/index.js +12 -12
- package/lib/offchain/configManager/offchainConfigManager.d.ts +25 -25
- package/lib/offchain/configManager/offchainConfigManager.js +76 -76
- package/lib/offchain/configManager/offchainConfigManagerInitializer.d.ts +6 -6
- package/lib/offchain/configManager/offchainConfigManagerInitializer.js +53 -53
- package/lib/offchain/configManager/offchainPairConfig.d.ts +40 -40
- package/lib/offchain/configManager/offchainPairConfig.js +86 -86
- package/lib/offchain/configManager/offchainProposal.d.ts +17 -17
- package/lib/offchain/configManager/offchainProposal.js +53 -53
- package/lib/offchain/index.d.ts +15 -14
- package/lib/offchain/index.js +55 -53
- package/lib/offchain/initializer.d.ts +32 -0
- package/lib/offchain/initializer.js +627 -0
- package/lib/offchain/lendingPool/borrowable.d.ts +55 -0
- package/lib/offchain/lendingPool/borrowable.js +351 -0
- package/lib/offchain/lendingPool/collateral.d.ts +17 -0
- package/lib/offchain/lendingPool/collateral.js +72 -0
- package/lib/offchain/lendingPool/index.d.ts +5 -5
- package/lib/offchain/lendingPool/index.js +12 -12
- package/lib/offchain/lendingPool/offchainBorrowable.d.ts +59 -59
- package/lib/offchain/lendingPool/offchainBorrowable.js +366 -366
- package/lib/offchain/lendingPool/offchainCollateral.d.ts +20 -19
- package/lib/offchain/lendingPool/offchainCollateral.js +81 -75
- package/lib/offchain/lendingPool/offchainLendingPool.d.ts +60 -47
- package/lib/offchain/lendingPool/offchainLendingPool.js +277 -230
- package/lib/offchain/lendingVault.d.ts +22 -0
- package/lib/offchain/lendingVault.js +115 -0
- package/lib/offchain/offchain.d.ts +106 -113
- package/lib/offchain/offchain.js +248 -251
- package/lib/offchain/offchainAPRHelper.d.ts +45 -45
- package/lib/offchain/offchainAPRHelper.js +239 -239
- package/lib/offchain/offchainEndpointManager.d.ts +25 -25
- package/lib/offchain/offchainEndpointManager.js +126 -126
- package/lib/offchain/offchainInitializer.d.ts +52 -52
- package/lib/offchain/offchainInitializer.js +792 -792
- package/lib/offchain/offchainLendingVault.d.ts +25 -25
- package/lib/offchain/offchainLendingVault.js +114 -114
- package/lib/offchain/offchainMultichain.d.ts +50 -0
- package/lib/offchain/offchainMultichain.js +75 -0
- package/lib/offchain/offchainPoolToken.d.ts +21 -21
- package/lib/offchain/offchainPoolToken.js +128 -128
- package/lib/offchain/offchainPriceHelper.d.ts +22 -22
- package/lib/offchain/offchainPriceHelper.js +364 -364
- package/lib/offchain/offchainSolidexHelper.d.ts +16 -16
- package/lib/offchain/offchainSolidexHelper.js +58 -58
- package/lib/offchain/offchainTypes.d.ts +212 -212
- package/lib/offchain/offchainTypes.js +3 -3
- package/lib/offchain/poolToken.d.ts +20 -0
- package/lib/offchain/poolToken.js +120 -0
- package/lib/offchain/priceHelper.d.ts +21 -0
- package/lib/offchain/priceHelper.js +195 -0
- package/lib/offchain/queries/apis/ponder/index.d.ts +14 -14
- package/lib/offchain/queries/apis/ponder/index.js +281 -281
- package/lib/offchain/queries/apis/thegraph/index.d.ts +19 -19
- package/lib/offchain/queries/apis/thegraph/index.js +355 -355
- package/lib/offchain/queries/index.d.ts +20 -20
- package/lib/offchain/queries/index.js +51 -51
- package/lib/offchain/queries/interfaces/query-builder.d.ts +19 -19
- package/lib/offchain/queries/interfaces/query-builder.js +2 -2
- package/lib/offchain/queries/interfaces/transformers.js +9 -9
- package/lib/offchain/query.d.ts +15 -0
- package/lib/offchain/query.js +323 -0
- package/lib/offchain/solidexHelper.d.ts +16 -0
- package/lib/offchain/solidexHelper.js +58 -0
- package/lib/offchain/types.d.ts +150 -0
- package/lib/offchain/types.js +3 -0
- package/lib/offchain/vault/index.d.ts +6 -0
- package/lib/offchain/vault/index.js +14 -0
- package/lib/offchain/vault/offchainHedgedVault.d.ts +9 -0
- package/lib/offchain/vault/offchainHedgedVault.js +57 -0
- package/lib/offchain/vault/offchainLendingVault.d.ts +16 -0
- package/lib/offchain/vault/offchainLendingVault.js +73 -0
- package/lib/offchain/vault/offchainLeveragedVault.d.ts +9 -0
- package/lib/offchain/vault/offchainLeveragedVault.js +57 -0
- package/lib/offchain/vault/offchainVault.d.ts +34 -0
- package/lib/offchain/vault/offchainVault.js +130 -0
- package/lib/onchain/account/index.d.ts +6 -6
- package/lib/onchain/account/index.js +38 -38
- package/lib/onchain/account/interactions/index.d.ts +28 -0
- package/lib/onchain/account/interactions/index.js +158 -0
- package/lib/onchain/account/interactions/lendingPool/borrowable.d.ts +16 -0
- package/lib/onchain/account/interactions/lendingPool/borrowable.js +49 -0
- package/lib/onchain/account/interactions/lendingPool/collateral.d.ts +15 -0
- package/lib/onchain/account/interactions/lendingPool/collateral.js +33 -0
- package/lib/onchain/account/interactions/lendingPool/index.d.ts +41 -0
- package/lib/onchain/account/interactions/lendingPool/index.js +120 -0
- package/lib/onchain/account/interactions/lendingVault.d.ts +10 -0
- package/lib/onchain/account/interactions/lendingVault.js +12 -0
- package/lib/onchain/account/interactions/poolToken.d.ts +33 -0
- package/lib/onchain/account/interactions/poolToken.js +180 -0
- package/lib/onchain/account/lendingPool/borrowable.d.ts +29 -0
- package/lib/onchain/account/lendingPool/borrowable.js +135 -0
- package/lib/onchain/account/lendingPool/collateral.d.ts +15 -0
- package/lib/onchain/account/lendingPool/collateral.js +66 -0
- package/lib/onchain/account/lendingPool/index.d.ts +12 -5
- package/lib/onchain/account/lendingPool/index.js +49 -12
- package/lib/onchain/account/lendingPool/nftlp/index.d.ts +4 -0
- package/lib/onchain/account/lendingPool/nftlp/index.js +11 -0
- package/lib/onchain/account/lendingPool/nftlp/onchainAccountNftlp.d.ts +7 -0
- package/lib/onchain/account/lendingPool/nftlp/onchainAccountNftlp.js +12 -0
- package/lib/onchain/account/lendingPool/nftlp/onchainAccountNftlpUniswapV3.d.ts +4 -0
- package/lib/onchain/account/lendingPool/nftlp/onchainAccountNftlpUniswapV3.js +13 -0
- package/lib/onchain/account/lendingPool/onchainAccountBorrowable.d.ts +39 -34
- package/lib/onchain/account/lendingPool/onchainAccountBorrowable.js +131 -176
- package/lib/onchain/account/lendingPool/onchainAccountBorrowableV2.d.ts +10 -0
- package/lib/onchain/account/lendingPool/onchainAccountBorrowableV2.js +55 -0
- package/lib/onchain/account/lendingPool/onchainAccountBorrowableV3.d.ts +10 -0
- package/lib/onchain/account/lendingPool/onchainAccountBorrowableV3.js +28 -0
- package/lib/onchain/account/lendingPool/onchainAccountCollateral.d.ts +10 -23
- package/lib/onchain/account/lendingPool/onchainAccountCollateral.js +26 -109
- package/lib/onchain/account/lendingPool/onchainAccountCollateralV2.d.ts +25 -0
- package/lib/onchain/account/lendingPool/onchainAccountCollateralV2.js +99 -0
- package/lib/onchain/account/lendingPool/onchainAccountCollateralV3.d.ts +18 -0
- package/lib/onchain/account/lendingPool/onchainAccountCollateralV3.js +44 -0
- package/lib/onchain/account/lendingPool/onchainAccountLendingPool.d.ts +42 -57
- package/lib/onchain/account/lendingPool/onchainAccountLendingPool.js +142 -352
- package/lib/onchain/account/lendingPool/onchainAccountLendingPoolV2.d.ts +44 -0
- package/lib/onchain/account/lendingPool/onchainAccountLendingPoolV2.js +285 -0
- package/lib/onchain/account/lendingPool/onchainAccountLendingPoolV3.d.ts +27 -0
- package/lib/onchain/account/lendingPool/onchainAccountLendingPoolV3.js +32 -0
- package/lib/onchain/account/lendingVault.d.ts +10 -0
- package/lib/onchain/account/lendingVault.js +35 -0
- package/lib/onchain/account/onchainAccount.d.ts +32 -32
- package/lib/onchain/account/onchainAccount.js +166 -167
- package/lib/onchain/account/onchainAccountLendingVault.d.ts +19 -19
- package/lib/onchain/account/onchainAccountLendingVault.js +48 -48
- package/lib/onchain/account/onchainAccountPoolToken.d.ts +30 -30
- package/lib/onchain/account/onchainAccountPoolToken.js +86 -86
- package/lib/onchain/account/poolToken.d.ts +24 -0
- package/lib/onchain/account/poolToken.js +84 -0
- package/lib/onchain/configManager/index.d.ts +5 -5
- package/lib/onchain/configManager/index.js +12 -12
- package/lib/onchain/configManager/onchainConfigManager.d.ts +12 -12
- package/lib/onchain/configManager/onchainConfigManager.js +38 -38
- package/lib/onchain/configManager/onchainPairConfig.d.ts +38 -38
- package/lib/onchain/configManager/onchainPairConfig.js +85 -85
- package/lib/onchain/configManager/onchainProposal.d.ts +17 -17
- package/lib/onchain/configManager/onchainProposal.js +55 -55
- package/lib/onchain/contractsHelper.d.ts +29 -0
- package/lib/onchain/contractsHelper.js +52 -0
- package/lib/onchain/impermaxFactory/index.d.ts +7 -5
- package/lib/onchain/impermaxFactory/index.js +39 -35
- package/lib/onchain/impermaxFactory/lendingPool/borrowable.d.ts +36 -0
- package/lib/onchain/impermaxFactory/lendingPool/borrowable.js +153 -0
- package/lib/onchain/impermaxFactory/lendingPool/collateral.d.ts +17 -0
- package/lib/onchain/impermaxFactory/lendingPool/collateral.js +59 -0
- package/lib/onchain/impermaxFactory/lendingPool/index.d.ts +12 -5
- package/lib/onchain/impermaxFactory/lendingPool/index.js +50 -12
- package/lib/onchain/impermaxFactory/lendingPool/nftlp/index.d.ts +4 -0
- package/lib/onchain/impermaxFactory/lendingPool/nftlp/index.js +11 -0
- package/lib/onchain/impermaxFactory/lendingPool/nftlp/onchainNftlp.d.ts +22 -0
- package/lib/onchain/impermaxFactory/lendingPool/nftlp/onchainNftlp.js +19 -0
- package/lib/onchain/impermaxFactory/lendingPool/nftlp/onchainNftlpUniswapV3.d.ts +24 -0
- package/lib/onchain/impermaxFactory/lendingPool/nftlp/onchainNftlpUniswapV3.js +90 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowable.d.ts +38 -34
- package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowable.js +137 -156
- package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowableV2.d.ts +9 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowableV2.js +36 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowableV3.d.ts +7 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainBorrowableV3.js +23 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainCollateral.d.ts +8 -19
- package/lib/onchain/impermaxFactory/lendingPool/onchainCollateral.js +24 -61
- package/lib/onchain/impermaxFactory/lendingPool/onchainCollateralV2.d.ts +20 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainCollateralV2.js +58 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainCollateralV3.d.ts +13 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainCollateralV3.js +36 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPool.d.ts +43 -58
- package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPool.js +81 -367
- package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPoolV2.d.ts +76 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPoolV2.js +338 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPoolV3.d.ts +42 -0
- package/lib/onchain/impermaxFactory/lendingPool/onchainLendingPoolV3.js +39 -0
- package/lib/onchain/impermaxFactory/onchainImpermaxFactory.d.ts +26 -16
- package/lib/onchain/impermaxFactory/onchainImpermaxFactory.js +42 -52
- package/lib/onchain/impermaxFactory/onchainImpermaxFactoryV2.d.ts +16 -0
- package/lib/onchain/impermaxFactory/onchainImpermaxFactoryV2.js +81 -0
- package/lib/onchain/impermaxFactory/onchainImpermaxFactoryV3.d.ts +16 -0
- package/lib/onchain/impermaxFactory/onchainImpermaxFactoryV3.js +88 -0
- package/lib/onchain/index.d.ts +10 -10
- package/lib/onchain/index.js +49 -49
- package/lib/onchain/interactions/index.d.ts +8 -8
- package/lib/onchain/interactions/index.js +41 -41
- package/lib/onchain/interactions/lendingPool/borrowable.d.ts +14 -0
- package/lib/onchain/interactions/lendingPool/borrowable.js +47 -0
- package/lib/onchain/interactions/lendingPool/collateral.d.ts +13 -0
- package/lib/onchain/interactions/lendingPool/collateral.js +31 -0
- package/lib/onchain/interactions/lendingPool/index.d.ts +12 -5
- package/lib/onchain/interactions/lendingPool/index.js +49 -12
- package/lib/onchain/interactions/lendingPool/nftlp/index.d.ts +4 -0
- package/lib/onchain/interactions/lendingPool/nftlp/index.js +11 -0
- package/lib/onchain/interactions/lendingPool/nftlp/onchainInteractionsNftlp.d.ts +7 -0
- package/lib/onchain/interactions/lendingPool/nftlp/onchainInteractionsNftlp.js +12 -0
- package/lib/onchain/interactions/lendingPool/nftlp/onchainInteractionsNftlpUniswapV3.d.ts +4 -0
- package/lib/onchain/interactions/lendingPool/nftlp/onchainInteractionsNftlpUniswapV3.js +13 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowable.d.ts +17 -21
- package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowable.js +24 -56
- package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowableV2.d.ts +15 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowableV2.js +63 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowableV3.d.ts +9 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsBorrowableV3.js +14 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateral.d.ts +7 -19
- package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateral.js +11 -43
- package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateralV2.d.ts +20 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateralV2.js +48 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateralV3.d.ts +13 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsCollateralV3.js +20 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPool.d.ts +31 -46
- package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPool.js +53 -135
- package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPoolV2.d.ts +42 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPoolV2.js +114 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPoolV3.d.ts +27 -0
- package/lib/onchain/interactions/lendingPool/onchainInteractionsLendingPoolV3.js +32 -0
- package/lib/onchain/interactions/lendingVault.d.ts +8 -0
- package/lib/onchain/interactions/lendingVault.js +15 -0
- package/lib/onchain/interactions/onchainInteractions.d.ts +31 -31
- package/lib/onchain/interactions/onchainInteractions.js +136 -137
- package/lib/onchain/interactions/onchainInteractionsConfigManager.d.ts +17 -17
- package/lib/onchain/interactions/onchainInteractionsConfigManager.js +44 -44
- package/lib/onchain/interactions/onchainInteractionsLendingVault.d.ts +14 -14
- package/lib/onchain/interactions/onchainInteractionsLendingVault.js +21 -21
- package/lib/onchain/interactions/onchainInteractionsPoolToken.d.ts +35 -35
- package/lib/onchain/interactions/onchainInteractionsPoolToken.js +134 -186
- package/lib/onchain/interactions/poolToken.d.ts +31 -0
- package/lib/onchain/interactions/poolToken.js +181 -0
- package/lib/onchain/lendingVault.d.ts +17 -0
- package/lib/onchain/lendingVault.js +56 -0
- package/lib/onchain/onchain.d.ts +38 -35
- package/lib/onchain/onchain.js +78 -70
- package/lib/onchain/onchainContractsHelper.d.ts +42 -31
- package/lib/onchain/onchainContractsHelper.js +90 -56
- package/lib/onchain/onchainLendingVault.d.ts +22 -22
- package/lib/onchain/onchainLendingVault.js +69 -69
- package/lib/onchain/onchainPermitHelper.d.ts +21 -0
- package/lib/onchain/onchainPermitHelper.js +198 -0
- package/lib/onchain/onchainPoolToken.d.ts +35 -35
- package/lib/onchain/onchainPoolToken.js +129 -129
- package/lib/onchain/onchainTypes.d.ts +70 -64
- package/lib/onchain/onchainTypes.js +14 -14
- package/lib/onchain/poolToken.d.ts +32 -0
- package/lib/onchain/poolToken.js +121 -0
- package/lib/onchain/types.d.ts +45 -0
- package/lib/onchain/types.js +14 -0
- package/lib/utils/ether-utils.d.ts +5 -5
- package/lib/utils/ether-utils.js +26 -26
- package/lib/utils/index.d.ts +3 -3
- package/lib/utils/index.js +16 -16
- package/lib/utils/lliquidity-math.d.ts +30 -30
- package/lib/utils/lliquidity-math.js +139 -139
- package/lib/utils/price-from-reserves.d.ts +2 -0
- package/lib/utils/price-from-reserves.js +19 -0
- package/package.json +36 -36
package/lib/config/amms.js
CHANGED
|
@@ -1,436 +1,433 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AMM_LP_FEE = exports.ADD_LIQUIDITY_URLS = exports.AMM_SUBGRAPH_URLS = exports.getAmmByFactory = exports.AMM_FACTORY = exports.hrAmms = exports.Amms = void 0;
|
|
4
|
-
const types_1 = require("./types");
|
|
5
|
-
var Amms;
|
|
6
|
-
(function (Amms) {
|
|
7
|
-
Amms["uniswap"] = "uniswap";
|
|
8
|
-
Amms["quickswap"] = "quickswap";
|
|
9
|
-
Amms["satin"] = "satin";
|
|
10
|
-
Amms["sushiswap"] = "sushiswap";
|
|
11
|
-
Amms["swapr"] = "swapr";
|
|
12
|
-
Amms["swapfish"] = "swapfish";
|
|
13
|
-
Amms["zyberswap"] = "zyberswap";
|
|
14
|
-
Amms["arbidex"] = "arbidex";
|
|
15
|
-
Amms["solidlizard"] = "solidlizard";
|
|
16
|
-
Amms["ramses"] = "ramses";
|
|
17
|
-
Amms["auragi"] = "auragi";
|
|
18
|
-
Amms["chronos"] = "chronos";
|
|
19
|
-
Amms["pangolin"] = "pangolin";
|
|
20
|
-
Amms["traderJoe"] = "traderJoe";
|
|
21
|
-
Amms["flair"] = "flair";
|
|
22
|
-
Amms["glacier"] = "glacier";
|
|
23
|
-
Amms["solarbeam"] = "solarbeam";
|
|
24
|
-
Amms["thorus"] = "thorus";
|
|
25
|
-
Amms["tetuswap"] = "tetuswap";
|
|
26
|
-
Amms["solidly"] = "solidly";
|
|
27
|
-
Amms["solidlyB"] = "solidlyB";
|
|
28
|
-
Amms["solidlyUSDC"] = "solidlyUSDC";
|
|
29
|
-
Amms["solidlyUSDCB"] = "solidlyUSDCB";
|
|
30
|
-
Amms["solidly091"] = "solidly091";
|
|
31
|
-
Amms["solidlyOxd"] = "solidlyOxd";
|
|
32
|
-
Amms["velocimeter"] = "velocimeter";
|
|
33
|
-
Amms["velocore"] = "velocore";
|
|
34
|
-
Amms["draculafi"] = "draculafi";
|
|
35
|
-
Amms["vesync"] = "vesync";
|
|
36
|
-
Amms["solunea"] = "solunea";
|
|
37
|
-
Amms["pearl"] = "pearl";
|
|
38
|
-
Amms["pearlStable"] = "pearlStable";
|
|
39
|
-
Amms["thruster"] = "thruster";
|
|
40
|
-
Amms["fenix"] = "fenix";
|
|
41
|
-
Amms["aerodrome"] = "aerodrome";
|
|
42
|
-
Amms["aeroStable"] = "aeroStable";
|
|
43
|
-
Amms["aeroStable1"] = "aeroStable1";
|
|
44
|
-
Amms["merchantmoe"] = "merchantmoe";
|
|
45
|
-
Amms["tokan"] = "tokan";
|
|
46
|
-
Amms["tokan1"] = "tokan1";
|
|
47
|
-
Amms["tokanStable"] = "tokanStable";
|
|
48
|
-
Amms["scale"] = "scale";
|
|
49
|
-
Amms["
|
|
50
|
-
Amms["
|
|
51
|
-
Amms["
|
|
52
|
-
Amms["
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
[Amms.
|
|
57
|
-
[Amms.
|
|
58
|
-
[Amms.
|
|
59
|
-
[Amms.
|
|
60
|
-
[Amms.
|
|
61
|
-
[Amms.
|
|
62
|
-
[Amms.
|
|
63
|
-
[Amms.
|
|
64
|
-
[Amms.
|
|
65
|
-
[Amms.
|
|
66
|
-
[Amms.
|
|
67
|
-
[Amms.
|
|
68
|
-
[Amms.
|
|
69
|
-
[Amms.
|
|
70
|
-
[Amms.
|
|
71
|
-
[Amms.
|
|
72
|
-
[Amms.
|
|
73
|
-
[Amms.
|
|
74
|
-
[Amms.
|
|
75
|
-
[Amms.
|
|
76
|
-
[Amms.
|
|
77
|
-
[Amms.
|
|
78
|
-
[Amms.
|
|
79
|
-
[Amms.
|
|
80
|
-
[Amms.
|
|
81
|
-
[Amms.
|
|
82
|
-
[Amms.
|
|
83
|
-
[Amms.
|
|
84
|
-
[Amms.
|
|
85
|
-
[Amms.
|
|
86
|
-
[Amms.
|
|
87
|
-
[Amms.
|
|
88
|
-
[Amms.
|
|
89
|
-
[Amms.
|
|
90
|
-
[Amms.
|
|
91
|
-
[Amms.
|
|
92
|
-
[Amms.
|
|
93
|
-
[Amms.
|
|
94
|
-
[Amms.
|
|
95
|
-
[Amms.
|
|
96
|
-
[Amms.
|
|
97
|
-
[Amms.
|
|
98
|
-
[Amms.
|
|
99
|
-
[Amms.
|
|
100
|
-
[Amms.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
[Amms.
|
|
113
|
-
[Amms.
|
|
114
|
-
[Amms.
|
|
115
|
-
[Amms.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
[Amms.
|
|
121
|
-
[Amms.
|
|
122
|
-
[Amms.
|
|
123
|
-
[Amms.
|
|
124
|
-
[Amms.
|
|
125
|
-
[Amms.
|
|
126
|
-
[Amms.
|
|
127
|
-
[Amms.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
[Amms.
|
|
133
|
-
[Amms.
|
|
134
|
-
[Amms.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
},
|
|
142
|
-
[types_1.Networks.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
[Amms.
|
|
146
|
-
[Amms.
|
|
147
|
-
[Amms.
|
|
148
|
-
[Amms.
|
|
149
|
-
[Amms.
|
|
150
|
-
[Amms.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
[Amms.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
},
|
|
166
|
-
[types_1.Networks.
|
|
167
|
-
[types_1.Networks.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
[Amms.
|
|
174
|
-
[Amms.
|
|
175
|
-
[Amms.
|
|
176
|
-
[Amms.
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
[Amms.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
[Amms.
|
|
185
|
-
},
|
|
186
|
-
[types_1.Networks.
|
|
187
|
-
[Amms.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
[types_1.Networks.
|
|
208
|
-
[Amms.
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
[Amms.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
[Amms.
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
[Amms.
|
|
219
|
-
[Amms.
|
|
220
|
-
[Amms.
|
|
221
|
-
//[Amms.
|
|
222
|
-
[Amms.
|
|
223
|
-
//[Amms.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
[Amms.
|
|
230
|
-
[Amms.
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
[Amms.
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
[Amms.
|
|
243
|
-
[Amms.
|
|
244
|
-
[Amms.
|
|
245
|
-
[Amms.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
},
|
|
250
|
-
[types_1.Networks.
|
|
251
|
-
[types_1.Networks.
|
|
252
|
-
[types_1.Networks.
|
|
253
|
-
[types_1.Networks.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
},
|
|
260
|
-
[types_1.Networks.
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
[types_1.Networks.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
[types_1.Networks.
|
|
267
|
-
[Amms.uniswap]: 'https://app.uniswap.org/#/add/V2/',
|
|
268
|
-
},
|
|
269
|
-
[types_1.Networks.
|
|
270
|
-
[Amms.
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
[Amms.
|
|
274
|
-
[Amms.
|
|
275
|
-
[Amms.
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
[Amms.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
[Amms.
|
|
282
|
-
[Amms.
|
|
283
|
-
[Amms.
|
|
284
|
-
[Amms.
|
|
285
|
-
[Amms.
|
|
286
|
-
[Amms.
|
|
287
|
-
[Amms.
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
[Amms.
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
[Amms.
|
|
294
|
-
[Amms.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
[Amms.
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
[Amms.
|
|
307
|
-
[Amms.
|
|
308
|
-
[Amms.
|
|
309
|
-
[Amms.
|
|
310
|
-
[Amms.
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
[Amms.
|
|
314
|
-
},
|
|
315
|
-
[types_1.Networks.
|
|
316
|
-
[Amms.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
[Amms.
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
},
|
|
327
|
-
[types_1.Networks.
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
[Amms.
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
[Amms.
|
|
335
|
-
},
|
|
336
|
-
[types_1.Networks.
|
|
337
|
-
[Amms.
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
[Amms.
|
|
342
|
-
},
|
|
343
|
-
[types_1.Networks.
|
|
344
|
-
[Amms.
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
[types_1.Networks.
|
|
353
|
-
[Amms.uniswap]: 0.003,
|
|
354
|
-
},
|
|
355
|
-
[types_1.Networks.
|
|
356
|
-
[Amms.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
[Amms.
|
|
360
|
-
[Amms.
|
|
361
|
-
[Amms.
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
[Amms.
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
[Amms.
|
|
368
|
-
[Amms.
|
|
369
|
-
[Amms.
|
|
370
|
-
[Amms.
|
|
371
|
-
[Amms.
|
|
372
|
-
[Amms.
|
|
373
|
-
[Amms.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
[Amms.
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
[Amms.
|
|
380
|
-
[Amms.
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
[Amms.
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
[Amms.
|
|
393
|
-
[Amms.
|
|
394
|
-
[Amms.
|
|
395
|
-
[Amms.
|
|
396
|
-
[Amms.
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
[Amms.
|
|
400
|
-
},
|
|
401
|
-
[types_1.Networks.
|
|
402
|
-
[Amms.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
[Amms.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
},
|
|
413
|
-
[types_1.Networks.
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
[Amms.
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
[Amms.
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
[Amms.
|
|
425
|
-
},
|
|
426
|
-
[types_1.Networks.
|
|
427
|
-
[Amms.
|
|
428
|
-
},
|
|
429
|
-
[types_1.Networks.
|
|
430
|
-
[Amms.
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
[Amms.pearl]: 0,
|
|
435
|
-
}
|
|
436
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMM_LP_FEE = exports.ADD_LIQUIDITY_URLS = exports.AMM_SUBGRAPH_URLS = exports.getAmmByFactory = exports.AMM_FACTORY = exports.hrAmms = exports.Amms = void 0;
|
|
4
|
+
const types_1 = require("./types");
|
|
5
|
+
var Amms;
|
|
6
|
+
(function (Amms) {
|
|
7
|
+
Amms["uniswap"] = "uniswap";
|
|
8
|
+
Amms["quickswap"] = "quickswap";
|
|
9
|
+
Amms["satin"] = "satin";
|
|
10
|
+
Amms["sushiswap"] = "sushiswap";
|
|
11
|
+
Amms["swapr"] = "swapr";
|
|
12
|
+
Amms["swapfish"] = "swapfish";
|
|
13
|
+
Amms["zyberswap"] = "zyberswap";
|
|
14
|
+
Amms["arbidex"] = "arbidex";
|
|
15
|
+
Amms["solidlizard"] = "solidlizard";
|
|
16
|
+
Amms["ramses"] = "ramses";
|
|
17
|
+
Amms["auragi"] = "auragi";
|
|
18
|
+
Amms["chronos"] = "chronos";
|
|
19
|
+
Amms["pangolin"] = "pangolin";
|
|
20
|
+
Amms["traderJoe"] = "traderJoe";
|
|
21
|
+
Amms["flair"] = "flair";
|
|
22
|
+
Amms["glacier"] = "glacier";
|
|
23
|
+
Amms["solarbeam"] = "solarbeam";
|
|
24
|
+
Amms["thorus"] = "thorus";
|
|
25
|
+
Amms["tetuswap"] = "tetuswap";
|
|
26
|
+
Amms["solidly"] = "solidly";
|
|
27
|
+
Amms["solidlyB"] = "solidlyB";
|
|
28
|
+
Amms["solidlyUSDC"] = "solidlyUSDC";
|
|
29
|
+
Amms["solidlyUSDCB"] = "solidlyUSDCB";
|
|
30
|
+
Amms["solidly091"] = "solidly091";
|
|
31
|
+
Amms["solidlyOxd"] = "solidlyOxd";
|
|
32
|
+
Amms["velocimeter"] = "velocimeter";
|
|
33
|
+
Amms["velocore"] = "velocore";
|
|
34
|
+
Amms["draculafi"] = "draculafi";
|
|
35
|
+
Amms["vesync"] = "vesync";
|
|
36
|
+
Amms["solunea"] = "solunea";
|
|
37
|
+
Amms["pearl"] = "pearl";
|
|
38
|
+
Amms["pearlStable"] = "pearlStable";
|
|
39
|
+
Amms["thruster"] = "thruster";
|
|
40
|
+
Amms["fenix"] = "fenix";
|
|
41
|
+
Amms["aerodrome"] = "aerodrome";
|
|
42
|
+
Amms["aeroStable"] = "aeroStable";
|
|
43
|
+
Amms["aeroStable1"] = "aeroStable1";
|
|
44
|
+
Amms["merchantmoe"] = "merchantmoe";
|
|
45
|
+
Amms["tokan"] = "tokan";
|
|
46
|
+
Amms["tokan1"] = "tokan1";
|
|
47
|
+
Amms["tokanStable"] = "tokanStable";
|
|
48
|
+
Amms["scale"] = "scale";
|
|
49
|
+
Amms["equalizer"] = "equalizer";
|
|
50
|
+
Amms["wigoswap"] = "wigoswap";
|
|
51
|
+
Amms["velodrome"] = "velodrome";
|
|
52
|
+
Amms["alien"] = "alien";
|
|
53
|
+
})(Amms = exports.Amms || (exports.Amms = {}));
|
|
54
|
+
exports.hrAmms = {
|
|
55
|
+
[Amms.uniswap]: 'Uniswap',
|
|
56
|
+
[Amms.quickswap]: 'QuickSwap',
|
|
57
|
+
[Amms.satin]: 'Satin',
|
|
58
|
+
[Amms.pearl]: 'Pearl',
|
|
59
|
+
[Amms.pearlStable]: 'Pearl Stable',
|
|
60
|
+
[Amms.sushiswap]: 'SushiSwap',
|
|
61
|
+
[Amms.swapr]: 'Swapr',
|
|
62
|
+
[Amms.swapfish]: 'SwapFish',
|
|
63
|
+
[Amms.zyberswap]: 'ZyberSwap',
|
|
64
|
+
[Amms.arbidex]: 'Arbidex',
|
|
65
|
+
[Amms.solidlizard]: 'SolidLizard',
|
|
66
|
+
[Amms.ramses]: 'Ramses',
|
|
67
|
+
[Amms.auragi]: 'Auragi',
|
|
68
|
+
[Amms.chronos]: 'Chronos',
|
|
69
|
+
[Amms.pangolin]: 'Pangolin',
|
|
70
|
+
[Amms.traderJoe]: 'TraderJoe',
|
|
71
|
+
[Amms.flair]: 'Flair',
|
|
72
|
+
[Amms.glacier]: 'Glacier',
|
|
73
|
+
[Amms.solarbeam]: 'Solarbeam',
|
|
74
|
+
[Amms.thorus]: 'Thorus',
|
|
75
|
+
[Amms.tetuswap]: 'TetuSwap',
|
|
76
|
+
[Amms.solidly]: 'Solidly',
|
|
77
|
+
[Amms.solidlyB]: 'Solidly',
|
|
78
|
+
[Amms.solidlyUSDC]: 'Solidly',
|
|
79
|
+
[Amms.solidlyUSDCB]: 'Solidly',
|
|
80
|
+
[Amms.solidly091]: 'Solidly',
|
|
81
|
+
[Amms.solidlyOxd]: 'Solidly',
|
|
82
|
+
[Amms.velocimeter]: 'Velocimeter',
|
|
83
|
+
[Amms.velocore]: 'Velocore',
|
|
84
|
+
[Amms.draculafi]: 'DraculaFi',
|
|
85
|
+
[Amms.vesync]: 'VeSync',
|
|
86
|
+
[Amms.solunea]: 'Solunea',
|
|
87
|
+
[Amms.fenix]: 'Fenix',
|
|
88
|
+
[Amms.thruster]: 'Thruster',
|
|
89
|
+
[Amms.aerodrome]: 'Aerodrome',
|
|
90
|
+
[Amms.aeroStable]: 'Aerodrome Stable',
|
|
91
|
+
[Amms.aeroStable1]: 'Aerodrome Stable',
|
|
92
|
+
[Amms.scale]: 'Equalizer Scale',
|
|
93
|
+
[Amms.merchantmoe]: 'MerchantMoe',
|
|
94
|
+
[Amms.tokan]: 'Tokan',
|
|
95
|
+
[Amms.tokan1]: 'Tokan',
|
|
96
|
+
[Amms.tokanStable]: 'Tokan Stable',
|
|
97
|
+
[Amms.equalizer]: 'Equalizer',
|
|
98
|
+
[Amms.wigoswap]: 'Wigoswap',
|
|
99
|
+
[Amms.velodrome]: 'Velodrome',
|
|
100
|
+
[Amms.alien]: 'AlienBase',
|
|
101
|
+
};
|
|
102
|
+
exports.AMM_FACTORY = {
|
|
103
|
+
[types_1.Networks.Ropsten]: {
|
|
104
|
+
[Amms.uniswap]: '0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f',
|
|
105
|
+
},
|
|
106
|
+
[types_1.Networks.Mainnet]: {
|
|
107
|
+
[Amms.uniswap]: '0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f',
|
|
108
|
+
},
|
|
109
|
+
[types_1.Networks.Polygon]: {
|
|
110
|
+
[Amms.quickswap]: '0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32',
|
|
111
|
+
[Amms.satin]: '0xCaF3Fb1b03F1D71A110167327f5106bE82beE209',
|
|
112
|
+
[Amms.pearl]: '0xb07c75e3db03eb69f047b92274019912014ba78e',
|
|
113
|
+
[Amms.pearlStable]: '0xFB8Bd40C0a13D141b26eE190Ca87991Ec54932E9',
|
|
114
|
+
[Amms.sushiswap]: '0xc35dadb65012ec5796536bd9864ed8773abc74c4',
|
|
115
|
+
[Amms.tetuswap]: '0x684d8c187be836171a1Af8D533e4724893031828',
|
|
116
|
+
},
|
|
117
|
+
[types_1.Networks.Arbitrum]: {
|
|
118
|
+
[Amms.sushiswap]: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
119
|
+
[Amms.swapr]: '0x359F20Ad0F42D75a5077e65F30274cABe6f4F01a',
|
|
120
|
+
[Amms.swapfish]: '0x71539D09D3890195dDa87A6198B98B75211b72F3',
|
|
121
|
+
[Amms.zyberswap]: '0xac2ee06a14c52570ef3b9812ed240bce359772e7',
|
|
122
|
+
[Amms.arbidex]: '0x1c6e968f2e6c9dec61db874e28589fd5ce3e1f2c',
|
|
123
|
+
[Amms.solidlizard]: '0x734d84631f00dc0d3fcd18b04b6cf42bfd407074',
|
|
124
|
+
[Amms.ramses]: '0x78a2251f1aaeaa8fc1eafcc379663cca3f894708',
|
|
125
|
+
[Amms.auragi]: '0x268bb0220aB61Abd9BD42C5Db49470bb3E6B0b2F',
|
|
126
|
+
[Amms.chronos]: '0x111eEEb6bfAb9e8d0E87E45DB15031d89846e5d7',
|
|
127
|
+
[Amms.solunea]: '0x6ef065573cd3fff4c375d4d36e6ca93cd6e3d499',
|
|
128
|
+
},
|
|
129
|
+
[types_1.Networks.Avalanche]: {
|
|
130
|
+
[Amms.pangolin]: '0xefa94DE7a4656D787667C749f7E1223D71E9FD88',
|
|
131
|
+
[Amms.traderJoe]: '0x9Ad6C38BE94206cA50bb0d90783181662f0Cfa10',
|
|
132
|
+
[Amms.flair]: '0x634e02EB048eb1B5bDDc0CFdC20D34503E9B362d',
|
|
133
|
+
[Amms.glacier]: '0xaC7B7EaC8310170109301034b8FdB75eCa4CC491',
|
|
134
|
+
[Amms.thorus]: '0xa98ea6356A316b44Bf710D5f9b6b4eA0081409Ef',
|
|
135
|
+
},
|
|
136
|
+
[types_1.Networks.Moonriver]: {
|
|
137
|
+
[Amms.sushiswap]: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
138
|
+
[Amms.solarbeam]: '0x049581aEB6Fe262727f290165C29BDAB065a1B68',
|
|
139
|
+
},
|
|
140
|
+
[types_1.Networks.Aurora]: {},
|
|
141
|
+
[types_1.Networks.Cronos]: {},
|
|
142
|
+
[types_1.Networks.Fantom]: {
|
|
143
|
+
[Amms.solidly]: '0x95887654d8646c26fab33f344576e2e74b211256',
|
|
144
|
+
[Amms.solidlyB]: '0x8610Dc1912a55761a713D827a1a1ad131bE8f579',
|
|
145
|
+
[Amms.solidlyUSDC]: '0xF14f98E6F34C12Bd74fcEAC1668aF749fc269cFf',
|
|
146
|
+
[Amms.solidlyUSDCB]: '0x9B1434a02Ee86302d463bB6B365EbdFAc56e067A',
|
|
147
|
+
[Amms.solidly091]: '0xdc4baf3b4b1df79083eedf3e46ec2c4ec1296f60',
|
|
148
|
+
[Amms.solidlyOxd]: '0xB83D21F60B73B21506c69DEcdBcF7Ab5AB737eB2',
|
|
149
|
+
[Amms.equalizer]: '0xc6366efd0af1d09171fe0ebf32c7943bb310832a',
|
|
150
|
+
[Amms.wigoswap]: '0xC831A5cBfb4aC2Da5ed5B194385DFD9bF5bFcBa7',
|
|
151
|
+
},
|
|
152
|
+
[types_1.Networks.Canto]: {
|
|
153
|
+
[Amms.velocimeter]: '0x1c813cdd6daece2cb83c52f0798504e42816e9c5', //NOTICE: this is actually the staked LP factory
|
|
154
|
+
},
|
|
155
|
+
[types_1.Networks.ZksyncEra]: {
|
|
156
|
+
[Amms.velocore]: '0x36BbDb0DEA4Aa211Dd76dF0a3201c89FD530851b',
|
|
157
|
+
[Amms.draculafi]: '0x68e03d7b8b3f9669750c1282ad6d36988f4fe18e',
|
|
158
|
+
[Amms.vesync]: '0xCF3CAD85885254CBD445d6511c502Da095863f11', //NOTICE: this is actually the staked LP factory
|
|
159
|
+
},
|
|
160
|
+
[types_1.Networks.Blast]: {
|
|
161
|
+
[Amms.thruster]: '',
|
|
162
|
+
[Amms.fenix]: '0xa19C51D91891D3DF7C13Ed22a2f89d328A82950f',
|
|
163
|
+
},
|
|
164
|
+
[types_1.Networks.Harmony]: {},
|
|
165
|
+
[types_1.Networks.Moonbeam]: {},
|
|
166
|
+
[types_1.Networks.Sxnetwork]: {},
|
|
167
|
+
[types_1.Networks.Mantle]: {
|
|
168
|
+
[Amms.merchantmoe]: "0x5bEf015CA9424A7C07B68490616a4C1F094BEdEc"
|
|
169
|
+
},
|
|
170
|
+
[types_1.Networks.Base]: {
|
|
171
|
+
[Amms.aerodrome]: '0x420DD381b31aEf6683db6B902084cB0FFECe40Da',
|
|
172
|
+
[Amms.aeroStable]: '0x8f50a6d5ea6715f878E2984569975e8875eeBafB',
|
|
173
|
+
[Amms.aeroStable1]: '0x9111b8D7Cc1a676A70015BEA3A3a9968A44C52c3',
|
|
174
|
+
[Amms.scale]: '0xEd8db60aCc29e14bC867a497D94ca6e3CeB5eC04',
|
|
175
|
+
[Amms.uniswap]: '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6',
|
|
176
|
+
[Amms.alien]: '0x3E84D913803b02A4a7f027165E8cA42C14C0FdE7'
|
|
177
|
+
},
|
|
178
|
+
[types_1.Networks.Scroll]: {
|
|
179
|
+
[Amms.tokan]: '0x074568F090e93194289c2C2BF285eE7f60b485a9',
|
|
180
|
+
[Amms.tokan1]: '0x3e35933C468ECEca9748DD1C5FADeFfe64158777',
|
|
181
|
+
[Amms.tokanStable]: '0x6c041ff2d25310a2751C57555265F2364CaCA195', //NOTICE: this is actually the staked LP factory
|
|
182
|
+
},
|
|
183
|
+
[types_1.Networks.Optimism]: {
|
|
184
|
+
[Amms.velodrome]: '0xF1046053aa5682b4F9a81b5481394DA16BE5FF5a',
|
|
185
|
+
},
|
|
186
|
+
[types_1.Networks.Real]: {
|
|
187
|
+
[Amms.pearl]: '0x2B965fDf04f9e9bEEf1659464Ef3A0094A68D923',
|
|
188
|
+
[Amms.pearlStable]: '0x28E22D8c807b6E6c0ECa4373fC3B9920453cEEEe',
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
function getAmmByFactory(network, address) {
|
|
192
|
+
if (!address)
|
|
193
|
+
return null;
|
|
194
|
+
for (const amm of Object.keys(Amms)) {
|
|
195
|
+
if (exports.AMM_FACTORY[network][amm] &&
|
|
196
|
+
address.toLowerCase() == exports.AMM_FACTORY[network][amm].toLowerCase())
|
|
197
|
+
return amm;
|
|
198
|
+
}
|
|
199
|
+
return null;
|
|
200
|
+
}
|
|
201
|
+
exports.getAmmByFactory = getAmmByFactory;
|
|
202
|
+
exports.AMM_SUBGRAPH_URLS = {
|
|
203
|
+
[types_1.Networks.Ropsten]: {},
|
|
204
|
+
[types_1.Networks.Mainnet]: {
|
|
205
|
+
[Amms.uniswap]: 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2',
|
|
206
|
+
},
|
|
207
|
+
[types_1.Networks.Polygon]: {
|
|
208
|
+
[Amms.quickswap]: 'https://api.thegraph.com/subgraphs/name/sameepsi/quickswap06',
|
|
209
|
+
//[Amms.satin]: "",
|
|
210
|
+
//[Amms.pearl]: "",
|
|
211
|
+
[Amms.sushiswap]: 'https://api.thegraph.com/subgraphs/name/sushiswap/matic-exchange',
|
|
212
|
+
[Amms.tetuswap]: 'https://api.thegraph.com/subgraphs/name/tetu-io/tetu-swap',
|
|
213
|
+
},
|
|
214
|
+
[types_1.Networks.Arbitrum]: {
|
|
215
|
+
[Amms.sushiswap]: 'https://api.thegraph.com/subgraphs/name/sushiswap/arbitrum-exchange',
|
|
216
|
+
[Amms.swapr]: 'https://api.thegraph.com/subgraphs/name/luzzif/swapr-arbitrum-one-v2',
|
|
217
|
+
[Amms.zyberswap]: 'https://api.thegraph.com/subgraphs/name/zyberswap-arbitrum/zyber-amm',
|
|
218
|
+
//[Amms.arbidex]: '',
|
|
219
|
+
[Amms.solidlizard]: 'https://api.thegraph.com/subgraphs/name/solidlizardfinance/sliz',
|
|
220
|
+
//[Amms.ramses]: '',
|
|
221
|
+
//[Amms.auragi]: '',
|
|
222
|
+
//[Amms.chronos]: '',
|
|
223
|
+
//[Amms.swapfish]: 'https://bsc.streamingfast.io/subgraphs/name/pancakeswap/exchange-v2',
|
|
224
|
+
},
|
|
225
|
+
[types_1.Networks.Avalanche]: {
|
|
226
|
+
[Amms.pangolin]: 'https://api.thegraph.com/subgraphs/name/dasconnor/pangolin-dex',
|
|
227
|
+
[Amms.traderJoe]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/exchange',
|
|
228
|
+
[Amms.flair]: '',
|
|
229
|
+
[Amms.glacier]: '',
|
|
230
|
+
[Amms.thorus]: '',
|
|
231
|
+
},
|
|
232
|
+
[types_1.Networks.Moonriver]: {
|
|
233
|
+
[Amms.sushiswap]: 'https://api.thegraph.com/subgraphs/name/sushiswap/moonriver-exchange',
|
|
234
|
+
[Amms.solarbeam]: 'https://analytics.solarbeam.io/api/subgraph',
|
|
235
|
+
},
|
|
236
|
+
[types_1.Networks.Aurora]: {},
|
|
237
|
+
[types_1.Networks.Cronos]: {},
|
|
238
|
+
[types_1.Networks.Fantom]: {
|
|
239
|
+
[Amms.solidly]: 'https://api.thegraph.com/subgraphs/name/spartacus-finance/solidly',
|
|
240
|
+
[Amms.solidlyB]: 'https://api.thegraph.com/subgraphs/name/spartacus-finance/solidly',
|
|
241
|
+
[Amms.solidlyUSDC]: 'https://api.thegraph.com/subgraphs/name/spartacus-finance/solidly',
|
|
242
|
+
[Amms.solidlyUSDCB]: 'https://api.thegraph.com/subgraphs/name/spartacus-finance/solidly',
|
|
243
|
+
[Amms.solidly091]: 'https://api.thegraph.com/subgraphs/name/spartacus-finance/solidly',
|
|
244
|
+
[Amms.solidlyOxd]: 'https://api.thegraph.com/subgraphs/name/spartacus-finance/solidly',
|
|
245
|
+
[Amms.wigoswap]: 'https://gateway.thegraph.com/api/031cf65e6bf1e03a781f69aeba9770d2/subgraphs/id/ykYhkpzjz9FpT4RZRgFHQ84udU1581pfs4u9KcbA4yt'
|
|
246
|
+
},
|
|
247
|
+
[types_1.Networks.Canto]: {},
|
|
248
|
+
[types_1.Networks.ZksyncEra]: {},
|
|
249
|
+
[types_1.Networks.Blast]: {},
|
|
250
|
+
[types_1.Networks.Harmony]: {},
|
|
251
|
+
[types_1.Networks.Moonbeam]: {},
|
|
252
|
+
[types_1.Networks.Sxnetwork]: {},
|
|
253
|
+
[types_1.Networks.Base]: {
|
|
254
|
+
[Amms.aerodrome]: 'https://api.thegraph.com/subgraphs/name/ethzoomer/aerodrome-trading-data',
|
|
255
|
+
[Amms.uniswap]: 'https://api.studio.thegraph.com/query/46041/uniswap-v2-base/v0.0.1',
|
|
256
|
+
},
|
|
257
|
+
[types_1.Networks.Mantle]: {},
|
|
258
|
+
[types_1.Networks.Scroll]: {},
|
|
259
|
+
[types_1.Networks.Real]: {},
|
|
260
|
+
[types_1.Networks.Optimism]: {},
|
|
261
|
+
};
|
|
262
|
+
exports.ADD_LIQUIDITY_URLS = {
|
|
263
|
+
[types_1.Networks.Ropsten]: {
|
|
264
|
+
[Amms.uniswap]: 'https://app.uniswap.org/#/add/V2/',
|
|
265
|
+
},
|
|
266
|
+
[types_1.Networks.Mainnet]: {
|
|
267
|
+
[Amms.uniswap]: 'https://app.uniswap.org/#/add/V2/',
|
|
268
|
+
},
|
|
269
|
+
[types_1.Networks.Polygon]: {
|
|
270
|
+
[Amms.quickswap]: 'https://quickswap.exchange/#/add/',
|
|
271
|
+
[Amms.satin]: 'https://satin.exchange/liquidity/',
|
|
272
|
+
[Amms.pearl]: 'https://www.pearl.exchange/liquidity/manage/',
|
|
273
|
+
[Amms.pearlStable]: 'https://www.pearl.exchange/liquidity/manage/',
|
|
274
|
+
[Amms.sushiswap]: 'https://app.sushi.com/legacy/add/',
|
|
275
|
+
[Amms.tetuswap]: 'https://swap.tetu.io/#/add/',
|
|
276
|
+
},
|
|
277
|
+
[types_1.Networks.Arbitrum]: {
|
|
278
|
+
[Amms.sushiswap]: 'https://app.sushi.com/legacy/add/',
|
|
279
|
+
[Amms.swapr]: 'https://swapr.eth.link/#/add/',
|
|
280
|
+
[Amms.swapfish]: 'https://swapfish.fi/add/',
|
|
281
|
+
[Amms.zyberswap]: 'https://app.zyberswap.io/exchange/add/',
|
|
282
|
+
[Amms.arbidex]: 'https://arbidex.fi/add/',
|
|
283
|
+
[Amms.solidlizard]: 'https://solidlizard.finance/liquidity/',
|
|
284
|
+
[Amms.ramses]: 'https://app.ramses.exchange/liquidity/',
|
|
285
|
+
[Amms.auragi]: 'https://auragi.finance/pools/create?address=',
|
|
286
|
+
[Amms.chronos]: 'https://app.chronos.exchange/liquidity/',
|
|
287
|
+
[Amms.solunea]: 'https://www.solunea.xyz/liquidity/',
|
|
288
|
+
},
|
|
289
|
+
[types_1.Networks.Avalanche]: {
|
|
290
|
+
[Amms.pangolin]: 'https://app.pangolin.exchange/#/add/',
|
|
291
|
+
[Amms.traderJoe]: 'https://www.traderjoexyz.com/#/pool/',
|
|
292
|
+
[Amms.flair]: 'https://app.flairdex.xyz/liquidity/',
|
|
293
|
+
[Amms.glacier]: 'https://www.glacier.exchange/liquidity/',
|
|
294
|
+
[Amms.thorus]: 'https://app.thorus.fi/add/',
|
|
295
|
+
},
|
|
296
|
+
[types_1.Networks.Moonriver]: {
|
|
297
|
+
[Amms.sushiswap]: 'https://app.sushi.com/legacy/add/',
|
|
298
|
+
[Amms.solarbeam]: 'https://app.solarbeam.io/exchange/add/',
|
|
299
|
+
},
|
|
300
|
+
[types_1.Networks.Aurora]: {},
|
|
301
|
+
[types_1.Networks.Cronos]: {},
|
|
302
|
+
[types_1.Networks.Fantom]: {
|
|
303
|
+
[Amms.solidly]: 'https://solidly.exchange/liquidity/',
|
|
304
|
+
[Amms.solidlyB]: 'https://solidly.exchange/liquidity/',
|
|
305
|
+
[Amms.solidlyUSDC]: 'https://solidly.exchange/liquidity/',
|
|
306
|
+
[Amms.solidlyUSDCB]: 'https://solidly.exchange/liquidity/',
|
|
307
|
+
[Amms.solidly091]: 'https://solidly.exchange/liquidity/',
|
|
308
|
+
[Amms.solidlyOxd]: 'https://solidly.exchange/liquidity/',
|
|
309
|
+
[Amms.equalizer]: 'https://equalizer.exchange/liquidity/',
|
|
310
|
+
[Amms.wigoswap]: 'https://wigoswap.io/farms/',
|
|
311
|
+
},
|
|
312
|
+
[types_1.Networks.Canto]: {
|
|
313
|
+
[Amms.velocimeter]: 'https://www.velocimeter.xyz/liquidity/',
|
|
314
|
+
},
|
|
315
|
+
[types_1.Networks.ZksyncEra]: {
|
|
316
|
+
[Amms.velocore]: 'https://app.velocore.xyz/liquidity/',
|
|
317
|
+
[Amms.draculafi]: 'https://draculafi.xyz/liquidity/',
|
|
318
|
+
[Amms.vesync]: 'https://app.vesync.finance/liquidity/',
|
|
319
|
+
},
|
|
320
|
+
[types_1.Networks.Blast]: {
|
|
321
|
+
[Amms.thruster]: 'https://app.thruster.finance/add',
|
|
322
|
+
[Amms.fenix]: 'https://www.fenixfinance.io/liquidity/deposit',
|
|
323
|
+
},
|
|
324
|
+
[types_1.Networks.Harmony]: {},
|
|
325
|
+
[types_1.Networks.Moonbeam]: {},
|
|
326
|
+
[types_1.Networks.Sxnetwork]: {},
|
|
327
|
+
[types_1.Networks.Base]: {
|
|
328
|
+
[Amms.aerodrome]: 'https://aerodrome.finance/deposit/',
|
|
329
|
+
[Amms.aeroStable]: 'https://aerodrome.finance/deposit/',
|
|
330
|
+
[Amms.scale]: 'https://base.equalizer.exchange/liquidity/',
|
|
331
|
+
[Amms.uniswap]: 'https://app.uniswap.org/#/add/V2/',
|
|
332
|
+
},
|
|
333
|
+
[types_1.Networks.Mantle]: {
|
|
334
|
+
[Amms.merchantmoe]: 'https://merchantmoe.com/pool/',
|
|
335
|
+
},
|
|
336
|
+
[types_1.Networks.Scroll]: {
|
|
337
|
+
[Amms.tokan]: 'https://app.tokan.exchange/liquidity/',
|
|
338
|
+
[Amms.tokanStable]: 'https://app.tokan.exchange/liquidity/',
|
|
339
|
+
},
|
|
340
|
+
[types_1.Networks.Optimism]: {
|
|
341
|
+
[Amms.velodrome]: 'https://velodrome.finance/deposit/',
|
|
342
|
+
},
|
|
343
|
+
[types_1.Networks.Real]: {
|
|
344
|
+
[Amms.pearlStable]: 'https://www.pearl.exchange/supply-liquidity/v2/',
|
|
345
|
+
[Amms.pearl]: 'https://www.pearl.exchange/supply-liquidity/v2/',
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
exports.AMM_LP_FEE = {
|
|
349
|
+
[types_1.Networks.Ropsten]: {
|
|
350
|
+
[Amms.uniswap]: 0.003,
|
|
351
|
+
},
|
|
352
|
+
[types_1.Networks.Mainnet]: {
|
|
353
|
+
[Amms.uniswap]: 0.003,
|
|
354
|
+
},
|
|
355
|
+
[types_1.Networks.Polygon]: {
|
|
356
|
+
[Amms.quickswap]: 0.0025,
|
|
357
|
+
[Amms.satin]: 0,
|
|
358
|
+
[Amms.pearl]: 0,
|
|
359
|
+
[Amms.pearlStable]: 0,
|
|
360
|
+
[Amms.sushiswap]: 0.0025,
|
|
361
|
+
[Amms.tetuswap]: 0,
|
|
362
|
+
},
|
|
363
|
+
[types_1.Networks.Arbitrum]: {
|
|
364
|
+
[Amms.sushiswap]: 0.0025,
|
|
365
|
+
[Amms.swapr]: 0.00225,
|
|
366
|
+
[Amms.swapfish]: 0.0017,
|
|
367
|
+
[Amms.zyberswap]: 0.0015,
|
|
368
|
+
[Amms.arbidex]: 0,
|
|
369
|
+
[Amms.solidlizard]: 0,
|
|
370
|
+
[Amms.ramses]: 0,
|
|
371
|
+
[Amms.auragi]: 0,
|
|
372
|
+
[Amms.chronos]: 0,
|
|
373
|
+
[Amms.solunea]: 0,
|
|
374
|
+
},
|
|
375
|
+
[types_1.Networks.Avalanche]: {
|
|
376
|
+
[Amms.pangolin]: 0.0025,
|
|
377
|
+
[Amms.traderJoe]: 0.0025,
|
|
378
|
+
[Amms.flair]: 0,
|
|
379
|
+
[Amms.glacier]: 0,
|
|
380
|
+
[Amms.thorus]: 0,
|
|
381
|
+
},
|
|
382
|
+
[types_1.Networks.Moonriver]: {
|
|
383
|
+
[Amms.sushiswap]: 0.0025,
|
|
384
|
+
[Amms.solarbeam]: 0.002,
|
|
385
|
+
},
|
|
386
|
+
[types_1.Networks.Aurora]: {},
|
|
387
|
+
[types_1.Networks.Cronos]: {},
|
|
388
|
+
[types_1.Networks.Fantom]: {
|
|
389
|
+
[Amms.solidly]: 0,
|
|
390
|
+
[Amms.solidlyB]: 0,
|
|
391
|
+
[Amms.solidlyUSDC]: 0,
|
|
392
|
+
[Amms.solidlyUSDCB]: 0,
|
|
393
|
+
[Amms.solidly091]: 0,
|
|
394
|
+
[Amms.solidlyOxd]: 0,
|
|
395
|
+
[Amms.equalizer]: 0,
|
|
396
|
+
[Amms.wigoswap]: 0.003,
|
|
397
|
+
},
|
|
398
|
+
[types_1.Networks.Canto]: {
|
|
399
|
+
[Amms.velocimeter]: 0,
|
|
400
|
+
},
|
|
401
|
+
[types_1.Networks.ZksyncEra]: {
|
|
402
|
+
[Amms.velocore]: 0,
|
|
403
|
+
[Amms.draculafi]: 0,
|
|
404
|
+
[Amms.vesync]: 0,
|
|
405
|
+
},
|
|
406
|
+
[types_1.Networks.Blast]: {
|
|
407
|
+
[Amms.thruster]: 0.003,
|
|
408
|
+
[Amms.fenix]: 0,
|
|
409
|
+
},
|
|
410
|
+
[types_1.Networks.Harmony]: {},
|
|
411
|
+
[types_1.Networks.Moonbeam]: {},
|
|
412
|
+
[types_1.Networks.Sxnetwork]: {},
|
|
413
|
+
[types_1.Networks.Base]: {
|
|
414
|
+
[Amms.aerodrome]: 0,
|
|
415
|
+
[Amms.aeroStable]: 0,
|
|
416
|
+
[Amms.scale]: 0,
|
|
417
|
+
[Amms.uniswap]: 0.003,
|
|
418
|
+
},
|
|
419
|
+
[types_1.Networks.Scroll]: {
|
|
420
|
+
[Amms.tokan]: 0,
|
|
421
|
+
[Amms.tokanStable]: 0,
|
|
422
|
+
},
|
|
423
|
+
[types_1.Networks.Mantle]: {
|
|
424
|
+
[Amms.merchantmoe]: 0.003,
|
|
425
|
+
},
|
|
426
|
+
[types_1.Networks.Optimism]: {
|
|
427
|
+
[Amms.velodrome]: 0,
|
|
428
|
+
},
|
|
429
|
+
[types_1.Networks.Real]: {
|
|
430
|
+
[Amms.pearlStable]: 0,
|
|
431
|
+
[Amms.pearl]: 0,
|
|
432
|
+
}
|
|
433
|
+
};
|