{"version":3,"file":"account_registry.mjs","names":[],"sources":["../../../src/contracts/account/account_registry.ts"],"sourcesContent":["/**************************************************************\n * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *\n **************************************************************/\n\n/**\n * Owns the derivation root for canonical accounts and the global whitelist of\n * application witness types. App authorization is package-wide rather than\n * per-account: an authorized app can request full mutable authority for any\n * account wrapper supplied to its flow. `account::account` owns wrapper\n * construction, custody, accumulator settlement, and app-data invariants.\n */\n\nimport {\n\tMoveStruct,\n\tMoveTuple,\n\tnormalizeMoveArguments,\n\ttype RawTransactionArgument,\n\ttype ConfigValue,\n} from '../utils/index.js';\nimport { bcs } from '@mysten/sui/bcs';\nimport { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';\nconst $moduleName = '@local-pkg/account::account_registry';\nexport const AccountAdminCap = new MoveStruct({\n\tname: `${$moduleName}::AccountAdminCap`,\n\tfields: {\n\t\tid: bcs.Address,\n\t},\n});\nexport const AccountRegistry = new MoveStruct({\n\tname: `${$moduleName}::AccountRegistry`,\n\tfields: {\n\t\tid: bcs.Address,\n\t},\n});\nexport const AccountKey = new MoveTuple({\n\tname: `${$moduleName}::AccountKey`,\n\tfields: [bcs.Address],\n});\nexport const AccountWrapperKey = new MoveTuple({\n\tname: `${$moduleName}::AccountWrapperKey`,\n\tfields: [bcs.Address],\n});\nexport const AppKey = new MoveTuple({\n\tname: `${$moduleName}::AppKey<phantom App>`,\n\tfields: [bcs.bool()],\n});\nexport interface DerivedAddressArguments {\n\tregistry?: RawTransactionArgument<string>;\n\towner: RawTransactionArgument<string>;\n}\nexport interface DerivedAddressOptions {\n\tpackage?: string;\n\targuments: DerivedAddressArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n}\n/**\n * Returns the deterministic canonical account address for external discovery and\n * PTB construction.\n */\nexport function derivedAddress(options: DerivedAddressOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, 'address'] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'owner'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'derived_address',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface DerivedWrapperAddressArguments {\n\tregistry?: RawTransactionArgument<string>;\n\towner: RawTransactionArgument<string>;\n}\nexport interface DerivedWrapperAddressOptions {\n\tpackage?: string;\n\targuments: DerivedWrapperAddressArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n}\n/**\n * Returns the deterministic wrapper address for external discovery, accumulator\n * and coin delivery, and PTB construction.\n */\nexport function derivedWrapperAddress(options: DerivedWrapperAddressOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, 'address'] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'owner'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'derived_wrapper_address',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface DerivedExistsArguments {\n\tregistry?: RawTransactionArgument<string>;\n\towner: RawTransactionArgument<string>;\n}\nexport interface DerivedExistsOptions {\n\tpackage?: string;\n\targuments: DerivedExistsArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n}\n/** Returns whether the canonical account identity has been claimed. */\nexport function derivedExists(options: DerivedExistsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, 'address'] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'owner'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'derived_exists',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface DerivedWrapperExistsArguments {\n\tregistry?: RawTransactionArgument<string>;\n\towner: RawTransactionArgument<string>;\n}\nexport interface DerivedWrapperExistsOptions {\n\tpackage?: string;\n\targuments: DerivedWrapperExistsArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n}\n/** Returns whether the canonical wrapper has been claimed. */\nexport function derivedWrapperExists(options: DerivedWrapperExistsOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, 'address'] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'owner'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'derived_wrapper_exists',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface NewArguments {\n\tregistry?: RawTransactionArgument<string>;\n}\nexport interface NewOptions {\n\tpackage?: string;\n\targuments?: NewArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n}\n/**\n * Creates the sender's canonical account and wrapper, aborting if either derived\n * ID is already claimed.\n */\nexport function _new(options: NewOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['registry'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'new',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface NewWithReferrerArguments {\n\tregistry?: RawTransactionArgument<string>;\n\treferrer: RawTransactionArgument<string>;\n}\nexport interface NewWithReferrerOptions {\n\tpackage?: string;\n\targuments: NewWithReferrerArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n}\n/**\n * Creates the sender's canonical account and permanently records the supplied\n * wrapper's account identity and receive address as its referrer.\n */\nexport function newWithReferrer(options: NewWithReferrerOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, null] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'referrer'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'new_with_referrer',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface NewSelfOwnedArguments {\n\tregistry?: RawTransactionArgument<string>;\n\townerUid: RawTransactionArgument<string>;\n}\nexport interface NewSelfOwnedOptions {\n\tpackage?: string;\n\targuments: NewSelfOwnedArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n}\n/**\n * Creates the canonical account owned by `owner_uid`'s object address, aborting if\n * either derived ID is already claimed.\n */\nexport function newSelfOwned(options: NewSelfOwnedOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, '0x2::object::ID'] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'ownerUid'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'new_self_owned',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t});\n}\nexport interface IsAppAuthorizedArguments {\n\tregistry?: RawTransactionArgument<string>;\n}\nexport interface IsAppAuthorizedOptions {\n\tpackage?: string;\n\targuments?: IsAppAuthorizedArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n\ttypeArguments: [string];\n}\n/** Returns whether `App` may request package-issued mutable account authority. */\nexport function isAppAuthorized(options: IsAppAuthorizedOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['registry'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'is_app_authorized',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t\ttypeArguments: options.typeArguments,\n\t\t});\n}\nexport interface AuthorizeAppArguments {\n\tregistry?: RawTransactionArgument<string>;\n\tCap: RawTransactionArgument<string>;\n}\nexport interface AuthorizeAppOptions {\n\tpackage?: string;\n\targuments: AuthorizeAppArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n\ttypeArguments: [string];\n}\n/** Globally authorizes `App` to request mutable authority for account wrappers. */\nexport function authorizeApp(options: AuthorizeAppOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, null] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'Cap'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'authorize_app',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t\ttypeArguments: options.typeArguments,\n\t\t});\n}\nexport interface DeauthorizeAppArguments {\n\tregistry?: RawTransactionArgument<string>;\n\tCap: RawTransactionArgument<string>;\n}\nexport interface DeauthorizeAppOptions {\n\tpackage?: string;\n\targuments: DeauthorizeAppArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n\ttypeArguments: [string];\n}\n/** Revokes `App` from requesting new mutable account authority. */\nexport function deauthorizeApp(options: DeauthorizeAppOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, null] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'Cap'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'deauthorize_app',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t\ttypeArguments: options.typeArguments,\n\t\t});\n}\nexport interface AssertAppIsAuthorizedArguments {\n\tregistry?: RawTransactionArgument<string>;\n}\nexport interface AssertAppIsAuthorizedOptions {\n\tpackage?: string;\n\targuments?: AssertAppIsAuthorizedArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n\ttypeArguments: [string];\n}\n/** Aborts unless `App` is currently authorized for app-driven account access. */\nexport function assertAppIsAuthorized(options: AssertAppIsAuthorizedOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null] satisfies (string | null)[];\n\tconst parameterNames = ['registry'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'assert_app_is_authorized',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t\ttypeArguments: options.typeArguments,\n\t\t});\n}\nexport interface GenerateAuthAsAppArguments {\n\tregistry?: RawTransactionArgument<string>;\n\tPermit: TransactionArgument;\n}\nexport interface GenerateAuthAsAppOptions {\n\tpackage?: string;\n\targuments: GenerateAuthAsAppArguments;\n\tconfig?: {\n\t\taccountRegistry: ConfigValue;\n\t\taccountPackageId?: string;\n\t};\n\ttypeArguments: [string];\n}\n/**\n * Generates full mutable account authority after checking the global app\n * whitelist. `Permit<App>` restricts the request to the module that defines `App`;\n * the returned authority is not bound to an owner, wrapper, or operation.\n */\nexport function generateAuthAsApp(options: GenerateAuthAsAppOptions) {\n\tconst packageAddress =\n\t\toptions.package ?? options.config?.accountPackageId ?? '@local-pkg/account';\n\tconst argumentsTypes = [null, null] satisfies (string | null)[];\n\tconst parameterNames = ['registry', 'Permit'];\n\treturn (tx: Transaction) =>\n\t\ttx.moveCall({\n\t\t\tpackage: packageAddress,\n\t\t\tmodule: 'account_registry',\n\t\t\tfunction: 'generate_auth_as_app',\n\t\t\targuments: normalizeMoveArguments(\n\t\t\t\t{\n\t\t\t\t\t...options.arguments,\n\t\t\t\t\tregistry: options.arguments?.registry ?? options.config?.accountRegistry,\n\t\t\t\t},\n\t\t\t\targumentsTypes,\n\t\t\t\tparameterNames,\n\t\t\t),\n\t\t\ttypeArguments: options.typeArguments,\n\t\t});\n}\n"],"mappings":";;;;;;;;;;;;;;AAqBA,MAAM,cAAc;AACpB,MAAa,kBAAkB,IAAI,WAAW;CAC7C,MAAM,GAAG,YAAY;CACrB,QAAQ,EACP,IAAI,IAAI,SACR;CACD,CAAC;AACF,MAAa,kBAAkB,IAAI,WAAW;CAC7C,MAAM,GAAG,YAAY;CACrB,QAAQ,EACP,IAAI,IAAI,SACR;CACD,CAAC;AACF,MAAa,aAAa,IAAI,UAAU;CACvC,MAAM,GAAG,YAAY;CACrB,QAAQ,CAAC,IAAI,QAAQ;CACrB,CAAC;AACF,MAAa,oBAAoB,IAAI,UAA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