UNPKG

chia-wallet-sdk-wasm

Version:
1,205 lines (1,202 loc) 93.3 kB
/* tslint:disable */ /* eslint-disable */ export function setPanicHook(): void; export type ClvmType = Program | PublicKey | Signature | K1PublicKey | K1Signature | R1PublicKey | R1Signature | Remark | AggSigParent | AggSigPuzzle | AggSigAmount | AggSigPuzzleAmount | AggSigParentAmount | AggSigParentPuzzle | AggSigUnsafe | AggSigMe | CreateCoin | ReserveFee | CreateCoinAnnouncement | CreatePuzzleAnnouncement | AssertCoinAnnouncement | AssertPuzzleAnnouncement | AssertConcurrentSpend | AssertConcurrentPuzzle | AssertSecondsRelative | AssertSecondsAbsolute | AssertHeightRelative | AssertHeightAbsolute | AssertBeforeSecondsRelative | AssertBeforeSecondsAbsolute | AssertBeforeHeightRelative | AssertBeforeHeightAbsolute | AssertMyCoinId | AssertMyParentId | AssertMyPuzzleHash | AssertMyAmount | AssertMyBirthSeconds | AssertMyBirthHeight | AssertEphemeral | SendMessage | ReceiveMessage | Softfork | Pair | NftMetadata | CurriedProgram | MipsMemo | InnerPuzzleMemo | RestrictionMemo | WrapperMemo | Force1of2RestrictedVariableMemo | MemoKind | MemberMemo | MofNMemo | MeltSingleton | TransferNft | RunCatTail | UpdateNftMetadata | UpdateDataStoreMerkleRoot | OptionMetadata | NotarizedPayment | Payment | string | bigint | number | boolean | Uint8Array | null | undefined | ClvmType[]; export function mOfNHash(config: MemberConfig, required: number, items: Uint8Array[]): Uint8Array; export function k1MemberHash(config: MemberConfig, publicKey: K1PublicKey, fastForward: boolean): Uint8Array; export function r1MemberHash(config: MemberConfig, publicKey: R1PublicKey, fastForward: boolean): Uint8Array; export function blsMemberHash(config: MemberConfig, publicKey: PublicKey): Uint8Array; export function passkeyMemberHash(config: MemberConfig, publicKey: R1PublicKey, fastForward: boolean): Uint8Array; export function singletonMemberHash(config: MemberConfig, launcherId: Uint8Array): Uint8Array; export function fixedMemberHash(config: MemberConfig, fixedPuzzleHash: Uint8Array): Uint8Array; export function customMemberHash(config: MemberConfig, innerHash: Uint8Array): Uint8Array; export function timelockRestriction(timelock: bigint): Restriction; export function force1Of2Restriction(leftSideSubtreeHash: Uint8Array, nonce: number, memberValidatorListHash: Uint8Array, delegatedPuzzleValidatorListHash: Uint8Array): Restriction; export function preventConditionOpcodeRestriction(conditionOpcode: number): Restriction; export function preventMultipleCreateCoinsRestriction(): Restriction; export function preventVaultSideEffectsRestriction(): Restriction[]; export function wrappedDelegatedPuzzleHash(restrictions: Restriction[], delegatedPuzzleHash: Uint8Array): Uint8Array; export function encodeOffer(spendBundle: SpendBundle): string; export function decodeOffer(offer: string): SpendBundle; export function standardPuzzleHash(syntheticKey: PublicKey): Uint8Array; export function catPuzzleHash(assetId: Uint8Array, innerPuzzleHash: Uint8Array): Uint8Array; export function bulletinPuzzleHash(hiddenPuzzleHash: Uint8Array): Uint8Array; export function fromHex(value: string): Uint8Array; export function toHex(value: Uint8Array): string; export function bytesEqual(lhs: Uint8Array, rhs: Uint8Array): boolean; export function treeHashAtom(atom: Uint8Array): Uint8Array; export function treeHashPair(first: Uint8Array, rest: Uint8Array): Uint8Array; export function sha256(value: Uint8Array): Uint8Array; export function curryTreeHash(program: Uint8Array, args: Uint8Array[]): Uint8Array; export function generateBytes(bytes: number): Uint8Array; export class Address { free(): void; __getClassname(): string; clone(): Address; constructor(puzzleHash: Uint8Array, prefix: string); puzzleHash: Uint8Array; prefix: string; encode(): string; static decode(address: string): Address; } export class SecretKey { free(): void; __getClassname(): string; clone(): SecretKey; static fromSeed(seed: Uint8Array): SecretKey; static fromBytes(bytes: Uint8Array): SecretKey; toBytes(): Uint8Array; publicKey(): PublicKey; sign(message: Uint8Array): Signature; deriveUnhardened(index: number): SecretKey; deriveHardened(index: number): SecretKey; deriveUnhardenedPath(path: number[]): SecretKey; deriveHardenedPath(path: number[]): SecretKey; deriveSynthetic(): SecretKey; deriveSyntheticHidden(hiddenPuzzleHash: Uint8Array): SecretKey; } export class PublicKey { free(): void; __getClassname(): string; clone(): PublicKey; static infinity(): PublicKey; static aggregate(publicKeys: PublicKey[]): PublicKey; static aggregateVerify(publicKeys: PublicKey[], messages: Uint8Array[], signature: Signature): boolean; static fromBytes(bytes: Uint8Array): PublicKey; toBytes(): Uint8Array; verify(message: Uint8Array, signature: Signature): boolean; fingerprint(): number; isInfinity(): boolean; isValid(): boolean; deriveUnhardened(index: number): PublicKey; deriveUnhardenedPath(path: number[]): PublicKey; deriveSynthetic(): PublicKey; deriveSyntheticHidden(hiddenPuzzleHash: Uint8Array): PublicKey; } export class Signature { free(): void; __getClassname(): string; clone(): Signature; static infinity(): Signature; static aggregate(signatures: Signature[]): Signature; static fromBytes(bytes: Uint8Array): Signature; toBytes(): Uint8Array; isInfinity(): boolean; isValid(): boolean; } export class Clvm { free(): void; __getClassname(): string; clone(): Clvm; constructor(); addCoinSpend(coinSpend: CoinSpend): void; spendCoin(coin: Coin, spend: Spend): void; coinSpends(): CoinSpend[]; parse(program: string): Program; deserialize(value: Uint8Array): Program; deserializeWithBackrefs(value: Uint8Array): Program; cache(modHash: Uint8Array, value: Uint8Array): Program; alloc(value: ClvmType): Program; pair(first: Program, rest: Program): Program; nil(): Program; int(value: bigint): Program; boundCheckedNumber(value: number): Program; string(value: string): Program; bool(value: boolean): Program; atom(value: Uint8Array): Program; list(value: Program[]): Program; delegatedSpend(conditions: Program[]): Spend; standardSpend(syntheticKey: PublicKey, spend: Spend): Spend; spendStandardCoin(coin: Coin, syntheticKey: PublicKey, spend: Spend): void; settlementSpend(notarizedPayments: NotarizedPayment[]): Spend; spendSettlementCoin(coin: Coin, notarizedPayments: NotarizedPayment[]): void; spendCats(catSpends: CatSpend[]): Cat[]; mintNfts(parentCoinId: Uint8Array, nftMints: NftMint[]): MintedNfts; spendNft(nft: Nft, innerSpend: Spend): Nft; createEveDid(parentCoinId: Uint8Array, p2PuzzleHash: Uint8Array): CreatedDid; spendDid(did: Did, innerSpend: Spend): Did | undefined; spendOption(option: OptionContract, innerSpend: Spend): OptionContract | undefined; spendStreamedAsset(streamedAsset: StreamedAsset, paymentTime: bigint, clawback: boolean): void; mintVault(parentCoinId: Uint8Array, custodyHash: Uint8Array, memos: Program): VaultMint; createBulletin(parentCoinId: Uint8Array, hiddenPuzzleHash: Uint8Array, messages: BulletinMessage[]): CreatedBulletin; mipsSpend(coin: Coin, delegatedSpend: Spend): MipsSpend; nftMetadata(value: NftMetadata): Program; mipsMemo(value: MipsMemo): Program; innerPuzzleMemo(value: InnerPuzzleMemo): Program; restrictionMemo(value: RestrictionMemo): Program; wrapperMemo(value: WrapperMemo): Program; force1Of2RestrictedVariableMemo(value: Force1of2RestrictedVariableMemo): Program; memoKind(value: MemoKind): Program; memberMemo(value: MemberMemo): Program; mOfNMemo(value: MofNMemo): Program; remark(rest: Program): Program; aggSigParent(publicKey: PublicKey, message: Uint8Array): Program; aggSigPuzzle(publicKey: PublicKey, message: Uint8Array): Program; aggSigAmount(publicKey: PublicKey, message: Uint8Array): Program; aggSigPuzzleAmount(publicKey: PublicKey, message: Uint8Array): Program; aggSigParentAmount(publicKey: PublicKey, message: Uint8Array): Program; aggSigParentPuzzle(publicKey: PublicKey, message: Uint8Array): Program; aggSigUnsafe(publicKey: PublicKey, message: Uint8Array): Program; aggSigMe(publicKey: PublicKey, message: Uint8Array): Program; createCoin(puzzleHash: Uint8Array, amount: bigint, memos?: Program | undefined): Program; reserveFee(amount: bigint): Program; createCoinAnnouncement(message: Uint8Array): Program; createPuzzleAnnouncement(message: Uint8Array): Program; assertCoinAnnouncement(announcementId: Uint8Array): Program; assertPuzzleAnnouncement(announcementId: Uint8Array): Program; assertConcurrentSpend(coinId: Uint8Array): Program; assertConcurrentPuzzle(puzzleHash: Uint8Array): Program; assertSecondsRelative(seconds: bigint): Program; assertSecondsAbsolute(seconds: bigint): Program; assertHeightRelative(height: number): Program; assertHeightAbsolute(height: number): Program; assertBeforeSecondsRelative(seconds: bigint): Program; assertBeforeSecondsAbsolute(seconds: bigint): Program; assertBeforeHeightRelative(height: number): Program; assertBeforeHeightAbsolute(height: number): Program; assertMyCoinId(coinId: Uint8Array): Program; assertMyParentId(parentId: Uint8Array): Program; assertMyPuzzleHash(puzzleHash: Uint8Array): Program; assertMyAmount(amount: bigint): Program; assertMyBirthSeconds(seconds: bigint): Program; assertMyBirthHeight(height: number): Program; assertEphemeral(): Program; sendMessage(mode: number, message: Uint8Array, data: Program[]): Program; receiveMessage(mode: number, message: Uint8Array, data: Program[]): Program; softfork(cost: bigint, rest: Program): Program; meltSingleton(): Program; transferNft(launcherId: Uint8Array | undefined, tradePrices: TradePrice[], singletonInnerPuzzleHash?: Uint8Array | undefined): Program; runCatTail(program: Program, solution: Program): Program; updateNftMetadata(updaterPuzzleReveal: Program, updaterSolution: Program): Program; updateDataStoreMerkleRoot(newMerkleRoot: Uint8Array, memos: Uint8Array[]): Program; parseChildStreamedAsset(coinSpend: CoinSpend): StreamedAssetParsingResult; parseChildMedievalVault(coinSpend: CoinSpend): MedievalVault | undefined; spendMedievalVault(medievalVault: MedievalVault, usedPubkeys: PublicKey[], conditions: Program[], genesisChallenge: Uint8Array): void; spendMedievalVaultUnsafe(medievalVault: MedievalVault, usedPubkeys: PublicKey[], delegatedSpend: Spend): void; medievalVaultRekeyDelegatedPuzzle(launcherId: Uint8Array, newM: usize, newPubkeys: PublicKey[], coinId: Uint8Array, genesisChallenge: Uint8Array): Program; medievalVaultSendMessageDelegatedPuzzle(message: Uint8Array, receiverLauncherId: Uint8Array, myCoin: Coin, myInfo: MedievalVaultInfo, genesisChallenge: Uint8Array): Program; rewardDistributorFromSpend(spend: CoinSpend, reserveLineageProof: LineageProof | undefined, constants: RewardDistributorConstants): RewardDistributor | undefined; rewardDistributorFromParentSpend(parentSpend: CoinSpend, constants: RewardDistributorConstants): RewardDistributor | undefined; rewardDistributorFromEveCoinSpend(constants: RewardDistributorConstants, initialState: RewardDistributorState, eveCoinSpend: CoinSpend, reserveParentId: Uint8Array, reserveLineageProof: LineageProof): RewardDistributorInfoFromEveCoin | undefined; launchRewardDistributor(offer: SpendBundle, firstEpochStart: bigint, catRefundPuzzleHash: Uint8Array, constants: RewardDistributorConstants, mainnet: boolean, comment: string): RewardDistributorLaunchResult; createOfferSecurityCoin(offer: SpendBundle): OfferSecurityCoinDetails; spendOfferSecurityCoin(securityCoinDetails: OfferSecurityCoinDetails, conditions: Program[], mainnet: boolean): Signature; spendSettlementNft(offer: SpendBundle, nftLauncherId: Uint8Array, nonce: Uint8Array, destinationPuzzleHash: Uint8Array): SettlementNftSpendResult; offerSettlementCats(offer: SpendBundle, assetId: Uint8Array): Cat[]; offerSettlementNft(offer: SpendBundle, nftLauncherId: Uint8Array): Nft | undefined; acsTransferProgram(): Program; augmentedCondition(): Program; blockProgramZero(): Program; catPuzzle(): Program; chialispDeserialisation(): Program; conditionsWFeeAnnounce(): Program; covenantLayer(): Program; createNftLauncherFromDid(): Program; credentialRestriction(): Program; daoCatEve(): Program; daoCatLauncher(): Program; daoFinishedState(): Program; daoLockup(): Program; daoProposal(): Program; daoProposalTimer(): Program; daoProposalValidator(): Program; daoSpendP2Singleton(): Program; daoTreasury(): Program; daoUpdateProposal(): Program; decompressCoinSpendEntry(): Program; decompressCoinSpendEntryWithPrefix(): Program; decompressPuzzle(): Program; delegatedTail(): Program; didInnerpuzzle(): Program; emlCovenantMorpher(): Program; emlTransferProgramCovenantAdapter(): Program; emlUpdateMetadataWithDid(): Program; everythingWithSignature(): Program; exigentMetadataLayer(): Program; flagProofsChecker(): Program; genesisByCoinId(): Program; genesisByCoinIdOrSingleton(): Program; genesisByPuzzleHash(): Program; graftrootDlOffers(): Program; nftIntermediateLauncher(): Program; nftMetadataUpdaterDefault(): Program; nftMetadataUpdaterUpdateable(): Program; nftOwnershipLayer(): Program; nftOwnershipTransferProgramOneWayClaimWithRoyalties(): Program; nftStateLayer(): Program; notification(): Program; p21OfN(): Program; p2AnnouncedDelegatedPuzzle(): Program; p2Conditions(): Program; p2DelegatedConditions(): Program; p2DelegatedPuzzle(): Program; p2DelegatedPuzzleOrHiddenPuzzle(): Program; p2MOfNDelegateDirect(): Program; p2Parent(): Program; p2PuzzleHash(): Program; p2Singleton(): Program; p2SingletonAggregator(): Program; p2SingletonOrDelayedPuzzleHash(): Program; p2SingletonViaDelegatedPuzzle(): Program; poolMemberInnerpuzzle(): Program; poolWaitingroomInnerpuzzle(): Program; revocationLayer(): Program; romBootstrapGenerator(): Program; settlementPayment(): Program; singletonLauncher(): Program; singletonTopLayer(): Program; singletonTopLayerV11(): Program; standardVcRevocationPuzzle(): Program; stdParentMorpher(): Program; optionContract(): Program; p2CurriedPuzzle(): Program; blsMember(): Program; blsTaprootMember(): Program; fixedPuzzleMember(): Program; k1MemberPuzzleAssert(): Program; k1Member(): Program; passkeyMemberPuzzleAssert(): Program; passkeyMember(): Program; r1MemberPuzzleAssert(): Program; r1Member(): Program; singletonMember(): Program; enforceDelegatedPuzzleWrappers(): Program; force1Of2RestrictedVariable(): Program; forceAssertCoinAnnouncement(): Program; forceCoinMessage(): Program; preventConditionOpcode(): Program; preventMultipleCreateCoins(): Program; timelock(): Program; addDelegatedPuzzleWrapper(): Program; delegatedPuzzleFeeder(): Program; restrictions(): Program; indexWrapper(): Program; mOfN(): Program; nOfN(): Program; oneOfN(): Program; } export class Output { free(): void; __getClassname(): string; clone(): Output; constructor(value: Program, cost: bigint); value: Program; cost: bigint; } export class Pair { free(): void; __getClassname(): string; clone(): Pair; constructor(first: Program, rest: Program); first: Program; rest: Program; } export class CurriedProgram { free(): void; __getClassname(): string; clone(): CurriedProgram; constructor(program: Program, args: Program[]); program: Program; args: Program[]; } export class Proof { free(): void; __getClassname(): string; clone(): Proof; constructor(parentParentCoinInfo: Uint8Array, parentInnerPuzzleHash: Uint8Array | undefined, parentAmount: bigint); parentParentCoinInfo: Uint8Array; parentInnerPuzzleHash: Uint8Array | undefined; parentAmount: bigint; toLineageProof(): LineageProof | undefined; } export class LineageProof { free(): void; __getClassname(): string; clone(): LineageProof; constructor(parentParentCoinInfo: Uint8Array, parentInnerPuzzleHash: Uint8Array, parentAmount: bigint); parentParentCoinInfo: Uint8Array; parentInnerPuzzleHash: Uint8Array; parentAmount: bigint; toProof(): Proof; } export class OfferSecurityCoinDetails { free(): void; __getClassname(): string; clone(): OfferSecurityCoinDetails; constructor(securityCoin: Coin, securityCoinSk: SecretKey); securityCoin: Coin; securityCoinSk: SecretKey; } export class SettlementNftSpendResult { free(): void; __getClassname(): string; clone(): SettlementNftSpendResult; constructor(newNft: Nft, securityConditions: Program[]); newNft: Nft; securityConditions: Program[]; } export class Coin { free(): void; __getClassname(): string; clone(): Coin; constructor(parentCoinInfo: Uint8Array, puzzleHash: Uint8Array, amount: bigint); parentCoinInfo: Uint8Array; puzzleHash: Uint8Array; amount: bigint; coinId(): Uint8Array; } export class CoinSpend { free(): void; __getClassname(): string; clone(): CoinSpend; constructor(coin: Coin, puzzleReveal: Uint8Array, solution: Uint8Array); coin: Coin; puzzleReveal: Uint8Array; solution: Uint8Array; } export class SpendBundle { free(): void; __getClassname(): string; clone(): SpendBundle; constructor(coinSpends: CoinSpend[], aggregatedSignature: Signature); coinSpends: CoinSpend[]; aggregatedSignature: Signature; toBytes(): Uint8Array; static fromBytes(bytes: Uint8Array): SpendBundle; hash(): Uint8Array; } export class Spend { free(): void; __getClassname(): string; clone(): Spend; constructor(puzzle: Program, solution: Program); puzzle: Program; solution: Program; } export class CoinsetClient { free(): void; __getClassname(): string; clone(): CoinsetClient; constructor(baseUrl: string); static testnet11(): CoinsetClient; static mainnet(): CoinsetClient; getBlockchainState(): Promise<BlockchainStateResponse>; getAdditionsAndRemovals(headerHash: Uint8Array): Promise<AdditionsAndRemovalsResponse>; getBlock(headerHash: Uint8Array): Promise<GetBlockResponse>; getBlockRecord(headerHash: Uint8Array): Promise<GetBlockRecordResponse>; getBlockRecordByHeight(height: number): Promise<GetBlockRecordResponse>; getBlockRecords(startHeight: number, endHeight: number): Promise<GetBlockRecordsResponse>; getBlocks(start: number, end: number, excludeHeaderHash: boolean, excludeReorged: boolean): Promise<GetBlocksResponse>; getBlockSpends(headerHash: Uint8Array): Promise<GetBlockSpendsResponse>; getCoinRecordByName(name: Uint8Array): Promise<GetCoinRecordResponse>; getCoinRecordsByHint(hint: Uint8Array, startHeight?: number | undefined, endHeight?: number | undefined, includeSpentCoins?: boolean | undefined): Promise<GetCoinRecordsResponse>; getCoinRecordsByHints(hints: Uint8Array[], startHeight?: number | undefined, endHeight?: number | undefined, includeSpentCoins?: boolean | undefined): Promise<GetCoinRecordsResponse>; getCoinRecordsByNames(names: Uint8Array[], startHeight?: number | undefined, endHeight?: number | undefined, includeSpentCoins?: boolean | undefined): Promise<GetCoinRecordsResponse>; getCoinRecordsByParentIds(parentIds: Uint8Array[], startHeight?: number | undefined, endHeight?: number | undefined, includeSpentCoins?: boolean | undefined): Promise<GetCoinRecordsResponse>; getCoinRecordsByPuzzleHash(puzzleHash: Uint8Array, startHeight?: number | undefined, endHeight?: number | undefined, includeSpentCoins?: boolean | undefined): Promise<GetCoinRecordsResponse>; getCoinRecordsByPuzzleHashes(puzzleHashes: Uint8Array[], startHeight?: number | undefined, endHeight?: number | undefined, includeSpentCoins?: boolean | undefined): Promise<GetCoinRecordsResponse>; getPuzzleAndSolution(coinId: Uint8Array, height?: number | undefined): Promise<GetPuzzleAndSolutionResponse>; pushTx(spendBundle: SpendBundle): Promise<PushTxResponse>; getNetworkInfo(): Promise<GetNetworkInfoResponse>; getMempoolItemByTxId(txId: Uint8Array): Promise<GetMempoolItemResponse>; getMempoolItemsByCoinName(coinName: Uint8Array): Promise<GetMempoolItemsResponse>; } export class BlockchainStateResponse { free(): void; __getClassname(): string; clone(): BlockchainStateResponse; constructor(blockchainState: BlockchainState | undefined, error: string | undefined, success: boolean); blockchainState: BlockchainState | undefined; error: string | undefined; success: boolean; } export class BlockchainState { free(): void; __getClassname(): string; clone(): BlockchainState; constructor(averageBlockTime: bigint, blockMaxCost: bigint, difficulty: bigint, genesisChallengeInitialized: boolean, mempoolCost: bigint, mempoolFees: bigint, mempoolMaxTotalCost: bigint, mempoolMinFees: MempoolMinFees, mempoolSize: number, nodeId: Uint8Array, peak: BlockRecord, space: bigint, subSlotIters: bigint, sync: SyncState); averageBlockTime: bigint; blockMaxCost: bigint; difficulty: bigint; genesisChallengeInitialized: boolean; mempoolCost: bigint; mempoolFees: bigint; mempoolMaxTotalCost: bigint; mempoolMinFees: MempoolMinFees; mempoolSize: number; nodeId: Uint8Array; peak: BlockRecord; space: bigint; subSlotIters: bigint; sync: SyncState; } export class MempoolMinFees { free(): void; __getClassname(): string; clone(): MempoolMinFees; constructor(cost5000000: bigint); cost5000000: bigint; } export class SyncState { free(): void; __getClassname(): string; clone(): SyncState; constructor(syncMode: boolean, syncProgressHeight: number, syncTipHeight: number, synced: boolean); syncMode: boolean; syncProgressHeight: number; syncTipHeight: number; synced: boolean; } export class AdditionsAndRemovalsResponse { free(): void; __getClassname(): string; clone(): AdditionsAndRemovalsResponse; constructor(additions: CoinRecord[] | undefined, removals: CoinRecord[] | undefined, error: string | undefined, success: boolean); additions: CoinRecord[] | undefined; removals: CoinRecord[] | undefined; error: string | undefined; success: boolean; } export class GetBlockResponse { free(): void; __getClassname(): string; clone(): GetBlockResponse; constructor(block: FullBlock | undefined, error: string | undefined, success: boolean); block: FullBlock | undefined; error: string | undefined; success: boolean; } export class GetBlockRecordResponse { free(): void; __getClassname(): string; clone(): GetBlockRecordResponse; constructor(blockRecord: BlockRecord | undefined, error: string | undefined, success: boolean); blockRecord: BlockRecord | undefined; error: string | undefined; success: boolean; } export class GetBlockRecordsResponse { free(): void; __getClassname(): string; clone(): GetBlockRecordsResponse; constructor(blockRecords: BlockRecord[] | undefined, error: string | undefined, success: boolean); blockRecords: BlockRecord[] | undefined; error: string | undefined; success: boolean; } export class GetBlocksResponse { free(): void; __getClassname(): string; clone(): GetBlocksResponse; constructor(blocks: FullBlock[] | undefined, error: string | undefined, success: boolean); blocks: FullBlock[] | undefined; error: string | undefined; success: boolean; } export class GetBlockSpendsResponse { free(): void; __getClassname(): string; clone(): GetBlockSpendsResponse; constructor(blockSpends: CoinSpend[] | undefined, error: string | undefined, success: boolean); blockSpends: CoinSpend[] | undefined; error: string | undefined; success: boolean; } export class GetCoinRecordResponse { free(): void; __getClassname(): string; clone(): GetCoinRecordResponse; constructor(coinRecord: CoinRecord | undefined, error: string | undefined, success: boolean); coinRecord: CoinRecord | undefined; error: string | undefined; success: boolean; } export class GetCoinRecordsResponse { free(): void; __getClassname(): string; clone(): GetCoinRecordsResponse; constructor(coinRecords: CoinRecord[] | undefined, error: string | undefined, success: boolean); coinRecords: CoinRecord[] | undefined; error: string | undefined; success: boolean; } export class GetPuzzleAndSolutionResponse { free(): void; __getClassname(): string; clone(): GetPuzzleAndSolutionResponse; constructor(coinSolution: CoinSpend | undefined, error: string | undefined, success: boolean); coinSolution: CoinSpend | undefined; error: string | undefined; success: boolean; } export class PushTxResponse { free(): void; __getClassname(): string; clone(): PushTxResponse; constructor(status: string, error: string | undefined, success: boolean); status: string; error: string | undefined; success: boolean; } export class GetNetworkInfoResponse { free(): void; __getClassname(): string; clone(): GetNetworkInfoResponse; constructor(networkName: string | undefined, networkPrefix: string | undefined, genesisChallenge: Uint8Array | undefined, error: string | undefined, success: boolean); networkName: string | undefined; networkPrefix: string | undefined; genesisChallenge: Uint8Array | undefined; error: string | undefined; success: boolean; } export class GetMempoolItemResponse { free(): void; __getClassname(): string; clone(): GetMempoolItemResponse; constructor(mempoolItem: MempoolItem | undefined, error: string | undefined, success: boolean); mempoolItem: MempoolItem | undefined; error: string | undefined; success: boolean; } export class GetMempoolItemsResponse { free(): void; __getClassname(): string; clone(): GetMempoolItemsResponse; constructor(mempoolItems: MempoolItem[] | undefined, error: string | undefined, success: boolean); mempoolItems: MempoolItem[] | undefined; error: string | undefined; success: boolean; } export class CoinRecord { free(): void; __getClassname(): string; clone(): CoinRecord; constructor(coin: Coin, coinbase: boolean, confirmedBlockIndex: number, spent: boolean, spentBlockIndex: number, timestamp: bigint); coin: Coin; coinbase: boolean; confirmedBlockIndex: number; spent: boolean; spentBlockIndex: number; timestamp: bigint; } export class MempoolItem { free(): void; __getClassname(): string; clone(): MempoolItem; constructor(spendBundle: SpendBundle, fee: bigint); spendBundle: SpendBundle; fee: bigint; } export class FullBlock { free(): void; __getClassname(): string; clone(): FullBlock; constructor(finishedSubSlots: EndOfSubSlotBundle[], rewardChainBlock: RewardChainBlock, challengeChainSpProof: VDFProof | undefined, challengeChainIpProof: VDFProof, rewardChainSpProof: VDFProof | undefined, rewardChainIpProof: VDFProof, infusedChallengeChainIpProof: VDFProof | undefined, foliage: Foliage, foliageTransactionBlock: FoliageTransactionBlock | undefined, transactionsInfo: TransactionsInfo | undefined, transactionsGenerator: Uint8Array | undefined, transactionsGeneratorRefList: number[]); finishedSubSlots: EndOfSubSlotBundle[]; rewardChainBlock: RewardChainBlock; challengeChainSpProof: VDFProof | undefined; challengeChainIpProof: VDFProof; rewardChainSpProof: VDFProof | undefined; rewardChainIpProof: VDFProof; infusedChallengeChainIpProof: VDFProof | undefined; foliage: Foliage; foliageTransactionBlock: FoliageTransactionBlock | undefined; transactionsInfo: TransactionsInfo | undefined; transactionsGenerator: Uint8Array | undefined; transactionsGeneratorRefList: number[]; } export class EndOfSubSlotBundle { free(): void; __getClassname(): string; clone(): EndOfSubSlotBundle; constructor(challengeChain: ChallengeChainSubSlot, infusedChallengeChain: InfusedChallengeChainSubSlot | undefined, rewardChain: RewardChainSubSlot, proofs: SubSlotProofs); challengeChain: ChallengeChainSubSlot; infusedChallengeChain: InfusedChallengeChainSubSlot | undefined; rewardChain: RewardChainSubSlot; proofs: SubSlotProofs; } export class ChallengeChainSubSlot { free(): void; __getClassname(): string; clone(): ChallengeChainSubSlot; constructor(challengeChainEndOfSlotVdf: VDFInfo, infusedChallengeChainSubSlotHash?: Uint8Array | undefined, subepochSummaryHash?: Uint8Array | undefined, newSubSlotIters?: bigint | undefined, newDifficulty?: bigint | undefined); challengeChainEndOfSlotVdf: VDFInfo; infusedChallengeChainSubSlotHash: Uint8Array | undefined; subepochSummaryHash: Uint8Array | undefined; newSubSlotIters: bigint | undefined; newDifficulty: bigint | undefined; } export class InfusedChallengeChainSubSlot { free(): void; __getClassname(): string; clone(): InfusedChallengeChainSubSlot; constructor(infusedChallengeChainEndOfSlotVdf: VDFInfo); infusedChallengeChainEndOfSlotVdf: VDFInfo; } export class RewardChainSubSlot { free(): void; __getClassname(): string; clone(): RewardChainSubSlot; constructor(endOfSlotVdf: VDFInfo, challengeChainSubSlotHash: Uint8Array, infusedChallengeChainSubSlotHash: Uint8Array | undefined, deficit: number); endOfSlotVdf: VDFInfo; challengeChainSubSlotHash: Uint8Array; infusedChallengeChainSubSlotHash: Uint8Array | undefined; deficit: number; } export class SubSlotProofs { free(): void; __getClassname(): string; clone(): SubSlotProofs; constructor(challengeChainSlotProof: VDFProof, infusedChallengeChainSlotProof: VDFProof | undefined, rewardChainSlotProof: VDFProof); challengeChainSlotProof: VDFProof; infusedChallengeChainSlotProof: VDFProof | undefined; rewardChainSlotProof: VDFProof; } export class VDFInfo { free(): void; __getClassname(): string; clone(): VDFInfo; constructor(challenge: Uint8Array, numberOfIterations: bigint, output: Uint8Array); challenge: Uint8Array; numberOfIterations: bigint; output: Uint8Array; } export class VDFProof { free(): void; __getClassname(): string; clone(): VDFProof; constructor(witnessType: number, witness: Uint8Array, normalizedToIdentity: boolean); witnessType: number; witness: Uint8Array; normalizedToIdentity: boolean; } export class TransactionsInfo { free(): void; __getClassname(): string; clone(): TransactionsInfo; constructor(generatorRoot: Uint8Array, generatorRefsRoot: Uint8Array, aggregatedSignature: Signature, fees: bigint, cost: bigint, rewardClaimsIncorporated: Coin[]); generatorRoot: Uint8Array; generatorRefsRoot: Uint8Array; aggregatedSignature: Signature; fees: bigint; cost: bigint; rewardClaimsIncorporated: Coin[]; } export class RewardChainBlock { free(): void; __getClassname(): string; clone(): RewardChainBlock; constructor(weight: bigint, height: number, totalIters: bigint, signagePointIndex: number, posSsCcChallengeHash: Uint8Array, proofOfSpace: ProofOfSpace, challengeChainSpVdf: VDFInfo | undefined, challengeChainSpSignature: Signature, challengeChainIpVdf: VDFInfo, rewardChainSpVdf: VDFInfo | undefined, rewardChainSpSignature: Signature, rewardChainIpVdf: VDFInfo, infusedChallengeChainIpVdf: VDFInfo | undefined, isTransactionBlock: boolean); weight: bigint; height: number; totalIters: bigint; signagePointIndex: number; posSsCcChallengeHash: Uint8Array; proofOfSpace: ProofOfSpace; challengeChainSpVdf: VDFInfo | undefined; challengeChainSpSignature: Signature; challengeChainIpVdf: VDFInfo; rewardChainSpVdf: VDFInfo | undefined; rewardChainSpSignature: Signature; rewardChainIpVdf: VDFInfo; infusedChallengeChainIpVdf: VDFInfo | undefined; isTransactionBlock: boolean; } export class FoliageTransactionBlock { free(): void; __getClassname(): string; clone(): FoliageTransactionBlock; constructor(prevTransactionBlockHash: Uint8Array, timestamp: bigint, filterHash: Uint8Array, additionsRoot: Uint8Array, removalsRoot: Uint8Array, transactionsInfoHash: Uint8Array); prevTransactionBlockHash: Uint8Array; timestamp: bigint; filterHash: Uint8Array; additionsRoot: Uint8Array; removalsRoot: Uint8Array; transactionsInfoHash: Uint8Array; } export class FoliageBlockData { free(): void; __getClassname(): string; clone(): FoliageBlockData; constructor(unfinishedRewardBlockHash: Uint8Array, poolTarget: PoolTarget, poolSignature: Signature | undefined, farmerRewardPuzzleHash: Uint8Array, extensionData: Uint8Array); unfinishedRewardBlockHash: Uint8Array; poolTarget: PoolTarget; poolSignature: Signature | undefined; farmerRewardPuzzleHash: Uint8Array; extensionData: Uint8Array; } export class Foliage { free(): void; __getClassname(): string; clone(): Foliage; constructor(prevBlockHash: Uint8Array, rewardBlockHash: Uint8Array, foliageBlockData: FoliageBlockData, foliageBlockDataSignature: Signature, foliageTransactionBlockHash?: Uint8Array | undefined, foliageTransactionBlockSignature?: Signature | undefined); prevBlockHash: Uint8Array; rewardBlockHash: Uint8Array; foliageBlockData: FoliageBlockData; foliageBlockDataSignature: Signature; foliageTransactionBlockHash: Uint8Array | undefined; foliageTransactionBlockSignature: Signature | undefined; } export class PoolTarget { free(): void; __getClassname(): string; clone(): PoolTarget; constructor(puzzleHash: Uint8Array, maxHeight: number); puzzleHash: Uint8Array; maxHeight: number; } export class BlockRecord { free(): void; __getClassname(): string; clone(): BlockRecord; constructor(headerHash: Uint8Array, prevHash: Uint8Array, height: number, weight: bigint, totalIters: bigint, signagePointIndex: number, challengeVdfOutput: Uint8Array, infusedChallengeVdfOutput: Uint8Array | undefined, rewardInfusionNewChallenge: Uint8Array, challengeBlockInfoHash: Uint8Array, subSlotIters: bigint, poolPuzzleHash: Uint8Array, farmerPuzzleHash: Uint8Array, requiredIters: bigint, deficit: number, overflow: boolean, prevTransactionBlockHeight: number, timestamp?: bigint | undefined, prevTransactionBlockHash?: Uint8Array | undefined, fees?: bigint | undefined, rewardClaimsIncorporated?: Coin[] | undefined, finishedChallengeSlotHashes?: Uint8Array[] | undefined, finishedInfusedChallengeSlotHashes?: Uint8Array[] | undefined, finishedRewardSlotHashes?: Uint8Array[] | undefined, subEpochSummaryIncluded?: SubEpochSummary | undefined); headerHash: Uint8Array; prevHash: Uint8Array; height: number; weight: bigint; totalIters: bigint; signagePointIndex: number; challengeVdfOutput: Uint8Array; infusedChallengeVdfOutput: Uint8Array | undefined; rewardInfusionNewChallenge: Uint8Array; challengeBlockInfoHash: Uint8Array; subSlotIters: bigint; poolPuzzleHash: Uint8Array; farmerPuzzleHash: Uint8Array; requiredIters: bigint; deficit: number; overflow: boolean; prevTransactionBlockHeight: number; timestamp: bigint | undefined; prevTransactionBlockHash: Uint8Array | undefined; fees: bigint | undefined; rewardClaimsIncorporated: Coin[] | undefined; finishedChallengeSlotHashes: Uint8Array[] | undefined; finishedInfusedChallengeSlotHashes: Uint8Array[] | undefined; finishedRewardSlotHashes: Uint8Array[] | undefined; subEpochSummaryIncluded: SubEpochSummary | undefined; } export class ProofOfSpace { free(): void; __getClassname(): string; clone(): ProofOfSpace; constructor(challenge: Uint8Array, poolPublicKey: PublicKey | undefined, poolContractPuzzleHash: Uint8Array | undefined, plotPublicKey: PublicKey, versionAndSize: number, proof: Uint8Array); challenge: Uint8Array; poolPublicKey: PublicKey | undefined; poolContractPuzzleHash: Uint8Array | undefined; plotPublicKey: PublicKey; versionAndSize: number; proof: Uint8Array; } export class SubEpochSummary { free(): void; __getClassname(): string; clone(): SubEpochSummary; constructor(prevSubepochSummaryHash: Uint8Array, rewardChainHash: Uint8Array, numBlocksOverflow: number, newDifficulty?: bigint | undefined, newSubSlotIters?: bigint | undefined); prevSubepochSummaryHash: Uint8Array; rewardChainHash: Uint8Array; numBlocksOverflow: number; newDifficulty: bigint | undefined; newSubSlotIters: bigint | undefined; } export class Remark { free(): void; __getClassname(): string; clone(): Remark; constructor(rest: Program); rest: Program; } export class AggSigParent { free(): void; __getClassname(): string; clone(): AggSigParent; constructor(publicKey: PublicKey, message: Uint8Array); publicKey: PublicKey; message: Uint8Array; } export class AggSigPuzzle { free(): void; __getClassname(): string; clone(): AggSigPuzzle; constructor(publicKey: PublicKey, message: Uint8Array); publicKey: PublicKey; message: Uint8Array; } export class AggSigAmount { free(): void; __getClassname(): string; clone(): AggSigAmount; constructor(publicKey: PublicKey, message: Uint8Array); publicKey: PublicKey; message: Uint8Array; } export class AggSigPuzzleAmount { free(): void; __getClassname(): string; clone(): AggSigPuzzleAmount; constructor(publicKey: PublicKey, message: Uint8Array); publicKey: PublicKey; message: Uint8Array; } export class AggSigParentAmount { free(): void; __getClassname(): string; clone(): AggSigParentAmount; constructor(publicKey: PublicKey, message: Uint8Array); publicKey: PublicKey; message: Uint8Array; } export class AggSigParentPuzzle { free(): void; __getClassname(): string; clone(): AggSigParentPuzzle; constructor(publicKey: PublicKey, message: Uint8Array); publicKey: PublicKey; message: Uint8Array; } export class AggSigUnsafe { free(): void; __getClassname(): string; clone(): AggSigUnsafe; constructor(publicKey: PublicKey, message: Uint8Array); publicKey: PublicKey; message: Uint8Array; } export class AggSigMe { free(): void; __getClassname(): string; clone(): AggSigMe; constructor(publicKey: PublicKey, message: Uint8Array); publicKey: PublicKey; message: Uint8Array; } export class CreateCoin { free(): void; __getClassname(): string; clone(): CreateCoin; constructor(puzzleHash: Uint8Array, amount: bigint, memos?: Program | undefined); puzzleHash: Uint8Array; amount: bigint; memos: Program | undefined; } export class ReserveFee { free(): void; __getClassname(): string; clone(): ReserveFee; constructor(amount: bigint); amount: bigint; } export class CreateCoinAnnouncement { free(): void; __getClassname(): string; clone(): CreateCoinAnnouncement; constructor(message: Uint8Array); message: Uint8Array; } export class CreatePuzzleAnnouncement { free(): void; __getClassname(): string; clone(): CreatePuzzleAnnouncement; constructor(message: Uint8Array); message: Uint8Array; } export class AssertCoinAnnouncement { free(): void; __getClassname(): string; clone(): AssertCoinAnnouncement; constructor(announcementId: Uint8Array); announcementId: Uint8Array; } export class AssertPuzzleAnnouncement { free(): void; __getClassname(): string; clone(): AssertPuzzleAnnouncement; constructor(announcementId: Uint8Array); announcementId: Uint8Array; } export class AssertConcurrentSpend { free(): void; __getClassname(): string; clone(): AssertConcurrentSpend; constructor(coinId: Uint8Array); coinId: Uint8Array; } export class AssertConcurrentPuzzle { free(): void; __getClassname(): string; clone(): AssertConcurrentPuzzle; constructor(puzzleHash: Uint8Array); puzzleHash: Uint8Array; } export class AssertSecondsRelative { free(): void; __getClassname(): string; clone(): AssertSecondsRelative; constructor(seconds: bigint); seconds: bigint; } export class AssertSecondsAbsolute { free(): void; __getClassname(): string; clone(): AssertSecondsAbsolute; constructor(seconds: bigint); seconds: bigint; } export class AssertHeightRelative { free(): void; __getClassname(): string; clone(): AssertHeightRelative; constructor(height: number); height: number; } export class AssertHeightAbsolute { free(): void; __getClassname(): string; clone(): AssertHeightAbsolute; constructor(height: number); height: number; } export class AssertBeforeSecondsRelative { free(): void; __getClassname(): string; clone(): AssertBeforeSecondsRelative; constructor(seconds: bigint); seconds: bigint; } export class AssertBeforeSecondsAbsolute { free(): void; __getClassname(): string; clone(): AssertBeforeSecondsAbsolute; constructor(seconds: bigint); seconds: bigint; } export class AssertBeforeHeightRelative { free(): void; __getClassname(): string; clone(): AssertBeforeHeightRelative; constructor(height: number); height: number; } export class AssertBeforeHeightAbsolute { free(): void; __getClassname(): string; clone(): AssertBeforeHeightAbsolute; constructor(height: number); height: number; } export class AssertMyCoinId { free(): void; __getClassname(): string; clone(): AssertMyCoinId; constructor(coinId: Uint8Array); coinId: Uint8Array; } export class AssertMyParentId { free(): void; __getClassname(): string; clone(): AssertMyParentId; constructor(parentId: Uint8Array); parentId: Uint8Array; } export class AssertMyPuzzleHash { free(): void; __getClassname(): string; clone(): AssertMyPuzzleHash; constructor(puzzleHash: Uint8Array); puzzleHash: Uint8Array; } export class AssertMyAmount { free(): void; __getClassname(): string; clone(): AssertMyAmount; constructor(amount: bigint); amount: bigint; } export class AssertMyBirthSeconds { free(): void; __getClassname(): string; clone(): AssertMyBirthSeconds; constructor(seconds: bigint); seconds: bigint; } export class AssertMyBirthHeight { free(): void; __getClassname(): string; clone(): AssertMyBirthHeight; constructor(height: number); height: number; } export class AssertEphemeral { free(): void; __getClassname(): string; clone(): AssertEphemeral; constructor(); } export class SendMessage { free(): void; __getClassname(): string; clone(): SendMessage; constructor(mode: number, message: Uint8Array, data: Program[]); mode: number; message: Uint8Array; data: Program[]; } export class ReceiveMessage { free(): void; __getClassname(): string; clone(): ReceiveMessage; constructor(mode: number, message: Uint8Array, data: Program[]); mode: number; message: Uint8Array; data: Program[]; } export class Softfork { free(): void; __getClassname(): string; clone(): Softfork; constructor(cost: bigint, rest: Program); cost: bigint; rest: Program; } export class MeltSingleton { free(): void; __getClassname(): string; clone(): MeltSingleton; constructor(); } export class TransferNft { free(): void; __getClassname(): string; clone(): TransferNft; constructor(launcherId: Uint8Array | undefined, tradePrices: TradePrice[], singletonInnerPuzzleHash?: Uint8Array | undefined); launcherId: Uint8Array | undefined; tradePrices: TradePrice[]; singletonInnerPuzzleHash: Uint8Array | undefined; } export class RunCatTail { free(): void; __getClassname(): string; clone(): RunCatTail; constructor(program: Program, solution: Program); program: Program; solution: Program; } export class UpdateNftMetadata { free(): void; __getClassname(): string; clone(): UpdateNftMetadata; constructor(updaterPuzzleReveal: Program, updaterSolution: Program); updaterPuzzleReveal: Program; updaterSolution: Program; } export class UpdateDataStoreMerkleRoot { free(): void; __getClassname(): string; clone(): UpdateDataStoreMerkleRoot; constructor(newMerkleRoot: Uint8Array, memos: Uint8Array[]); newMerkleRoot: Uint8Array; memos: Uint8Array[]; } export class TradePrice { free(): void; __getClassname(): string; clone(): TradePrice; constructor(amount: bigint, puzzleHash: Uint8Array); amount: bigint; puzzleHash: Uint8Array; } export class Constants { free(): void; __getClassname(): string; clone(): Constants; static acsTransferProgram(): Uint8Array; static acsTransferProgramHash(): Uint8Array; static augmentedCondition(): Uint8Array; static augmentedConditionHash(): Uint8Array; static blockProgramZero(): Uint8Array; static blockProgramZeroHash(): Uint8Array; static catPuzzle(): Uint8Array; static catPuzzleHash(): Uint8Array; static chialispDeserialisation(): Uint8Array; static chialispDeserialisationHash(): Uint8Array; static conditionsWFeeAnnounce(): Uint8Array; static conditionsWFeeAnnounceHash(): Uint8Array; static covenantLayer(): Uint8Array; static covenantLayerHash(): Uint8Array; static createNftLauncherFromDid(): Uint8Array; static createNftLauncherFromDidHash(): Uint8Array; static credentialRestriction(): Uint8Array; static credentialRestrictionHash(): Uint8Array; static daoCatEve(): Uint8Array; static daoCatEveHash(): Uint8Array; static daoCatLauncher(): Uint8Array; static daoCatLauncherHash(): Uint8Array; static daoFinishedState(): Uint8Array; static daoFinishedStateHash(): Uint8Array; static daoLockup(): Uint8Array; static daoLockupHash(): Uint8Array; static daoProposal(): Uint8Array; static daoProposalHash(): Uint8Array; static daoProposalTimer(): Uint8Array; static daoProposalTimerHash(): Uint8Array; static daoProposalValidator(): Uint8Array; static daoProposalValidatorHash(): Uint8Array; static daoSpendP2Singleton(): Uint8Array; static daoSpendP2SingletonHash(): Uint8Array; static daoTreasury(): Uint8Array; static daoTreasuryHash(): Uint8Array; static daoUpdateProposal(): Uint8Array; static daoUpdateProposalHash(): Uint8Array; static decompressCoinSpendEntry(): Uint8Array; static decompressCoinSpendEntryHash(): Uint8Array; static decompressCoinSpendEntryWithPrefix(): Uint8Array; static decompressCoinSpendEntryWithPrefixHash(): Uint8Array; static decompressPuzzle(): Uint8Array; static decompressPuzzleHash(): Uint8Array; static delegatedTail(): Uint8Array; static delegatedTailHash(): Uint8Array; static didInnerpuzzle(): Uint8Array; static didInnerpuzzleHash(): Uint8Array; static emlCovenantMorpher(): Uint8Array; static emlCovenantMorpherHash(): Uint8Array; static emlTransferProgramCovenantAdapter(): Uint8Array; static emlTransferProgramCovenantAdapterHash(): Uint8Array; static emlUpdateMetadataWithDid(): Uint8Array; static emlUpdateMetadataWithDidHash(): Uint8Array; static everythingWithSignature(): Uint8Array; static everythingWithSignatureHash(): Uint8Array; static exigentMetadataLayer(): Uint8Array; static exigentMetadataLayerHash(): Uint8Array; static flagProofsChecker(): Uint8Array; static flagProofsCheckerHash(): Uint8Array; static genesisByCoinId(): Uint8Array; static genesisByCoinIdHash(): Uint8Array; static genesisByCoinIdOrSingleton(): Uint8Array; static genesisByCoinIdOrSingletonHash(): Uint8Array; static genesisByPuzzleHash(): Uint8Array; static genesisByPuzzleHashHash(): Uint8Array; static graftrootDlOffers(): Uint8Array; static graftrootDlOffersHash(): Uint8Array; static nftIntermediateLauncher(): Uint8Array; static nftIntermediateLauncherHash(): Uint8Array; static nftMetadataUpdaterDefault(): Uint8Array; static nftMetadataUpdaterDefaultHash(): Uint8Array; static nftMetadataUpdaterUpdateable(): Uint8Array; static nftMetadataUpdaterUpdateableHash(): Uint8Array; static nftOwnershipLayer(): Uint8Array; static nftOwnershipLayerHash(): Uint8Array; static nftOwnershipTransferProgramOneWayClaimWithRoyalties(): Uint8Array; static nftOwnershipTransferProgramOneWayClaimWithRoyaltiesHash(): Uint8Array; static nftStateLayer(): Uint8Array; static nftStateLayerHash(): Uint8Array; static notification(): Uint8Array; static notificationHash(): Uint8Array; static p21OfN(): Uint8Array; static p21OfNHash(): Uint8Array; static p2AnnouncedDelegatedPuzzle(): Uint8Array; static p2AnnouncedDelegatedPuzzleHash(): Uint8Array; static p2Conditions(): Uint8Array; static p2ConditionsHash(): Uint8Array; static p2DelegatedConditions(): Uint8Array; static p2DelegatedConditionsHash(): Uint8Array; static p2DelegatedPuzzle()