import { TypeDescriptor } from "@typemove/move"; import { MoveCoder, TypedEventInstance } from "@typemove/aptos"; import { Aptos, Account as AptosAccount, MoveAddressType, PendingTransactionResponse, InputGenerateTransactionOptions, MoveStructId } from "@aptos-labs/ts-sdk"; import * as _0x1 from "./0x1.js"; export declare namespace token { interface BurnRef { inner: _0x1.option.Option<_0x1.object$.DeleteRef>; self: _0x1.option.Option; } namespace BurnRef { const TYPE_QNAME = "0x4::token::BurnRef"; function type(): TypeDescriptor; } type BurnRefInstance = TypedEventInstance & { data_decoded: BurnRef; type_arguments: []; }; interface MutatorRef { self: MoveAddressType; } namespace MutatorRef { const TYPE_QNAME = "0x4::token::MutatorRef"; function type(): TypeDescriptor; } type MutatorRefInstance = TypedEventInstance & { data_decoded: MutatorRef; type_arguments: []; }; interface Mutation { token_address: MoveAddressType; mutated_field_name: string; old_value: string; new_value: string; } namespace Mutation { const TYPE_QNAME = "0x4::token::Mutation"; function type(): TypeDescriptor; } type MutationInstance = TypedEventInstance & { data_decoded: Mutation; type_arguments: []; }; interface MutationEvent { mutated_field_name: string; old_value: string; new_value: string; } namespace MutationEvent { const TYPE_QNAME = "0x4::token::MutationEvent"; function type(): TypeDescriptor; } type MutationEventInstance = TypedEventInstance & { data_decoded: MutationEvent; type_arguments: []; }; interface ConcurrentTokenIdentifiers { index: _0x1.aggregator_v2.AggregatorSnapshot; name: _0x1.aggregator_v2.AggregatorSnapshot; } namespace ConcurrentTokenIdentifiers { const TYPE_QNAME = "0x4::token::ConcurrentTokenIdentifiers"; function type(): TypeDescriptor; } interface Token { collection: _0x1.object$.Object; index: bigint; description: string; name: string; uri: string; mutation_events: _0x1.event.EventHandle; } namespace Token { const TYPE_QNAME = "0x4::token::Token"; function type(): TypeDescriptor; } interface TokenIdentifiers { index: _0x1.aggregator_v2.AggregatorSnapshot; name: _0x1.aggregator_v2.DerivedStringSnapshot; } namespace TokenIdentifiers { const TYPE_QNAME = "0x4::token::TokenIdentifiers"; function type(): TypeDescriptor; } namespace entry { } namespace view { function index(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[bigint]>; function creator(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[MoveAddressType]>; function name(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[string]>; function royalty(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[_0x1.option.Option]>; function description(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[string]>; function uri(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[string]>; function collectionName(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[string]>; function collectionObject(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[_0x1.object$.Object]>; function createTokenAddressWithSeed(client: Aptos, request: { functionArguments: [MoveAddressType, string, string, string]; }, version?: bigint): Promise<[MoveAddressType]>; } } export declare namespace royalty { interface MutatorRef { inner: _0x1.object$.ExtendRef; } namespace MutatorRef { const TYPE_QNAME = "0x4::royalty::MutatorRef"; function type(): TypeDescriptor; } type MutatorRefInstance = TypedEventInstance & { data_decoded: MutatorRef; type_arguments: []; }; interface Royalty { numerator: bigint; denominator: bigint; payee_address: MoveAddressType; } namespace Royalty { const TYPE_QNAME = "0x4::royalty::Royalty"; function type(): TypeDescriptor; } namespace entry { } namespace view { } } export declare namespace collection { interface ConcurrentSupply { current_supply: _0x1.aggregator_v2.Aggregator; total_minted: _0x1.aggregator_v2.Aggregator; } namespace ConcurrentSupply { const TYPE_QNAME = "0x4::collection::ConcurrentSupply"; function type(): TypeDescriptor; } interface MutatorRef { self: MoveAddressType; } namespace MutatorRef { const TYPE_QNAME = "0x4::collection::MutatorRef"; function type(): TypeDescriptor; } type MutatorRefInstance = TypedEventInstance & { data_decoded: MutatorRef; type_arguments: []; }; interface Burn { collection: MoveAddressType; index: bigint; token: MoveAddressType; previous_owner: MoveAddressType; } namespace Burn { const TYPE_QNAME = "0x4::collection::Burn"; function type(): TypeDescriptor; } type BurnInstance = TypedEventInstance & { data_decoded: Burn; type_arguments: []; }; interface BurnEvent { index: bigint; token: MoveAddressType; } namespace BurnEvent { const TYPE_QNAME = "0x4::collection::BurnEvent"; function type(): TypeDescriptor; } type BurnEventInstance = TypedEventInstance & { data_decoded: BurnEvent; type_arguments: []; }; interface Collection { creator: MoveAddressType; description: string; name: string; uri: string; mutation_events: _0x1.event.EventHandle; } namespace Collection { const TYPE_QNAME = "0x4::collection::Collection"; function type(): TypeDescriptor; } interface ConcurrentBurnEvent { collection_addr: MoveAddressType; index: bigint; token: MoveAddressType; } namespace ConcurrentBurnEvent { const TYPE_QNAME = "0x4::collection::ConcurrentBurnEvent"; function type(): TypeDescriptor; } type ConcurrentBurnEventInstance = TypedEventInstance & { data_decoded: ConcurrentBurnEvent; type_arguments: []; }; interface ConcurrentMintEvent { collection_addr: MoveAddressType; index: _0x1.aggregator_v2.AggregatorSnapshot; token: MoveAddressType; } namespace ConcurrentMintEvent { const TYPE_QNAME = "0x4::collection::ConcurrentMintEvent"; function type(): TypeDescriptor; } type ConcurrentMintEventInstance = TypedEventInstance & { data_decoded: ConcurrentMintEvent; type_arguments: []; }; interface FixedSupply { current_supply: bigint; max_supply: bigint; total_minted: bigint; burn_events: _0x1.event.EventHandle; mint_events: _0x1.event.EventHandle; } namespace FixedSupply { const TYPE_QNAME = "0x4::collection::FixedSupply"; function type(): TypeDescriptor; } interface Mint { collection: MoveAddressType; index: _0x1.aggregator_v2.AggregatorSnapshot; token: MoveAddressType; } namespace Mint { const TYPE_QNAME = "0x4::collection::Mint"; function type(): TypeDescriptor; } type MintInstance = TypedEventInstance & { data_decoded: Mint; type_arguments: []; }; interface MintEvent { index: bigint; token: MoveAddressType; } namespace MintEvent { const TYPE_QNAME = "0x4::collection::MintEvent"; function type(): TypeDescriptor; } type MintEventInstance = TypedEventInstance & { data_decoded: MintEvent; type_arguments: []; }; interface Mutation { mutated_field_name: string; collection: _0x1.object$.Object; old_value: string; new_value: string; } namespace Mutation { const TYPE_QNAME = "0x4::collection::Mutation"; function type(): TypeDescriptor; } type MutationInstance = TypedEventInstance & { data_decoded: Mutation; type_arguments: []; }; interface MutationEvent { mutated_field_name: string; } namespace MutationEvent { const TYPE_QNAME = "0x4::collection::MutationEvent"; function type(): TypeDescriptor; } type MutationEventInstance = TypedEventInstance & { data_decoded: MutationEvent; type_arguments: []; }; interface SetMaxSupply { collection: _0x1.object$.Object; old_max_supply: bigint; new_max_supply: bigint; } namespace SetMaxSupply { const TYPE_QNAME = "0x4::collection::SetMaxSupply"; function type(): TypeDescriptor; } type SetMaxSupplyInstance = TypedEventInstance & { data_decoded: SetMaxSupply; type_arguments: []; }; interface UnlimitedSupply { current_supply: bigint; total_minted: bigint; burn_events: _0x1.event.EventHandle; mint_events: _0x1.event.EventHandle; } namespace UnlimitedSupply { const TYPE_QNAME = "0x4::collection::UnlimitedSupply"; function type(): TypeDescriptor; } namespace entry { } namespace view { function count(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[_0x1.option.Option]>; function creator(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[MoveAddressType]>; function name(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[string]>; function description(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[string]>; function uri(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[string]>; } } export declare namespace aptos_token { interface AptosCollection { mutator_ref: _0x1.option.Option; royalty_mutator_ref: _0x1.option.Option; mutable_description: boolean; mutable_uri: boolean; mutable_token_description: boolean; mutable_token_name: boolean; mutable_token_properties: boolean; mutable_token_uri: boolean; tokens_burnable_by_creator: boolean; tokens_freezable_by_creator: boolean; } namespace AptosCollection { const TYPE_QNAME = "0x4::aptos_token::AptosCollection"; function type(): TypeDescriptor; } interface AptosToken { burn_ref: _0x1.option.Option; transfer_ref: _0x1.option.Option<_0x1.object$.TransferRef>; mutator_ref: _0x1.option.Option; property_mutator_ref: property_map.MutatorRef; } namespace AptosToken { const TYPE_QNAME = "0x4::aptos_token::AptosToken"; function type(): TypeDescriptor; } namespace entry { function burn(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, options?: InputGenerateTransactionOptions): Promise; function mint(client: Aptos, account: AptosAccount, request: { typeArguments: []; functionArguments: [ string, string, string, string, string[], string[], string[] ]; }, options?: InputGenerateTransactionOptions): Promise; function setDescription(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object, string]; }, options?: InputGenerateTransactionOptions): Promise; function setName(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object, string]; }, options?: InputGenerateTransactionOptions): Promise; function setUri(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object, string]; }, options?: InputGenerateTransactionOptions): Promise; function addProperty(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object, string, string, string]; }, options?: InputGenerateTransactionOptions): Promise; function addTypedProperty(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId, MoveStructId]; functionArguments: [_0x1.object$.Object, string, T1]; }, options?: InputGenerateTransactionOptions): Promise; function createCollection(client: Aptos, account: AptosAccount, request: { typeArguments: []; functionArguments: [ string, bigint, string, string, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, bigint, bigint ]; }, options?: InputGenerateTransactionOptions): Promise; function freezeTransfer(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, options?: InputGenerateTransactionOptions): Promise; function mintSoulBound(client: Aptos, account: AptosAccount, request: { typeArguments: []; functionArguments: [ string, string, string, string, string[], string[], string[], MoveAddressType ]; }, options?: InputGenerateTransactionOptions): Promise; function removeProperty(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object, string]; }, options?: InputGenerateTransactionOptions): Promise; function setCollectionDescription(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object, string]; }, options?: InputGenerateTransactionOptions): Promise; function setCollectionRoyaltiesCall(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [ _0x1.object$.Object, bigint, bigint, MoveAddressType ]; }, options?: InputGenerateTransactionOptions): Promise; function setCollectionUri(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object, string]; }, options?: InputGenerateTransactionOptions): Promise; function unfreezeTransfer(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, options?: InputGenerateTransactionOptions): Promise; function updateProperty(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object, string, string, string]; }, options?: InputGenerateTransactionOptions): Promise; function updateTypedProperty(client: Aptos, account: AptosAccount, request: { typeArguments: [MoveStructId, MoveStructId]; functionArguments: [_0x1.object$.Object, string, T1]; }, options?: InputGenerateTransactionOptions): Promise; } namespace view { function arePropertiesMutable(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[boolean]>; function isBurnable(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[boolean]>; function isFreezableByCreator(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[boolean]>; function isMutableDescription(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[boolean]>; function isMutableName(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[boolean]>; function isMutableUri(client: Aptos, request: { typeArguments: [MoveStructId]; functionArguments: [_0x1.object$.Object]; }, version?: bigint): Promise<[boolean]>; } } export declare namespace property_map { interface MutatorRef { self: MoveAddressType; } namespace MutatorRef { const TYPE_QNAME = "0x4::property_map::MutatorRef"; function type(): TypeDescriptor; } type MutatorRefInstance = TypedEventInstance & { data_decoded: MutatorRef; type_arguments: []; }; interface PropertyMap { inner: _0x1.simple_map.SimpleMap; } namespace PropertyMap { const TYPE_QNAME = "0x4::property_map::PropertyMap"; function type(): TypeDescriptor; } interface PropertyValue { type: number; value: string; } namespace PropertyValue { const TYPE_QNAME = "0x4::property_map::PropertyValue"; function type(): TypeDescriptor; } type PropertyValueInstance = TypedEventInstance & { data_decoded: PropertyValue; type_arguments: []; }; namespace entry { } namespace view { } } export declare function loadAllTypes(coder: MoveCoder): void; //# sourceMappingURL=0x4.d.ts.map