diff --git a/packages/doc/src/stories/widgets/Pool.stories.tsx b/packages/doc/src/stories/widgets/Pool.stories.tsx index 708d9da1..265c7d7d 100644 --- a/packages/doc/src/stories/widgets/Pool.stories.tsx +++ b/packages/doc/src/stories/widgets/Pool.stories.tsx @@ -24,6 +24,75 @@ export const Primary = (props: any) => { ; + tickArrayLower?: Maybe; + tickArrayUpper?: Maybe; + tickIdx: Scalars['BigDecimal']['output']; +}; + +export type AmmTicksDataResult = { + chain: Scalars['String']['output']; + pairType: Scalars['String']['output']; + poolAddress: Scalars['String']['output']; + ticks: Array>; +}; + +export type AmmgetTicksDataInput = { + chain: Scalars['String']['input']; + pairType: Scalars['String']['input']; + poolAddress: Scalars['String']['input']; +}; + export type AnnouncementAnnouncement = { endAt?: Maybe; id?: Maybe; @@ -847,6 +874,73 @@ export type Balance_Filter = { export type Balance_OrderBy = 'chain' | 'id'; +export type Berachain_AlmPool = { + id?: Maybe; + poolDayData?: Maybe>>; + token0?: Maybe; + token0Price?: Maybe; + token1?: Maybe; + token1Price?: Maybe; + totalValueLockedUSD?: Maybe; +}; + +export type Berachain_AlmPoolDayData = { + date?: Maybe; + feesUSD?: Maybe; + tvlUSD?: Maybe; + volumeUSD?: Maybe; +}; + +export type Berachain_AlmToken = { + decimals?: Maybe; + derivedUSD?: Maybe; + id?: Maybe; + initialUSD?: Maybe; + liquidityUSD?: Maybe; + marketCap?: Maybe; + name?: Maybe; + priceChange24h?: Maybe; + priceChange24hPercentage?: Maybe; + symbol?: Maybe; + totalSupply?: Maybe; +}; + +export type Berachain_AlmVault = { + allowTokenA?: Maybe; + allowTokenB?: Maybe; + count?: Maybe; + createdAtTimestamp?: Maybe; + feeApr_1d?: Maybe; + feeApr_3d?: Maybe; + feeApr_7d?: Maybe; + feeApr_30d?: Maybe; + holdersCount?: Maybe; + id?: Maybe; + pool?: Maybe; + protocol?: Maybe; + sender?: Maybe; + tokenA?: Maybe; + tokenB?: Maybe; + totalAmount0?: Maybe; + totalAmount1?: Maybe; + totalShares?: Maybe; + totalSupply?: Maybe; +}; + +export type Berachain_AlmVaultShares = { + id?: Maybe; + vault?: Maybe; + vaultShareBalance?: Maybe; +}; + +export type Berachain_AlmallVaultsSearch = { + search?: InputMaybe; +}; + +export type Berachain_AlmmyVaultsSearch = { + address?: InputMaybe; +}; + export type BidHistory = { /** action :bid、cancle */ action: Scalars['String']['output']; @@ -1876,6 +1970,7 @@ export type Cross_Chain_SwapExtend = { encodeId?: Maybe; fromToken?: Maybe; lifiBridge?: Maybe; + productStateInfo?: Maybe; refunded?: Maybe; route?: Maybe; toToken?: Maybe; @@ -1909,6 +2004,177 @@ export type Cross_Chain_SwapToolDetail = { name?: Maybe; }; +export type Cross_Chain_Swap_ZetachainCrossChainOrderCreate = { + success?: Maybe; +}; + +export type Cross_Chain_Swap_ZetachainCrossChainOrderList = { + bridgeChainId?: Maybe; + bridgeRefundVault?: Maybe; + createdAt?: Maybe; + endTime?: Maybe; + externalId?: Maybe; + fees?: Maybe; + fromAddress?: Maybe; + fromAmount?: Maybe; + fromAmountUSD?: Maybe; + fromAmountWithOutDecimals?: Maybe; + fromChainId?: Maybe; + fromHash?: Maybe; + fromTokenAddress?: Maybe; + id?: Maybe; + omniPlan?: Maybe; + refundAmount?: Maybe; + refundChainId?: Maybe; + refundHash?: Maybe; + refundToken?: Maybe; + refundUser?: Maybe; + slippage?: Maybe; + startTime?: Maybe; + status?: Maybe; + statusCode?: Maybe; + subStatus?: Maybe; + toAddress?: Maybe; + toAmount?: Maybe; + toAmountUSD?: Maybe; + toAmountWithOutDecimals?: Maybe; + toChainId?: Maybe; + toHash?: Maybe; + toTokenAddress?: Maybe; +}; + +export type Cross_Chain_Swap_ZetachainCrossChainOrderResult = { + count?: Maybe; + list?: Maybe>>; + page?: Maybe; + pageSize?: Maybe; +}; + +export type Cross_Chain_Swap_ZetachainCrossChainRoute = { + approveTarget?: Maybe; + encodeParams?: Maybe; + fees?: Maybe; + fromAddress?: Maybe; + fromAmount?: Maybe; + fromAmountUSD?: Maybe; + fromAmountWithOutDecimals?: Maybe; + fromChainId?: Maybe; + fromTokenAddress?: Maybe; + min?: Maybe; + omniPlan?: Maybe; + routeId?: Maybe; + slippage?: Maybe; + toAddress?: Maybe; + toAmount?: Maybe; + toAmountUSD?: Maybe; + toAmountWithOutDecimals?: Maybe; + toChainId?: Maybe; + toTokenAddress?: Maybe; +}; + +export type Cross_Chain_Swap_ZetachainCrossChainTransactionEncode = { + chainId?: Maybe; + data?: Maybe; + from?: Maybe; + to?: Maybe; + value?: Maybe; +}; + +export type Cross_Chain_Swap_ZetachainSwapOrderList = { + chainId?: Maybe; + createdAt?: Maybe; + extra?: Maybe; + fromAmount?: Maybe; + fromTokenAddress?: Maybe; + fromTokenDecimals?: Maybe; + fromTokenPrice?: Maybe; + fromTokenSymbol?: Maybe; + hash?: Maybe; + key?: Maybe; + maxAmount?: Maybe; + minAmount?: Maybe; + nonce?: Maybe; + status?: Maybe; + toAmount?: Maybe; + toTokenAddress?: Maybe; + toTokenDecimals?: Maybe; + toTokenPrice?: Maybe; + toTokenSymbol?: Maybe; + user?: Maybe; +}; + +export type Cross_Chain_Swap_ZetachainSwapOrderResult = { + count?: Maybe; + list?: Maybe>>; + page?: Maybe; + pageSize?: Maybe; +}; + +export type Cross_Chain_Swap_ZetachainorderCreateData = { + calldata?: InputMaybe; + fees?: InputMaybe; + fromAddress?: InputMaybe; + fromAmount?: InputMaybe; + fromAmountUSD?: InputMaybe; + fromAmountWithOutDecimals?: InputMaybe; + fromChainId?: InputMaybe; + fromHash?: InputMaybe; + fromTokenAddress?: InputMaybe; + omniPlan?: InputMaybe; + routeId?: InputMaybe; + slippage?: InputMaybe; + toAddress?: InputMaybe; + toAmount?: InputMaybe; + toAmountUSD?: InputMaybe; + toAmountWithOutDecimals?: InputMaybe; + toChainId?: InputMaybe; + toTokenAddress?: InputMaybe; +}; + +export type Cross_Chain_Swap_ZetachainorderDetailData = { + fromChainId?: InputMaybe; + fromHash?: InputMaybe; + refreshNow?: InputMaybe; +}; + +export type Cross_Chain_Swap_ZetachainorderListData = { + page?: InputMaybe; + pageSize?: InputMaybe; + refreshNow?: InputMaybe; + type?: InputMaybe; + user?: InputMaybe; +}; + +export type Cross_Chain_Swap_ZetachainorderRefundClaimedData = { + externalId?: InputMaybe; + hash?: InputMaybe; +}; + +export type Cross_Chain_Swap_ZetachainrouteParams = { + fromAddress?: InputMaybe; + fromAmount?: InputMaybe; + fromChainId?: InputMaybe; + fromTokenAddress?: InputMaybe; + refreshNow?: InputMaybe; + slippage?: InputMaybe; + toAddress?: InputMaybe; + toChainId?: InputMaybe; + toTokenAddress?: InputMaybe; +}; + +export type Cross_Chain_Swap_ZetachainswapOrderListData = { + chainId?: InputMaybe; + page?: InputMaybe; + pageSize?: InputMaybe; + refreshNow?: InputMaybe; + userAddress?: InputMaybe; +}; + +export type Cross_Chain_Swap_ZetachaintransactionEncodeParams = { + interfaceParams?: InputMaybe; + refreshNow?: InputMaybe; +}; + export type Cross_Chain_SwapdodoOrderListData = { from?: InputMaybe; limit?: InputMaybe; @@ -1948,6 +2214,7 @@ export type Cross_Chain_SwaporderCreateDataExtendRoute = { feeUSD?: InputMaybe; step?: InputMaybe; toAmount?: InputMaybe; + toAmountMin?: InputMaybe; }; export type Cross_Chain_SwaporderDetailData = { @@ -1960,8 +2227,10 @@ export type Cross_Chain_SwaporderListData = { chainId?: InputMaybe; limit?: InputMaybe; page?: InputMaybe; + product?: InputMaybe; refreshNow?: InputMaybe; source?: InputMaybe; + status?: InputMaybe; user?: InputMaybe; }; @@ -1973,6 +2242,7 @@ export type Cross_Chain_SwaporderNewStatusData = { export type Cross_Chain_SwaporderRefundCountData = { chainId?: InputMaybe; from?: InputMaybe; + product?: InputMaybe; refreshNow?: InputMaybe; source?: InputMaybe; user?: InputMaybe; @@ -2074,108 +2344,445 @@ export type Cross_Chain_TokentokenlistFilter = { refreshNow?: InputMaybe; }; -export type CrowdPooling = { - /** base token */ - baseToken: Token; - /** bid end time */ - bidEndTime: Scalars['BigInt']['output']; - /** bid start time */ - bidStartTime: Scalars['BigInt']['output']; - /** clam end time */ - calmEndTime: Scalars['BigInt']['output']; - chain: Scalars['String']['output']; - /** create time */ - createTime: Scalars['BigInt']['output']; - /** creator */ - creator: Scalars['Bytes']['output']; - /** created dvm address */ - dvm?: Maybe; - /** pool feerate */ - feeRate?: Maybe; - /** freeze duration */ - freezeDuration: Scalars['BigInt']['output']; - /** i */ - i: Scalars['BigInt']['output']; - /** cp address */ - id: Scalars['ID']['output']; - /** investors count = creators */ - investorsCount: Scalars['BigInt']['output']; - /** is overcap stop */ - isOvercapStop?: Maybe; - /** k */ - k: Scalars['BigInt']['output']; - /** liquidator */ - liquidator: Scalars['Bytes']['output']; - /** mt fee rate model */ - mtFeeRateModel: Scalars['Bytes']['output']; - /** total quote in pool */ - poolQuote: Scalars['BigDecimal']['output']; - /** pool quote cap */ - poolQuoteCap: Scalars['BigDecimal']['output']; - /** quote token */ - quoteToken: Token; - /** serial number */ - serialNumber: Scalars['BigInt']['output']; - /** settle state */ - settled: Scalars['Boolean']['output']; - /** token claim duration */ - tokenClaimDuration?: Maybe; - /** token cliff rate */ - tokenCliffRate?: Maybe; - /** token vesting duration */ - tokenVestingDuration?: Maybe; - /** total base */ - totalBase: Scalars['BigDecimal']['output']; - /** total shares */ - totalShares: Scalars['BigDecimal']['output']; - /** updatedAt */ - updatedAt?: Maybe; - /** version */ - version?: Maybe; - /** vesting duration */ - vestingDuration: Scalars['BigInt']['output']; -}; - -export type CrowdPoolingDayData = { - /** total quote canceled in durnation */ - canceledQuote: Scalars['BigDecimal']['output']; - chain: Scalars['String']['output']; - /** CrowdPooling */ - crowdPooling: CrowdPooling; - /** uinx timestamp(start of day) */ - date: Scalars['Int']['output']; - /** cp address - day id */ - id: Scalars['ID']['output']; - /** invest count */ - investCount: Scalars['BigInt']['output']; - /** total quote invest in durnation = taker tokens */ - investedQuote: Scalars['BigDecimal']['output']; - /** investors count */ - investors: Scalars['BigInt']['output']; - /** creator: newly investor */ - newcome: Scalars['BigInt']['output']; - /** total quote in pool */ - poolQuote: Scalars['BigDecimal']['output']; - /** updatedAt */ - updatedAt?: Maybe; +export type Cross_Chain_TransferAttributeLabelV2 = { + key?: Maybe; + name?: Maybe; + status?: Maybe; }; -export type CrowdPoolingDayData_Filter = { - canceledQuote?: InputMaybe; - canceledQuote_gt?: InputMaybe; - canceledQuote_gte?: InputMaybe; - canceledQuote_in?: InputMaybe>; - canceledQuote_lt?: InputMaybe; - canceledQuote_lte?: InputMaybe; - canceledQuote_not?: InputMaybe; - canceledQuote_not_in?: InputMaybe>; - chain?: InputMaybe; - chain_contains?: InputMaybe; - chain_ends_with?: InputMaybe; - chain_gt?: InputMaybe; - chain_gte?: InputMaybe; - chain_in?: InputMaybe>; - chain_lt?: InputMaybe; +export type Cross_Chain_TransferCrossChainOrder = { + createdAt?: Maybe; + duration?: Maybe; + endTime?: Maybe; + fee?: Maybe; + feeUsd?: Maybe; + fromAmount?: Maybe; + fromChainId?: Maybe; + fromHash?: Maybe; + fromTokenAddress?: Maybe; + fromTokenDecimals?: Maybe; + fromTokenName?: Maybe; + fromTokenSymbol?: Maybe; + gas?: Maybe; + gasUsd?: Maybe; + id?: Maybe; + status?: Maybe; + toAddress?: Maybe; + toAmount?: Maybe; + toChainId?: Maybe; + toHash?: Maybe; + toTokenAddress?: Maybe; + toTokenDecimals?: Maybe; + toTokenName?: Maybe; + toTokenSymbol?: Maybe; + updatedAt?: Maybe; + user?: Maybe; +}; + +export type Cross_Chain_TransferCrossChainOrderList = { + currentPage?: Maybe; + list?: Maybe>>; + total?: Maybe; +}; + +export type Cross_Chain_TransferDomain = { + env?: Maybe; + name?: Maybe; +}; + +export type Cross_Chain_TransferErc20V2List = { + address?: Maybe; + attributeLabels?: Maybe>>; + chainId?: Maybe; + crossChainSymbol?: Maybe; + decimals?: Maybe; + domains?: Maybe>>; + erc20Extend?: Maybe; + funcLabels?: Maybe>>; + id?: Maybe; + logoImg?: Maybe; + name?: Maybe; + position?: Maybe; + slippage?: Maybe; + symbol?: Maybe; + tokenlists?: Maybe>>; +}; + +export type Cross_Chain_TransferExplorerAllSections = { + lastUpdated: Scalars['String']['output']; + sections: Array; +}; + +export type Cross_Chain_TransferExplorerProject = { + estimatedDate?: Maybe; + id: Scalars['Int']['output']; + launchDate?: Maybe; + projectLogo?: Maybe; + projectName: Scalars['String']['output']; + sections: Array; + sortOrder: Scalars['Int']['output']; + supportedChains?: Maybe>; + tags?: Maybe>; + tgeDate?: Maybe; + totalRaised?: Maybe; + twitterUrl?: Maybe; + websiteUrl?: Maybe; +}; + +export type Cross_Chain_TransferExplorerSection = + | 'HOT_PROJECTS' + | 'MAINNET_LAUNCHES' + | 'RECENT_AIRDROPS' + | 'TESTNET_LAUNCHES' + | 'UPCOMING_AIRDROPS'; + +export type Cross_Chain_TransferExplorerSectionProjects = { + projects: Array; + section: Cross_Chain_TransferExplorerSection; + sectionName: Scalars['String']['output']; + total: Scalars['Int']['output']; +}; + +export type Cross_Chain_TransferFeeBreakdown = { + crossChainFee: Scalars['String']['output']; + crossChainFeeUsd?: Maybe; + sourceSwapFee: Scalars['String']['output']; + sourceSwapFeeUsd?: Maybe; + targetSwapFee: Scalars['String']['output']; + targetSwapFeeUsd?: Maybe; + totalFee: Scalars['String']['output']; + totalFeeUsd?: Maybe; +}; + +export type Cross_Chain_TransferFuncLabelV2 = { + key?: Maybe; + name?: Maybe; + status?: Maybe; +}; + +export type Cross_Chain_TransferHeterogeneousQuoteResponse = { + amount: Scalars['String']['output']; + amountFormatted: Scalars['String']['output']; + bestQuote: Scalars['String']['output']; + bestQuoteFormatted: Scalars['String']['output']; + crossChainSymbol: Scalars['String']['output']; + estimatedCompletionTime: Scalars['Int']['output']; + feeBreakdown?: Maybe; + fixedFee: Scalars['String']['output']; + fixedFeeFormatted: Scalars['String']['output']; + fixedFeeUsd: Scalars['String']['output']; + gasFee: Scalars['String']['output']; + gasFeeFormatted: Scalars['String']['output']; + gasFeeUsd: Scalars['String']['output']; + gasTokenPrice: Scalars['String']['output']; + intermediateToken?: Maybe; + isHeterogeneous: Scalars['Boolean']['output']; + minReceiveQuote: Scalars['String']['output']; + minReceiveQuoteFormatted: Scalars['String']['output']; + orderId: Scalars['String']['output']; + rateFee: Scalars['String']['output']; + rateFeeFormatted: Scalars['String']['output']; + rateFeeUsd: Scalars['String']['output']; + recipient: Scalars['String']['output']; + slippageTolerance?: Maybe; + sourceChainId: Scalars['Int']['output']; + sourceSwap: Cross_Chain_TransferSwapInfo; + sourceTokenAddress: Scalars['String']['output']; + sourceTokenDecimals: Scalars['Int']['output']; + sourceTokenName: Scalars['String']['output']; + sourceTokenPrice: Scalars['String']['output']; + sourceTokenSymbol: Scalars['String']['output']; + targetChainId: Scalars['Int']['output']; + targetSwap: Cross_Chain_TransferSwapInfo; + targetTokenAddress: Scalars['String']['output']; + targetTokenDecimals: Scalars['Int']['output']; + targetTokenName: Scalars['String']['output']; + targetTokenSymbol: Scalars['String']['output']; + timestamp: Scalars['String']['output']; + totalFee: Scalars['String']['output']; + totalFeeFormatted: Scalars['String']['output']; + totalFeeUsd: Scalars['String']['output']; + totalPriceImpact: Scalars['Float']['output']; + transactionData: Cross_Chain_TransferQuoteResponseTransactionDataDto; + userAddress: Scalars['String']['output']; + version: Scalars['String']['output']; +}; + +export type Cross_Chain_TransferOrderDetailFilter = { + orderId: Scalars['String']['input']; +}; + +export type Cross_Chain_TransferOrderListFilter = { + chainId?: InputMaybe; + destChainId?: InputMaybe; + maxAmount?: InputMaybe; + minAmount?: InputMaybe; + origChainId?: InputMaybe; + page?: InputMaybe; + pageSize?: InputMaybe; + status?: InputMaybe; + user?: InputMaybe; +}; + +export type Cross_Chain_TransferQuoteResponse = { + amount: Scalars['String']['output']; + amountFormatted: Scalars['String']['output']; + bestQuote: Scalars['String']['output']; + bestQuoteFormatted: Scalars['String']['output']; + crossChainSymbol: Scalars['String']['output']; + fixedFee: Scalars['String']['output']; + fixedFeeFormatted: Scalars['String']['output']; + fixedFeeUsd: Scalars['String']['output']; + gasFee: Scalars['String']['output']; + gasFeeFormatted: Scalars['String']['output']; + gasFeeUsd: Scalars['String']['output']; + gasTokenPrice: Scalars['String']['output']; + minReceiveQuote: Scalars['String']['output']; + minReceiveQuoteFormatted: Scalars['String']['output']; + orderId: Scalars['String']['output']; + rateFee: Scalars['String']['output']; + rateFeeFormatted: Scalars['String']['output']; + rateFeeUsd: Scalars['String']['output']; + recipient: Scalars['String']['output']; + sourceChainId: Scalars['Int']['output']; + sourceTokenAddress: Scalars['String']['output']; + sourceTokenDecimals: Scalars['Int']['output']; + sourceTokenName: Scalars['String']['output']; + sourceTokenPrice: Scalars['String']['output']; + sourceTokenSymbol: Scalars['String']['output']; + targetChainId: Scalars['Int']['output']; + targetTokenAddress: Scalars['String']['output']; + targetTokenDecimals: Scalars['Int']['output']; + targetTokenName: Scalars['String']['output']; + targetTokenSymbol: Scalars['String']['output']; + timestamp: Scalars['String']['output']; + totalFee: Scalars['String']['output']; + totalFeeFormatted: Scalars['String']['output']; + totalFeeUsd: Scalars['String']['output']; + transactionData: Cross_Chain_TransferQuoteResponseTransactionDataDto; + userAddress: Scalars['String']['output']; + version: Scalars['String']['output']; +}; + +export type Cross_Chain_TransferQuoteResponseTransactionDataDto = { + data: Scalars['String']['output']; + targetApproveAddr?: Maybe; + to: Scalars['String']['output']; + value: Scalars['String']['output']; +}; + +export type Cross_Chain_TransferRouteStep = { + amountIn: Scalars['String']['output']; + amountOut: Scalars['String']['output']; + poolAddress: Scalars['String']['output']; + protocol: Scalars['String']['output']; + tokenIn: Scalars['String']['output']; + tokenOut: Scalars['String']['output']; +}; + +export type Cross_Chain_TransferSupportedChain = { + chainId: Scalars['Int']['output']; + chainName: Scalars['String']['output']; +}; + +export type Cross_Chain_TransferSwapExecuteData = { + data: Scalars['String']['output']; + to: Scalars['String']['output']; + value: Scalars['String']['output']; +}; + +export type Cross_Chain_TransferSwapInfo = { + estimatedGas?: Maybe; + executeData?: Maybe; + fromToken?: Maybe; + priceImpact?: Maybe; + quote?: Maybe; + required: Scalars['Boolean']['output']; + toToken?: Maybe; +}; + +export type Cross_Chain_TransferSwapQuoteInfo = { + executionPrice: Scalars['Float']['output']; + fromAmount: Scalars['String']['output']; + fromToken: Cross_Chain_TransferTokenInfo; + gasEstimate: Scalars['String']['output']; + minReceiveAmount: Scalars['String']['output']; + priceImpact: Scalars['Float']['output']; + routePath: Array; + toAmount: Scalars['String']['output']; + toToken: Cross_Chain_TransferTokenInfo; +}; + +export type Cross_Chain_TransferTokenInfo = { + address: Scalars['String']['output']; + chainId: Scalars['Int']['output']; + crossChainSymbol: Scalars['String']['output']; + decimals: Scalars['Int']['output']; + id: Scalars['Int']['output']; + name: Scalars['String']['output']; + symbol: Scalars['String']['output']; +}; + +export type Cross_Chain_TransferTokenListV2 = { + chainId?: Maybe; + name?: Maybe; + status?: Maybe; +}; + +export type Cross_Chain_TransferheterogeneousQuoteFilter = { + amount: Scalars['String']['input']; + /** 同币种跨链时必填 */ + crossChainSymbol?: InputMaybe; + preferredIntermediateToken?: InputMaybe; + recipient: Scalars['String']['input']; + slippageTolerance?: InputMaybe; + sourceChainId: Scalars['Int']['input']; + sourceTokenAddress: Scalars['String']['input']; + targetChainId: Scalars['Int']['input']; + targetTokenAddress: Scalars['String']['input']; + userAddress: Scalars['String']['input']; +}; + +export type Cross_Chain_TransferlistV2Filter = { + chainId?: InputMaybe; + chainIds?: InputMaybe; + page?: InputMaybe; + pageSize?: InputMaybe; + refreshNow?: InputMaybe; +}; + +export type Cross_Chain_TransferquoteFilter = { + amount: Scalars['String']['input']; + crossChainSymbol: Scalars['String']['input']; + recipient: Scalars['String']['input']; + sourceChainId: Scalars['Int']['input']; + sourceTokenAddress: Scalars['String']['input']; + targetChainId: Scalars['Int']['input']; + targetTokenAddress: Scalars['String']['input']; + userAddress: Scalars['String']['input']; +}; + +export type Cross_Chain_Zetachain_TokenCrossChainTokenlist = { + address?: Maybe; + chainId?: Maybe; + decimals?: Maybe; + id?: Maybe; + logo?: Maybe; + name?: Maybe; + position?: Maybe; + slippage?: Maybe; + supportTargetChain?: Maybe; + symbol?: Maybe; +}; + +export type Cross_Chain_Zetachain_TokentokenlistFilter = { + chainId?: InputMaybe; + pageSize?: InputMaybe; + refreshNow?: InputMaybe; +}; + +export type CrowdPooling = { + /** base token */ + baseToken: Token; + /** bid end time */ + bidEndTime: Scalars['BigInt']['output']; + /** bid start time */ + bidStartTime: Scalars['BigInt']['output']; + /** clam end time */ + calmEndTime: Scalars['BigInt']['output']; + chain: Scalars['String']['output']; + /** create time */ + createTime: Scalars['BigInt']['output']; + /** creator */ + creator: Scalars['Bytes']['output']; + /** created dvm address */ + dvm?: Maybe; + /** pool feerate */ + feeRate?: Maybe; + /** freeze duration */ + freezeDuration: Scalars['BigInt']['output']; + /** i */ + i: Scalars['BigInt']['output']; + /** cp address */ + id: Scalars['ID']['output']; + /** investors count = creators */ + investorsCount: Scalars['BigInt']['output']; + /** is overcap stop */ + isOvercapStop?: Maybe; + /** k */ + k: Scalars['BigInt']['output']; + /** liquidator */ + liquidator: Scalars['Bytes']['output']; + /** mt fee rate model */ + mtFeeRateModel: Scalars['Bytes']['output']; + /** total quote in pool */ + poolQuote: Scalars['BigDecimal']['output']; + /** pool quote cap */ + poolQuoteCap: Scalars['BigDecimal']['output']; + /** quote token */ + quoteToken: Token; + /** serial number */ + serialNumber: Scalars['BigInt']['output']; + /** settle state */ + settled: Scalars['Boolean']['output']; + /** token claim duration */ + tokenClaimDuration?: Maybe; + /** token cliff rate */ + tokenCliffRate?: Maybe; + /** token vesting duration */ + tokenVestingDuration?: Maybe; + /** total base */ + totalBase: Scalars['BigDecimal']['output']; + /** total shares */ + totalShares: Scalars['BigDecimal']['output']; + /** updatedAt */ + updatedAt?: Maybe; + /** version */ + version?: Maybe; + /** vesting duration */ + vestingDuration: Scalars['BigInt']['output']; +}; + +export type CrowdPoolingDayData = { + /** total quote canceled in durnation */ + canceledQuote: Scalars['BigDecimal']['output']; + chain: Scalars['String']['output']; + /** CrowdPooling */ + crowdPooling: CrowdPooling; + /** uinx timestamp(start of day) */ + date: Scalars['Int']['output']; + /** cp address - day id */ + id: Scalars['ID']['output']; + /** invest count */ + investCount: Scalars['BigInt']['output']; + /** total quote invest in durnation = taker tokens */ + investedQuote: Scalars['BigDecimal']['output']; + /** investors count */ + investors: Scalars['BigInt']['output']; + /** creator: newly investor */ + newcome: Scalars['BigInt']['output']; + /** total quote in pool */ + poolQuote: Scalars['BigDecimal']['output']; + /** updatedAt */ + updatedAt?: Maybe; +}; + +export type CrowdPoolingDayData_Filter = { + canceledQuote?: InputMaybe; + canceledQuote_gt?: InputMaybe; + canceledQuote_gte?: InputMaybe; + canceledQuote_in?: InputMaybe>; + canceledQuote_lt?: InputMaybe; + canceledQuote_lte?: InputMaybe; + canceledQuote_not?: InputMaybe; + canceledQuote_not_in?: InputMaybe>; + chain?: InputMaybe; + chain_contains?: InputMaybe; + chain_ends_with?: InputMaybe; + chain_gt?: InputMaybe; + chain_gte?: InputMaybe; + chain_in?: InputMaybe>; + chain_lt?: InputMaybe; chain_lte?: InputMaybe; chain_not?: InputMaybe; chain_not_contains?: InputMaybe; @@ -2945,46 +3552,182 @@ export type Crowd_Poolinglist_Filter = { top?: InputMaybe; }; -export type D3mmAsset = { - lpToken: D3mmToken; - token: D3mmToken; +export type Curve_Stableswap_NgFilterState = { + poolAddress?: InputMaybe; + poolName?: InputMaybe; + tokenAddress?: InputMaybe; }; -export type D3mmAssetDailyInterest = { - /** 存款 */ - balanceUsd: Scalars['BigDecimal']['output']; - date: Scalars['Int']['output']; - /** 挖矿收益,未完成暂时是假数据 */ - interestUsd: Scalars['BigDecimal']['output']; - /** 利息 */ - profitUsd: Scalars['BigDecimal']['output']; +export type Curve_Stableswap_NgLp = { + id?: Maybe; + liquidityTokenBalance?: Maybe; + lpTokens?: Maybe>>; }; -export type D3mmAssetInfo = { - address: Scalars['String']['output']; - /** 余款 */ - balanceUsd: Scalars['BigDecimal']['output']; - chainId: Scalars['Int']['output']; - decimals: Scalars['Int']['output']; - /** 总挖矿收益 */ - depositInterestUsd: Scalars['BigDecimal']['output']; - /** Total Liquidity - Can Deposit Funds - Amount */ - depositable: Scalars['BigDecimal']['output']; - /** Total Liquidity - Can Deposit Funds - Ratio */ - depositableRatio: Scalars['BigDecimal']['output']; - /** Total Liquidity - Deposited Funds - Amount */ - deposited: Scalars['BigDecimal']['output']; - /** Total Liquidity - Deposited Funds - Ratio */ - depositedRatio: Scalars['BigDecimal']['output']; - /** apy的组成部分, 挖矿利率 */ - miningApy: Scalars['BigDecimal']['output']; - /** Serve Fee APY */ - mtFeeApy: Scalars['BigDecimal']['output']; - name: Scalars['String']['output']; - /** @deprecated */ - staked: Scalars['BigDecimal']['output']; - /** apy的组成部分, 策略保底利率 */ - strategyApy: Scalars['BigDecimal']['output']; +export type Curve_Stableswap_NgLiquidityHistory = { + action: Scalars['String']['output']; + assets?: Maybe>; + id: Scalars['ID']['output']; + time: Scalars['BigInt']['output']; + user: Scalars['String']['output']; +}; + +export type Curve_Stableswap_NgLiquidityHistoryAsset = { + amount: Scalars['BigDecimal']['output']; + token: Curve_Stableswap_NgToken; +}; + +export type Curve_Stableswap_NgLiquidityHistoryListInfo = { + currentPage?: Maybe; + liquidityHistories?: Maybe>; + pageSize?: Maybe; + totalCount?: Maybe; +}; + +export type Curve_Stableswap_NgListInfo = { + chainId?: Maybe; + currentPage?: Maybe; + lqList?: Maybe>>; + pageSize?: Maybe; + totalCount?: Maybe; + user?: Maybe; +}; + +export type Curve_Stableswap_NgLqList = { + id?: Maybe; + isMyLiquidity?: Maybe; + liquidityPositions?: Maybe>>; + pool?: Maybe; +}; + +export type Curve_Stableswap_NgOrder = { + /** updatedAt tvl apy liquidity */ + orderBy?: InputMaybe; + /** desc asc' */ + orderDirection?: InputMaybe; +}; + +export type Curve_Stableswap_NgPool = { + a: Scalars['BigInt']['output']; + address: Scalars['String']['output']; + apy: Scalars['BigDecimal']['output']; + coins: Array; + dailyVolumeUsd: Scalars['BigDecimal']['output']; + daoFee: Scalars['BigDecimal']['output']; + decimals: Scalars['Int']['output']; + fee: Scalars['BigDecimal']['output']; + fees: Scalars['BigDecimal']['output']; + id: Scalars['ID']['output']; + liquidityUtilization: Scalars['BigDecimal']['output']; + name: Scalars['String']['output']; + offpegFeeMultiplier: Scalars['BigInt']['output']; + poolType: Scalars['String']['output']; + reserves?: Maybe>>; + symbol: Scalars['String']['output']; + totalSupply: Scalars['BigDecimal']['output']; + traderCount: Scalars['BigInt']['output']; + tvl: Scalars['BigDecimal']['output']; + virtualPrice: Scalars['BigDecimal']['output']; + volume: Scalars['BigDecimal']['output']; +}; + +export type Curve_Stableswap_NgPoolReserve = { + amount: Scalars['BigDecimal']['output']; + ratio: Scalars['BigDecimal']['output']; + token: Curve_Stableswap_NgToken; +}; + +export type Curve_Stableswap_NgSwap = { + id: Scalars['ID']['output']; + paidAmount: Scalars['BigDecimal']['output']; + paidToken: Curve_Stableswap_NgToken; + receivedAmount: Scalars['BigDecimal']['output']; + receivedToken: Curve_Stableswap_NgToken; + time: Scalars['BigInt']['output']; + user: Scalars['String']['output']; +}; + +export type Curve_Stableswap_NgSwapListInfo = { + currentPage?: Maybe; + pageSize?: Maybe; + swaps?: Maybe>; + totalCount?: Maybe; +}; + +export type Curve_Stableswap_NgToken = { + address: Scalars['String']['output']; + decimals: Scalars['Int']['output']; + id: Scalars['ID']['output']; + /** token logo img */ + logoImg?: Maybe; + name: Scalars['String']['output']; + symbol: Scalars['String']['output']; + tokenIndex?: Maybe; +}; + +export type Curve_Stableswap_NgUserToken = { + address: Scalars['String']['output']; + amount: Scalars['BigDecimal']['output']; + decimals: Scalars['Int']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + symbol: Scalars['String']['output']; +}; + +export type Curve_Stableswap_Nglist_Filter = { + chainId?: InputMaybe; + currentPage?: InputMaybe; + filterState?: InputMaybe; + order?: InputMaybe; + pageSize?: InputMaybe; + user?: InputMaybe; +}; + +export type Curve_Stableswap_Ngpool_Info_Filter = { + chainId: Scalars['Int']['input']; + poolAddress: Scalars['String']['input']; +}; + +export type D3mmAsset = { + lpToken: D3mmToken; + token: D3mmToken; +}; + +export type D3mmAssetDailyInterest = { + /** 存款 */ + balanceUsd: Scalars['BigDecimal']['output']; + date: Scalars['Int']['output']; + /** 挖矿收益,未完成暂时是假数据 */ + interestUsd: Scalars['BigDecimal']['output']; + /** 利息 */ + profitUsd: Scalars['BigDecimal']['output']; +}; + +export type D3mmAssetInfo = { + address: Scalars['String']['output']; + /** 余款 */ + balanceUsd: Scalars['BigDecimal']['output']; + chainId: Scalars['Int']['output']; + decimals: Scalars['Int']['output']; + /** 总挖矿收益 */ + depositInterestUsd: Scalars['BigDecimal']['output']; + /** Total Liquidity - Can Deposit Funds - Amount */ + depositable: Scalars['BigDecimal']['output']; + /** Total Liquidity - Can Deposit Funds - Ratio */ + depositableRatio: Scalars['BigDecimal']['output']; + /** Total Liquidity - Deposited Funds - Amount */ + deposited: Scalars['BigDecimal']['output']; + /** Total Liquidity - Deposited Funds - Ratio */ + depositedRatio: Scalars['BigDecimal']['output']; + /** apy的组成部分, 挖矿利率 */ + miningApy: Scalars['BigDecimal']['output']; + /** Serve Fee APY */ + mtFeeApy: Scalars['BigDecimal']['output']; + name: Scalars['String']['output']; + /** @deprecated */ + staked: Scalars['BigDecimal']['output']; + /** apy的组成部分, 策略保底利率 */ + strategyApy: Scalars['BigDecimal']['output']; /** * 总策略保底收益 * @deprecated @@ -3816,6 +4559,13 @@ export type DashboardDataGroupByDate = { volumeUsd?: Maybe; }; +export type DashboardOrder = { + /** tvl apy volume */ + orderBy?: InputMaybe; + /** desc asc' */ + orderDirection?: InputMaybe; +}; + export type DashboardPairData = { /** transaction count */ txes?: Maybe; @@ -4025,6 +4775,7 @@ export type Dashboardtype_List_Filter = { chainIds?: InputMaybe>>; creator?: InputMaybe; limit?: InputMaybe; + order?: InputMaybe; owner?: InputMaybe; page?: InputMaybe; refreshNow?: InputMaybe; @@ -5912,6 +6663,7 @@ export type Erc20listV2Filter = { chainIds?: InputMaybe; page?: InputMaybe; pageSize?: InputMaybe; + productName?: InputMaybe; refreshNow?: InputMaybe; }; @@ -6391,6 +7143,85 @@ export type IncentiveRewardHistory_OrderBy = | 'updatedAt' | 'user'; +export type Leaderboard_ActivitiesActivityStats = { + addedLiquidity: Scalars['String']['output']; + topLPerRewards: Scalars['String']['output']; + topTraderRewards: Scalars['String']['output']; + tradingVolume: Scalars['String']['output']; +}; + +export type Leaderboard_ActivitiesLeaderboardInput = { + chain: Scalars['String']['input']; + date?: InputMaybe; + useCache?: InputMaybe; +}; + +export type Leaderboard_ActivitiesLeaderboardLPer = { + rank: Scalars['Int']['output']; + totalLiquidity: Scalars['String']['output']; + transactionCount: Scalars['Int']['output']; + user: Scalars['String']['output']; +}; + +export type Leaderboard_ActivitiesLeaderboardResult = { + chain?: Maybe; + date: Scalars['String']['output']; + endTime: Scalars['Int']['output']; + pairAddress?: Maybe; + period: Scalars['String']['output']; + startTime: Scalars['Int']['output']; + stats: Leaderboard_ActivitiesActivityStats; + topLPers: Array; + topTraders: Array; +}; + +export type Leaderboard_ActivitiesLeaderboardTrader = { + rank: Scalars['Int']['output']; + totalVolume: Scalars['String']['output']; + transactionCount: Scalars['Int']['output']; + user: Scalars['String']['output']; +}; + +export type Leaderboard_ActivitiesPeriodResult = { + endTime: Scalars['Int']['output']; + index: Scalars['Int']['output']; + startTime: Scalars['Int']['output']; + /** not_started ,ongoing, ended */ + status: Scalars['String']['output']; +}; + +export type Leaderboard_ActivitiesPeriodsInput = { + chain: Scalars['String']['input']; +}; + +export type Leaderboard_ActivitiesPeriodsResult = { + activityEndTime: Scalars['Int']['output']; + activityStartTime: Scalars['Int']['output']; + period: Scalars['String']['output']; + periods: Array; +}; + +export type Leaderboard_ActivitiesUserRankingInput = { + chain: Scalars['String']['input']; + date?: InputMaybe; + useCache?: InputMaybe; + user: Scalars['String']['input']; +}; + +export type Leaderboard_ActivitiesUserRankingResult = { + chain?: Maybe; + date: Scalars['String']['output']; + endTime: Scalars['Int']['output']; + lperRank?: Maybe; + pairAddress?: Maybe; + period: Scalars['String']['output']; + startTime: Scalars['Int']['output']; + totalLiquidity?: Maybe; + totalVolume?: Maybe; + traderRank?: Maybe; + user: Scalars['String']['output']; +}; + export type Limit_And_RfqCancelLimitOrderResponse = { authorization?: Maybe; }; @@ -6647,6 +7478,8 @@ export type LiquidityApyData = { metromMiningApy?: Maybe; miningBaseApy?: Maybe; miningQuoteApy?: Maybe; + /** 1D 7D 14D 30D */ + timeRange?: Maybe; transactionBaseApy?: Maybe; transactionQuoteApy?: Maybe; }; @@ -7069,14 +7902,19 @@ export type LiquidityLqList = { }; export type LiquidityOrder = { - /** updatedAt tvl apy liquidity */ + /** updatedAt tvl apy liquidity volume */ orderBy?: InputMaybe; /** desc asc' */ orderDirection?: InputMaybe; + /** 1D 7D 14D 30D */ + timeRange?: InputMaybe; }; export type LiquidityPair = { + /** Number of aggregated pools when aggPairs is true */ + aggregatedCount?: Maybe; apy?: Maybe; + apyList?: Maybe>>; /** base LP token, for DPP is null, for dodo v1 lpToken is different */ baseLpToken?: Maybe; /** base token reserve */ @@ -7133,6 +7971,7 @@ export type LiquidityPair = { mtFeeUSD: Scalars['BigDecimal']['output']; /** owner */ owner?: Maybe; + priceList?: Maybe>>; /** quote LP token,for DPP is null, for dodo v1 lpToken is different */ quoteLpToken?: Maybe; /** quote token reserve */ @@ -7158,6 +7997,7 @@ export type LiquidityPair = { volume24H?: Maybe; /** trade volume of basetoken */ volumeBaseToken: Scalars['BigDecimal']['output']; + volumeList?: Maybe>>; /** trade volume of quotetoken */ volumeQuoteToken: Scalars['BigDecimal']['output']; /** traded volume of USD */ @@ -7523,6 +8363,12 @@ export type LiquidityPosition_OrderBy = | 'vault' | 'yesterdayInterest'; +export type LiquidityPriceData = { + changeRate?: Maybe; + price?: Maybe; + timeRange?: Maybe; +}; + export type LiquidityTick = { id: Scalars['ID']['output']; liquidityGross: Scalars['BigInt']['output']; @@ -7569,12 +8415,18 @@ export type LiquidityToken = { volumeUSDBridge: Scalars['BigDecimal']['output']; }; +export type LiquidityVolumeData = { + timeRange?: Maybe; + volume?: Maybe; +}; + export type Liquiditycount_Data_Query = { chain?: InputMaybe; refreshNow?: InputMaybe; }; export type Liquiditylist_Filter = { + aggPairs?: InputMaybe; /** This field has been discarded for compatibility with the previous interface */ chain?: InputMaybe; /** The default is all chains, including test chains */ @@ -8663,6 +9515,22 @@ export type MintHistory_OrderBy = | 'timestamp' | 'user'; +export type Native_SignerdepositData = { + amount?: InputMaybe; + token?: InputMaybe; + user?: InputMaybe; +}; + +export type Native_SignerredeemData = { + sharesToBurn?: InputMaybe; + token?: InputMaybe; + user?: InputMaybe; +}; + +export type Native_SignersignatureResult = { + transaction?: Maybe; +}; + export type Nft = { chain: Scalars['String']['output']; id: Scalars['ID']['output']; @@ -10553,6 +11421,132 @@ export type PersistentString_Filter = { export type PersistentString_OrderBy = 'chain' | 'id'; +export type Points_ActivityActivityRankItem = { + rank?: Maybe; + totalPoints?: Maybe; + user?: Maybe; +}; + +export type Points_ActivityHistoryItem = { + activityId?: Maybe; + id?: Maybe; + inviteeAddress?: Maybe; + points?: Maybe; + time?: Maybe; + type?: Maybe; + user?: Maybe; +}; + +export type Points_ActivityPointsActivityHistory = { + count?: Maybe; + list?: Maybe>>; + page?: Maybe; + pageSize?: Maybe; +}; + +export type Points_ActivityPointsActivityInviteAccept = { + inviterAddress?: Maybe; + success?: Maybe; +}; + +export type Points_ActivityPointsActivityInviteCode = { + inviteCode?: Maybe; + inviteUrl?: Maybe; +}; + +export type Points_ActivityPointsActivityInviteStatus = { + acceptedAt?: Maybe; + inviterAddress?: Maybe; + inviterCode?: Maybe; + status?: Maybe; +}; + +export type Points_ActivityPointsActivityLeaderboard = { + currentUserRank?: Maybe; + overallRanks?: Maybe>>; +}; + +export type Points_ActivityPointsActivitySpecialBoost = { + baseSymbol?: Maybe; + baseToken?: Maybe; + multiplier?: Maybe; + multiplierPercentage?: Maybe; + poolAddress?: Maybe; + quoteSymbol?: Maybe; + quoteToken?: Maybe; +}; + +export type Points_ActivityPointsActivitySummary = { + activityId?: Maybe; + activityName?: Maybe; + invitePoints?: Maybe; + inviteeCount?: Maybe; + lpPoints?: Maybe; + socialMediaPoints?: Maybe; + swapPoints?: Maybe; + totalPoints?: Maybe; + user?: Maybe; +}; + +export type Points_ActivityhistoryFilter = { + chainId?: InputMaybe; + domain?: InputMaybe; + page?: InputMaybe; + pageSize?: InputMaybe; + refreshNow?: InputMaybe; + sourceType?: InputMaybe; + user?: InputMaybe; +}; + +export type Points_ActivityinviteAcceptFilter = { + chainId?: InputMaybe; + domain?: InputMaybe; + inviteCode?: InputMaybe; + inviteMethod?: InputMaybe; + message?: InputMaybe; + refreshNow?: InputMaybe; + signature?: InputMaybe; + timestamp?: InputMaybe; + user?: InputMaybe; +}; + +export type Points_ActivityinviteCodeFilter = { + chainId?: InputMaybe; + domain?: InputMaybe; + refreshNow?: InputMaybe; + user?: InputMaybe; +}; + +export type Points_ActivityinviteStatusFilter = { + chainId?: InputMaybe; + domain?: InputMaybe; + refreshNow?: InputMaybe; + user?: InputMaybe; +}; + +export type Points_ActivityleaderboardFilter = { + chainId?: InputMaybe; + domain?: InputMaybe; + page?: InputMaybe; + pageSize?: InputMaybe; + refreshNow?: InputMaybe; + user?: InputMaybe; +}; + +export type Points_ActivityspecialBoostFilter = { + chainId?: InputMaybe; + domain?: InputMaybe; + refreshNow?: InputMaybe; + type?: InputMaybe; +}; + +export type Points_ActivityuserSummaryFilter = { + chainId?: InputMaybe; + domain?: InputMaybe; + refreshNow?: InputMaybe; + user?: InputMaybe; +}; + export type Pool = { allFlag: Scalars['BigInt']['output']; /** Block number of this event */ @@ -12106,6 +13100,8 @@ export type Query = { aggregateFragments: Array; all?: Maybe; alls: Array; + /** 获取amm ticks */ + amm_getTicksData: AmmTicksDataResult; announcement_getAnnouncement?: Maybe; approval?: Maybe; approvals: Array; @@ -12126,6 +13122,8 @@ export type Query = { avatars: Array; balance?: Maybe; balances: Array; + berachain_alm_allVaults?: Maybe>>; + berachain_alm_myVaults?: Maybe>>; bidHistories: Array; bidHistory?: Maybe; bidPosition?: Maybe; @@ -12165,8 +13163,26 @@ export type Query = { cross_chain_swap_orderRefundCount?: Maybe; cross_chain_swap_routesV2?: Maybe; cross_chain_swap_transactionEncode?: Maybe; + cross_chain_swap_zetachain_orderCreate?: Maybe; + cross_chain_swap_zetachain_orderDetail?: Maybe; + cross_chain_swap_zetachain_orderList?: Maybe; + cross_chain_swap_zetachain_orderRefundClaimed?: Maybe; + cross_chain_swap_zetachain_routes?: Maybe; + cross_chain_swap_zetachain_swapOrderList?: Maybe; + cross_chain_swap_zetachain_transactionEncode?: Maybe; cross_chain_token_list?: Maybe; cross_chain_token_tokenPair?: Maybe; + cross_chain_transfer_getExplorerAllSections: Cross_Chain_TransferExplorerAllSections; + cross_chain_transfer_getOrderDetail?: Maybe; + cross_chain_transfer_getOrderList: Cross_Chain_TransferCrossChainOrderList; + cross_chain_transfer_getTokenList?: Maybe< + Array> + >; + cross_chain_transfer_heterogeneousQuote: Cross_Chain_TransferHeterogeneousQuoteResponse; + cross_chain_transfer_quote: Cross_Chain_TransferQuoteResponse; + cross_chain_zetachain_token_list?: Maybe< + Array> + >; crowdPooling?: Maybe; crowdPoolingDayData?: Maybe; crowdPoolingDayDatas: Array; @@ -12189,6 +13205,16 @@ export type Query = { crowd_pooling_voteList?: Maybe< Array> >; + /** 获取所有池子列表 */ + curve_stableswap_ng_getAllPools?: Maybe; + /** 获取我的流动性列表 */ + curve_stableswap_ng_getMyLiquidity?: Maybe; + /** 获取池子详情信息 */ + curve_stableswap_ng_getPoolInfo?: Maybe; + /** 获取池子流动性操作历史列表 */ + curve_stableswap_ng_getPoolLiquidityHistory?: Maybe; + /** 获取池子交易信息列表 */ + curve_stableswap_ng_getPoolSwapInfo?: Maybe; /** 资产每日收益折线图 */ d3mm_getAssetDailyInterests: Array>; /** 资产详情信息, 如果资产不存在则返回null */ @@ -12348,6 +13374,9 @@ export type Query = { gas_feeder_getGasPrices?: Maybe>>; incentiveRewardHistories: Array; incentiveRewardHistory?: Maybe; + leaderboard_activities_getLeaderboard?: Maybe; + leaderboard_activities_getPeriods?: Maybe; + leaderboard_activities_getUserRanking?: Maybe; limit_and_rfq_createPrivateOrder?: Maybe; limit_and_rfq_getOrderStatusBroadcasts?: Maybe< Array> @@ -12407,6 +13436,8 @@ export type Query = { mining_list?: Maybe; mintHistories: Array; mintHistory?: Maybe; + native_signer_deposit?: Maybe; + native_signer_redeem?: Maybe; nft?: Maybe; nftCollateralVault?: Maybe; nftCollateralVaults: Array; @@ -12437,6 +13468,15 @@ export type Query = { persistentStringArray?: Maybe; persistentStringArrays: Array; persistentStrings: Array; + points_activity_history?: Maybe; + points_activity_inviteAccept?: Maybe; + points_activity_inviteCode?: Maybe; + points_activity_inviteStatus?: Maybe; + points_activity_leaderboard?: Maybe; + points_activity_specialBoost?: Maybe< + Array> + >; + points_activity_userSummary?: Maybe; pool?: Maybe; poolDayData?: Maybe; poolDayDatas: Array; @@ -12503,11 +13543,29 @@ export type Query = { setPoolInfos: Array; setVaultInfo?: Maybe; setVaultInfos: Array; - starter?: Maybe; + sigmax_limit_getOrderStatusBroadcasts?: Maybe< + Array> + >; + sigmax_limit_getPendingOrderChainList?: Maybe< + Array> + >; + sigmax_limit_limitOrderAmountLimit?: Maybe; + sigmax_limit_limitOrderCancel?: Maybe; + sigmax_limit_limitOrderCreate?: Maybe; + sigmax_limit_limitOrderCreateV2?: Maybe; + /** data url:post(https://host:port/api/v1/order/graphql/rfqTakerInquiry).data */ + sigmax_limit_limitOrderFee?: Maybe; + sigmax_limit_limitOrderList?: Maybe>>; + sigmax_limit_limitOrderListWithPage?: Maybe; + sigmax_limit_limitOrderListWithPageV2?: Maybe; + starter?: Maybe; starters: Array; swap?: Maybe; swaps: Array; third_party_token_list?: Maybe>>; + third_party_token_zetachain_list?: Maybe< + Array> + >; tick?: Maybe; ticks: Array; token?: Maybe; @@ -12577,6 +13635,21 @@ export type Query = { /** get service charges for vdodo */ vdodo_getServiceCharges: VdodoVdodoServiceChargesResult; vdodo_getStats: VdodoStatsResult; + /** 池子详情 */ + ve33_getPool?: Maybe; + /** 池子列表 */ + ve33_getPoolList: Array>; + /** 获取amm ticks */ + ve33_getTicksData: Ve33TicksDataResult; + /** 锁仓信息 */ + ve33_getUserLock: Array>; + /** 用户投资列表 */ + ve33_getUserPortfolioList: Array>; + /** 用户veMOMO信息 */ + ve33_getUserVeMOMOInfo: Ve33UserVeMomoInfo; + /** 投票池列表 */ + ve33_getVotePoolList: Array>; + ve33_token_list?: Maybe>>; withdrawFundHistories: Array; withdrawFundHistory?: Maybe; withdrawReserve?: Maybe; @@ -12644,6 +13717,10 @@ export type QueryAllsArgs = { where?: InputMaybe; }; +export type QueryAmm_GetTicksDataArgs = { + where?: InputMaybe; +}; + export type QueryAnnouncement_GetAnnouncementArgs = { lang?: InputMaybe; }; @@ -12773,6 +13850,14 @@ export type QueryBalancesArgs = { where?: InputMaybe; }; +export type QueryBerachain_Alm_AllVaultsArgs = { + where?: InputMaybe; +}; + +export type QueryBerachain_Alm_MyVaultsArgs = { + where?: InputMaybe; +}; + export type QueryBidHistoriesArgs = { block?: InputMaybe; first?: InputMaybe; @@ -12964,6 +14049,34 @@ export type QueryCross_Chain_Swap_TransactionEncodeArgs = { data?: InputMaybe; }; +export type QueryCross_Chain_Swap_Zetachain_OrderCreateArgs = { + data?: InputMaybe; +}; + +export type QueryCross_Chain_Swap_Zetachain_OrderDetailArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Swap_Zetachain_OrderListArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Swap_Zetachain_OrderRefundClaimedArgs = { + data?: InputMaybe; +}; + +export type QueryCross_Chain_Swap_Zetachain_RoutesArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Swap_Zetachain_SwapOrderListArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Swap_Zetachain_TransactionEncodeArgs = { + data?: InputMaybe; +}; + export type QueryCross_Chain_Token_ListArgs = { where?: InputMaybe; }; @@ -12972,6 +14085,30 @@ export type QueryCross_Chain_Token_TokenPairArgs = { where?: InputMaybe; }; +export type QueryCross_Chain_Transfer_GetOrderDetailArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Transfer_GetOrderListArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Transfer_GetTokenListArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Transfer_HeterogeneousQuoteArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Transfer_QuoteArgs = { + where?: InputMaybe; +}; + +export type QueryCross_Chain_Zetachain_Token_ListArgs = { + where?: InputMaybe; +}; + export type QueryCrowdPoolingArgs = { block?: InputMaybe; id: Scalars['ID']['input']; @@ -13053,6 +14190,26 @@ export type QueryCrowd_Pooling_VoteListArgs = { where?: InputMaybe; }; +export type QueryCurve_Stableswap_Ng_GetAllPoolsArgs = { + where?: InputMaybe; +}; + +export type QueryCurve_Stableswap_Ng_GetMyLiquidityArgs = { + where?: InputMaybe; +}; + +export type QueryCurve_Stableswap_Ng_GetPoolInfoArgs = { + where?: InputMaybe; +}; + +export type QueryCurve_Stableswap_Ng_GetPoolLiquidityHistoryArgs = { + where?: InputMaybe; +}; + +export type QueryCurve_Stableswap_Ng_GetPoolSwapInfoArgs = { + where?: InputMaybe; +}; + export type QueryD3mm_GetAssetDailyInterestsArgs = { where?: InputMaybe; }; @@ -13581,6 +14738,18 @@ export type QueryIncentiveRewardHistoryArgs = { where?: InputMaybe; }; +export type QueryLeaderboard_Activities_GetLeaderboardArgs = { + where: Leaderboard_ActivitiesLeaderboardInput; +}; + +export type QueryLeaderboard_Activities_GetPeriodsArgs = { + where: Leaderboard_ActivitiesPeriodsInput; +}; + +export type QueryLeaderboard_Activities_GetUserRankingArgs = { + where: Leaderboard_ActivitiesUserRankingInput; +}; + export type QueryLimit_And_Rfq_CreatePrivateOrderArgs = { where?: InputMaybe; }; @@ -13835,6 +15004,14 @@ export type QueryMintHistoryArgs = { where?: InputMaybe; }; +export type QueryNative_Signer_DepositArgs = { + data?: InputMaybe; +}; + +export type QueryNative_Signer_RedeemArgs = { + data?: InputMaybe; +}; + export type QueryNftArgs = { block?: InputMaybe; id: Scalars['ID']['input']; @@ -14039,6 +15216,34 @@ export type QueryPersistentStringsArgs = { where?: InputMaybe; }; +export type QueryPoints_Activity_HistoryArgs = { + where?: InputMaybe; +}; + +export type QueryPoints_Activity_InviteAcceptArgs = { + data?: InputMaybe; +}; + +export type QueryPoints_Activity_InviteCodeArgs = { + where?: InputMaybe; +}; + +export type QueryPoints_Activity_InviteStatusArgs = { + where?: InputMaybe; +}; + +export type QueryPoints_Activity_LeaderboardArgs = { + where?: InputMaybe; +}; + +export type QueryPoints_Activity_SpecialBoostArgs = { + where?: InputMaybe; +}; + +export type QueryPoints_Activity_UserSummaryArgs = { + where?: InputMaybe; +}; + export type QueryPoolArgs = { block?: InputMaybe; id: Scalars['ID']['input']; @@ -14307,6 +15512,46 @@ export type QuerySetVaultInfosArgs = { where?: InputMaybe; }; +export type QuerySigmax_Limit_GetOrderStatusBroadcastsArgs = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_GetPendingOrderChainListArgs = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_LimitOrderAmountLimitArgs = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_LimitOrderCancelArgs = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_LimitOrderCreateArgs = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_LimitOrderCreateV2Args = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_LimitOrderFeeArgs = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_LimitOrderListArgs = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_LimitOrderListWithPageArgs = { + where?: InputMaybe; +}; + +export type QuerySigmax_Limit_LimitOrderListWithPageV2Args = { + where?: InputMaybe; +}; + export type QueryStarterArgs = { block?: InputMaybe; id: Scalars['ID']['input']; @@ -14341,6 +15586,10 @@ export type QueryThird_Party_Token_ListArgs = { data?: InputMaybe; }; +export type QueryThird_Party_Token_Zetachain_ListArgs = { + data?: InputMaybe; +}; + export type QueryTickArgs = { block?: InputMaybe; id: Scalars['ID']['input']; @@ -14778,6 +16027,38 @@ export type QueryVdodo_GetStatsArgs = { where?: InputMaybe; }; +export type QueryVe33_GetPoolArgs = { + where?: InputMaybe; +}; + +export type QueryVe33_GetPoolListArgs = { + where?: InputMaybe; +}; + +export type QueryVe33_GetTicksDataArgs = { + where?: InputMaybe; +}; + +export type QueryVe33_GetUserLockArgs = { + where: Ve33UserInput; +}; + +export type QueryVe33_GetUserPortfolioListArgs = { + where: Ve33PortfolioInput; +}; + +export type QueryVe33_GetUserVeMomoInfoArgs = { + where: Ve33UserInput; +}; + +export type QueryVe33_GetVotePoolListArgs = { + where?: InputMaybe; +}; + +export type QueryVe33_Token_ListArgs = { + where?: InputMaybe; +}; + export type QueryWithdrawFundHistoriesArgs = { block?: InputMaybe; first?: InputMaybe; @@ -15485,138 +16766,341 @@ export type SetPoolInfo_OrderBy = | 'timestamp' | 'updatedAt'; -export type SetVaultInfo = { - /** Block number of this event */ - blockNumber: Scalars['BigInt']['output']; - /** Transaction hash of the transaction that emitted this event */ - hash: Scalars['String']['output']; - /** { Transaction hash }-{ Log index } */ - id: Scalars['ID']['output']; - /** Event log index. For transactions that don't emit event, create arbitrary index starting from 0 */ - logIndex: Scalars['Int']['output']; - operatorType: Scalars['String']['output']; - /** Timestamp of this event */ - timestamp: Scalars['BigInt']['output']; - /** updatedAt */ - updatedAt: Scalars['BigInt']['output']; - vault: Vault; +export type SetVaultInfo = { + /** Block number of this event */ + blockNumber: Scalars['BigInt']['output']; + /** Transaction hash of the transaction that emitted this event */ + hash: Scalars['String']['output']; + /** { Transaction hash }-{ Log index } */ + id: Scalars['ID']['output']; + /** Event log index. For transactions that don't emit event, create arbitrary index starting from 0 */ + logIndex: Scalars['Int']['output']; + operatorType: Scalars['String']['output']; + /** Timestamp of this event */ + timestamp: Scalars['BigInt']['output']; + /** updatedAt */ + updatedAt: Scalars['BigInt']['output']; + vault: Vault; +}; + +export type SetVaultInfo_Filter = { + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_lt?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_not_in?: InputMaybe>; + hash?: InputMaybe; + hash_contains?: InputMaybe; + hash_contains_nocase?: InputMaybe; + hash_ends_with?: InputMaybe; + hash_ends_with_nocase?: InputMaybe; + hash_gt?: InputMaybe; + hash_gte?: InputMaybe; + hash_in?: InputMaybe>; + hash_lt?: InputMaybe; + hash_lte?: InputMaybe; + hash_not?: InputMaybe; + hash_not_contains?: InputMaybe; + hash_not_contains_nocase?: InputMaybe; + hash_not_ends_with?: InputMaybe; + hash_not_ends_with_nocase?: InputMaybe; + hash_not_in?: InputMaybe>; + hash_not_starts_with?: InputMaybe; + hash_not_starts_with_nocase?: InputMaybe; + hash_starts_with?: InputMaybe; + hash_starts_with_nocase?: InputMaybe; + id?: InputMaybe; + id_gt?: InputMaybe; + id_gte?: InputMaybe; + id_in?: InputMaybe>; + id_lt?: InputMaybe; + id_lte?: InputMaybe; + id_not?: InputMaybe; + id_not_in?: InputMaybe>; + logIndex?: InputMaybe; + logIndex_gt?: InputMaybe; + logIndex_gte?: InputMaybe; + logIndex_in?: InputMaybe>; + logIndex_lt?: InputMaybe; + logIndex_lte?: InputMaybe; + logIndex_not?: InputMaybe; + logIndex_not_in?: InputMaybe>; + operatorType?: InputMaybe; + operatorType_contains?: InputMaybe; + operatorType_contains_nocase?: InputMaybe; + operatorType_ends_with?: InputMaybe; + operatorType_ends_with_nocase?: InputMaybe; + operatorType_gt?: InputMaybe; + operatorType_gte?: InputMaybe; + operatorType_in?: InputMaybe>; + operatorType_lt?: InputMaybe; + operatorType_lte?: InputMaybe; + operatorType_not?: InputMaybe; + operatorType_not_contains?: InputMaybe; + operatorType_not_contains_nocase?: InputMaybe; + operatorType_not_ends_with?: InputMaybe; + operatorType_not_ends_with_nocase?: InputMaybe; + operatorType_not_in?: InputMaybe>; + operatorType_not_starts_with?: InputMaybe; + operatorType_not_starts_with_nocase?: InputMaybe; + operatorType_starts_with?: InputMaybe; + operatorType_starts_with_nocase?: InputMaybe; + timestamp?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_lt?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_not_in?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAt_gt?: InputMaybe; + updatedAt_gte?: InputMaybe; + updatedAt_in?: InputMaybe>; + updatedAt_lt?: InputMaybe; + updatedAt_lte?: InputMaybe; + updatedAt_not?: InputMaybe; + updatedAt_not_in?: InputMaybe>; + vault?: InputMaybe; + vault_?: InputMaybe; + vault_contains?: InputMaybe; + vault_contains_nocase?: InputMaybe; + vault_ends_with?: InputMaybe; + vault_ends_with_nocase?: InputMaybe; + vault_gt?: InputMaybe; + vault_gte?: InputMaybe; + vault_in?: InputMaybe>; + vault_lt?: InputMaybe; + vault_lte?: InputMaybe; + vault_not?: InputMaybe; + vault_not_contains?: InputMaybe; + vault_not_contains_nocase?: InputMaybe; + vault_not_ends_with?: InputMaybe; + vault_not_ends_with_nocase?: InputMaybe; + vault_not_in?: InputMaybe>; + vault_not_starts_with?: InputMaybe; + vault_not_starts_with_nocase?: InputMaybe; + vault_starts_with?: InputMaybe; + vault_starts_with_nocase?: InputMaybe; +}; + +export type SetVaultInfo_OrderBy = + | 'blockNumber' + | 'hash' + | 'id' + | 'logIndex' + | 'operatorType' + | 'timestamp' + | 'updatedAt' + | 'vault'; + +export type Sigmax_LimitCancelLimitOrderResponse = { + authorization?: Maybe; +}; + +export type Sigmax_LimitLimitOrder = { + createdAt?: Maybe; + expiration?: Maybe; + failureReason?: Maybe; + filledAmount?: Maybe; + hash?: Maybe; + id?: Maybe; + maker?: Maybe; + makerAmount?: Maybe; + makerToken?: Maybe; + makerTokenDecimal?: Maybe; + makerTokenLogoImg?: Maybe; + makerTokenSymbol?: Maybe; + network?: Maybe; + order?: Maybe; + progress?: Maybe; + salt?: Maybe; + signature?: Maybe; + taker?: Maybe; + takerAmount?: Maybe; + takerToken?: Maybe; + takerTokenDecimal?: Maybe; + takerTokenLogoImg?: Maybe; + takerTokenSymbol?: Maybe; + updatedAt?: Maybe; +}; + +export type Sigmax_LimitLimitOrderFeeInfo = { + baseFeeAmount?: Maybe; + baseFeeValue?: Maybe; + feeAmount?: Maybe; + feeId?: Maybe; + feeValue?: Maybe; + percentFeeAmount?: Maybe; + percentFeeValue?: Maybe; + priceImpactFactor?: Maybe; +}; + +export type Sigmax_LimitLimitOrderInfo = { + expiration?: Maybe; + maker?: Maybe; + makerAmount?: Maybe; + makerToken?: Maybe; + salt?: Maybe; + taker?: Maybe; + takerAmount?: Maybe; + takerToken?: Maybe; +}; + +export type Sigmax_LimitLimitOrderStatusBroadcastInfo = { + chainId?: Maybe; + createdAt?: Maybe; + id?: Maybe; + makerToken?: Maybe; + makerTokenSymbol?: Maybe; + orderId?: Maybe; + reason?: Maybe; + takerToken?: Maybe; + takerTokenSymbol?: Maybe; + updatedAt?: Maybe; + user?: Maybe; +}; + +export type Sigmax_LimitLimitOrderV2 = { + createdAt?: Maybe; + expiration?: Maybe; + failureReason?: Maybe; + feeAmount?: Maybe; + filledAmount?: Maybe; + hash?: Maybe; + id?: Maybe; + maker?: Maybe; + makerAmount?: Maybe; + makerToken?: Maybe; + makerTokenDecimal?: Maybe; + makerTokenLogoImg?: Maybe; + makerTokenSymbol?: Maybe; + network?: Maybe; + order?: Maybe; + progress?: Maybe; + salt?: Maybe; + taker?: Maybe; + takerAmount?: Maybe; + takerToken?: Maybe; + takerTokenDecimal?: Maybe; + takerTokenLogoImg?: Maybe; + takerTokenSymbol?: Maybe; + updatedAt?: Maybe; +}; + +export type Sigmax_LimitPaginateLimitOrderList = { + currentPage?: Maybe; + limit?: Maybe; + list?: Maybe>>; + total?: Maybe; + totalPage?: Maybe; +}; + +export type Sigmax_LimitPaginateLimitOrderListV2 = { + currentPage?: Maybe; + limit?: Maybe; + list?: Maybe>>; + total?: Maybe; + totalPage?: Maybe; +}; + +export type Sigmax_LimitPrivateOrderInfo = { + createdAt?: Maybe; + id?: Maybe; + network?: Maybe; + progress?: Maybe; + txid?: Maybe; +}; + +export type Sigmax_LimitcreateLimitOrderInfo = { + expiration?: InputMaybe; + maker?: InputMaybe; + makerAmount?: InputMaybe; + makerToken?: InputMaybe; + salt?: InputMaybe; + taker?: InputMaybe; + takerAmount?: InputMaybe; + takerToken?: InputMaybe; +}; + +export type Sigmax_LimitcreatePrivateOrderInfo = { + address?: InputMaybe; + network?: InputMaybe; + timeout?: InputMaybe; + transaction?: InputMaybe; + useSource?: InputMaybe; +}; + +export type Sigmax_LimitgetPendingLimitOrderParam = { + address?: InputMaybe; +}; + +export type Sigmax_LimitgetPrivateOrderParam = { + hash?: InputMaybe; +}; + +export type Sigmax_LimitlimitCancelSignType = 'eip191' | 'eip712' | 'eip1271'; + +export type Sigmax_LimitlimitCreateOrderWalletType = 'common' | 'unipass'; + +export type Sigmax_LimitlimitOrderAmountLimitParam = { + network?: InputMaybe; + token?: InputMaybe; +}; + +export type Sigmax_LimitlimitOrderQueryEnum = 'ALL' | 'FRESH' | 'NOT_FRESH'; + +export type Sigmax_LimituserCancelLimitOrder = { + address?: InputMaybe; + /** limit order id */ + id?: InputMaybe; + network?: InputMaybe; + signature?: InputMaybe; + signkey?: InputMaybe; + signtime?: InputMaybe; + signtype?: InputMaybe; +}; + +export type Sigmax_LimituserCreateLimitOrder = { + network?: InputMaybe; + order?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; +}; + +export type Sigmax_LimituserCreateLimitOrderV2 = { + feeId?: InputMaybe; + network?: InputMaybe; + order?: InputMaybe; + signature?: InputMaybe; + type?: InputMaybe; + wallet?: InputMaybe; +}; + +export type Sigmax_LimituserQueryLimitOrderFee = { + chainId?: InputMaybe; + stableAmount?: InputMaybe; + toToken?: InputMaybe; + toTokenAmount?: InputMaybe; }; -export type SetVaultInfo_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - hash?: InputMaybe; - hash_contains?: InputMaybe; - hash_contains_nocase?: InputMaybe; - hash_ends_with?: InputMaybe; - hash_ends_with_nocase?: InputMaybe; - hash_gt?: InputMaybe; - hash_gte?: InputMaybe; - hash_in?: InputMaybe>; - hash_lt?: InputMaybe; - hash_lte?: InputMaybe; - hash_not?: InputMaybe; - hash_not_contains?: InputMaybe; - hash_not_contains_nocase?: InputMaybe; - hash_not_ends_with?: InputMaybe; - hash_not_ends_with_nocase?: InputMaybe; - hash_not_in?: InputMaybe>; - hash_not_starts_with?: InputMaybe; - hash_not_starts_with_nocase?: InputMaybe; - hash_starts_with?: InputMaybe; - hash_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - logIndex?: InputMaybe; - logIndex_gt?: InputMaybe; - logIndex_gte?: InputMaybe; - logIndex_in?: InputMaybe>; - logIndex_lt?: InputMaybe; - logIndex_lte?: InputMaybe; - logIndex_not?: InputMaybe; - logIndex_not_in?: InputMaybe>; - operatorType?: InputMaybe; - operatorType_contains?: InputMaybe; - operatorType_contains_nocase?: InputMaybe; - operatorType_ends_with?: InputMaybe; - operatorType_ends_with_nocase?: InputMaybe; - operatorType_gt?: InputMaybe; - operatorType_gte?: InputMaybe; - operatorType_in?: InputMaybe>; - operatorType_lt?: InputMaybe; - operatorType_lte?: InputMaybe; - operatorType_not?: InputMaybe; - operatorType_not_contains?: InputMaybe; - operatorType_not_contains_nocase?: InputMaybe; - operatorType_not_ends_with?: InputMaybe; - operatorType_not_ends_with_nocase?: InputMaybe; - operatorType_not_in?: InputMaybe>; - operatorType_not_starts_with?: InputMaybe; - operatorType_not_starts_with_nocase?: InputMaybe; - operatorType_starts_with?: InputMaybe; - operatorType_starts_with_nocase?: InputMaybe; - timestamp?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_lt?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_not_in?: InputMaybe>; - updatedAt?: InputMaybe; - updatedAt_gt?: InputMaybe; - updatedAt_gte?: InputMaybe; - updatedAt_in?: InputMaybe>; - updatedAt_lt?: InputMaybe; - updatedAt_lte?: InputMaybe; - updatedAt_not?: InputMaybe; - updatedAt_not_in?: InputMaybe>; - vault?: InputMaybe; - vault_?: InputMaybe; - vault_contains?: InputMaybe; - vault_contains_nocase?: InputMaybe; - vault_ends_with?: InputMaybe; - vault_ends_with_nocase?: InputMaybe; - vault_gt?: InputMaybe; - vault_gte?: InputMaybe; - vault_in?: InputMaybe>; - vault_lt?: InputMaybe; - vault_lte?: InputMaybe; - vault_not?: InputMaybe; - vault_not_contains?: InputMaybe; - vault_not_contains_nocase?: InputMaybe; - vault_not_ends_with?: InputMaybe; - vault_not_ends_with_nocase?: InputMaybe; - vault_not_in?: InputMaybe>; - vault_not_starts_with?: InputMaybe; - vault_not_starts_with_nocase?: InputMaybe; - vault_starts_with?: InputMaybe; - vault_starts_with_nocase?: InputMaybe; +export type Sigmax_LimituserQueryLimitOrderList = { + address?: InputMaybe; + network?: InputMaybe; }; -export type SetVaultInfo_OrderBy = - | 'blockNumber' - | 'hash' - | 'id' - | 'logIndex' - | 'operatorType' - | 'timestamp' - | 'updatedAt' - | 'vault'; +export type Sigmax_LimituserQueryLimitOrderListWithPage = { + address?: InputMaybe; + limit?: InputMaybe; + network?: InputMaybe; + orderType?: InputMaybe; + page?: InputMaybe; +}; export type Starter = { chain: Scalars['String']['output']; @@ -16550,6 +18034,22 @@ export type Third_Party_TokenList = { symbol?: Maybe; }; +export type Third_Party_Token_ZetachainList = { + address?: Maybe; + chainId?: Maybe; + decimals?: Maybe; + from?: Maybe; + id?: Maybe; + logoURI?: Maybe; + name?: Maybe; + symbol?: Maybe; +}; + +export type Third_Party_Token_ZetachainlistData = { + chainId?: InputMaybe; + fromNames?: InputMaybe>>; +}; + export type Third_Party_TokenlistData = { chainId?: InputMaybe; fromNames?: InputMaybe>>; @@ -18810,6 +20310,7 @@ export type User_SwapswapFilter = { limit?: InputMaybe; page?: InputMaybe; refreshNow?: InputMaybe; + source?: InputMaybe; userAddress?: InputMaybe; }; @@ -20144,6 +21645,231 @@ export type VdodoVdodoServiceChargesResult = { pool_fees_total: Scalars['String']['output']; }; +export type Ve33Incentive = { + amount: Scalars['BigInt']['output']; + token: Scalars['String']['output']; + usd: Scalars['BigDecimal']['output']; +}; + +export type Ve33Lock = { + id: Scalars['String']['output']; + isPermanent: Scalars['Boolean']['output']; + isVoted: Scalars['Boolean']['output']; + lockedEnd: Scalars['BigInt']['output']; + userAddress: Scalars['String']['output']; + value: Scalars['BigDecimal']['output']; + votingPower: Scalars['BigDecimal']['output']; +}; + +export type Ve33Pool = { + apr: Ve33PoolApr; + feeRate: Scalars['BigDecimal']['output']; + feesToken0: Scalars['BigDecimal']['output']; + feesToken1: Scalars['BigDecimal']['output']; + feesUSD: Scalars['BigDecimal']['output']; + gaugeAddress: Scalars['String']['output']; + id: Scalars['String']['output']; + tickSpacing: Scalars['Int']['output']; + title: Scalars['String']['output']; + token0Address: Scalars['String']['output']; + token0Decimals: Scalars['Int']['output']; + token0Name: Scalars['String']['output']; + token0Symbol: Scalars['String']['output']; + token1Address: Scalars['String']['output']; + token1Decimals: Scalars['Int']['output']; + token1Name: Scalars['String']['output']; + token1Symbol: Scalars['String']['output']; + totalValueLockedToken0: Scalars['BigDecimal']['output']; + totalValueLockedToken1: Scalars['BigDecimal']['output']; + totalValueLockedUSD: Scalars['BigDecimal']['output']; + tvl: Scalars['BigDecimal']['output']; + /** v2 or v3 */ + version: Scalars['String']['output']; + volumeToken0: Scalars['BigDecimal']['output']; + volumeToken1: Scalars['BigDecimal']['output']; + volumeUSD: Scalars['BigDecimal']['output']; +}; + +export type Ve33PoolApr = { + fees: Scalars['BigDecimal']['output']; + incentives: Scalars['BigDecimal']['output']; +}; + +export type Ve33PoolInput = { + pool?: InputMaybe; +}; + +export type Ve33PoolTotalVoted = { + token: Scalars['String']['output']; + weight: Scalars['String']['output']; +}; + +export type Ve33Portfolio = { + apr: Ve33PortfolioApr; + emissions: Scalars['BigDecimal']['output']; + emissionsUSD: Scalars['BigDecimal']['output']; + feeRate: Scalars['BigDecimal']['output']; + feesToken0: Scalars['BigDecimal']['output']; + feesToken1: Scalars['BigDecimal']['output']; + feesUSD: Scalars['BigDecimal']['output']; + gaugeAddress: Scalars['String']['output']; + /** liquidity position id, 'Position #1000' */ + id: Scalars['String']['output']; + incentives: Array>; + liquidityTokenBalance: Scalars['String']['output']; + liquidityTokenBalanceUSD: Scalars['String']['output']; + liquidityTokenInMining: Scalars['String']['output']; + liquidityTokenInMiningUSD: Scalars['String']['output']; + liquidityUSD: Scalars['String']['output']; + locks: Array>; + poolAddress: Scalars['String']['output']; + /** Stable, Volatile, CL */ + tickSpacing: Scalars['Int']['output']; + title: Scalars['String']['output']; + token0Address: Scalars['String']['output']; + token0Amount: Scalars['String']['output']; + token0Decimals: Scalars['Int']['output']; + token0LowerPrice: Scalars['String']['output']; + token0Name: Scalars['String']['output']; + token0Piece: Scalars['String']['output']; + token0Symbol: Scalars['String']['output']; + token0UpperPrice: Scalars['String']['output']; + token1Address: Scalars['String']['output']; + token1Amount: Scalars['String']['output']; + token1Decimals: Scalars['Int']['output']; + token1LowerPrice: Scalars['String']['output']; + token1Name: Scalars['String']['output']; + token1Piece: Scalars['String']['output']; + token1Symbol: Scalars['String']['output']; + token1UpperPrice: Scalars['String']['output']; + tvl: Scalars['BigDecimal']['output']; + /** voting=Voting Rewards, liquidity=LP Rewards */ + type: Scalars['String']['output']; + /** v2 or v3 */ + version: Scalars['String']['output']; +}; + +export type Ve33PortfolioApr = { + fees: Scalars['BigDecimal']['output']; + incentives: Scalars['BigDecimal']['output']; + rewards: Scalars['BigDecimal']['output']; +}; + +export type Ve33PortfolioInput = { + page?: InputMaybe; + size?: InputMaybe; + token_starts_with?: InputMaybe; + type?: InputMaybe; + user: Scalars['String']['input']; +}; + +export type Ve33PortfolioLock = { + id: Scalars['String']['output']; + lockedEnd: Scalars['BigInt']['output']; + totalWeight: Scalars['BigDecimal']['output']; + usd: Scalars['BigDecimal']['output']; + userAddress: Scalars['String']['output']; + value: Scalars['BigInt']['output']; + votingPower: Scalars['BigInt']['output']; + weight: Scalars['BigDecimal']['output']; +}; + +export type Ve33Tick = { + id: Scalars['String']['output']; + liquidityGross: Scalars['BigDecimal']['output']; + liquidityNet: Scalars['BigDecimal']['output']; + poolAddress: Scalars['String']['output']; + price0: Scalars['BigDecimal']['output']; + price1: Scalars['BigDecimal']['output']; + protocolPosition?: Maybe; + tickArrayLower?: Maybe; + tickArrayUpper?: Maybe; + tickIdx: Scalars['BigDecimal']['output']; +}; + +export type Ve33TicksDataResult = { + first?: Maybe; + pool: Scalars['String']['output']; + skip?: Maybe; + ticks: Array>; +}; + +export type Ve33TokenFilterPaginationInput = { + page?: InputMaybe; + size?: InputMaybe; + token_starts_with?: InputMaybe; +}; + +export type Ve33UserInput = { + user: Scalars['String']['input']; +}; + +export type Ve33UserVeMomoInfo = { + totalVeMOMOCount: Scalars['Int']['output']; + votedVeMOMOCount: Scalars['Int']['output']; +}; + +export type Ve33VotePool = { + apr: Ve33PoolApr; + feeRate: Scalars['BigDecimal']['output']; + feesToken0: Scalars['BigDecimal']['output']; + feesToken1: Scalars['BigDecimal']['output']; + feesUSD: Scalars['BigDecimal']['output']; + gaugeAddress: Scalars['String']['output']; + id: Scalars['String']['output']; + incentives: Array>; + tickSpacing: Scalars['Int']['output']; + title: Scalars['String']['output']; + token0Address: Scalars['String']['output']; + token0Decimals: Scalars['Int']['output']; + token0Name: Scalars['String']['output']; + token0Symbol: Scalars['String']['output']; + token1Address: Scalars['String']['output']; + token1Decimals: Scalars['Int']['output']; + token1Name: Scalars['String']['output']; + token1Symbol: Scalars['String']['output']; + totalValueLockedToken0: Scalars['BigDecimal']['output']; + totalValueLockedToken1: Scalars['BigDecimal']['output']; + totalValueLockedUSD: Scalars['BigDecimal']['output']; + tvl: Scalars['BigDecimal']['output']; + /** v2 or v3 */ + version: Scalars['String']['output']; + votes: Array>; +}; + +export type Ve33VotePoolInput = { + page?: InputMaybe; + size?: InputMaybe; + token_starts_with?: InputMaybe; + type?: InputMaybe; + user?: InputMaybe; +}; + +export type Ve33VotePoolType = 'All' | 'V2' | 'V3'; + +export type Ve33_TokenVe33Token = { + address?: Maybe; + chainId?: Maybe; + decimals?: Maybe; + logo?: Maybe; + name?: Maybe; + position?: Maybe; + slippage?: Maybe; + symbol?: Maybe; +}; + +export type Ve33_TokenlistFilter = { + chainId?: InputMaybe; + page?: InputMaybe; + pageSize?: InputMaybe; +}; + +export type Ve33getTicksDataInput = { + first?: InputMaybe; + pool: Scalars['String']['input']; + skip?: InputMaybe; +}; + export type WithdrawFundHistory = { chain: Scalars['String']['output']; /** id hash-logindex */ diff --git a/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoDppProxy.ts b/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoDppProxy.ts index 4ed625a2..f26cc343 100644 --- a/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoDppProxy.ts +++ b/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoDppProxy.ts @@ -3,170 +3,70 @@ import type { ContractInterface } from '@ethersproject/contracts'; const abi: ContractInterface = [ { inputs: [ - { - internalType: 'address payable', - name: 'weth', - type: 'address', - }, - { - internalType: 'address', - name: 'dodoApproveProxy', - type: 'address', - }, - { - internalType: 'address', - name: 'dppFactory', - type: 'address', - }, + { internalType: 'address payable', name: 'weth', type: 'address' }, + { internalType: 'address', name: 'settlexApproveProxy', type: 'address' }, + { internalType: 'address', name: 'dppFactory', type: 'address' }, ], stateMutability: 'nonpayable', type: 'constructor', }, - { - stateMutability: 'payable', - type: 'fallback', - }, + { stateMutability: 'payable', type: 'fallback' }, { inputs: [], - name: '_DODO_APPROVE_PROXY_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_DPP_FACTORY_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], - name: '_DPP_FACTORY_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_SETTLEX_APPROVE_PROXY_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: '_WETH_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'baseToken', - type: 'address', - }, - { - internalType: 'address', - name: 'quoteToken', - type: 'address', - }, - { - internalType: 'uint256', - name: 'baseInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'lpFeeRate', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'i', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'k', - type: 'uint256', - }, - { - internalType: 'bool', - name: 'isOpenTwap', - type: 'bool', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, + { internalType: 'address', name: 'baseToken', type: 'address' }, + { internalType: 'address', name: 'quoteToken', type: 'address' }, + { internalType: 'uint256', name: 'baseInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'lpFeeRate', type: 'uint256' }, + { internalType: 'uint256', name: 'i', type: 'uint256' }, + { internalType: 'uint256', name: 'k', type: 'uint256' }, + { internalType: 'bool', name: 'isOpenTwap', type: 'bool' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, ], - name: 'createDODOPrivatePool', + name: 'createSETTLEXPrivatePool', outputs: [ - { - internalType: 'address', - name: 'newPrivatePool', - type: 'address', - }, + { internalType: 'address', name: 'newPrivatePool', type: 'address' }, ], stateMutability: 'payable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'dppAddress', - type: 'address', - }, - { - internalType: 'uint256[]', - name: 'paramList', - type: 'uint256[]', - }, - { - internalType: 'uint256[]', - name: 'amountList', - type: 'uint256[]', - }, - { - internalType: 'uint8', - name: 'flag', - type: 'uint8', - }, - { - internalType: 'uint256', - name: 'minBaseReserve', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'minQuoteReserve', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, + { internalType: 'address', name: 'dppAddress', type: 'address' }, + { internalType: 'uint256[]', name: 'paramList', type: 'uint256[]' }, + { internalType: 'uint256[]', name: 'amountList', type: 'uint256[]' }, + { internalType: 'uint8', name: 'flag', type: 'uint8' }, + { internalType: 'uint256', name: 'minBaseReserve', type: 'uint256' }, + { internalType: 'uint256', name: 'minQuoteReserve', type: 'uint256' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, ], - name: 'resetDODOPrivatePool', + name: 'resetSETTLEXPrivatePool', outputs: [], stateMutability: 'payable', type: 'function', }, + { stateMutability: 'payable', type: 'receive' }, ]; export default abi; diff --git a/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoDspProxy.ts b/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoDspProxy.ts index 222ac267..896eff1c 100644 --- a/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoDspProxy.ts +++ b/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoDspProxy.ts @@ -3,131 +3,56 @@ import type { ContractInterface } from '@ethersproject/contracts'; const abi: ContractInterface = [ { inputs: [ - { - internalType: 'address', - name: 'dspFactory', - type: 'address', - }, - { - internalType: 'address', - name: 'gspFactory', - type: 'address', - }, - { - internalType: 'address payable', - name: 'weth', - type: 'address', - }, - { - internalType: 'address', - name: 'dodoApproveProxy', - type: 'address', - }, + { internalType: 'address', name: 'dspFactory', type: 'address' }, + { internalType: 'address', name: 'gspFactory', type: 'address' }, + { internalType: 'address payable', name: 'weth', type: 'address' }, + { internalType: 'address', name: 'settlexApproveProxy', type: 'address' }, ], stateMutability: 'nonpayable', type: 'constructor', }, - { - stateMutability: 'payable', - type: 'fallback', - }, + { stateMutability: 'payable', type: 'fallback' }, { inputs: [], - name: '_DODO_APPROVE_PROXY_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_DSP_FACTORY_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], - name: '_DSP_FACTORY_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_GSP_FACTORY_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], - name: '_GSP_FACTORY_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_SETTLEX_APPROVE_PROXY_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: '_WETH_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'dspAddress', - type: 'address', - }, - { - internalType: 'uint256', - name: 'baseInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'baseMinAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteMinAmount', - type: 'uint256', - }, - { - internalType: 'uint8', - name: 'flag', - type: 'uint8', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, + { internalType: 'address', name: 'dspAddress', type: 'address' }, + { internalType: 'uint256', name: 'baseInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'baseMinAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteMinAmount', type: 'uint256' }, + { internalType: 'uint8', name: 'flag', type: 'uint8' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, ], name: 'addDSPLiquidity', outputs: [ - { - internalType: 'uint256', - name: 'shares', - type: 'uint256', - }, + { internalType: 'uint256', name: 'shares', type: 'uint256' }, { internalType: 'uint256', name: 'baseAdjustedInAmount', @@ -144,146 +69,51 @@ const abi: ContractInterface = [ }, { inputs: [ - { - internalType: 'address', - name: 'admin', - type: 'address', - }, - { - internalType: 'address', - name: 'baseToken', - type: 'address', - }, - { - internalType: 'address', - name: 'quoteToken', - type: 'address', - }, - { - internalType: 'uint256', - name: 'baseInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'lpFeeRate', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'mtFeeRate', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'i', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'k', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'priceLimit', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, + { internalType: 'address', name: 'admin', type: 'address' }, + { internalType: 'address', name: 'baseToken', type: 'address' }, + { internalType: 'address', name: 'quoteToken', type: 'address' }, + { internalType: 'uint256', name: 'baseInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'lpFeeRate', type: 'uint256' }, + { internalType: 'uint256', name: 'mtFeeRate', type: 'uint256' }, + { internalType: 'uint256', name: 'i', type: 'uint256' }, + { internalType: 'uint256', name: 'k', type: 'uint256' }, + { internalType: 'uint256', name: 'priceLimit', type: 'uint256' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, ], - name: 'createDODOGasSavingPair', + name: 'createSETTLEXGasSavingPair', outputs: [ - { - internalType: 'address', - name: 'newGasSavingPair', - type: 'address', - }, - { - internalType: 'uint256', - name: 'shares', - type: 'uint256', - }, + { internalType: 'address', name: 'newGasSavingPair', type: 'address' }, + { internalType: 'uint256', name: 'shares', type: 'uint256' }, ], stateMutability: 'payable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'baseToken', - type: 'address', - }, - { - internalType: 'address', - name: 'quoteToken', - type: 'address', - }, - { - internalType: 'uint256', - name: 'baseInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'lpFeeRate', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'i', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'k', - type: 'uint256', - }, - { - internalType: 'bool', - name: 'isOpenTWAP', - type: 'bool', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, + { internalType: 'address', name: 'baseToken', type: 'address' }, + { internalType: 'address', name: 'quoteToken', type: 'address' }, + { internalType: 'uint256', name: 'baseInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'lpFeeRate', type: 'uint256' }, + { internalType: 'uint256', name: 'i', type: 'uint256' }, + { internalType: 'uint256', name: 'k', type: 'uint256' }, + { internalType: 'bool', name: 'isOpenTWAP', type: 'bool' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, ], - name: 'createDODOStablePair', + name: 'createSETTLEXStablePair', outputs: [ { internalType: 'address', - name: 'newDODOStablePair', + name: 'newSETTLEXStablePair', type: 'address', }, - { - internalType: 'uint256', - name: 'shares', - type: 'uint256', - }, + { internalType: 'uint256', name: 'shares', type: 'uint256' }, ], stateMutability: 'payable', type: 'function', }, - { - stateMutability: 'payable', - type: 'receive', - }, + { stateMutability: 'payable', type: 'receive' }, ]; export default abi; diff --git a/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoProxyV2.ts b/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoProxyV2.ts index 2b09689a..199a4aa2 100644 --- a/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoProxyV2.ts +++ b/packages/dodoex-api/src/helper/ContractRequests/abi/ABIs/dodoProxyV2.ts @@ -3,26 +3,10 @@ import type { ContractInterface } from '@ethersproject/contracts'; const abi: ContractInterface = [ { inputs: [ - { - internalType: 'address', - name: 'dvmFactory', - type: 'address', - }, - { - internalType: 'address payable', - name: 'weth', - type: 'address', - }, - { - internalType: 'address', - name: 'dodoApproveProxy', - type: 'address', - }, - { - internalType: 'address', - name: 'dodoSellHelper', - type: 'address', - }, + { internalType: 'address', name: 'dvmFactory', type: 'address' }, + { internalType: 'address payable', name: 'weth', type: 'address' }, + { internalType: 'address', name: 'settlexApproveProxy', type: 'address' }, + { internalType: 'address', name: 'settlexSellHelper', type: 'address' }, ], stateMutability: 'nonpayable', type: 'constructor', @@ -102,147 +86,97 @@ const abi: ContractInterface = [ name: 'OwnershipTransferred', type: 'event', }, - { - stateMutability: 'payable', - type: 'fallback', - }, + { stateMutability: 'payable', type: 'fallback' }, { inputs: [], - name: '_DODO_APPROVE_PROXY_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_DVM_FACTORY_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], - name: '_DODO_SELL_HELPER_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_NEW_OWNER_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], - name: '_DVM_FACTORY_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_OWNER_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], - name: '_NEW_OWNER_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_SETTLEX_APPROVE_PROXY_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], - name: '_OWNER_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + name: '_SETTLEX_SELL_HELPER_', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: '_WETH_', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address', - }, - ], + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, - { - inputs: [], - name: 'claimOwnership', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, { inputs: [ - { - internalType: 'address', - name: 'newOwner', - type: 'address', - }, + { internalType: 'address', name: 'dvmAddress', type: 'address' }, + { internalType: 'uint256', name: 'baseInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'baseMinAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteMinAmount', type: 'uint256' }, + { internalType: 'uint8', name: 'flag', type: 'uint8' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, ], - name: 'initOwner', - outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, - { - inputs: [ + name: 'addDVMLiquidity', + outputs: [ + { internalType: 'uint256', name: 'shares', type: 'uint256' }, { - internalType: 'address', - name: '', - type: 'address', + internalType: 'uint256', + name: 'baseAdjustedInAmount', + type: 'uint256', }, - ], - name: 'isWhiteListed', - outputs: [ { - internalType: 'bool', - name: '', - type: 'bool', + internalType: 'uint256', + name: 'quoteAdjustedInAmount', + type: 'uint256', }, ], - stateMutability: 'view', + stateMutability: 'payable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'newOwner', - type: 'address', - }, + { internalType: 'address', name: 'pair', type: 'address' }, + { internalType: 'uint256', name: 'baseAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'baseMinShares', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteMinShares', type: 'uint256' }, + { internalType: 'uint8', name: 'flag', type: 'uint8' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, ], - name: 'transferOwnership', - outputs: [], - stateMutability: 'nonpayable', + name: 'addLiquidityToV1', + outputs: [ + { internalType: 'uint256', name: 'baseShares', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteShares', type: 'uint256' }, + ], + stateMutability: 'payable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'contractAddr', - type: 'address', - }, + { internalType: 'address', name: 'contractAddr', type: 'address' }, ], name: 'addWhiteList', outputs: [], @@ -250,483 +184,151 @@ const abi: ContractInterface = [ type: 'function', }, { - inputs: [ - { - internalType: 'address', - name: 'contractAddr', - type: 'address', - }, - ], - name: 'removeWhiteList', + inputs: [], + name: 'claimOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'baseToken', - type: 'address', - }, - { - internalType: 'address', - name: 'quoteToken', - type: 'address', - }, - { - internalType: 'uint256', - name: 'baseInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'lpFeeRate', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'i', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'k', - type: 'uint256', - }, - { - internalType: 'bool', - name: 'isOpenTWAP', - type: 'bool', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, - ], - name: 'createDODOVendingMachine', + { internalType: 'address', name: 'baseToken', type: 'address' }, + { internalType: 'address', name: 'quoteToken', type: 'address' }, + { internalType: 'uint256', name: 'baseInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'quoteInAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'lpFeeRate', type: 'uint256' }, + { internalType: 'uint256', name: 'i', type: 'uint256' }, + { internalType: 'uint256', name: 'k', type: 'uint256' }, + { internalType: 'bool', name: 'isOpenTWAP', type: 'bool' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, + ], + name: 'createSETTLEXVendingMachine', outputs: [ - { - internalType: 'address', - name: 'newVendingMachine', - type: 'address', - }, - { - internalType: 'uint256', - name: 'shares', - type: 'uint256', - }, + { internalType: 'address', name: 'newVendingMachine', type: 'address' }, + { internalType: 'uint256', name: 'shares', type: 'uint256' }, ], stateMutability: 'payable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'dvmAddress', - type: 'address', - }, - { - internalType: 'uint256', - name: 'baseInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'baseMinAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteMinAmount', - type: 'uint256', - }, - { - internalType: 'uint8', - name: 'flag', - type: 'uint8', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, + { internalType: 'address', name: 'fromToken', type: 'address' }, + { internalType: 'address', name: 'toToken', type: 'address' }, + { internalType: 'address', name: 'approveTarget', type: 'address' }, + { internalType: 'address', name: 'swapTarget', type: 'address' }, + { internalType: 'uint256', name: 'fromTokenAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'minReturnAmount', type: 'uint256' }, + { internalType: 'bytes', name: 'callDataConcat', type: 'bytes' }, + { internalType: 'bool', name: '', type: 'bool' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, ], - name: 'addDVMLiquidity', + name: 'externalSwap', outputs: [ - { - internalType: 'uint256', - name: 'shares', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'baseAdjustedInAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteAdjustedInAmount', - type: 'uint256', - }, + { internalType: 'uint256', name: 'returnAmount', type: 'uint256' }, ], stateMutability: 'payable', type: 'function', }, { - inputs: [ - { - internalType: 'address', - name: 'toToken', - type: 'address', - }, - { - internalType: 'uint256', - name: 'minReturnAmount', - type: 'uint256', - }, - { - internalType: 'address[]', - name: 'dodoPairs', - type: 'address[]', - }, - { - internalType: 'uint256', - name: 'directions', - type: 'uint256', - }, - { - internalType: 'bool', - name: '', - type: 'bool', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, - ], - name: 'dodoSwapV2ETHToToken', - outputs: [ - { - internalType: 'uint256', - name: 'returnAmount', - type: 'uint256', - }, - ], - stateMutability: 'payable', + inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], + name: 'initOwner', + outputs: [], + stateMutability: 'nonpayable', type: 'function', }, { - inputs: [ - { - internalType: 'address', - name: 'fromToken', - type: 'address', - }, - { - internalType: 'uint256', - name: 'fromTokenAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'minReturnAmount', - type: 'uint256', - }, - { - internalType: 'address[]', - name: 'dodoPairs', - type: 'address[]', - }, - { - internalType: 'uint256', - name: 'directions', - type: 'uint256', - }, - { - internalType: 'bool', - name: '', - type: 'bool', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, - ], - name: 'dodoSwapV2TokenToETH', - outputs: [ - { - internalType: 'uint256', - name: 'returnAmount', - type: 'uint256', - }, - ], - stateMutability: 'nonpayable', + inputs: [{ internalType: 'address', name: '', type: 'address' }], + name: 'isWhiteListed', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'view', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'fromToken', - type: 'address', - }, - { - internalType: 'address', - name: 'toToken', - type: 'address', - }, - { - internalType: 'uint256', - name: 'fromTokenAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'minReturnAmount', - type: 'uint256', - }, - { - internalType: 'address[]', - name: 'dodoPairs', - type: 'address[]', - }, - { - internalType: 'uint256', - name: 'directions', - type: 'uint256', - }, - { - internalType: 'bool', - name: '', - type: 'bool', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, - ], - name: 'dodoSwapV2TokenToToken', - outputs: [ - { - internalType: 'uint256', - name: 'returnAmount', - type: 'uint256', - }, + { internalType: 'address', name: 'contractAddr', type: 'address' }, ], + name: 'removeWhiteList', + outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'fromToken', - type: 'address', - }, - { - internalType: 'address', - name: 'toToken', - type: 'address', - }, - { - internalType: 'address', - name: 'approveTarget', - type: 'address', - }, - { - internalType: 'address', - name: 'swapTarget', - type: 'address', - }, - { - internalType: 'uint256', - name: 'fromTokenAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'minReturnAmount', - type: 'uint256', - }, - { - internalType: 'bytes', - name: 'callDataConcat', - type: 'bytes', - }, - { - internalType: 'bool', - name: '', - type: 'bool', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, - ], - name: 'externalSwap', + { internalType: 'address', name: 'fromToken', type: 'address' }, + { internalType: 'address', name: 'toToken', type: 'address' }, + { internalType: 'uint256', name: 'fromTokenAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'minReturnAmount', type: 'uint256' }, + { internalType: 'address[]', name: 'settlexPairs', type: 'address[]' }, + { internalType: 'uint256', name: 'directions', type: 'uint256' }, + { internalType: 'bool', name: '', type: 'bool' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, + ], + name: 'settlexSwapV1', outputs: [ - { - internalType: 'uint256', - name: 'returnAmount', - type: 'uint256', - }, + { internalType: 'uint256', name: 'returnAmount', type: 'uint256' }, ], stateMutability: 'payable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'fromToken', - type: 'address', - }, - { - internalType: 'address', - name: 'toToken', - type: 'address', - }, - { - internalType: 'uint256', - name: 'fromTokenAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'minReturnAmount', - type: 'uint256', - }, - { - internalType: 'address[]', - name: 'dodoPairs', - type: 'address[]', - }, - { - internalType: 'uint256', - name: 'directions', - type: 'uint256', - }, - { - internalType: 'bool', - name: '', - type: 'bool', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, - ], - name: 'dodoSwapV1', + { internalType: 'address', name: 'toToken', type: 'address' }, + { internalType: 'uint256', name: 'minReturnAmount', type: 'uint256' }, + { internalType: 'address[]', name: 'settlexPairs', type: 'address[]' }, + { internalType: 'uint256', name: 'directions', type: 'uint256' }, + { internalType: 'bool', name: '', type: 'bool' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, + ], + name: 'settlexSwapV2ETHToToken', outputs: [ - { - internalType: 'uint256', - name: 'returnAmount', - type: 'uint256', - }, + { internalType: 'uint256', name: 'returnAmount', type: 'uint256' }, ], stateMutability: 'payable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'cpAddress', - type: 'address', - }, - { - internalType: 'uint256', - name: 'quoteAmount', - type: 'uint256', - }, - { - internalType: 'uint8', - name: 'flag', - type: 'uint8', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, + { internalType: 'address', name: 'fromToken', type: 'address' }, + { internalType: 'uint256', name: 'fromTokenAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'minReturnAmount', type: 'uint256' }, + { internalType: 'address[]', name: 'settlexPairs', type: 'address[]' }, + { internalType: 'uint256', name: 'directions', type: 'uint256' }, + { internalType: 'bool', name: '', type: 'bool' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, + ], + name: 'settlexSwapV2TokenToETH', + outputs: [ + { internalType: 'uint256', name: 'returnAmount', type: 'uint256' }, ], - name: 'bid', - outputs: [], - stateMutability: 'payable', + stateMutability: 'nonpayable', type: 'function', }, { inputs: [ - { - internalType: 'address', - name: 'pair', - type: 'address', - }, - { - internalType: 'uint256', - name: 'baseAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteAmount', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'baseMinShares', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteMinShares', - type: 'uint256', - }, - { - internalType: 'uint8', - name: 'flag', - type: 'uint8', - }, - { - internalType: 'uint256', - name: 'deadLine', - type: 'uint256', - }, - ], - name: 'addLiquidityToV1', + { internalType: 'address', name: 'fromToken', type: 'address' }, + { internalType: 'address', name: 'toToken', type: 'address' }, + { internalType: 'uint256', name: 'fromTokenAmount', type: 'uint256' }, + { internalType: 'uint256', name: 'minReturnAmount', type: 'uint256' }, + { internalType: 'address[]', name: 'settlexPairs', type: 'address[]' }, + { internalType: 'uint256', name: 'directions', type: 'uint256' }, + { internalType: 'bool', name: '', type: 'bool' }, + { internalType: 'uint256', name: 'deadLine', type: 'uint256' }, + ], + name: 'settlexSwapV2TokenToToken', outputs: [ - { - internalType: 'uint256', - name: 'baseShares', - type: 'uint256', - }, - { - internalType: 'uint256', - name: 'quoteShares', - type: 'uint256', - }, + { internalType: 'uint256', name: 'returnAmount', type: 'uint256' }, ], - stateMutability: 'payable', + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], + name: 'transferOwnership', + outputs: [], + stateMutability: 'nonpayable', type: 'function', }, + { stateMutability: 'payable', type: 'receive' }, ]; export default abi; diff --git a/packages/dodoex-api/src/helper/GraphQLRequests.ts b/packages/dodoex-api/src/helper/GraphQLRequests.ts index 06e4ece2..8b7ad049 100644 --- a/packages/dodoex-api/src/helper/GraphQLRequests.ts +++ b/packages/dodoex-api/src/helper/GraphQLRequests.ts @@ -15,7 +15,7 @@ export interface GraphQLRequestsConfig { } const defaultConfig = { - url: 'https://api.dodoex.io/frontend-graphql', + url: 'https://api.settlex.finance/frontend-graphql', }; export default class GraphQLRequests { diff --git a/packages/dodoex-api/src/helper/RestApiRequests.ts b/packages/dodoex-api/src/helper/RestApiRequests.ts index d69b54aa..12590b3e 100644 --- a/packages/dodoex-api/src/helper/RestApiRequests.ts +++ b/packages/dodoex-api/src/helper/RestApiRequests.ts @@ -10,7 +10,7 @@ export interface RestApiRequestConfig { } const defaultConfig = { - host: 'https://api.dodoex.io', + host: 'https://api.settlex.finance', fetch: crossFetch, }; diff --git a/packages/dodoex-api/src/services/pool/PoolApi.ts b/packages/dodoex-api/src/services/pool/PoolApi.ts index 6395cdf5..5175327b 100644 --- a/packages/dodoex-api/src/services/pool/PoolApi.ts +++ b/packages/dodoex-api/src/services/pool/PoolApi.ts @@ -116,7 +116,7 @@ export class PoolApi { const { DODO_DSP_PROXY } = contractConfig[chainId as ChainId]; const data = await encodeFunctionData( ABIName.dodoDspProxy, - 'createDODOStablePair', + 'createSETTLEXStablePair', [ baseToken.address, quoteToken.address, @@ -168,7 +168,7 @@ export class PoolApi { const { DODO_DSP_PROXY } = contractConfig[chainId as ChainId]; const data = await encodeFunctionData( ABIName.dodoDspProxy, - 'createDODOGasSavingPair', + 'createSETTLEXGasSavingPair', [ account, baseToken.address, @@ -220,26 +220,28 @@ export class PoolApi { isOpenTWAP = false, ) { const { DODO_PROXY } = contractConfig[chainId as ChainId]; + const params = [ + baseToken.address, + quoteToken.address, + baseInAmount, + quoteInAmount, + new BigNumber(lpFeeRate) + .div(10000) + .multipliedBy(10 ** 18) + .toString(), + parseFixed( + new BigNumber(i).toString(), + 18 - baseToken.decimals + quoteToken.decimals, + ).toString(), + parseFixed(new BigNumber(k).toString(), 18).toString(), + isOpenTWAP, + deadline, + ]; + console.log('createSETTLEXVendingMachine params', params); const data = await encodeFunctionData( ABIName.dodoProxyV2, - 'createDODOVendingMachine', - [ - baseToken.address, - quoteToken.address, - baseInAmount, - quoteInAmount, - new BigNumber(lpFeeRate) - .div(10000) - .multipliedBy(10 ** 18) - .toString(), - parseFixed( - new BigNumber(i).toString(), - 18 - baseToken.decimals + quoteToken.decimals, - ).toString(), - parseFixed(new BigNumber(k).toString(), 18).toString(), - isOpenTWAP, - deadline, - ], + 'createSETTLEXVendingMachine', + params, ); return { @@ -274,7 +276,7 @@ export class PoolApi { const { DODO_DPP_PROXY } = contractConfig[chainId as ChainId]; const data = await encodeFunctionData( ABIName.dodoDppProxy, - 'createDODOPrivatePool', + 'createSETTLEXPrivatePool', [ baseToken.address, quoteToken.address, @@ -396,7 +398,7 @@ export class PoolApi { const _newK = parseFixed(new BigNumber(newK).toString(), 18).toString(); const data = await encodeFunctionData( ABIName.dodoDppProxy, - 'resetDODOPrivatePool', + 'resetSETTLEXPrivatePool', [ dppAddress, [_newLpFeeRate, _newI, _newK], @@ -1517,12 +1519,15 @@ export class PoolApi { method: 'getPMMStateForCall', params: [], }); - totalSupplyQueryResult = await this.contractRequests.batchCallQuery(chainId, { - abiName: ABIName.dvmPoolABI, - contractAddress: poolAddress, - method: 'totalSupply', - params: [], - }); + totalSupplyQueryResult = await this.contractRequests.batchCallQuery( + chainId, + { + abiName: ABIName.dvmPoolABI, + contractAddress: poolAddress, + method: 'totalSupply', + params: [], + }, + ); } else { throw new Error(`type: ${type} not supported`); } @@ -1537,7 +1542,7 @@ export class PoolApi { ); let totalSupplyBG: BigNumber | undefined; if (Array.isArray(totalSupplyQueryResult)) { - totalSupplyBG = new BigNumber(totalSupplyQueryResult[0].toString()) + totalSupplyBG = new BigNumber(totalSupplyQueryResult[0].toString()); } let midPrice: BigNumber | undefined; @@ -1573,7 +1578,7 @@ export class PoolApi { pmmParamsBG, baseReserve: pmmParamsBG.b, quoteReserve: pmmParamsBG.q, - totalSupplyBG + totalSupplyBG, }; }, }; diff --git a/packages/dodoex-widgets/CHANGELOG.md b/packages/dodoex-widgets/CHANGELOG.md index 556bd0c6..77e38b7e 100644 --- a/packages/dodoex-widgets/CHANGELOG.md +++ b/packages/dodoex-widgets/CHANGELOG.md @@ -1,3 +1,40 @@ +# [@dodoex/widgets-v3.9.0](https://github.com/DODOEX/widgets/compare/@dodoex/widgets-v3.8.0...@dodoex/widgets-v3.9.0) (2025-11-14) + + +### Features + +* add disableConnectedProviderRead props ([faffac6](https://github.com/DODOEX/widgets/commit/faffac6f83f70f2bd02e942c69c6b29d9c7a4ba6)) +* add gsp modify entry ([6ee7544](https://github.com/DODOEX/widgets/commit/6ee7544554adc8b8a7caafc2c12afe99e0e72302)) +* update version ([5466e25](https://github.com/DODOEX/widgets/commit/5466e2585927e924749845bf91b3642875e1f926)) + +# [@dodoex/widgets-v3.8.0](https://github.com/DODOEX/widgets/compare/@dodoex/widgets-v3.7.0...@dodoex/widgets-v3.8.0) (2025-11-14) + + +### Features + +* update @dodoex/api dependency to version 3.4.0 ([51e6994](https://github.com/DODOEX/widgets/commit/51e69944460b9e89e52f72668dd1ec80bc99122c)) + +# [@dodoex/widgets-v3.7.0](https://github.com/DODOEX/widgets/compare/@dodoex/widgets-v3.6.0...@dodoex/widgets-v3.7.0) (2025-11-14) + + +### Features + +* add support for Stable Testnet in dodoex-api and widgets ([e5d316e](https://github.com/DODOEX/widgets/commit/e5d316e97b4856b35ed651553083385c53bc96da)) + +# [@dodoex/widgets-v3.6.0](https://github.com/DODOEX/widgets/compare/@dodoex/widgets-v3.5.0...@dodoex/widgets-v3.6.0) (2025-11-11) + + +### Features + +* fix api version ([969b4d7](https://github.com/DODOEX/widgets/commit/969b4d7832e4006fe1b2ec935197a9e46901fc9c)) + +# [@dodoex/widgets-v3.5.0](https://github.com/DODOEX/widgets/compare/@dodoex/widgets-v3.4.0...@dodoex/widgets-v3.5.0) (2025-11-05) + + +### Features + +* dvm add liquidity limit amount logic ([777582d](https://github.com/DODOEX/widgets/commit/777582d6a78f6eabff402f6f51a60f29bda1b651)) + # [@dodoex/widgets-v3.4.0](https://github.com/DODOEX/widgets/compare/@dodoex/widgets-v3.3.0...@dodoex/widgets-v3.4.0) (2025-10-24) diff --git a/packages/dodoex-widgets/README.md b/packages/dodoex-widgets/README.md index fe199fa5..5c29c143 100644 --- a/packages/dodoex-widgets/README.md +++ b/packages/dodoex-widgets/README.md @@ -67,3 +67,4 @@ Other details: ## About DODO - [DODO Web](https://dodoex.io/) + diff --git a/packages/dodoex-widgets/package.json b/packages/dodoex-widgets/package.json index b8cf3f26..6997205c 100644 --- a/packages/dodoex-widgets/package.json +++ b/packages/dodoex-widgets/package.json @@ -1,6 +1,6 @@ { "name": "@dodoex/widgets", - "version": "3.4.0", + "version": "3.10.0-stable.10", "description": "DODO Widgets", "source": "src/index.tsx", "types": "dist/types/index.d.ts", @@ -23,7 +23,7 @@ "release": "semantic-release", "release:local": "np --any-branch --no-cleanup --no-tests", "release.npm-publish": "npm publish --access public", - "release.npm-publish-beta": "npm publish --tag beta", + "release.npm-publish-beta": "yarn run build && npm publish --tag beta", "test": "jest src", "test:e2e": "jest e2e" }, @@ -58,10 +58,10 @@ }, "dependencies": { "@babel/runtime": "^7.17.0", - "@dodoex/api": "3.3.0-beta.5", + "@dodoex/api": "3.5.0-stable.5", "@dodoex/components": "^3.1.0", "@dodoex/contract-request": "^1.3.0", - "@dodoex/dodo-contract-request": "^1.25.0", + "@dodoex/dodo-contract-request": "1.25.0-alpha.3", "@dodoex/icons": "^2.0.3", "@emotion/react": "^11.10.0", "@emotion/styled": "^11.10.0", @@ -152,4 +152,4 @@ "ts-jest": "^29.0.1", "typescript": "^5.6.3" } -} +} \ No newline at end of file diff --git a/packages/dodoex-widgets/src/assets/logo/networks/stable-testnet.svg b/packages/dodoex-widgets/src/assets/logo/networks/stable-testnet.svg new file mode 100644 index 00000000..cd7db5c4 --- /dev/null +++ b/packages/dodoex-widgets/src/assets/logo/networks/stable-testnet.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/dodoex-widgets/src/assets/logo/networks/stable.svg b/packages/dodoex-widgets/src/assets/logo/networks/stable.svg new file mode 100644 index 00000000..461fe04d --- /dev/null +++ b/packages/dodoex-widgets/src/assets/logo/networks/stable.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/dodoex-widgets/src/components/Widget/index.tsx b/packages/dodoex-widgets/src/components/Widget/index.tsx index 548b7cd0..aefcf26a 100644 --- a/packages/dodoex-widgets/src/components/Widget/index.tsx +++ b/packages/dodoex-widgets/src/components/Widget/index.tsx @@ -131,6 +131,7 @@ export interface WidgetProps /** Default deadLine when it cannot be set. Unit: seconds */ deadLine?: number; submission?: ExecutionCtx; + disableConnectedProviderRead?: boolean; } function LangProvider(props: PropsWithChildren) { @@ -177,7 +178,8 @@ function InitStatus(props: PropsWithChildren) { contractRequests.setGetConfigProvider((getProviderChainId) => { const connectedProvider = chainId === getProviderChainId ? provider : null; - if (connectedProvider) return connectedProvider; + if (!props.disableConnectedProviderRead && connectedProvider) + return connectedProvider; if (props.getStaticJsonRpcProviderByChainId) { const propsGetProvider = props.getStaticJsonRpcProviderByChainId(getProviderChainId); @@ -187,7 +189,11 @@ function InitStatus(props: PropsWithChildren) { } return null; }); - }, [provider, props.getStaticJsonRpcProviderByChainId]); + }, [ + provider, + props.getStaticJsonRpcProviderByChainId, + props.disableConnectedProviderRead, + ]); useEffect(() => { if (props.onProviderChanged) { diff --git a/packages/dodoex-widgets/src/constants/api.ts b/packages/dodoex-widgets/src/constants/api.ts index 51534faa..21bfe122 100644 --- a/packages/dodoex-widgets/src/constants/api.ts +++ b/packages/dodoex-widgets/src/constants/api.ts @@ -13,7 +13,7 @@ export type APIServices = { [key in APIServiceKey]: string; }; -export const AppUrl = `https://app.dodoex.io`; +export const AppUrl = `https://app.settlex.finance`; export const getCGTokenListAPI = (chainId: ChainId) => { const defaultCGAPI = 'https://tokens.coingecko.com/uniswap/all.json'; @@ -26,10 +26,10 @@ export const getCGTokenListAPI = (chainId: ChainId) => { return cgAPIMap[chainId] || defaultCGAPI; }; -const BridgeUrlPrefix = 'https://api.dodoex.io/cross-chain/widget'; +const BridgeUrlPrefix = 'https://api.settlex.finance/cross-chain/widget'; -export const RoutePriceAPI = `https://api.dodoex.io/route-service/v2/widget/getdodoroute`; -export const FiatPriceAPI = `https://api.dodoex.io/frontend-price-api/current/batch`; +export const RoutePriceAPI = `https://api.settlex.finance/route-service/frontend-v2/swap`; +export const FiatPriceAPI = `https://api.settlex.finance/frontend-price-api/current/batch`; const BridgeRoutePriceAPI = `${BridgeUrlPrefix}/routes`; const BridgeEncodeAPI = `${BridgeUrlPrefix}/transaction/encode`; const BridgeCreateRouteAPI = `${BridgeUrlPrefix}/order/create`; diff --git a/packages/dodoex-widgets/src/constants/chainList.ts b/packages/dodoex-widgets/src/constants/chainList.ts index 1ec8ca39..10cb9381 100644 --- a/packages/dodoex-widgets/src/constants/chainList.ts +++ b/packages/dodoex-widgets/src/constants/chainList.ts @@ -1,32 +1,36 @@ import { ChainId } from '@dodoex/api'; -import { ReactComponent as ETHereumLogo } from '../assets/logo/networks/eth.svg'; import { ReactComponent as ArbitrumLogo } from '../assets/logo/networks/arbitrum.svg'; -import { ReactComponent as PolygonLogo } from '../assets/logo/networks/polygon.svg'; -import { ReactComponent as BSCLogo } from '../assets/logo/networks/bsc.svg'; -import { ReactComponent as OptimismLogo } from '../assets/logo/networks/optimism.svg'; -import { ReactComponent as AvalancheLogo } from '../assets/logo/networks/avalanche.svg'; import { ReactComponent as AuroraLogo } from '../assets/logo/networks/aurora.svg'; -import { ReactComponent as OKChainLogo } from '../assets/logo/networks/okchain.svg'; -import { ReactComponent as CFXLogo } from '../assets/logo/networks/cfx.svg'; +import { ReactComponent as AvalancheLogo } from '../assets/logo/networks/avalanche.svg'; import { ReactComponent as BaseLogo } from '../assets/logo/networks/base.svg'; +import { ReactComponent as BitlayerLogo } from '../assets/logo/networks/bitlayer.svg'; +import { ReactComponent as BSCLogo } from '../assets/logo/networks/bsc.svg'; +import { ReactComponent as CFXLogo } from '../assets/logo/networks/cfx.svg'; +import { ReactComponent as DODOchainLogo } from '../assets/logo/networks/dodochain.svg'; +import { ReactComponent as ETHereumLogo } from '../assets/logo/networks/eth.svg'; +import { ReactComponent as HashKeyLogo } from '../assets/logo/networks/haskey.svg'; +import { ReactComponent as HemiLogo } from '../assets/logo/networks/hemi.svg'; import { ReactComponent as LINEALogo } from '../assets/logo/networks/linea.svg'; -import { ReactComponent as ScrollLogo } from '../assets/logo/networks/scroll.svg'; import { ReactComponent as MantaLogo } from '../assets/logo/networks/manta.svg'; import { ReactComponent as MantleLogo } from '../assets/logo/networks/mantle.svg'; -import { ReactComponent as DODOchainLogo } from '../assets/logo/networks/dodochain.svg'; -import { ReactComponent as TaikoLogo } from '../assets/logo/networks/taiko.svg'; -import { ReactComponent as PlumeLogo } from '../assets/logo/networks/plume.svg'; -import { ReactComponent as NeoxLogo } from '../assets/logo/networks/neox.svg'; import { ReactComponent as MorphLogo } from '../assets/logo/networks/morph.svg'; -import { ReactComponent as RiseLogo } from '../assets/logo/networks/rise.svg'; -import { ReactComponent as NeroLogo } from '../assets/logo/networks/rise.svg'; -import { ReactComponent as BitlayerLogo } from '../assets/logo/networks/bitlayer.svg'; -import { ReactComponent as ZircuitLogo } from '../assets/logo/networks/zircuit.svg'; +import { ReactComponent as NeoxLogo } from '../assets/logo/networks/neox.svg'; +import { ReactComponent as OKChainLogo } from '../assets/logo/networks/okchain.svg'; +import { ReactComponent as OptimismLogo } from '../assets/logo/networks/optimism.svg'; +import { ReactComponent as PharosLogo } from '../assets/logo/networks/pharos.svg'; +import { ReactComponent as PlumeLogo } from '../assets/logo/networks/plume.svg'; +import { ReactComponent as PolygonLogo } from '../assets/logo/networks/polygon.svg'; +import { + ReactComponent as NeroLogo, + ReactComponent as RiseLogo, +} from '../assets/logo/networks/rise.svg'; +import { ReactComponent as ScrollLogo } from '../assets/logo/networks/scroll.svg'; +import { ReactComponent as StableTestnetLogo } from '../assets/logo/networks/stable-testnet.svg'; +import { ReactComponent as StableLogo } from '../assets/logo/networks/stable.svg'; +import { ReactComponent as TaikoLogo } from '../assets/logo/networks/taiko.svg'; import { ReactComponent as XLayerLogo } from '../assets/logo/networks/x-layer.svg'; import { ReactComponent as ZeroLogo } from '../assets/logo/networks/zero.svg'; -import { ReactComponent as HashKeyLogo } from '../assets/logo/networks/haskey.svg'; -import { ReactComponent as HemiLogo } from '../assets/logo/networks/hemi.svg'; -import { ReactComponent as PharosLogo } from '../assets/logo/networks/pharos.svg'; +import { ReactComponent as ZircuitLogo } from '../assets/logo/networks/zircuit.svg'; export interface ChainListItem { chainId: ChainId; @@ -302,6 +306,22 @@ export const chainListMap: Map = new Map([ name: 'Pharos Atlantic Testnet', }, ], + [ + ChainId.STABLE_TESTNET, + { + chainId: ChainId.STABLE_TESTNET, + logo: StableTestnetLogo, + name: 'Stable Testnet', + }, + ], + [ + ChainId.STABLE, + { + chainId: ChainId.STABLE, + logo: StableLogo, + name: 'Stable Mainnet', + }, + ], ]); export const isTestNet = (chainId: ChainId) => { diff --git a/packages/dodoex-widgets/src/constants/chains.ts b/packages/dodoex-widgets/src/constants/chains.ts index bd9bbed0..32e1f9f7 100644 --- a/packages/dodoex-widgets/src/constants/chains.ts +++ b/packages/dodoex-widgets/src/constants/chains.ts @@ -66,7 +66,13 @@ export const rpcServerMap: { [ChainId.PHAROS_TESTNET]: [ 'https://api.zan.top/node/v1/pharos/testnet/54b49326c9f44b6e8730dc5dd4348421', ], - [ChainId.PHAROS_ATLANTIC_TESTNET]: ['https://api.zan.top/node/v1/pharos/atlantic/54b49326c9f44b6e8730dc5dd4348421'] + [ChainId.PHAROS_ATLANTIC_TESTNET]: [ + 'https://api.zan.top/node/v1/pharos/atlantic/54b49326c9f44b6e8730dc5dd4348421', + ], + [ChainId.STABLE_TESTNET]: ['https://rpc.testnet.stable.xyz'], + [ChainId.STABLE]: [ + 'https://partners-rpc.stable.xyz/dodo.88b3272adaac2ddaa08f13c049824412d7bffe24a2c760089f6c480115ac00e1', + ], }; export const getRpcSingleUrlMap = (newRpcServerMap?: { @@ -123,7 +129,9 @@ export const scanUrlDomainMap: { [ChainId.HASHKEY]: 'explorer.hsk.xyz', [ChainId.HEMI]: 'explorer.hemi.xyz', [ChainId.PHAROS_TESTNET]: 'testnet.pharosscan.xyz', - [ChainId.PHAROS_ATLANTIC_TESTNET]: 'atlantic.pharosscan.xyz' + [ChainId.PHAROS_ATLANTIC_TESTNET]: 'atlantic.pharosscan.xyz', + [ChainId.STABLE_TESTNET]: 'testnet.stablescan.xyz', + [ChainId.STABLE]: 'stablescan.xyz', }; export const ThegraphKeyMap: { @@ -162,6 +170,8 @@ export const ThegraphKeyMap: { [ChainId.HEMI]: 'hemi', [ChainId.PHAROS_TESTNET]: 'pharos-testnet', [ChainId.PHAROS_ATLANTIC_TESTNET]: 'pharos-atlantic-testnet', + [ChainId.STABLE_TESTNET]: 'stable-testnet', + [ChainId.STABLE]: 'stable', }; export const blockTimeMap: { @@ -200,6 +210,8 @@ export const blockTimeMap: { [ChainId.HEMI]: 12000, [ChainId.PHAROS_TESTNET]: 0, [ChainId.PHAROS_ATLANTIC_TESTNET]: 2777, + [ChainId.STABLE_TESTNET]: 700, + [ChainId.STABLE]: 988, }; export const dexKeysMap: { @@ -238,4 +250,6 @@ export const dexKeysMap: { [ChainId.HEMI]: [], [ChainId.PHAROS_TESTNET]: [], [ChainId.PHAROS_ATLANTIC_TESTNET]: [], + [ChainId.STABLE_TESTNET]: [], + [ChainId.STABLE]: [], }; diff --git a/packages/dodoex-widgets/src/constants/tokenList.ts b/packages/dodoex-widgets/src/constants/tokenList.ts index 6def93a7..19cbe8ff 100644 --- a/packages/dodoex-widgets/src/constants/tokenList.ts +++ b/packages/dodoex-widgets/src/constants/tokenList.ts @@ -1,799 +1,70 @@ export default [ { - chainId: 1, + name: 'TEST1', + address: '0x4E59c68F7216Fe96f27f47D3fA1d8306a00aB380', + symbol: 'test1', + decimals: 18, + slippage: null, + chainId: 2201, + logoImg: + 'https://images.dodoex.io/Ie7OODKd0GDZlINrR3drPUEk4js0wnlL2mtt5U_bcsk/rs:fit:160:160:0/g:no/aHR0cHM6Ly9zdG9yYWdlLmdvb2dsZWFwaXMuY29tL2RvZG8tbWVkaWEtc3RhZ2luZy9kZXYvMjIwMS8weDRlNTljNjhmNzIxNmZlOTZmMjdmNDdkM2ZhMWQ4MzA2YTAwYWIzODA.webp', + tokenlists: [ + { + name: 'All', + status: 'launched', + __typename: 'Erc20TokenListV2', + }, + ], + domains: [], + funcLabels: [], + attributeLabels: [], + __typename: 'Erc20Erc20V2List', + }, + { + name: 'TEST2', + address: '0x7af9428fC096e469Fa2583B9164f4f87Ba0F75A1', + symbol: 'test2', + decimals: 18, + slippage: null, + chainId: 2201, + logoImg: + 'https://images.dodoex.io/4gyRfX982GJg5T_wBJhWpS50VHfjs299hY9Q5Pf5yzI/rs:fit:160:160:0/g:no/aHR0cHM6Ly9zdG9yYWdlLmdvb2dsZWFwaXMuY29tL2RvZG8tbWVkaWEtc3RhZ2luZy9kZXYvMjIwMS8weDdhZjk0MjhmYzA5NmU0NjlmYTI1ODNiOTE2NGY0Zjg3YmEwZjc1YTE.webp', + tokenlists: [ + { + name: 'All', + status: 'launched', + __typename: 'Erc20TokenListV2', + }, + ], + domains: [], + funcLabels: [], + attributeLabels: [], + __typename: 'Erc20Erc20V2List', + }, + { + name: 'gUSDT', address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'Ether', - decimals: 18, - symbol: 'ETH', - logoURI: - 'https://images.dodoex.io/prKmKP8yDTuPMHTCZ_DcxG8BqsuHNO8w5KDmJWmPodg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vOUVaWU1ER2ZVN3g2N3ZBZThqWkUxZzA0RExUaFhaV0JIb09wZFhpeXhHRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNNeVgyTnZhVzV0WVhKclpYUmpZWEJmWTI5dFgzTjBZWFJwWTE5cGJXZGZZMjlwYm5OZk5qUjROalJmTVRBeU4xOHhNekkyTjJGbE5EY3dMbkJ1WncucG5n.webp', - }, - { - chainId: 1, - address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC', - logoURI: - 'https://images.dodoex.io/sQ5dF3FkjjQUsmfqFFE5cKq-cthh4u0wUooBE5Epf-k/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vTDlEVElLa2dONG5mRkNTSF9GMUdXU3JiZkJDa2JZRTkwbmFDS0dIWnRsby9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMM1Z6WkdOZlpXVTFNbUV4WldReVlpOTFjMlJqWDJWbE5USmhNV1ZrTW1JdWNHNW4ucG5n.webp', - }, - { - chainId: 1, - address: '0x4Fabb145d64652a948d72533023f6E7A623C7C53', - name: 'Binance USD', - decimals: 18, - symbol: 'BUSD', - logoURI: - 'https://images.dodoex.io/xZmadzpVOnpuq2jNG_5EGKeqMET0LU_gmfnp4VxkcxI/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vSHQwWXZKMGNnU0lGTFM0aHExTV9jOXVITV9fMHpXaHBKSGVOQU5neTBuby9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMkoxYzJSZk4ySTJOalJpWWpReVpDOWlkWE5rWHpkaU5qWTBZbUkwTW1RdWNHNW4ucG5n.webp', - }, - { - chainId: 1, - address: '0x6b175474e89094c44da98b954eedeac495271d0f', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAI', - logoURI: - 'https://images.dodoex.io/h2lbKBfBJ2LNSTNCuwjsBkshT4eXzDDmAV0lhWS0llA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vUnVJNWt2eHBwalI4TTZsenFZZVAyTTB4eVFMUGJ0S1hONDdWVTN1dUszZy9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyeHZaMjlmWmpBNU5qUmpPVFUxT1M1d2JtYy5wbmc.webp', - }, - { - chainId: 1, - address: '0x43dfc4159d86f3a37a5a4b3d4580b888ad7d4ddd', - name: 'DODO bird', - decimals: 18, - symbol: 'DODO', - logoURI: - 'https://images.dodoex.io/PGIGjN4ix9pInoESO_mCmajbMpygApWZyGKaE6vyJFk/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8veFJDQ0hnQXBuaENRTFZNUXAwdTdwd0pSQzIxRHJ4cFY0b2Z0bndaYnRmMC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMFJQUkU5Zk5UaGxZelEyTlRFelpTOUVUMFJQWHpVNFpXTTBOalV4TTJVdWMzWm4uc3Zn.webp', - }, - { - chainId: 1, - address: '0xdac17f958d2ee523a2206206994597c13d831ec7', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT', - logoURI: - 'https://images.dodoex.io/MGklrG5AImwUllGWDPMAHY0qLfdJQn4bj3iPFWSeohA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vUEM3a3JPb252bWl4U3VRaFEwY29pVy1sczFYN25WS1lLNVluekQ2R2lxRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkZSZlpUaGlOekZpTldZeU9TOVZVMFJVWDJVNFlqY3hZalZtTWprdWNHNW4ucG5n.webp', - }, - { - chainId: 1, - address: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTC', - logoURI: - 'https://images.dodoex.io/n4n7ccBom2tgcZNN0jBv9YiTq5qGMjX6PHO0YGlpzZo/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vMElrSkQzVEc2SkFQdG1DV24tNnhfa0ozS3lXYXlVVHRhZ19PQmF0TFEwRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRDVkVOZmFXTnZibDgzWW1JelpUQTRaak14TDFkQ1ZFTmZhV052Ymw4M1ltSXpaVEE0WmpNeExuQnVady5wbmc.webp', - }, - { - chainId: 1, - address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - logoURI: - 'https://images.dodoex.io/mI69kq-S-tNT1W57qYizPd5r2WNFzpAq5y6NhOcrTkY/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vVEZhSVNLVVZIWThLTVhyTkVmZDRXRUJmMGJoSHRweHY3Q1hDT0dKbGY2by9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyeHZaMjlmT0dVeFpEaG1PVEEyWlM1d2JtYy5wbmc.webp', - }, - { - chainId: 5, - symbol: 'USDC', - address: '0xC4106029d03c33731Ca01Ba59b5A6368c660E596', - name: 'USDC', - decimals: 6, - logoURI: '', - }, - { - chainId: 5, - symbol: 'USDT', - address: '0xed8a325D87D3b6edED04FB992A1482231647EE5e', - name: 'USDT Token', - decimals: 6, - logoURI: '', - }, - { - chainId: 5, - symbol: 'WETH', - address: '0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6', - name: 'Wrapped Ether', - decimals: 18, - logoURI: '', - }, - { - chainId: 5, - symbol: 'ETH', - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'Ether', - decimals: 18, - logoURI: '', - }, - { - chainId: 11155111, - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'Ether', - decimals: 18, - symbol: 'ETH', - logoURI: - 'https://images.dodoex.io/prKmKP8yDTuPMHTCZ_DcxG8BqsuHNO8w5KDmJWmPodg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vOUVaWU1ER2ZVN3g2N3ZBZThqWkUxZzA0RExUaFhaV0JIb09wZFhpeXhHRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNNeVgyTnZhVzV0WVhKclpYUmpZWEJmWTI5dFgzTjBZWFJwWTE5cGJXZGZZMjlwYm5OZk5qUjROalJmTVRBeU4xOHhNekkyTjJGbE5EY3dMbkJ1WncucG5n.webp', - }, - { - chainId: 11155111, - address: '0x7B07164ecFaF0F0D85DFC062Bc205a4674c75Aa0', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - logoURI: - 'https://images.dodoex.io/mI69kq-S-tNT1W57qYizPd5r2WNFzpAq5y6NhOcrTkY/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vVEZhSVNLVVZIWThLTVhyTkVmZDRXRUJmMGJoSHRweHY3Q1hDT0dKbGY2by9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyeHZaMjlmT0dVeFpEaG1PVEEyWlM1d2JtYy5wbmc.webp', - }, - { - chainId: 56, - address: '0xe9e7cea3dedca5984780bafc599bd69add087d56', - name: 'BUSD Token', - decimals: 18, - symbol: 'BUSD', - logoURI: - 'https://images.dodoex.io/BvxyffA5gsLB4bLmlOVkfu7AVami78-VcW_6_i8I6kc/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vbC1Sa25meFB3ZXlCOGVYSWJ2b04wdHczLTlzckZOckxfRHdTTnRLSHVRRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDJOa2JsOXRaV1JwWVY5a2IyUnZaWGhmYVc5ZlluVnpaRjgyTXpsbFlqZzNZV0V4WDJKMWMyUmZOak01WldJNE4yRmhNVjlsT1dVMVlXRTBOemxtTG5OMlp3LnN2Zw.webp', - }, - { - chainId: 56, - address: '0x55d398326f99059ff775485246999027b3197955', - name: 'Tether USD', - decimals: 18, - symbol: 'USDT', - logoURI: - 'https://images.dodoex.io/QOl7CvP_WSmTUOMthbxQsNKjDj0s5kSjup69dW_-UeA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vTjdQU3RXV2ZGaGNTVzM1QlE2TEJIaF9keVROUEJqa1RLTXRwTll5cEhSWS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDJOa2JsOXRaV1JwWVY5a2IyUnZaWGhmYVc5ZmRYTmtkRjh4TlRZME1XWmpaRFF3WDNWelpIUmZNVFUyTkRGbVkyUTBNRjlqWmpJMVpUYzVZVE5qTG5OMlp3LnN2Zw.webp', - }, - { - chainId: 56, - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'BNB', - decimals: 18, - symbol: 'BNB', - logoURI: - 'https://images.dodoex.io/BWNSMMqu68bSFJsr9vsiCV09IonH3yuAkR9gQxaipBw/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vZDhvazF4akd3bU9GUXUtMVdzNEVRLVBNRnJYMW9DLXlmYTc3OGJUUkx0US9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMEpPUWw5alpEUTVNalE0TXpJMkwwSk9RbDlqWkRRNU1qUTRNekkyTG5CdVp3LnBuZw.webp', - }, - { - chainId: 56, - address: '0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c', - name: 'BTCB Token', - decimals: 18, - symbol: 'BTCB', - logoURI: - 'https://images.dodoex.io/fZG0z_RZ1U73_LuuC3RGrrZvNR-bgrCUjkwvaro-PCY/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vZ1NXN0RuYWNkMnc2YWxSQnFmcENqTHNDZWJhc2VtQTc0dDJlTEdDZjhfNC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyeHZaMjlmWmpJNVlXRmpZamxoTVM1d2JtYy5wbmc.webp', - }, - { - chainId: 56, - address: '0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3', - name: 'Dai Token', - decimals: 18, - symbol: 'DAI', - logoURI: - 'https://images.dodoex.io/bhz9Vtma8hPb_-GnhwqQkhfTQ5PwKcR1Qbzn7aBKlfs/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vZW04OHB4YXNDdEg0Nl9BcjhVandzZWR2SFBFUUtjVWVkc0FmV2lvenB2Yy9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyeHZaMjlmWVRoaFptSmxaRFppWkM1d2JtYy5wbmc.webp', - }, - { - chainId: 56, - address: '0x67ee3Cb086F8a16f34beE3ca72FAD36F7Db929e2', - name: 'DODO bird', - decimals: 18, - symbol: 'DODO', - logoURI: - 'https://images.dodoex.io/PGIGjN4ix9pInoESO_mCmajbMpygApWZyGKaE6vyJFk/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8veFJDQ0hnQXBuaENRTFZNUXAwdTdwd0pSQzIxRHJ4cFY0b2Z0bndaYnRmMC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMFJQUkU5Zk5UaGxZelEyTlRFelpTOUVUMFJQWHpVNFpXTTBOalV4TTJVdWMzWm4uc3Zn.webp', - }, - { - chainId: 56, - address: '0x2170ed0880ac9a755fd29b2688956bd959f933f8', - name: 'Ethereum Token', - decimals: 18, - symbol: 'ETH', - logoURI: - 'https://images.dodoex.io/KWYmKxU_OCS1PmzuEO0xjdr1Yn08SjGBkyqSI8hxlpE/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vdkkyZF9rdFdyUzQyM0FqZlBLbkxRYloyRGVzTkpacmNTSlZNb1dYRnkyOC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRGVkVoZmFXTnZibDh6TVRjd1pqTTBORGcxTDFkRlZFaGZhV052Ymw4ek1UY3daak0wTkRnMUxuQnVady5wbmc.webp', - }, - { - chainId: 56, - address: '0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d', - name: 'Binance-Peg USD Coin', - decimals: 18, - symbol: 'USDC', - logoURI: - 'https://images.dodoex.io/sQ5dF3FkjjQUsmfqFFE5cKq-cthh4u0wUooBE5Epf-k/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vTDlEVElLa2dONG5mRkNTSF9GMUdXU3JiZkJDa2JZRTkwbmFDS0dIWnRsby9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMM1Z6WkdOZlpXVTFNbUV4WldReVlpOTFjMlJqWDJWbE5USmhNV1ZrTW1JdWNHNW4ucG5n.webp', - }, - { - chainId: 56, - address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', - name: 'Wrapped BNB', - decimals: 18, - symbol: 'WBNB', - logoURI: - 'https://images.dodoex.io/-Pua5rc9k9iW4yuF5ajLVKzMkRhBq06D8HiEZ5gjezA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vMDZOWTdBTmdOYWdFOHpXYUMtX2IzYXVPOUxsTEp6QlpLTUR3VlM5eW9DQS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyeHZaMjlmT1dRellXTmtZMlEzTnk1d2JtYy5wbmc.webp', - }, - { - chainId: 137, - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'MATIC', - decimals: 18, - symbol: 'MATIC', - logoURI: - 'https://images.dodoex.io/cQFrEB6yGIqMkh_6Pie8VR3kIStL58IS-y8FbroHVwA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vc2VNUUk2dkpoaXljeldrczJaWWdGdk8zSEoxSWFIa053LXZYeXFneER4US9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMekZmTWpkbE56TXlNRE13TWk4eFh6STNaVGN6TWpBek1ESXVjRzVuLnBuZw.webp', - }, - { - chainId: 137, - address: '0xe4bf2864ebec7b7fdf6eeca9bacae7cdfdaffe78', - name: 'DODO bird', - decimals: 18, - symbol: 'DODO', - logoURI: - 'https://images.dodoex.io/KEPetVp3nQkB6BZ_cb05trEfBbGxFEg92UnF8NZsEzM/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vVE5wTlRseEJGbFRDalM1ZFh3SWJ3Mm1hZ3NPUFFkZ3Z1UEhuZDZrNWdyMC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMFJQUkU5Zk4yUTBaamxtTldOaU15OUVUMFJQWHpka05HWTVaalZqWWpNdWNHNW4ucG5n.webp', - }, - { - chainId: 137, - address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAI', - logoURI: - 'https://images.dodoex.io/hdRkGay_hj0t1OzN5C3c30cmch26tJhHUSroffg7ciY/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vOHd3UndQOG9DTTdBcF9NOW11bGVOQWRqYjhBOXpvX2FYUE5pVTNBYUtzYy9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmZEhKMWMzUjNZV3hzWlhSZllYTnpaWFJ6WDIxaGMzUmxjbDlpYkc5amEyTm9ZV2x1YzE5bGRHaGxjbVYxYlY5aGMzTmxkSE5mTUhnMlgwSXhOelUwTnpSZlJUZzVNRGswWDBNME5GOUVZVGs0WWprMU5GOUZaV1JsWDBGRFh6UTVOVEkzTVdRd1gwWmZiRzluYjE4MFpXSXdNVE0zTVRZeExuQnVady5wbmc.webp', - }, - { - chainId: 137, - address: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', - name: 'Ether', - decimals: 18, - symbol: 'ETH', - logoURI: - 'https://images.dodoex.io/WAobi4MZtLSxB59wgpyNlXLI44ZwlBh55qiGS2wLSGU/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vSUVnUUx3TjRMU2dKRDJTM3RmSFlHcmxZbFZQNGlJeFcxeEZVOUwwUExRNC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmZEhKMWMzUjNZV3hzWlhSZllYTnpaWFJ6WDIxaGMzUmxjbDlpYkc5amEyTm9ZV2x1YzE5bGRHaGxjbVYxYlY5aGMzTmxkSE5mTUhoZlF6QXlZV0ZmUVRNNVlqSXlNMTlHUlY4NFgwUXdYMEV3WlRWZlF6UmZSakkzWlY5QlJGODVNRGd6WDBNM05UWmZRMk15WDJ4dloyOWZZelk0WXprelpHRXlNQzV3Ym1jLnBuZw.webp', - }, - { - chainId: 137, - address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC', - logoURI: - 'https://images.dodoex.io/er3iAGv39hCC7F8AydW_AteD3hnZj9HI2XcAaruHeqA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vVE9WUWtzN3JQWU5OZWdmNTRuNC1Za1NGTFYyLXVGZmlJRFVYem85aVMzOC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmZEhKMWMzUjNZV3hzWlhSZllYTnpaWFJ6WDIxaGMzUmxjbDlpYkc5amEyTm9ZV2x1YzE5bGRHaGxjbVYxYlY5aGMzTmxkSE5mTUhoZlFUQmlPRFk1T1RGak5qSXhPR0l6Tm1NeFpERTVYMFEwWVRKbE9WOUZZakJqWDBVek5qQTJaVjlDTkRoZmJHOW5iMTlpTmpGbE5EVmtNbVF6TG5CdVp3LnBuZw.webp', - }, - { - chainId: 137, - address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT', - logoURI: - 'https://images.dodoex.io/WeK6L9_RjWUfAsnMuOAdyXIZVE3JK_H3lZU5vk2m7Tg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vTFJ0aEt6X2VrSXdmTEh6NnAycW5rSkRFeUk1RXZrODlXQ0J2VW43MUJLNC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmZEhKMWMzUjNZV3hzWlhSZllYTnpaWFJ6WDIxaGMzUmxjbDlpYkc5amEyTm9ZV2x1YzE5bGRHaGxjbVYxYlY5aGMzTmxkSE5mTUhoa1gwRkRYekUzWDBZNU5UaGZSREpsWlRVeU0yRXlNakEyTWpBMk9UazBOVGszWDBNeE0xOUVPRE14WldNM1gyeHZaMjlmWXpCbU9XVTFaamxoTmk1d2JtYy5wbmc.webp', - }, - { - chainId: 137, - address: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTC', - logoURI: - 'https://images.dodoex.io/_KjvB9pCVqbIIv_UnQvRWpjySBHiFnuHNSXUm_52UZM/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vZDQ4OVYzTW1NMi1qaFJueEQ2Y3MyY1gydXdGS2tkRHpiRGZsbkZhTTJxOC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmZEhKMWMzUjNZV3hzWlhSZllYTnpaWFJ6WDIxaGMzUmxjbDlpYkc5amEyTm9ZV2x1YzE5bGRHaGxjbVYxYlY5aGMzTmxkSE5mTUhneU1qWXdYMFpCUTE4MVgwVTFOVFF5WVRjM00xOUJZVFEwWmw5Q1gwTm1aVjlFWmpkZlF6RTVNMkpqTWw5RE5UazVYMnh2WjI5Zk5HTmpORE0zTlRneFppNXdibWMucG5n.webp', - }, - { - chainId: 137, - address: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', - name: 'Wrapped MATIC', - decimals: 18, - symbol: 'WMATIC', - logoURI: - 'https://images.dodoex.io/HfZVSaAES3QRplSybW2uoKmYf6pVTRaxufn95_Qto_A/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vMERhZEZTUUVFX0d4YlBoMHY3Wk1Hb1FwaWtOQm1vaWFyZTFlaFdJbU44dy9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMjFoZEdsalgyVmlOekZtTkdFMU9XRXZiV0YwYVdOZlpXSTNNV1kwWVRVNVlTNTNaV0p3LndlYnA.webp', - }, - { - chainId: 42161, - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'ETH', - decimals: 18, - symbol: 'ETH', - logoURI: - 'https://images.dodoex.io/KWYmKxU_OCS1PmzuEO0xjdr1Yn08SjGBkyqSI8hxlpE/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vdkkyZF9rdFdyUzQyM0FqZlBLbkxRYloyRGVzTkpacmNTSlZNb1dYRnkyOC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRGVkVoZmFXTnZibDh6TVRjd1pqTTBORGcxTDFkRlZFaGZhV052Ymw4ek1UY3daak0wTkRnMUxuQnVady5wbmc.webp', - }, - { - chainId: 42161, - address: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - logoURI: - 'https://images.dodoex.io/6VmZGvbENd4TM1VK0rsYrfznRtG-GwxP-zCy2qyc9bM/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vWnJZUDB0ZHVTLUdDNE5FTThmRmV1RHhVWklPNUZpWnpqdkdBc0lfNlBQMC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRGVkVoZmFXTnZibDh5TW1GbU4yVTVOVFJpTDFkRlZFaGZhV052Ymw4eU1tRm1OMlU1TlRSaUxuQnVady5wbmc.webp', - }, - { - chainId: 42161, - address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAI', - logoURI: - 'https://images.dodoex.io/XNbyKKzPthXfYOku9oXt5xzqM1JOWzxmbTLq2kkSvaU/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vWHprMUxKSzJ2V1BYVmN3TmVvVDRfR3NNdnBOVXFmTmliXzgybFZSVUNkWS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmYzNWemFHbHpkMkZ3WDJsamIyNXpYMjFoYzNSbGNsOTBiMnRsYmw5a1lXbGZPRGhrT0dNeE5HRTBZaTVxY0djLmpwZw.webp', - }, - { - chainId: 42161, - address: '0x69Eb4FA4a2fbd498C257C57Ea8b7655a2559A581', - name: 'DODO bird', - decimals: 18, - symbol: 'DODO', - logoURI: - 'https://images.dodoex.io/6U51l5aajoRrCaO6cpbrclQ2olWNDzuShggOCfoktCA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8va3RkSlhwQ3dsQVZtZXNPb1dvQV95SG9IazBnV3UxUExienBKa1AxYnlJdy9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMFJQUkU5Zk5tTmtPVEV4WXprNE15OUVUMFJQWHpaalpEa3hNV001T0RNdWNHNW4ucG5n.webp', - }, - { - chainId: 42161, - address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', - name: 'USD Coin (Arb1)', - decimals: 6, - symbol: 'USDC', - logoURI: - 'https://images.dodoex.io/EaCi6KUTS-dinU-wGdG2IcundJ0fJfsOw97FRI2vaB8/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vdEVMaUx0Y1FaTVlBb3hkeExLdnRrZ2ltdVB5dmZRdUQ5U1BxU1c1bDZsMC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkVOZmFXTnZibDh5WlRFeU5tSTRaRFV5TDFWVFJFTmZhV052Ymw4eVpURXlObUk0WkRVeUxuQnVady5wbmc.webp', - }, - { - chainId: 42161, - address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT', - logoURI: - 'https://images.dodoex.io/MGklrG5AImwUllGWDPMAHY0qLfdJQn4bj3iPFWSeohA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vUEM3a3JPb252bWl4U3VRaFEwY29pVy1sczFYN25WS1lLNVluekQ2R2lxRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkZSZlpUaGlOekZpTldZeU9TOVZVMFJVWDJVNFlqY3hZalZtTWprdWNHNW4ucG5n.webp', - }, - { - chainId: 42161, - address: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTC', - logoURI: - 'https://images.dodoex.io/n4n7ccBom2tgcZNN0jBv9YiTq5qGMjX6PHO0YGlpzZo/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vMElrSkQzVEc2SkFQdG1DV24tNnhfa0ozS3lXYXlVVHRhZ19PQmF0TFEwRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRDVkVOZmFXTnZibDgzWW1JelpUQTRaak14TDFkQ1ZFTmZhV052Ymw4M1ltSXpaVEE0WmpNeExuQnVady5wbmc.webp', - }, - { - chainId: 66, - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'OKT', - decimals: 18, - symbol: 'OKT', - logoURI: - 'https://images.dodoex.io/pcltGNcIp7DP33nj3YxxBpuFEekNcOW3pwq9tjSrpY4/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vTzJHSDJYTndRancwbXMzQXNidG5xNzRkVEROVld3QWFOU1dXU2ZnU01QTS9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6RTVOalF5T1RCZk1qQXlNakExTWpBd056STNORFl3TWpJdWMzWm4uc3Zn.webp', - }, - { - chainId: 66, - address: '0x382bB369d343125BfB2117af9c149795C6C65C50', - name: 'USDT', - decimals: 18, - symbol: 'USDT', - logoURI: - 'https://images.dodoex.io/MGklrG5AImwUllGWDPMAHY0qLfdJQn4bj3iPFWSeohA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vUEM3a3JPb252bWl4U3VRaFEwY29pVy1sczFYN25WS1lLNVluekQ2R2lxRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkZSZlpUaGlOekZpTldZeU9TOVZVMFJVWDJVNFlqY3hZalZtTWprdWNHNW4ucG5n.webp', - }, - { - chainId: 66, - address: '0x218c3c3D49d0E7B37aff0D8bB079de36Ae61A4c0', - name: 'BNB', - decimals: 18, - symbol: 'BNB', - logoURI: - 'https://images.dodoex.io/BWNSMMqu68bSFJsr9vsiCV09IonH3yuAkR9gQxaipBw/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vZDhvazF4akd3bU9GUXUtMVdzNEVRLVBNRnJYMW9DLXlmYTc3OGJUUkx0US9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMEpPUWw5alpEUTVNalE0TXpJMkwwSk9RbDlqWkRRNU1qUTRNekkyTG5CdVp3LnBuZw.webp', - }, - { - chainId: 66, - address: '0x54e4622DC504176b3BB432dCCAf504569699a7fF', - name: 'BTCK', - decimals: 18, - symbol: 'BTCK', - logoURI: - 'https://images.dodoex.io/L3kcNUKg94qnX8OPFlEvHKqWybnJD8SA9HTne3PW-Rg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vNU1MQTB3Q3V6eEs4Q3ZMV0RqempuOVhzalBTWE1zbUpWZ0RRN1RPMG9FWS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMEpVUTB0Zk1HWmlaRGRsTWpnNU5pOUNWRU5MWHpCbVltUTNaVEk0T1RZdWNHNW4ucG5n.webp', - }, - { - chainId: 66, - address: '0x332730a4F6E03D9C55829435f10360E13cfA41Ff', - name: 'BUSD', - decimals: 18, - symbol: 'BUSD', - logoURI: - 'https://images.dodoex.io/-aEkA13gC6lOFoRyGeSy2BotE5YY3WUmcSlPa9Rpddc/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vaXVmSjhaNHFJYzlMMDgtNHpxRUMxWl94WVlqRkEtT3BqS1FJbmQyeHpHUS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMEpWVTBSZk1XTTJNRFpqTjJZeE55OUNWVk5FWHpGak5qQTJZemRtTVRjdWNHNW4ucG5n.webp', - }, - { - chainId: 66, - address: '0x21cDE7E32a6CAF4742d00d44B07279e7596d26B9', - name: 'DAIK', - decimals: 18, - symbol: 'DAIK', - logoURI: - 'https://images.dodoex.io/LOb-sXupURNN9HA0zBSfLfpZlx52N9qRSDUyzk3cg0A/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vck5pZzMtWU5TOUl4T3ZHX19taTFRSU9WYTZsczdZNXViRVhGcTJJVGplby9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMFJCU1V0Zk5ESTVNV1l4WlRoa1pTOUVRVWxMWHpReU9URm1NV1U0WkdVdWNHNW4ucG5n.webp', - }, - { - chainId: 66, - address: '0xEF71CA2EE68F45B9Ad6F72fbdb33d707b872315C', - name: 'ETHK', - decimals: 18, - symbol: 'ETHK', - logoURI: - 'https://images.dodoex.io/IwBclhMMQLOo79RdRo6-HnUiXxshO_hSi02YK3L6MFI/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vcFBSd192aEx2MHh3WkRHU2k3eGYyYVJiQjlocVhfU2tacUdGc3RJR0pYRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMFZVU0V0Zk1UQTVNamMzTW1VMU9DOUZWRWhMWHpFd09USTNOekpsTlRndWNHNW4ucG5n.webp', - }, - { - chainId: 66, - address: '0xc946DAf81b08146B1C7A8Da2A851Ddf2B3EAaf85', - name: 'USDC', - decimals: 18, - symbol: 'USDC', - logoURI: - 'https://images.dodoex.io/bXLFjIP5_obFZS9jvWA1bZc2b2Vsw4-tqcvj10aPUpU/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vcXhZT0hTcDYzemNTaDVHRVV1SFlya3JGS2s1MW9zLVUycG42bjNXV2pYay9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkVOZk1UTTFZak13TkRkaVpDOVZVMFJEWHpFek5XSXpNRFEzWW1RdWNHNW4ucG5n.webp', - }, - { - chainId: 66, - address: '0xdCAC52E001f5bd413aa6ea83956438F29098166b', - name: 'USDK', - decimals: 18, - symbol: 'USDK', - logoURI: - 'https://images.dodoex.io/X-_D75ZOpI-yC70WjdgC8wiqcssfRIALEv0eUfD3HiE/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vd290dHEzaWdkTDVzQlhSR2VFZkhQLTNpZHhDZzV0V3VGQmE3YjNrNUZITS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkV0Zk56aGpZekV6TW1OaVpDOVZVMFJMWHpjNFkyTXhNekpqWW1RdWNHNW4ucG5n.webp', - }, - { - chainId: 66, - address: '0x506f731F7656e2FB34b587B912808f2a7aB640BD', - name: 'WBTCK', - decimals: 18, - symbol: 'WBTCK', - logoURI: - 'https://images.dodoex.io/7Gb1gYkvjWESf9ungWe4YKOrr5GY5UILmTwU_U95kCA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vOTQ4NWZpU2NmUzBNc2V1YVZXWXo2Z1RuNVVidXJvZkxmN1VGSWhMdndjTS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRDVkVOTFgyVXlZamRpWVRJNU16TXZWMEpVUTB0ZlpUSmlOMkpoTWprek15NXdibWMucG5n.webp', - }, - { - chainId: 1313161554, - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'Ethereum', - decimals: 18, - symbol: 'ETH', - logoURI: - 'https://images.dodoex.io/WAobi4MZtLSxB59wgpyNlXLI44ZwlBh55qiGS2wLSGU/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vSUVnUUx3TjRMU2dKRDJTM3RmSFlHcmxZbFZQNGlJeFcxeEZVOUwwUExRNC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmZEhKMWMzUjNZV3hzWlhSZllYTnpaWFJ6WDIxaGMzUmxjbDlpYkc5amEyTm9ZV2x1YzE5bGRHaGxjbVYxYlY5aGMzTmxkSE5mTUhoZlF6QXlZV0ZmUVRNNVlqSXlNMTlHUlY4NFgwUXdYMEV3WlRWZlF6UmZSakkzWlY5QlJGODVNRGd6WDBNM05UWmZRMk15WDJ4dloyOWZZelk0WXprelpHRXlNQzV3Ym1jLnBuZw.webp', - }, - { - chainId: 1313161554, - address: '0xC9BdeEd33CD01541e1eeD10f90519d2C06Fe3feB', - name: 'Wrapped Ethereum', - decimals: 18, - symbol: 'WETH', - logoURI: - 'https://images.dodoex.io/KWYmKxU_OCS1PmzuEO0xjdr1Yn08SjGBkyqSI8hxlpE/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vdkkyZF9rdFdyUzQyM0FqZlBLbkxRYloyRGVzTkpacmNTSlZNb1dYRnkyOC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRGVkVoZmFXTnZibDh6TVRjd1pqTTBORGcxTDFkRlZFaGZhV052Ymw4ek1UY3daak0wTkRnMUxuQnVady5wbmc.webp', - }, - { - chainId: 1313161554, - address: '0x8BEc47865aDe3B172A928df8f990Bc7f2A3b9f79', - name: 'Aurora', - decimals: 18, - symbol: 'Aurora', - logoURI: - 'https://images.dodoex.io/2C2jfpO2-VYuwlga3SdtP5I6eJNJXIYq3LvPU4aFuiU/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vcHFWVWlJOEQ4VU5iUEZYRElvUnA3cFhEZFc4dmx4dWEtTmxubmxlam1PMC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMkYxY205eVlWOHlOVEprWlRFeE56YzBMMkYxY205eVlWOHlOVEprWlRFeE56YzBMbmRsWW5BLndlYnA.webp', - }, - { - chainId: 1313161554, - address: '0xe3520349F477A5F6EB06107066048508498A291b', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAI', - logoURI: - 'https://images.dodoex.io/XNbyKKzPthXfYOku9oXt5xzqM1JOWzxmbTLq2kkSvaU/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vWHprMUxKSzJ2V1BYVmN3TmVvVDRfR3NNdnBOVXFmTmliXzgybFZSVUNkWS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmYzNWemFHbHpkMkZ3WDJsamIyNXpYMjFoYzNSbGNsOTBiMnRsYmw5a1lXbGZPRGhrT0dNeE5HRTBZaTVxY0djLmpwZw.webp', - }, - { - chainId: 1313161554, - address: '0xe301eD8C7630C9678c39E4E45193D1e7Dfb914f7', - name: 'DODO Bird', - decimals: 18, - symbol: 'DODO', - logoURI: - 'https://images.dodoex.io/SEcMDWMmtHb3GFW5l7fTKYurpTqALHdZI3D6qzad1rs/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vQXRNMzllUjhRQzhYTl8tem5HU0pSLS1lV0tPUW91V3p2ci0zQ014WlJTSS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMekl3TUhneU1EQmZNVjh3WWpReFl6VTJZV1UxTHpJd01IZ3lNREJmTVY4d1lqUXhZelUyWVdVMUxuQnVady5wbmc.webp', - }, - { - chainId: 1313161554, - address: '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC', - logoURI: - 'https://images.dodoex.io/EaCi6KUTS-dinU-wGdG2IcundJ0fJfsOw97FRI2vaB8/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vdEVMaUx0Y1FaTVlBb3hkeExLdnRrZ2ltdVB5dmZRdUQ5U1BxU1c1bDZsMC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkVOZmFXTnZibDh5WlRFeU5tSTRaRFV5TDFWVFJFTmZhV052Ymw4eVpURXlObUk0WkRVeUxuQnVady5wbmc.webp', - }, - { - chainId: 1313161554, - address: '0x4988a896b1227218e4A686fdE5EabdcAbd91571f', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT', - logoURI: - 'https://images.dodoex.io/MGklrG5AImwUllGWDPMAHY0qLfdJQn4bj3iPFWSeohA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vUEM3a3JPb252bWl4U3VRaFEwY29pVy1sczFYN25WS1lLNVluekQ2R2lxRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkZSZlpUaGlOekZpTldZeU9TOVZVMFJVWDJVNFlqY3hZalZtTWprdWNHNW4ucG5n.webp', - }, - { - chainId: 1313161554, - address: '0xF4eB217Ba2454613b15dBdea6e5f22276410e89e', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTC', - logoURI: - 'https://images.dodoex.io/n4n7ccBom2tgcZNN0jBv9YiTq5qGMjX6PHO0YGlpzZo/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vMElrSkQzVEc2SkFQdG1DV24tNnhfa0ozS3lXYXlVVHRhZ19PQmF0TFEwRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRDVkVOZmFXTnZibDgzWW1JelpUQTRaak14TDFkQ1ZFTmZhV052Ymw4M1ltSXpaVEE0WmpNeExuQnVady5wbmc.webp', - }, - { - chainId: 43114, - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'Avalanche', - decimals: 18, - symbol: 'AVAX', - logoURI: - 'https://images.dodoex.io/yBkeC0v6hqQP-wNBxAq_C_D6JTYUc4Q86Wh6WIciESI/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vcmpNamFFdHJ5WUZxNks3TkpxYkRWczlEZF80aHp4ZUo3YnB0eGgtVERDYy9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMjEzWDI1ZlRqaHRNRjgwTURCNE5EQXdYems0WlRKaU5EQm1PRGN2YlhkZmJsOU9PRzB3WHpRd01IZzBNREJmT1RobE1tSTBNR1k0Tnk1cWNHYy5qcGc.webp', - }, - { - chainId: 43114, - address: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', - name: 'Wrapped AVAX', - decimals: 18, - symbol: 'WAVAX', - logoURI: - 'https://images.dodoex.io/yBkeC0v6hqQP-wNBxAq_C_D6JTYUc4Q86Wh6WIciESI/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vcmpNamFFdHJ5WUZxNks3TkpxYkRWczlEZF80aHp4ZUo3YnB0eGgtVERDYy9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMjEzWDI1ZlRqaHRNRjgwTURCNE5EQXdYems0WlRKaU5EQm1PRGN2YlhkZmJsOU9PRzB3WHpRd01IZzBNREJmT1RobE1tSTBNR1k0Tnk1cWNHYy5qcGc.webp', - }, - { - chainId: 43114, - address: '0x19860CCB0A68fd4213aB9D8266F7bBf05A8dDe98', - name: 'Binance USD', - decimals: 18, - symbol: 'BUSD.e', - logoURI: - 'https://images.dodoex.io/-aEkA13gC6lOFoRyGeSy2BotE5YY3WUmcSlPa9Rpddc/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vaXVmSjhaNHFJYzlMMDgtNHpxRUMxWl94WVlqRkEtT3BqS1FJbmQyeHpHUS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMEpWVTBSZk1XTTJNRFpqTjJZeE55OUNWVk5FWHpGak5qQTJZemRtTVRjdWNHNW4ucG5n.webp', - }, - { - chainId: 43114, - address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAI.e', - logoURI: - 'https://images.dodoex.io/XNbyKKzPthXfYOku9oXt5xzqM1JOWzxmbTLq2kkSvaU/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vWHprMUxKSzJ2V1BYVmN3TmVvVDRfR3NNdnBOVXFmTmliXzgybFZSVUNkWS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMlZ5WXpJd0wyaDBkSEJ6WDNKaGQxOW5hWFJvZFdKMWMyVnlZMjl1ZEdWdWRGOWpiMjFmYzNWemFHbHpkMkZ3WDJsamIyNXpYMjFoYzNSbGNsOTBiMnRsYmw5a1lXbGZPRGhrT0dNeE5HRTBZaTVxY0djLmpwZw.webp', - }, - { - chainId: 43114, - address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC.e', - logoURI: - 'https://images.dodoex.io/bXLFjIP5_obFZS9jvWA1bZc2b2Vsw4-tqcvj10aPUpU/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vcXhZT0hTcDYzemNTaDVHRVV1SFlya3JGS2s1MW9zLVUycG42bjNXV2pYay9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkVOZk1UTTFZak13TkRkaVpDOVZVMFJEWHpFek5XSXpNRFEzWW1RdWNHNW4ucG5n.webp', - }, - { - chainId: 43114, - address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT.e ', - logoURI: - 'https://images.dodoex.io/MGklrG5AImwUllGWDPMAHY0qLfdJQn4bj3iPFWSeohA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vUEM3a3JPb252bWl4U3VRaFEwY29pVy1sczFYN25WS1lLNVluekQ2R2lxRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkZSZlpUaGlOekZpTldZeU9TOVZVMFJVWDJVNFlqY3hZalZtTWprdWNHNW4ucG5n.webp', - }, - { - chainId: 43114, - address: '0x50b7545627a5162F82A992c33b87aDc75187B218', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTC.e', - logoURI: - 'https://images.dodoex.io/n4n7ccBom2tgcZNN0jBv9YiTq5qGMjX6PHO0YGlpzZo/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vMElrSkQzVEc2SkFQdG1DV24tNnhfa0ozS3lXYXlVVHRhZ19PQmF0TFEwRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRDVkVOZmFXTnZibDgzWW1JelpUQTRaak14TDFkQ1ZFTmZhV052Ymw4M1ltSXpaVEE0WmpNeExuQnVady5wbmc.webp', - }, - { - chainId: 43114, - address: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH.e', - logoURI: - 'https://images.dodoex.io/KWYmKxU_OCS1PmzuEO0xjdr1Yn08SjGBkyqSI8hxlpE/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vdkkyZF9rdFdyUzQyM0FqZlBLbkxRYloyRGVzTkpacmNTSlZNb1dYRnkyOC9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMWRGVkVoZmFXTnZibDh6TVRjd1pqTTBORGcxTDFkRlZFaGZhV052Ymw4ek1UY3daak0wTkRnMUxuQnVady5wbmc.webp', - }, - { - chainId: 10, - address: '0x4200000000000000000000000000000000000006', - name: 'WETH', - decimals: 18, - symbol: 'WETH', - logoURI: - 'https://images.dodoex.io/f9SbZq39ynUZS5ueKvAwzLmKUfcZvYpKDaysT3dkcvM/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vc2NkVzJUWjladmRiX3BVSjZ3b2YzeHRvYk94YUw3bEV5RmhhemhJUFhlMC9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6RXdNamd3TkRaZk1qQXlNakEwTWpJd01UQXpORGc1TURVdWNHNW4ucG5n.webp', - }, - { - chainId: 10, - address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', - name: 'DAI', - decimals: 18, - symbol: 'DAI', - logoURI: - 'https://images.dodoex.io/04gwZiu2K_9fdb2zLwzsX1nONCbBWrZOvTyOoEFhx3g/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vaDJCcmdhUmZxUzBLZDBEOVpZbEUteEtNMVdzeFFtRzBEWVpKOGJCaWN4US9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6SXlNRFUwTVRsZk1qQXlNakEwTWpJd01UQTBNak00TlRVdWFuQm4uanBn.webp', - }, - { - chainId: 10, - address: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', - name: 'USDC', - decimals: 6, - symbol: 'USDC', - logoURI: - 'https://images.dodoex.io/XbtxsPIscM6p5ClHbLO0JumFHA9U23eON8-MDh-Plkg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vaG1nM3hRa1BUTUtkcUNFVnd0LXU4S2lwTW5od1JCdGhLYWxENW9vSWlTZy9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6UXlNRFEyTkRaZk1qQXlNakEwTWpJd01UQTFNekF4TmpVdWNHNW4ucG5n.webp', - }, - { - chainId: 10, - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - name: 'ETH', - decimals: 18, - symbol: 'ETH', - logoURI: - 'https://images.dodoex.io/bcyoORJ04NyP1HhYUZ9RrTZ-MEOFeNnMcrr__JZ6Ruw/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vV1lHaU9IVFVnVWs4Q3Z3WmNyN0hWX2w4SlNrQjRVQUh1UXpzaWd4U3Nmay9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6VTVPREk0T1Y4eU1ESXlNRFF5TWpBeU1qTTBNelk0TlM1d2JtYy5wbmc.webp', - }, - { - decimals: 18, - logoURI: - 'https://images.dodoex.io/Gbch2fMVm-itKQ-wYdO0BE9s_LVK-8fr2eoJxyjM_pY/rs:fit:160:160:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vOXZDZEdXMV9BQnM2VTA3RzNIcDd1VnRURnppdWJvQlJObVJyVEZLaXhEcy9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6RTVORFV4TXpoZk1qQXlNekEzTURNd056RTRNalkyT0RjdWFuQm4uanBn.webp', - name: 'Wrapped Conflux', - address: '0x14b2D3bC65e74DAE1030EAFd8ac30c533c976A9b', - symbol: 'WCFX', - chainId: 1030, - }, - { - decimals: 18, - logoURI: - 'https://images.dodoex.io/74nSnlgHYl303M6PsFI2ItXIpPdEaN5W62bJk0xrm6g/rs:fit:160:160:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vRUw0TjJvclJYb2pibEZwa2pTZy1mVlZuVDhhMWZ6amloek43eGlSZFdmWS9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6ZzNNRGN4TXpOZk1qQXlNekEzTURNd056TTJNVGM0TXpndWNHNW4ucG5n.webp', - name: 'BNB', - address: '0x94bd7A37d2cE24cC597E158fACaa8d601083ffeC', - symbol: 'BNB', - chainId: 1030, - }, - { - decimals: 18, - logoURI: - 'https://images.dodoex.io/Tzga6cVcC2NZzIAvdf812Bcl5zSn5mNomHQRJhkjaiI/rs:fit:160:160:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vVG5iZnNQSUVGWmFEeGkxSm9GUUd3blZSUUtrREkza3h2ekhuUnllTmUwYy9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6STNNVEkwTTE4eU1ESXpNRGN3TXpBM01qa3lOVEl6TVM1d2JtYy5wbmc.webp', - name: 'Ethereum Token', - address: '0xa47f43DE2f9623aCb395CA4905746496D2014d57', - symbol: 'ETH', - chainId: 1030, - }, - { - chainId: 1030, - address: '0xfe97e85d13abd9c1c33384e796f10b73905637ce', - name: 'Tether USD', - decimals: 18, - symbol: 'USDT', - logoURI: - 'https://images.dodoex.io/n_bg2q8GR4MlobGgr4RYo4r2gS6om7hmtGABi6qoulQ/rs:fit:96:96:0/g:no/aHR0cHM6Ly9jbXAuZG9kb2V4LmlvL2lnTHA5WW1zMnY4em9jOEVEcHRBOWRFTi0xZHZ0V2RkRGVMWjZaVjh1OGMvcnM6Zml0OjE2MDoxNjA6MC9nOm5vL2FIUjBjSE02THk5cGJXRm5aUzF3Y205NGVTNWtiMlJ2WlhndWFXOHZhQzFxVkRnMVZWVTRUalpUT1dsVlZuSkpMVnBCU0hjd1dXaDBTSFJPUjNoNWJUZHVZa2QyVUZobmR5OWhTRkl3WTBoTk5reDVPWHBrUnpsNVdWZGtiRXh0WkhaaU1tUnpXbGRHZDJGWVRYVlpNamwwVERKU2RscEhPSFJpVjFacllWZEZkR016VW1oYU1teDFXbms1TVdOSGVIWlpWMUptWVZjeGJsaDZhekpPYWtVMVRsWTRlVTFFU1hwTlJHTjNUWHBCTTAxcVdYZFBSR2N5VDFNMWQySnRZeTV3Ym1jLndlYnA.webp', - }, - { - chainId: 1030, - address: '0x1F545487c62e5ACfEa45dcAdd9c627361d1616D8', - name: 'Wrapped BTC', - decimals: 18, - symbol: 'WBTC', - logoURI: - 'https://images.dodoex.io/1e_VT8Ppoj0-PDkhFC58pxdegwGCdWBOa5JTPU-Ol2U/rs:fit:160:160:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vVU92VExkR1I4SzNHWnhISnA0aEVSN09teVdjdWdsNDBlU1hEbmJKWlJ2RS9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6a3hNVGd3TWpaZk1qQXlNekEzTURNd056TXhOVEUzT1RVdWNHNW4ucG5n.webp', - }, - { - decimals: 18, - logoURI: - 'https://images.dodoex.io/Wr2Rsy3ec2m0qdAHY95E-niUfibhSvMC9j6I9a2jW0w/rs:fit:160:160:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vWWNqMXJhUEVTYTYxeVpfeDdNNktWOGdabmxpVjdELTRCaWRpcVNYRExCZy9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6TXlOVGs1TWpGZk1qQXlNekE0TURRd05ETTJNamM0TXpJdWFuQm4uanBn.webp', - name: 'Bald', - address: '0x27D2DECb4bFC9C76F0309b8E88dec3a601Fe25a8', - symbol: 'BALD', - chainId: 8453, - }, - { - decimals: 18, - logoURI: - 'https://images.dodoex.io/20ZPKcy3KFBFeRhzXhM17Jn_ECPETHKMulANNxeUovo/rs:fit:160:160:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vZHV4b2JTNm03dzQyUWdfd09rZDBqV1JCWm5TNW5GQjRHM1A5Yk5wWDc3MC9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6SXhNVFk1TnpkZk1qQXlNekE0TURRd05ESTNNVEkyTmprdWMzWm4uc3Zn.webp', - name: 'Wrapped Ether', - address: '0x4200000000000000000000000000000000000006', - symbol: 'WETH', - chainId: 8453, - }, - { - decimals: 6, - logoURI: - 'https://images.dodoex.io/XZ0_CC_Hy6CLGuNpjsfkgdGp67czyMKPcq8HcsabhyQ/rs:fit:160:160:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vbm93dE5BTjlkNEYzeDQwVEtlWFVwRTJtTEo4OEd1ZWo1RHplUFVLeWRQUS9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6WXdOemM0TkRaZk1qQXlNekE0TURRd05ETTRORGszTnprdWMzWm4uc3Zn.webp', - name: 'Axelar Wrapped USDC', - address: '0xEB466342C4d449BC9f53A865D5Cb90586f405215', - symbol: 'axlUSDC', - chainId: 8453, - }, - { - decimals: 18, - logoURI: - 'https://maticnetwork.github.io/polygon-token-assets/assets/eth.svg', - name: 'Ethereum', - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - symbol: 'ETH', - chainId: 8453, - }, - { - decimals: 6, - logoURI: - 'https://images.dodoex.io/UzsHCVfq_wYVDFVhkYthXWfHdldQUNx7LH3-3uXCs_U/rs:fit:96:96:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL3RydXN0d2FsbGV0L2Fzc2V0cy9tYXN0ZXIvYmxvY2tjaGFpbnMvZXRoZXJldW0vYXNzZXRzLzB4QTBiODY5OTFjNjIxOGIzNmMxZDE5RDRhMmU5RWIwY0UzNjA2ZUI0OC9sb2dvLnBuZw.webp', - name: 'USD Base Coin', - address: '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA', - symbol: 'USDbC', - chainId: 8453, - }, - { - decimals: 18, - logoURI: - 'https://maticnetwork.github.io/polygon-token-assets/assets/eth.svg', - name: 'Ether', - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - symbol: 'ETH', - chainId: 59144, - }, - { - decimals: 18, - logoURI: - 'https://maticnetwork.github.io/polygon-token-assets/assets/eth.svg', - name: 'Ether', - address: '0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f', - symbol: 'WETH', - chainId: 59144, - }, - { - decimals: 18, - logoURI: - 'https://maticnetwork.github.io/polygon-token-assets/assets/eth.svg', - name: 'Ether', - address: '0x5300000000000000000000000000000000000004', - symbol: 'WETH', - chainId: 534352, - }, - { - decimals: 6, - logoURI: - 'https://images.dodoex.io/XbtxsPIscM6p5ClHbLO0JumFHA9U23eON8-MDh-Plkg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vaG1nM3hRa1BUTUtkcUNFVnd0LXU4S2lwTW5od1JCdGhLYWxENW9vSWlTZy9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6UXlNRFEyTkRaZk1qQXlNakEwTWpJd01UQTFNekF4TmpVdWNHNW4ucG5n.webp', - name: 'USD Coin', - address: '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4', - symbol: 'USDC', - chainId: 534352, - }, - { - decimals: 18, - logoURI: - 'https://maticnetwork.github.io/polygon-token-assets/assets/eth.svg', - name: 'Ether', - address: '0x0Dc808adcE2099A9F62AA87D9670745AbA741746', - symbol: 'WETH', - chainId: 169, - }, - { - decimals: 6, - logoURI: - 'https://images.dodoex.io/XbtxsPIscM6p5ClHbLO0JumFHA9U23eON8-MDh-Plkg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vaG1nM3hRa1BUTUtkcUNFVnd0LXU4S2lwTW5od1JCdGhLYWxENW9vSWlTZy9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6UXlNRFEyTkRaZk1qQXlNakEwTWpJd01UQTFNekF4TmpVdWNHNW4ucG5n.webp', - name: 'USD Coin', - address: '0xb73603c5d87fa094b7314c74ace2e64d165016fb', - symbol: 'USDC', - chainId: 169, - }, - { - decimals: 18, - logoURI: - 'https://maticnetwork.github.io/polygon-token-assets/assets/eth.svg', - name: 'Ether', - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - symbol: 'ETH', - chainId: 169, - }, - { - decimals: 6, - logoURI: - 'https://images.dodoex.io/MGklrG5AImwUllGWDPMAHY0qLfdJQn4bj3iPFWSeohA/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vUEM3a3JPb252bWl4U3VRaFEwY29pVy1sczFYN25WS1lLNVluekQ2R2lxRS9hSFIwY0hNNkx5OWpaRzR0YldWa2FXRXVaRzlrYjJWNExtbHZMMVZUUkZSZlpUaGlOekZpTldZeU9TOVZVMFJVWDJVNFlqY3hZalZtTWprdWNHNW4ucG5n.webp', - name: 'Tether USD', - address: '0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE', - symbol: 'USDT', - chainId: 5000, - }, - { - decimals: 6, - logoURI: - 'https://images.dodoex.io/XbtxsPIscM6p5ClHbLO0JumFHA9U23eON8-MDh-Plkg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vaG1nM3hRa1BUTUtkcUNFVnd0LXU4S2lwTW5od1JCdGhLYWxENW9vSWlTZy9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6UXlNRFEyTkRaZk1qQXlNakEwTWpJd01UQTFNekF4TmpVdWNHNW4ucG5n.webp', - name: 'USD Coin', - address: '0x09bc4e0d864854c6afb6eb9a9cdf58ac190d0df9', - symbol: 'USDC', - chainId: 5000, - }, - { - decimals: 18, - logoURI: - 'https://maticnetwork.github.io/polygon-token-assets/assets/eth.svg', - name: 'Ether', - address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - symbol: 'ETH', - chainId: 167000, - }, - { - decimals: 6, - logoURI: - 'https://images.dodoex.io/XbtxsPIscM6p5ClHbLO0JumFHA9U23eON8-MDh-Plkg/rs:fit:96:96:0/g:no/aHR0cHM6Ly9pbWFnZS1wcm94eS5kb2RvZXguaW8vaG1nM3hRa1BUTUtkcUNFVnd0LXU4S2lwTW5od1JCdGhLYWxENW9vSWlTZy9hSFIwY0hNNkx5OXpkRzl5WVdkbExtZHZiMmRzWldGd2FYTXVZMjl0TDJSdlpHOHRiV1ZrYVdFdGMzUmhaMmx1Wnk5MWNHeHZZV1JmYVcxblh6UXlNRFEyTkRaZk1qQXlNakEwTWpJd01UQTFNekF4TmpVdWNHNW4ucG5n.webp', - name: 'USD Coin', - address: '0x07d83526730c7438048d55a4fc0b850e2aab6f0b', - symbol: 'USDC', - chainId: 167000, + symbol: 'gUSDT', + decimals: 18, + slippage: null, + chainId: 2201, + logoImg: + 'https://images.dodoex.io/53IvjioP70fgSHG71f1pVIM87xf9oZuQixZ8O-oXwf8/rs:fit:160:160:0/g:no/aHR0cHM6Ly9zdG9yYWdlLmdvb2dsZWFwaXMuY29tL2RvZG8tbWVkaWEtc3RhZ2luZy9kZXYvMjIwMS8weGVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWU.webp', + tokenlists: [ + { + name: 'All', + status: 'launched', + __typename: 'Erc20TokenListV2', + }, + ], + domains: [], + funcLabels: [], + attributeLabels: [ + { + key: 'non-standard-erc20', + __typename: 'Erc20AttributeLabelV2', + }, + ], + __typename: 'Erc20Erc20V2List', }, ]; diff --git a/packages/dodoex-widgets/src/hooks/Swap/useFetchRoutePrice.ts b/packages/dodoex-widgets/src/hooks/Swap/useFetchRoutePrice.ts index cfa1345a..76bb6b20 100644 --- a/packages/dodoex-widgets/src/hooks/Swap/useFetchRoutePrice.ts +++ b/packages/dodoex-widgets/src/hooks/Swap/useFetchRoutePrice.ts @@ -106,7 +106,7 @@ export function useFetchRoutePrice({ deadLine: apiDdl, apikey, slippage, - source: disableIndirectRouting ? 'noMaxHops' : 'dodoV2AndMixWasm', + source: disableIndirectRouting ? 'noMaxHops' : 'frontendSwap', toTokenAddress: toToken.address, fromTokenAddress: fromToken.address, userAddr: account || EmptyAddress, @@ -131,7 +131,12 @@ export function useFetchRoutePrice({ } try { - const resRoutePrice = await axios.get(routePriceAPI, { params }); + const resRoutePrice = await axios.get(routePriceAPI, { + params, + headers: { + source: 'frontendSwap', + }, + }); // only update last id if (currentId < lastId.current) return; const routeInfo = resRoutePrice.data.data as IRouteResponse; diff --git a/packages/dodoex-widgets/src/locales/en-US.po b/packages/dodoex-widgets/src/locales/en-US.po index 9c7b8a14..fc17903a 100644 --- a/packages/dodoex-widgets/src/locales/en-US.po +++ b/packages/dodoex-widgets/src/locales/en-US.po @@ -50,7 +50,7 @@ msgstr "Volume" msgid "To" msgstr "To" -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:432 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:434 msgid "Receive {0}" msgstr "Receive {0}" @@ -59,7 +59,7 @@ msgid "{0} pending" msgstr "{0} pending" #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:493 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:344 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:362 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:785 msgid "Removing" msgstr "Removing" @@ -137,7 +137,7 @@ msgid "Unstaking" msgstr "Unstaking" #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:496 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:347 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:365 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:788 msgid "Adding" msgstr "Adding" @@ -180,7 +180,7 @@ msgid "Do not remind again" msgstr "Do not remind again" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:372 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:281 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:283 msgid "Remove Liquidity" msgstr "Remove Liquidity" @@ -295,7 +295,7 @@ msgid "Pricing Model" msgstr "Pricing Model" #: src/widgets/PoolWidget/PoolCreate/components/DepthAndLiquidityChart.tsx:74 -#: src/widgets/PoolWidget/PoolList/index.tsx:225 +#: src/widgets/PoolWidget/PoolList/index.tsx:228 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOrMiningTabs.ts:17 msgid "Liquidity" msgstr "Liquidity" @@ -458,7 +458,7 @@ msgid "No results found" msgstr "No results found" #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:432 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:298 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:316 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:654 msgid "Pair" msgstr "Pair" @@ -598,7 +598,7 @@ msgstr "Add Initial Liquidity" #: src/widgets/PoolWidget/AMMV3/AddLiquidityV3.tsx:326 #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:481 #: src/widgets/PoolWidget/AMMV3/components/ReviewModal.tsx:40 -#: src/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.ts:176 +#: src/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.ts:180 msgid "Add liquidity" msgstr "Add liquidity" @@ -687,8 +687,8 @@ msgstr "Insufficient cross-chain fees, need at least {0} {1}" #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:340 #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:440 #: src/widgets/PoolWidget/PoolList/components/LoadingCard.tsx:112 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:198 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:301 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:214 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:319 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:377 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:663 msgid "TVL" @@ -835,7 +835,7 @@ msgid "Stake" msgstr "Stake" #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:303 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:602 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:604 msgid "Price discrepancy {lqAndDodoCompareText} between liquidity pool and the quote price on DODO." msgstr "Price discrepancy {lqAndDodoCompareText} between liquidity pool and the quote price on DODO." @@ -911,7 +911,7 @@ msgstr "Staking" msgid "Claiming" msgstr "Claiming" -#: src/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.ts:176 +#: src/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.ts:180 msgid "Create AMM V2 Position" msgstr "Create AMM V2 Position" @@ -1033,7 +1033,7 @@ msgstr "Fee rate" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:305 #: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:25 -#: src/widgets/PoolWidget/PoolList/index.tsx:162 +#: src/widgets/PoolWidget/PoolList/index.tsx:164 #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:165 msgid "Add Liquidity" msgstr "Add Liquidity" @@ -1134,7 +1134,7 @@ msgid "Estimated Time" msgstr "Estimated Time" #: src/widgets/PoolWidget/PoolCreate/hooks/useVersionList.ts:20 -#: src/widgets/PoolWidget/PoolList/index.tsx:226 +#: src/widgets/PoolWidget/PoolList/index.tsx:229 msgid "Classical AMM-like pool. Suitable for most assets." msgstr "Classical AMM-like pool. Suitable for most assets." @@ -1550,7 +1550,7 @@ msgid "Suitable for stablecoins with price fluctuations within 10%" msgstr "Suitable for stablecoins with price fluctuations within 10%" #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:297 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:596 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:598 msgid "Confirm submission" msgstr "Confirm submission" @@ -1584,7 +1584,7 @@ msgstr "Mining Type" msgid "Settler" msgstr "Settler" -#: src/widgets/PoolWidget/hooks/useAMMV2RemoveLiquidity.ts:166 +#: src/widgets/PoolWidget/hooks/useAMMV2RemoveLiquidity.ts:168 msgid "Remove liquidity" msgstr "Remove liquidity" @@ -1677,7 +1677,7 @@ msgstr "V2 & PMM" #: src/widgets/PoolWidget/AMMV3/components/FeeSelector.tsx:66 #: src/widgets/PoolWidget/PoolDetail/components/TitleInfo.tsx:147 #: src/widgets/PoolWidget/PoolDetail/index.tsx:201 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:461 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:488 #: src/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.tsx:84 msgid "Edit" msgstr "Edit" @@ -1686,7 +1686,7 @@ msgstr "Edit" msgid "Min" msgstr "Min" -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:674 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:703 msgid "Hide TVL=0 pools" msgstr "Hide TVL=0 pools" @@ -1765,8 +1765,8 @@ msgstr "Collect fees" msgid "Connect to your wallet" msgstr "Connect to your wallet" -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:227 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:304 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:243 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:322 msgid "Total Fee Revenue" msgstr "Total Fee Revenue" @@ -1886,7 +1886,7 @@ msgid "Total Swap Volume" msgstr "Total Swap Volume" #: src/components/Swap/SwapOrderHistory/index.tsx:99 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:468 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:470 msgid "Receive" msgstr "Receive" @@ -1946,8 +1946,8 @@ msgstr "My Staked" #: src/widgets/PoolWidget/PoolDetail/index.tsx:219 #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:385 #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:749 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:268 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:564 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:284 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:591 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1211 #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:144 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.ts:15 @@ -2191,12 +2191,12 @@ msgstr "Initial Price Alert" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:452 #: src/widgets/PoolWidget/AMMV3/components/RemoveButton.tsx:32 #: src/widgets/PoolWidget/PoolDetail/index.tsx:212 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:253 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:552 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:269 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:579 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:597 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1198 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.ts:16 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:248 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:249 msgid "Remove" msgstr "Remove" @@ -2281,7 +2281,7 @@ msgid "In range" msgstr "In range" #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:306 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:605 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:607 msgid "There is risk of being arbitraged if adding this liquidity." msgstr "There is risk of being arbitraged if adding this liquidity." @@ -2336,7 +2336,7 @@ msgid "WARNING" msgstr "WARNING" #: src/widgets/PoolWidget/PoolList/components/migationWidget.tsx:53 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:556 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:558 msgid "Migrate" msgstr "Migrate" @@ -2425,7 +2425,7 @@ msgstr "Total Rewards=Daily Rewards*Duration" #: src/components/Swap/index.tsx:771 #: src/components/TokenStatusButton.tsx:18 #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:146 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:248 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:249 msgid "Insufficient balance" msgstr "Insufficient balance" diff --git a/packages/dodoex-widgets/src/locales/zh-CN.po b/packages/dodoex-widgets/src/locales/zh-CN.po index 946dbda9..96b8b4cc 100644 --- a/packages/dodoex-widgets/src/locales/zh-CN.po +++ b/packages/dodoex-widgets/src/locales/zh-CN.po @@ -48,7 +48,7 @@ msgstr "交易量" msgid "To" msgstr "至" -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:432 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:434 msgid "Receive {0}" msgstr "获得 {0}" @@ -57,7 +57,7 @@ msgid "{0} pending" msgstr "{0} 等待中" #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:493 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:344 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:362 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:785 msgid "Removing" msgstr "提取" @@ -135,7 +135,7 @@ msgid "Unstaking" msgstr "赎回中" #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:496 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:347 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:365 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:788 msgid "Adding" msgstr "添加" @@ -178,7 +178,7 @@ msgid "Do not remind again" msgstr "不再提醒" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:372 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:281 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:283 msgid "Remove Liquidity" msgstr "移除流动性" @@ -293,7 +293,7 @@ msgid "Pricing Model" msgstr "定价模式" #: src/widgets/PoolWidget/PoolCreate/components/DepthAndLiquidityChart.tsx:74 -#: src/widgets/PoolWidget/PoolList/index.tsx:225 +#: src/widgets/PoolWidget/PoolList/index.tsx:228 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOrMiningTabs.ts:17 msgid "Liquidity" msgstr "流动性" @@ -456,7 +456,7 @@ msgid "No results found" msgstr "未找到匹配结果" #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:432 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:298 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:316 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:654 msgid "Pair" msgstr "交易对" @@ -596,7 +596,7 @@ msgstr "添加初始流动性" #: src/widgets/PoolWidget/AMMV3/AddLiquidityV3.tsx:326 #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:481 #: src/widgets/PoolWidget/AMMV3/components/ReviewModal.tsx:40 -#: src/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.ts:176 +#: src/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.ts:180 msgid "Add liquidity" msgstr "添加做市资金" @@ -685,8 +685,8 @@ msgstr "跨链费用不足,至少需要 {0} {1} " #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:340 #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:440 #: src/widgets/PoolWidget/PoolList/components/LoadingCard.tsx:112 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:198 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:301 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:214 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:319 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:377 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:663 msgid "TVL" @@ -833,7 +833,7 @@ msgid "Stake" msgstr "质押" #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:303 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:602 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:604 msgid "Price discrepancy {lqAndDodoCompareText} between liquidity pool and the quote price on DODO." msgstr "资金池报价与 DODO 智能路由价格相差 {lqAndDodoCompareText}" @@ -909,7 +909,7 @@ msgstr "质押中" msgid "Claiming" msgstr "领取中" -#: src/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.ts:176 +#: src/widgets/PoolWidget/hooks/useAMMV2AddLiquidity.ts:180 msgid "Create AMM V2 Position" msgstr "创建 AMM V2 仓位" @@ -1031,7 +1031,7 @@ msgstr "手续费费率" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:305 #: src/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.ts:25 -#: src/widgets/PoolWidget/PoolList/index.tsx:162 +#: src/widgets/PoolWidget/PoolList/index.tsx:164 #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:165 msgid "Add Liquidity" msgstr "添加流动性" @@ -1132,7 +1132,7 @@ msgid "Estimated Time" msgstr "预计时间" #: src/widgets/PoolWidget/PoolCreate/hooks/useVersionList.ts:20 -#: src/widgets/PoolWidget/PoolList/index.tsx:226 +#: src/widgets/PoolWidget/PoolList/index.tsx:229 msgid "Classical AMM-like pool. Suitable for most assets." msgstr "类似 AMM 做市策略,适用于大多数币种" @@ -1548,7 +1548,7 @@ msgid "Suitable for stablecoins with price fluctuations within 10%" msgstr "适用于价格波动在10%以内的稳定币" #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:297 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:596 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:598 msgid "Confirm submission" msgstr "确认提交" @@ -1582,7 +1582,7 @@ msgstr "挖矿类型" msgid "Settler" msgstr "结算者" -#: src/widgets/PoolWidget/hooks/useAMMV2RemoveLiquidity.ts:166 +#: src/widgets/PoolWidget/hooks/useAMMV2RemoveLiquidity.ts:168 msgid "Remove liquidity" msgstr "移除流动性" @@ -1675,7 +1675,7 @@ msgstr "V2 & PMM" #: src/widgets/PoolWidget/AMMV3/components/FeeSelector.tsx:66 #: src/widgets/PoolWidget/PoolDetail/components/TitleInfo.tsx:147 #: src/widgets/PoolWidget/PoolDetail/index.tsx:201 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:461 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:488 #: src/widgets/PoolWidget/PoolModify/operate-widgets/FeeRateSetting.tsx:84 msgid "Edit" msgstr "编辑" @@ -1684,7 +1684,7 @@ msgstr "编辑" msgid "Min" msgstr "分钟" -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:674 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:703 msgid "Hide TVL=0 pools" msgstr "隐藏 TVL=0 的池子" @@ -1763,8 +1763,8 @@ msgstr "收取手续费" msgid "Connect to your wallet" msgstr "连接钱包" -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:227 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:304 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:243 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:322 msgid "Total Fee Revenue" msgstr "总手续费收入" @@ -1884,7 +1884,7 @@ msgid "Total Swap Volume" msgstr "累计交易量" #: src/components/Swap/SwapOrderHistory/index.tsx:99 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:468 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:470 msgid "Receive" msgstr "接收" @@ -1944,8 +1944,8 @@ msgstr "已质押" #: src/widgets/PoolWidget/PoolDetail/index.tsx:219 #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:385 #: src/widgets/PoolWidget/PoolList/AddLiquidity.tsx:749 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:268 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:564 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:284 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:591 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1211 #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:144 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.ts:15 @@ -2189,12 +2189,12 @@ msgstr "初始价格提示" #: src/widgets/PoolWidget/AMMV3/AMMV3PositionManage.tsx:452 #: src/widgets/PoolWidget/AMMV3/components/RemoveButton.tsx:32 #: src/widgets/PoolWidget/PoolDetail/index.tsx:212 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:253 -#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:552 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:269 +#: src/widgets/PoolWidget/PoolList/MyCreated.tsx:579 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:597 #: src/widgets/PoolWidget/PoolList/MyLiquidity.tsx:1198 #: src/widgets/PoolWidget/PoolOperate/hooks/usePoolOperateTabs.ts:16 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:248 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:249 msgid "Remove" msgstr "提取" @@ -2279,7 +2279,7 @@ msgid "In range" msgstr "在区间内" #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:306 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:605 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:607 msgid "There is risk of being arbitraged if adding this liquidity." msgstr "添加资金有可能会被套利,请谨慎操作。" @@ -2334,7 +2334,7 @@ msgid "WARNING" msgstr "警告" #: src/widgets/PoolWidget/PoolList/components/migationWidget.tsx:53 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:556 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:558 msgid "Migrate" msgstr "迁移" @@ -2423,7 +2423,7 @@ msgstr "总奖励 = 每日奖励数量 * 时长" #: src/components/Swap/index.tsx:771 #: src/components/TokenStatusButton.tsx:18 #: src/widgets/PoolWidget/PoolOperate/AddPoolOperate.tsx:146 -#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:248 +#: src/widgets/PoolWidget/PoolOperate/RemovePoolOperate.tsx:249 msgid "Insufficient balance" msgstr "余额不足" diff --git a/packages/dodoex-widgets/src/utils/formatter.ts b/packages/dodoex-widgets/src/utils/formatter.ts index 7a2b4a26..2f643472 100644 --- a/packages/dodoex-widgets/src/utils/formatter.ts +++ b/packages/dodoex-widgets/src/utils/formatter.ts @@ -209,7 +209,7 @@ export const toWei = ( if (notDp) { return result; } - return result.dp(0); + return result.dp(0, BigNumber.ROUND_DOWN); }; export const byWei = ( diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolCreate/hooks/contract/useCreatePoolSubmit.ts b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolCreate/hooks/contract/useCreatePoolSubmit.ts index 6c58982e..f3feec80 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolCreate/hooks/contract/useCreatePoolSubmit.ts +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolCreate/hooks/contract/useCreatePoolSubmit.ts @@ -111,6 +111,7 @@ export const useCreatePoolSubmit = ({ selectedVersion === PoolVersionE.singleToken ) { result = await PoolApi.encode.createDVMPoolABI(...createPrams); + console.log('createDVMPoolABI result', result); } else if (isPrivate) { result = await PoolApi.encode.createDPPPoolABI(...createPrams); } else if (isDsp) { diff --git a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyCreated.tsx b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyCreated.tsx index b440c2f1..bcaa2930 100644 --- a/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyCreated.tsx +++ b/packages/dodoex-widgets/src/widgets/PoolWidget/PoolList/MyCreated.tsx @@ -40,14 +40,21 @@ import { useUserOptions } from '../../../components/UserOptionsProvider'; import { useGraphQLRequests } from '../../../hooks/useGraphQLRequests'; import { CardStatus } from '../../../components/CardWidgets'; +export type OnModifyGspPool = (params: { + chainId: number; + address: string; +}) => void; + function CardList({ account, list, setOperatePool, + onModifyGspPool, }: { account?: string; list: FetchMyCreateListLqList; setOperatePool: (operate: Partial | null) => void; + onModifyGspPool?: OnModifyGspPool; }) { const theme = useTheme(); return ( @@ -72,6 +79,8 @@ function CardList({ item.quoteReserve ? new BigNumber(item.quoteReserve) : null, theme, ); + const canEdit = type === 'DPP' || (!!onModifyGspPool && type === 'GSP'); + return ( {truncatePoolAddress(pairAddress)} - {type === 'DPP' && ( + {canEdit && ( { evt.stopPropagation(); + if (type === 'GSP') { + onModifyGspPool?.({ + chainId: chainId as ChainId, + address: pairAddress as string, + }); + return; + } useRouterStore.getState().push({ type: PageType.ModifyPool, params: { @@ -281,12 +297,14 @@ function TableList({ loading, operatePool, setOperatePool, + onModifyGspPool, }: { account?: string; list: FetchMyCreateListLqList; loading: boolean; operatePool: Partial | null; setOperatePool: (operate: Partial | null) => void; + onModifyGspPool?: OnModifyGspPool; }) { const theme = useTheme(); const router = useRouterStore(); @@ -349,6 +367,8 @@ function TableList({ } } const hoverBg = theme.palette.background.tag; + const canEdit = + type === 'DPP' || (!!onModifyGspPool && type === 'GSP'); return ( - {isDpp ? ( + {canEdit ? ( { + if (type === 'GSP') { + onModifyGspPool?.({ + chainId: chainId as ChainId, + address: pairAddress as string, + }); + return; + } router.push({ type: PageType.ModifyPool, params: { @@ -583,6 +610,7 @@ export default function MyCreated({ operatePool, setOperatePool, supportAMMIcon, + onModifyGspPool, }: { account?: string; filterChainIds?: ChainId[]; @@ -592,6 +620,7 @@ export default function MyCreated({ operatePool: Partial | null; setOperatePool: (operate: Partial | null) => void; supportAMMIcon?: boolean; + onModifyGspPool?: OnModifyGspPool; }) { const { isMobile } = useWidgetDevice(); const { onlyChainId } = useUserOptions(); @@ -699,6 +728,7 @@ export default function MyCreated({ account={account} list={list} setOperatePool={setOperatePool} + onModifyGspPool={onModifyGspPool} /> ) : ( @@ -709,6 +739,7 @@ export default function MyCreated({ loading={fetchResult.isLoading} operatePool={operatePool} setOperatePool={setOperatePool} + onModifyGspPool={onModifyGspPool} /> ['params']; scrollRef?: React.RefObject; @@ -57,6 +58,7 @@ export default function PoolList({ getMigrationPairAndMining?: GetMigrationPairAndMining; showMigrationPairAndMining?: ShowMigrationPairAndMining; supportAMMIcon?: boolean; + onModifyGspPool?: OnModifyGspPool; }) { const { isMobile } = useWidgetDevice(); @@ -207,6 +209,7 @@ export default function PoolList({ operatePool={operatePool} setOperatePool={setOperatePool} supportAMMIcon={supportAMMIcon} + onModifyGspPool={onModifyGspPool} /> @@ -279,15 +282,9 @@ export default function PoolList({ ) : (