UNPKG

@btc-vision/btc-runtime

Version:

Bitcoin Smart Contract Runtime

10 lines (8 loc) 401 B
import { DeployableOP_20 } from './DeployableOP_20'; import { u256 } from '@btc-vision/as-bignum/assembly'; import { OP20InitParameters } from './interfaces/OP20InitParameters'; export abstract class OP_20 extends DeployableOP_20 { public constructor(maxSupply: u256, decimals: u8, name: string, symbol: string) { super(new OP20InitParameters(maxSupply, decimals, name, symbol)); } }