/************************************************************** * 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. */ import { MoveStruct } from '../../../utils/index.js'; import { U64 } from '../../../../bcs/integers.js'; const $moduleName = '0x2::balance'; export const Balance = new MoveStruct({ name: `${$moduleName}::Balance`, fields: { value: U64, }, }); export const Supply = new MoveStruct({ name: `${$moduleName}::Supply`, fields: { value: U64, }, });