/** * The IDL of the module. * * @module */ /** The IDL of the module. */ export declare const idl: { readonly module_id: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mw_entry"; readonly doc: "Entry functions for the mint_wrapper."; readonly functions: readonly [{ 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 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 name: "accept_owner"; readonly doc: "Accepts the owner."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly []; }, { 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 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 name: "offer_owner"; readonly doc: "Offers the owner."; readonly ty_args: readonly ["CoinType"]; readonly args: readonly [{ readonly name: "recipient"; readonly ty: "address"; }]; }]; readonly structs: readonly []; readonly errors: {}; }; //# sourceMappingURL=idl.d.ts.map