uniswap-interface-uncensored/src/react-app-env.d.ts

28 lines
728 B
TypeScript
Raw Normal View History

/// <reference types="react-scripts" />
declare module '@metamask/jazzicon' {
2021-02-16 11:46:17 +03:00
export default function (diameter: number, seed: number): HTMLElement
}
declare module 'fortmatic'
interface Window {
ethereum?: {
isMetaMask?: true
on?: (...args: any[]) => void
removeListener?: (...args: any[]) => void
autoRefreshOnNetworkChange?: boolean
}
2021-03-31 10:40:13 +03:00
web3?: Record<string, unknown>
}
declare module 'content-hash' {
declare function decode(x: string): string
declare function getCodec(x: string): string
}
declare module 'multihashes' {
declare function decode(buff: Uint8Array): { code: number; name: string; length: number; digest: Uint8Array }
declare function toB58String(hash: Uint8Array): string
}