import { ByteString, Ripemd160, UTXO } from "scrypt-ts"; import { Covenant } from "../lib/covenant"; import { OpenMinterCat20Meta } from "../lib/metadata"; import { OpenMinterV2State } from "../contracts/token/openMinterV2Proto"; import { SupportedNetwork } from "../lib/constants"; import { CatPsbt } from "../lib/catPsbt"; import { Psbt } from "bitcoinjs-lib"; import { ProtocolState } from "../lib/state"; export declare class OpenMinterV2Covenant extends Covenant { readonly tokenId: string; static readonly LOCKED_ASM_VERSION = "a6c2e92d74a23c07bb6220b676c6cb9b"; readonly tokenScript: ByteString; constructor(tokenId: string, metadata: OpenMinterCat20Meta, state?: OpenMinterV2State, network?: SupportedNetwork); serializedState(): ByteString; static buildCommitTx(info: OpenMinterCat20Meta, address: string, pubkey: string, feeUtxos: UTXO[], totalOutputsAmount: number, changeAddress: string, feeRate: number): Psbt; static buildRevealTx(commitUtxo: UTXO, metadata: OpenMinterCat20Meta, address: string, pubkey: string, feeUtxos: UTXO[]): { tokenId: string; minterAddr: string; tokenAddr: string; revealPsbt: CatPsbt; }; static buildMintTx(spentMinterPreTxHex: string, spentMinterTxHex: string, spentMinterTxState: ProtocolState, spentMinter: OpenMinterV2Covenant, tokenReceiver: Ripemd160, feeUtxos: UTXO[], feeRate: number, changeAddress: string, estimatedVSize?: number, preminterAddress?: string, preminerPubKey?: string): CatPsbt; static fromMintTx(tokenId: string, info: OpenMinterCat20Meta, txHex: string, outputIndex?: number): OpenMinterV2Covenant; private createNextMinters; private createToken; } //# sourceMappingURL=openMinterV2Covenant.d.ts.map