Skip to content

Conversation

@ncomerci
Copy link
Member

@ncomerci ncomerci commented Jan 2, 2026

Usage example:

import { Tokens } from '@mimicprotocol/lib-ts'

import { inputs } from './types'

export default function main(): void {
  const sourceChain = inputs.sourceChain
  const destinationChain = inputs.destinationChain

  const tokenIn = Tokens.USDC.on(sourceChain)
  const tokenOut = Tokens.USDC.on(destinationChain)

  // ...
}

TODO:

@ncomerci ncomerci self-assigned this Jan 2, 2026
@ncomerci ncomerci requested a review from alavarello January 2, 2026 18:14
@@ -0,0 +1,129 @@
import { Arbitrum, Base, BaseSepolia, Ethereum, Gnosis, Optimism, Sonic } from '../chains'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add some tests for this class, you can test one of the static functions.

I know that you added some examples in the comments but it's also good to know how it should be use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants