/** * The IDL of the module. * * @module */ /** The IDL of the module. */ export declare const idl: { readonly module_id: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mint_wrapper"; readonly doc: "Allows delegating the minting of coins to multiple addresses.\n\nA `MintWrapper` can be created for any coin.\n\nThere are two roles one can possess with a `MintWrapper`:\n- **Owners**, which can create and delete Minters\n- **Minters**, which can mint coins to any address"; readonly functions: readonly []; readonly structs: readonly [{ readonly name: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mint_wrapper::MintWrapper"; readonly doc: "Holds the mint/burn capabilities."; readonly fields: readonly [{ readonly name: "mint_capability"; readonly doc: "The capability to mint `CoinType`."; readonly ty: { readonly struct: { readonly name: "0x1::coin::MintCapability"; readonly ty_args: readonly [{ readonly type_param: 0; }]; }; }; }, { readonly name: "burn_capability"; readonly doc: "The capability to burn `CoinType`."; readonly ty: { readonly struct: { readonly name: "0x1::coin::BurnCapability"; readonly ty_args: readonly [{ readonly type_param: 0; }]; }; }; }, { readonly name: "hard_cap"; readonly doc: "Optional hard cap of the amount of coins that may be issued."; readonly ty: "u64"; }]; readonly type_params: readonly [{ readonly name: "CoinType"; readonly is_phantom: true; }]; readonly abilities: readonly ["key"]; }, { readonly name: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mint_wrapper::Minter"; readonly doc: "Capability to mint at the mint_wrapper of the given coin."; readonly fields: readonly [{ readonly name: "mint_capability"; readonly doc: "Mint capability for this Minter."; readonly ty: { readonly struct: { readonly name: "0x1::coin::MintCapability"; readonly ty_args: readonly [{ readonly type_param: 0; }]; }; }; }, { readonly name: "allowance"; readonly doc: "Maximum amount that this [Minter] can mint."; readonly ty: "u64"; }]; readonly type_params: readonly [{ readonly name: "CoinType"; readonly is_phantom: true; }]; readonly abilities: readonly ["store", "key"]; }, { readonly name: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mint_wrapper::MinterOffers"; readonly doc: "Container for holding minters which are to be transferred to someone."; readonly fields: readonly [{ readonly name: "offers"; readonly doc: "Minters being offered."; readonly ty: { readonly struct: { readonly name: "0x1::table::Table"; readonly ty_args: readonly ["address", { readonly struct: { readonly name: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mint_wrapper::Minter"; readonly ty_args: readonly [{ readonly type_param: 0; }]; }; }]; }; }; }]; readonly type_params: readonly [{ readonly name: "CoinType"; readonly is_phantom: true; }]; readonly abilities: readonly ["key"]; }, { readonly name: "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mint_wrapper::Owner"; readonly doc: "Having this permission allows one to create and delete minters."; readonly fields: readonly [{ readonly name: "base"; readonly doc: "Where the mint wrapper is stored."; readonly ty: "address"; }]; readonly type_params: readonly [{ readonly name: "CoinType"; readonly is_phantom: true; }]; readonly abilities: readonly ["store", "key"]; }]; readonly errors: { readonly "1": { readonly name: "ENOT_OWNER"; readonly doc: "Must be the owner of the mint wrapper."; }; readonly "2": { readonly name: "ENOT_MINTER"; readonly doc: "You do not have the minter privilege for this mint wrapper."; }; readonly "3": { readonly name: "EINSUFFICIENT_ALLOWANCE"; readonly doc: "Allowance exceeded."; }; }; }; //# sourceMappingURL=idl.d.ts.map