Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/swapper/src/swappers/NearIntentsSwapper/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const nearIntentsSupportedChainIds = [
KnownChainIds.SolanaMainnet,
KnownChainIds.TronMainnet,
KnownChainIds.SuiMainnet,
KnownChainIds.MonadMainnet,
] as const

export type NearIntentsSupportedChainId = (typeof nearIntentsSupportedChainIds)[number]
Expand All @@ -40,4 +41,5 @@ export const chainIdToNearIntentsChain: Record<NearIntentsSupportedChainId, stri
[KnownChainIds.SolanaMainnet]: 'sol',
[KnownChainIds.TronMainnet]: 'tron',
[KnownChainIds.SuiMainnet]: 'sui',
[KnownChainIds.MonadMainnet]: 'monad',
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const getNearIntentsAsset = ({
return `nep141:${nearNetwork}-${contractAddress.toLowerCase()}.omft.near`
}

const NEP245_CHAINS = ['bsc', 'pol', 'avax', 'op', 'tron'] as const
const NEP245_CHAINS = ['bsc', 'pol', 'avax', 'op', 'tron', 'monad'] as const
Comment thread
NeOMakinG marked this conversation as resolved.
const TOKEN_LOOKUP_CHAINS = ['sui'] as const

export const assetToNearIntentsAsset = async (asset: Asset): Promise<string | null> => {
Expand Down