@mysten/suins
Version:
21 lines (19 loc) • 740 B
JavaScript
import { MoveStruct } from "../../../utils/index.mjs";
import { bcs } from "@mysten/sui/bcs";
//#region src/contracts/suins/deps/sui/balance.ts
/**************************************************************
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
**************************************************************/
/**
* A storable handler for Balances in general. Is used in the `Coin` module to
* allow balance operations and can be used to implement custom coins with `Supply`
* and `Balance`s.
*/
const $moduleName = "0x2::balance";
const Balance = new MoveStruct({
name: `${$moduleName}::Balance<phantom T>`,
fields: { value: bcs.u64() }
});
//#endregion
export { Balance };
//# sourceMappingURL=balance.mjs.map