@btc-vision/btc-runtime
Version:
Bitcoin L1 Smart Contract Runtime for OP_NET. Build decentralized applications on Bitcoin using AssemblyScript and WebAssembly. Fully audited.
35 lines (30 loc) • 895 B
text/typescript
import { u256 } from '@btc-vision/as-bignum/assembly';
export class OP721InitParameters {
public name: string;
public symbol: string;
public baseURI: string;
public maxSupply: u256;
public banner: string;
public icon: string;
public website: string;
public description: string;
constructor(
name: string,
symbol: string,
baseURI: string,
maxSupply: u256,
collectionBanner: string = '',
collectionIcon: string = '',
collectionWebsite: string = '',
collectionDescription: string = '',
) {
this.name = name;
this.symbol = symbol;
this.baseURI = baseURI;
this.maxSupply = maxSupply;
this.banner = collectionBanner;
this.icon = collectionIcon;
this.website = collectionWebsite;
this.description = collectionDescription;
}
}