UNPKG

@baking-bad/tezos-etherlink-bridge-sdk

Version:

SDK designed for building token bridge applications between Tezos (L1) and Etherlink (L2)

11 lines (10 loc) 372 B
import type { Token } from './token'; export interface NativeEtherlinkToken extends Token { readonly type: 'native'; } export interface ERC20EtherlinkToken extends Token { readonly type: 'erc20'; readonly address: string; } export type NonNativeEtherlinkToken = ERC20EtherlinkToken; export type EtherlinkToken = NativeEtherlinkToken | NonNativeEtherlinkToken;