import * as $ from "@manahippo/move-to-ts"; import { AptosDataCache, AptosParserRepo, AptosLocalCache } from "@manahippo/move-to-ts"; import { U8, U64 } from "@manahippo/move-to-ts"; import { TypeParamDeclType, FieldDeclType } from "@manahippo/move-to-ts"; import { StructTag, TypeTag } from "@manahippo/move-to-ts"; import { OptionTransaction } from "@manahippo/move-to-ts"; import { HexString, AptosClient, AptosAccount, TxnBuilderTypes, Types } from "aptos"; import * as Stdlib from "../stdlib"; export declare const packageName = "omni-aptos-coins"; export declare const moduleAddress: HexString; export declare const moduleName = "testnet_coins"; export declare class CoinCaps { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; mint: Stdlib.Coin.MintCapability; freeze: Stdlib.Coin.FreezeCapability; burn: Stdlib.Coin.BurnCapability; constructor(proto: any, typeTag: TypeTag); static CoinCapsParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): CoinCaps; static load(repo: AptosParserRepo, client: AptosClient, address: HexString, typeParams: TypeTag[]): Promise; static loadByApp(app: $.AppType, address: HexString, typeParams: TypeTag[]): Promise; static makeTag($p: TypeTag[]): StructTag; loadFullState(app: $.AppType): Promise; } export declare class TestBNB { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; constructor(proto: any, typeTag: TypeTag); static TestBNBParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TestBNB; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class TestBTC { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; constructor(proto: any, typeTag: TypeTag); static TestBTCParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TestBTC; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class TestDAI { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; constructor(proto: any, typeTag: TypeTag); static TestDAIParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TestDAI; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class TestETH { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; constructor(proto: any, typeTag: TypeTag); static TestETHParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TestETH; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class TestSOL { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; constructor(proto: any, typeTag: TypeTag); static TestSOLParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TestSOL; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class TestUSDC { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; constructor(proto: any, typeTag: TypeTag); static TestUSDCParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TestUSDC; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class TestUSDT { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; constructor(proto: any, typeTag: TypeTag); static TestUSDTParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TestUSDT; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare function burn_(tokens: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): void; export declare function deploy_(admin: HexString, $c: AptosDataCache): void; export declare function buildPayload_deploy(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function deposit_(user: HexString, coin: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): void; export declare function init_coin_(admin: HexString, name: U8[], symbol: U8[], decimals: U8, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_init_coin(name: U8[], symbol: U8[], decimals: U8, $p: TypeTag[], /* */ isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function init_coin_and_register_(admin: HexString, name: Stdlib.String.String, symbol: Stdlib.String.String, decimals: U8, $c: AptosDataCache, $p: TypeTag[]): void; export declare function initialize_(admin: HexString, decimals: U8, $c: AptosDataCache, $p: TypeTag[]): void; export declare function mint_(amount: U64, $c: AptosDataCache, $p: TypeTag[]): Stdlib.Coin.Coin; export declare function mint_to_wallet_(user: HexString, amount: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_mint_to_wallet(amount: U64, $p: TypeTag[], /* */ isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function loadParsers(repo: AptosParserRepo): void; export declare class App { client: AptosClient; repo: AptosParserRepo; cache: AptosLocalCache; constructor(client: AptosClient, repo: AptosParserRepo, cache: AptosLocalCache); get moduleAddress(): HexString; get moduleName(): string; get CoinCaps(): typeof CoinCaps; loadCoinCaps(owner: HexString, $p: TypeTag[], /* */ loadFull?: boolean, fillCache?: boolean): Promise; get TestBNB(): typeof TestBNB; get TestBTC(): typeof TestBTC; get TestDAI(): typeof TestDAI; get TestETH(): typeof TestETH; get TestSOL(): typeof TestSOL; get TestUSDC(): typeof TestUSDC; get TestUSDT(): typeof TestUSDT; payload_deploy(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; deploy(_account: AptosAccount, option?: OptionTransaction, _isJSON?: boolean): Promise; payload_init_coin(name: U8[], symbol: U8[], decimals: U8, $p: TypeTag[], /* */ isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; init_coin(_account: AptosAccount, name: U8[], symbol: U8[], decimals: U8, $p: TypeTag[], /* */ option?: OptionTransaction, _isJSON?: boolean): Promise; payload_mint_to_wallet(amount: U64, $p: TypeTag[], /* */ isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; mint_to_wallet(_account: AptosAccount, amount: U64, $p: TypeTag[], /* */ option?: OptionTransaction, _isJSON?: boolean): Promise; } //# sourceMappingURL=testnet_coins.d.ts.map