UNPKG

@mysten/suins

Version:
23 lines (21 loc) 797 B
import { MoveStruct } from "../utils/index.mjs"; import { bcs } from "@mysten/sui/bcs"; //#region src/contracts/suins/domain.ts /************************************************************** * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED * **************************************************************/ /** * Defines the `Domain` type and helper functions. * * Domains are structured similar to their web2 counterpart and the rules * determining what a valid domain is can be found here: * https://en.wikipedia.org/wiki/Domain_name#Domain_name_syntax */ const $moduleName = "@suins/core::domain"; const Domain = new MoveStruct({ name: `${$moduleName}::Domain`, fields: { labels: bcs.vector(bcs.string()) } }); //#endregion export { Domain }; //# sourceMappingURL=domain.mjs.map