kodadot/nft-gallery

View on GitHub
libs/static/src/types.ts

Summary

Maintainability
A
0 mins
Test Coverage
export type Prefix = 'ksm' | 'ahk' | 'dot' | 'ahp' | 'imx' | 'base' | 'mnt'
//  | 'ahr'
// | 'glmr'
// | 'movr'

export type Squid = 'stick' | 'speck' | 'flick' | 'basick' | 'flock'
// | 'snack'
// | 'click'
// | 'antick'

export type ChainVM = 'SUB' | 'EVM'

export type Config<T = boolean> = Record<Prefix, T>

export type Option = {
  disabled?: boolean
  info: string
  text: string
  value: string | number
}

export type ApolloEndpoint = {
  httpEndpoint: string
}

export type ChainProperties = {
  ss58Format: number
  tokenDecimals: number
  tokenSymbol: string
  blockExplorer?: string
  genesisHash?: string
  vm: ChainVM // vm stands for vitrual machine
}