UNPKG

@btc-vision/btc-runtime

Version:

Bitcoin L1 Smart Contract Runtime for OP_NET. Build decentralized applications on Bitcoin using AssemblyScript and WebAssembly. Fully audited.

18 lines (15 loc) 489 B
import { u256 } from '@btc-vision/as-bignum/assembly'; export class OP20InitParameters { readonly maxSupply: u256; readonly decimals: u8; readonly name: string; readonly symbol: string; readonly icon: string; constructor(maxSupply: u256, decimals: u8, name: string, symbol: string, icon: string = '') { this.maxSupply = maxSupply; this.decimals = decimals; this.name = name; this.symbol = symbol; this.icon = icon; } }