// this file is adapted from viem // see it here https://github.com/wevm/viem/blob/main/src/types/eip1193.ts // Copied from viem commit a098c98231d47ccac9bda1a944880b034020a1b5 // We copy it here for easier developer experience internally and also // to lock in these types independent of viem potentially making changes // import type { Address } from 'abitype' /** * Parameters for the `watchAsset` method. */ export type WatchAssetParams = { /** Token type. */ type: 'ERC20' options: { /** The address of the token contract */ address: string /** A ticker symbol or shorthand, up to 11 characters */ symbol: string /** The number of token decimals */ decimals: number /** A string url of the token logo */ image?: string } }