/** * Entry functions for the mint_wrapper. * * **Module ID:** `0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mw_entry` * * @module */ import type * as p from "@movingco/prelude"; /** Payload arguments for {@link entry.mint}. */ export declare type MintArgs = { args: { /** IDL type: `Address` */ recipient: p.RawAddress; /** IDL type: `U64` */ amount: p.U64; }; typeArgs: { CoinType: string; }; }; /** Payload arguments for {@link entry.accept_minter}. */ export declare type AcceptMinterArgs = { args: { /** IDL type: `Address` */ base: p.RawAddress; }; typeArgs: { CoinType: string; }; }; /** Payload arguments for {@link entry.accept_owner}. */ export declare type AcceptOwnerArgs = { typeArgs: { CoinType: string; }; }; /** Payload arguments for {@link entry.create_with_coin}. */ export declare type CreateWithCoinArgs = { args: { /** IDL type: `Vector(U8)` */ name: p.ByteString; /** IDL type: `U64` */ decimals: p.U64; /** IDL type: `U64` */ hard_cap: p.U64; }; typeArgs: { CoinType: string; }; }; /** Payload arguments for {@link entry.offer_minter}. */ export declare type OfferMinterArgs = { args: { /** IDL type: `Address` */ destination: p.RawAddress; /** IDL type: `U64` */ allowance: p.U64; }; typeArgs: { CoinType: string; }; }; /** Payload arguments for {@link entry.offer_owner}. */ export declare type OfferOwnerArgs = { args: { /** IDL type: `Address` */ recipient: p.RawAddress; }; typeArgs: { CoinType: string; }; }; export * as entry from "./entry.js"; export * as entryNames from "./entryNames.js"; export { idl } from "./idl.js"; export * as payloads from "./payloads.js"; /** The address of the module. */ export declare const ADDRESS: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c"; /** The full module name. */ export declare const FULL_NAME: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mw_entry"; /** The name of the module. */ export declare const NAME: "mw_entry"; /** Module ID information. */ export declare const id: { readonly ADDRESS: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c"; readonly FULL_NAME: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mw_entry"; readonly NAME: "mw_entry"; }; /** Module error codes. */ export declare const errorCodes: {}; /** All module function IDLs. */ export declare const functions: { readonly accept_minter: { readonly name: "accept_minter"; readonly doc: "Accepts the minter if possible."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "base"; readonly ty: "address"; }]; }; readonly accept_owner: { readonly name: "accept_owner"; readonly doc: "Accepts the owner."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly []; }; readonly create_with_coin: { readonly name: "create_with_coin"; readonly doc: "Creates a new coin and mint_wrapper.\nThe given account also becomes the mint_wrapper's base."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "name"; readonly ty: { readonly vector: "u8"; }; }, { readonly name: "decimals"; readonly ty: "u64"; }, { readonly name: "hard_cap"; readonly ty: "u64"; }]; }; readonly mint: { readonly name: "mint"; readonly doc: "Mints coins from the mint_wrapper on behalf of the mint_wrapper's authority."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "recipient"; readonly ty: "address"; }, { readonly name: "amount"; readonly ty: "u64"; }]; }; readonly offer_minter: { readonly name: "offer_minter"; readonly doc: "Creates a new minter with the given allowance, offering it."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "destination"; readonly ty: "address"; }, { readonly name: "allowance"; readonly ty: "u64"; }]; }; readonly offer_owner: { readonly name: "offer_owner"; readonly doc: "Offers the owner."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "recipient"; readonly ty: "address"; }]; }; }; /** All struct types with ability `key`. */ export declare const resources: {}; /** All struct types. */ export declare const structs: {}; /** Entry functions for the mint_wrapper. */ export declare const moduleDefinition: { readonly errorCodes: {}; readonly functions: { readonly accept_minter: { readonly name: "accept_minter"; readonly doc: "Accepts the minter if possible."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "base"; readonly ty: "address"; }]; }; readonly accept_owner: { readonly name: "accept_owner"; readonly doc: "Accepts the owner."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly []; }; readonly create_with_coin: { readonly name: "create_with_coin"; readonly doc: "Creates a new coin and mint_wrapper.\nThe given account also becomes the mint_wrapper's base."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "name"; readonly ty: { readonly vector: "u8"; }; }, { readonly name: "decimals"; readonly ty: "u64"; }, { readonly name: "hard_cap"; readonly ty: "u64"; }]; }; readonly mint: { readonly name: "mint"; readonly doc: "Mints coins from the mint_wrapper on behalf of the mint_wrapper's authority."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "recipient"; readonly ty: "address"; }, { readonly name: "amount"; readonly ty: "u64"; }]; }; readonly offer_minter: { readonly name: "offer_minter"; readonly doc: "Creates a new minter with the given allowance, offering it."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "destination"; readonly ty: "address"; }, { readonly name: "allowance"; readonly ty: "u64"; }]; }; readonly offer_owner: { readonly name: "offer_owner"; readonly doc: "Offers the owner."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "recipient"; readonly ty: "address"; }]; }; }; readonly resources: {}; readonly structs: {}; readonly ADDRESS: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c"; readonly FULL_NAME: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mw_entry"; readonly NAME: "mw_entry"; }; //# sourceMappingURL=index.d.ts.map