@typemove/sui 1.5.2-rc.2 → 1.5.2-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x2.d.ts +5 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +26 -0
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/codegen/codegen.js +1 -1
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +5 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +26 -0
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/codegen/codegen.js +1 -1
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x2.ts +34 -0
- package/src/codegen/codegen.ts +1 -1
package/dist/esm/builtin/0x2.js
CHANGED
|
@@ -3937,6 +3937,16 @@ export var kiosk;
|
|
|
3937
3937
|
});
|
|
3938
3938
|
}
|
|
3939
3939
|
builder.closeAndWithdraw = closeAndWithdraw;
|
|
3940
|
+
function default_(tx, args) {
|
|
3941
|
+
const _args = [];
|
|
3942
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
3943
|
+
// @ts-ignore
|
|
3944
|
+
return tx.moveCall({
|
|
3945
|
+
target: "0x2::kiosk::default",
|
|
3946
|
+
arguments: _args,
|
|
3947
|
+
});
|
|
3948
|
+
}
|
|
3949
|
+
builder.default_ = default_;
|
|
3940
3950
|
function delist(tx, args, typeArguments) {
|
|
3941
3951
|
const _args = [];
|
|
3942
3952
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -9968,6 +9978,22 @@ export var transfer_policy;
|
|
|
9968
9978
|
});
|
|
9969
9979
|
}
|
|
9970
9980
|
builder.confirmRequest = confirmRequest;
|
|
9981
|
+
function default_(tx, args, typeArguments) {
|
|
9982
|
+
const _args = [];
|
|
9983
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
9984
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
9985
|
+
// @ts-ignore
|
|
9986
|
+
return tx.moveCall({
|
|
9987
|
+
target: "0x2::transfer_policy::default",
|
|
9988
|
+
arguments: _args,
|
|
9989
|
+
typeArguments: [
|
|
9990
|
+
typeof typeArguments[0] === "string"
|
|
9991
|
+
? typeArguments[0]
|
|
9992
|
+
: typeArguments[0].getSignature(),
|
|
9993
|
+
],
|
|
9994
|
+
});
|
|
9995
|
+
}
|
|
9996
|
+
builder.default_ = default_;
|
|
9971
9997
|
function destroyAndWithdraw(tx, args, typeArguments) {
|
|
9972
9998
|
const _args = [];
|
|
9973
9999
|
_args.push(transactionArgumentOrPure(args[0], tx));
|