UNPKG

@mysten/suins

Version:
21 lines (18 loc) 673 B
/************************************************************** * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED * **************************************************************/ /** * Defines the `Coin` type - platform wide representation of fungible tokens and * coins. `Coin` can be described as a secure wrapper around `Balance` type. */ import { MoveStruct } from '../../../utils/index.js'; import { bcs } from '@mysten/sui/bcs'; import * as balance from './balance.js'; const $moduleName = '0x2::coin'; export const Coin = new MoveStruct({ name: `${$moduleName}::Coin<phantom T>`, fields: { id: bcs.Address, balance: balance.Balance, }, });