@btc-vision/btc-runtime
Version:
Bitcoin Smart Contract Runtime
16 lines (13 loc) • 417 B
text/typescript
import { u256 } from '@btc-vision/as-bignum/assembly';
export class OP20InitParameters {
readonly maxSupply: u256;
readonly decimals: u8;
readonly name: string;
readonly symbol: string;
constructor(maxSupply: u256, decimals: u8, name: string, symbol: string) {
this.maxSupply = maxSupply;
this.decimals = decimals;
this.name = name;
this.symbol = symbol;
}
}