@typemove/sui 1.9.0 → 1.9.1-rc.2
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 +51 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +241 -3
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +5 -0
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +22 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +51 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +239 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +5 -0
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +22 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/package.json +4 -4
- package/src/abis/0x2.json +408 -0
- package/src/abis/0x3.json +21 -0
- package/src/builtin/0x2.ts +344 -1
- package/src/builtin/0x3.ts +33 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typemove/sui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1-rc.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "./dist/cjs/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@mysten/sui": "~1.
|
|
45
|
+
"@mysten/sui": "~1.24.0",
|
|
46
46
|
"chalk": "^5.3.0",
|
|
47
|
-
"commander": "^
|
|
47
|
+
"commander": "^13.0.0",
|
|
48
48
|
"prettier": "^3.2.4",
|
|
49
49
|
"radash": "^12.0.0",
|
|
50
|
-
"@typemove/move": "1.9.
|
|
50
|
+
"@typemove/move": "1.9.1-rc.2"
|
|
51
51
|
},
|
|
52
52
|
"url": "https://github.com/sentioxyz/typemove",
|
|
53
53
|
"scripts": {
|
package/src/abis/0x2.json
CHANGED
|
@@ -1177,6 +1177,26 @@
|
|
|
1177
1177
|
"Bool"
|
|
1178
1178
|
]
|
|
1179
1179
|
},
|
|
1180
|
+
"peel_enum_tag": {
|
|
1181
|
+
"visibility": "Public",
|
|
1182
|
+
"isEntry": false,
|
|
1183
|
+
"typeParameters": [],
|
|
1184
|
+
"parameters": [
|
|
1185
|
+
{
|
|
1186
|
+
"MutableReference": {
|
|
1187
|
+
"Struct": {
|
|
1188
|
+
"address": "0x2",
|
|
1189
|
+
"module": "bcs",
|
|
1190
|
+
"name": "BCS",
|
|
1191
|
+
"typeArguments": []
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
],
|
|
1196
|
+
"return": [
|
|
1197
|
+
"U32"
|
|
1198
|
+
]
|
|
1199
|
+
},
|
|
1180
1200
|
"peel_option_address": {
|
|
1181
1201
|
"visibility": "Public",
|
|
1182
1202
|
"isEntry": false,
|
|
@@ -14071,6 +14091,394 @@
|
|
|
14071
14091
|
}
|
|
14072
14092
|
}
|
|
14073
14093
|
},
|
|
14094
|
+
"nitro_attestation": {
|
|
14095
|
+
"fileFormatVersion": 6,
|
|
14096
|
+
"address": "0x2",
|
|
14097
|
+
"name": "nitro_attestation",
|
|
14098
|
+
"friends": [],
|
|
14099
|
+
"structs": {
|
|
14100
|
+
"NitroAttestationDocument": {
|
|
14101
|
+
"abilities": {
|
|
14102
|
+
"abilities": [
|
|
14103
|
+
"Drop"
|
|
14104
|
+
]
|
|
14105
|
+
},
|
|
14106
|
+
"typeParameters": [],
|
|
14107
|
+
"fields": [
|
|
14108
|
+
{
|
|
14109
|
+
"name": "module_id",
|
|
14110
|
+
"type": {
|
|
14111
|
+
"Vector": "U8"
|
|
14112
|
+
}
|
|
14113
|
+
},
|
|
14114
|
+
{
|
|
14115
|
+
"name": "timestamp",
|
|
14116
|
+
"type": "U64"
|
|
14117
|
+
},
|
|
14118
|
+
{
|
|
14119
|
+
"name": "digest",
|
|
14120
|
+
"type": {
|
|
14121
|
+
"Vector": "U8"
|
|
14122
|
+
}
|
|
14123
|
+
},
|
|
14124
|
+
{
|
|
14125
|
+
"name": "pcrs",
|
|
14126
|
+
"type": {
|
|
14127
|
+
"Vector": {
|
|
14128
|
+
"Struct": {
|
|
14129
|
+
"address": "0x2",
|
|
14130
|
+
"module": "nitro_attestation",
|
|
14131
|
+
"name": "PCREntry",
|
|
14132
|
+
"typeArguments": []
|
|
14133
|
+
}
|
|
14134
|
+
}
|
|
14135
|
+
}
|
|
14136
|
+
},
|
|
14137
|
+
{
|
|
14138
|
+
"name": "public_key",
|
|
14139
|
+
"type": {
|
|
14140
|
+
"Struct": {
|
|
14141
|
+
"address": "0x1",
|
|
14142
|
+
"module": "option",
|
|
14143
|
+
"name": "Option",
|
|
14144
|
+
"typeArguments": [
|
|
14145
|
+
{
|
|
14146
|
+
"Vector": "U8"
|
|
14147
|
+
}
|
|
14148
|
+
]
|
|
14149
|
+
}
|
|
14150
|
+
}
|
|
14151
|
+
},
|
|
14152
|
+
{
|
|
14153
|
+
"name": "user_data",
|
|
14154
|
+
"type": {
|
|
14155
|
+
"Struct": {
|
|
14156
|
+
"address": "0x1",
|
|
14157
|
+
"module": "option",
|
|
14158
|
+
"name": "Option",
|
|
14159
|
+
"typeArguments": [
|
|
14160
|
+
{
|
|
14161
|
+
"Vector": "U8"
|
|
14162
|
+
}
|
|
14163
|
+
]
|
|
14164
|
+
}
|
|
14165
|
+
}
|
|
14166
|
+
},
|
|
14167
|
+
{
|
|
14168
|
+
"name": "nonce",
|
|
14169
|
+
"type": {
|
|
14170
|
+
"Struct": {
|
|
14171
|
+
"address": "0x1",
|
|
14172
|
+
"module": "option",
|
|
14173
|
+
"name": "Option",
|
|
14174
|
+
"typeArguments": [
|
|
14175
|
+
{
|
|
14176
|
+
"Vector": "U8"
|
|
14177
|
+
}
|
|
14178
|
+
]
|
|
14179
|
+
}
|
|
14180
|
+
}
|
|
14181
|
+
}
|
|
14182
|
+
]
|
|
14183
|
+
},
|
|
14184
|
+
"PCREntry": {
|
|
14185
|
+
"abilities": {
|
|
14186
|
+
"abilities": [
|
|
14187
|
+
"Drop"
|
|
14188
|
+
]
|
|
14189
|
+
},
|
|
14190
|
+
"typeParameters": [],
|
|
14191
|
+
"fields": [
|
|
14192
|
+
{
|
|
14193
|
+
"name": "index",
|
|
14194
|
+
"type": "U8"
|
|
14195
|
+
},
|
|
14196
|
+
{
|
|
14197
|
+
"name": "value",
|
|
14198
|
+
"type": {
|
|
14199
|
+
"Vector": "U8"
|
|
14200
|
+
}
|
|
14201
|
+
}
|
|
14202
|
+
]
|
|
14203
|
+
}
|
|
14204
|
+
},
|
|
14205
|
+
"exposedFunctions": {
|
|
14206
|
+
"digest": {
|
|
14207
|
+
"visibility": "Public",
|
|
14208
|
+
"isEntry": false,
|
|
14209
|
+
"typeParameters": [],
|
|
14210
|
+
"parameters": [
|
|
14211
|
+
{
|
|
14212
|
+
"Reference": {
|
|
14213
|
+
"Struct": {
|
|
14214
|
+
"address": "0x2",
|
|
14215
|
+
"module": "nitro_attestation",
|
|
14216
|
+
"name": "NitroAttestationDocument",
|
|
14217
|
+
"typeArguments": []
|
|
14218
|
+
}
|
|
14219
|
+
}
|
|
14220
|
+
}
|
|
14221
|
+
],
|
|
14222
|
+
"return": [
|
|
14223
|
+
{
|
|
14224
|
+
"Reference": {
|
|
14225
|
+
"Vector": "U8"
|
|
14226
|
+
}
|
|
14227
|
+
}
|
|
14228
|
+
]
|
|
14229
|
+
},
|
|
14230
|
+
"index": {
|
|
14231
|
+
"visibility": "Public",
|
|
14232
|
+
"isEntry": false,
|
|
14233
|
+
"typeParameters": [],
|
|
14234
|
+
"parameters": [
|
|
14235
|
+
{
|
|
14236
|
+
"Reference": {
|
|
14237
|
+
"Struct": {
|
|
14238
|
+
"address": "0x2",
|
|
14239
|
+
"module": "nitro_attestation",
|
|
14240
|
+
"name": "PCREntry",
|
|
14241
|
+
"typeArguments": []
|
|
14242
|
+
}
|
|
14243
|
+
}
|
|
14244
|
+
}
|
|
14245
|
+
],
|
|
14246
|
+
"return": [
|
|
14247
|
+
"U8"
|
|
14248
|
+
]
|
|
14249
|
+
},
|
|
14250
|
+
"load_nitro_attestation": {
|
|
14251
|
+
"visibility": "Private",
|
|
14252
|
+
"isEntry": true,
|
|
14253
|
+
"typeParameters": [],
|
|
14254
|
+
"parameters": [
|
|
14255
|
+
{
|
|
14256
|
+
"Vector": "U8"
|
|
14257
|
+
},
|
|
14258
|
+
{
|
|
14259
|
+
"Reference": {
|
|
14260
|
+
"Struct": {
|
|
14261
|
+
"address": "0x2",
|
|
14262
|
+
"module": "clock",
|
|
14263
|
+
"name": "Clock",
|
|
14264
|
+
"typeArguments": []
|
|
14265
|
+
}
|
|
14266
|
+
}
|
|
14267
|
+
}
|
|
14268
|
+
],
|
|
14269
|
+
"return": [
|
|
14270
|
+
{
|
|
14271
|
+
"Struct": {
|
|
14272
|
+
"address": "0x2",
|
|
14273
|
+
"module": "nitro_attestation",
|
|
14274
|
+
"name": "NitroAttestationDocument",
|
|
14275
|
+
"typeArguments": []
|
|
14276
|
+
}
|
|
14277
|
+
}
|
|
14278
|
+
]
|
|
14279
|
+
},
|
|
14280
|
+
"module_id": {
|
|
14281
|
+
"visibility": "Public",
|
|
14282
|
+
"isEntry": false,
|
|
14283
|
+
"typeParameters": [],
|
|
14284
|
+
"parameters": [
|
|
14285
|
+
{
|
|
14286
|
+
"Reference": {
|
|
14287
|
+
"Struct": {
|
|
14288
|
+
"address": "0x2",
|
|
14289
|
+
"module": "nitro_attestation",
|
|
14290
|
+
"name": "NitroAttestationDocument",
|
|
14291
|
+
"typeArguments": []
|
|
14292
|
+
}
|
|
14293
|
+
}
|
|
14294
|
+
}
|
|
14295
|
+
],
|
|
14296
|
+
"return": [
|
|
14297
|
+
{
|
|
14298
|
+
"Reference": {
|
|
14299
|
+
"Vector": "U8"
|
|
14300
|
+
}
|
|
14301
|
+
}
|
|
14302
|
+
]
|
|
14303
|
+
},
|
|
14304
|
+
"nonce": {
|
|
14305
|
+
"visibility": "Public",
|
|
14306
|
+
"isEntry": false,
|
|
14307
|
+
"typeParameters": [],
|
|
14308
|
+
"parameters": [
|
|
14309
|
+
{
|
|
14310
|
+
"Reference": {
|
|
14311
|
+
"Struct": {
|
|
14312
|
+
"address": "0x2",
|
|
14313
|
+
"module": "nitro_attestation",
|
|
14314
|
+
"name": "NitroAttestationDocument",
|
|
14315
|
+
"typeArguments": []
|
|
14316
|
+
}
|
|
14317
|
+
}
|
|
14318
|
+
}
|
|
14319
|
+
],
|
|
14320
|
+
"return": [
|
|
14321
|
+
{
|
|
14322
|
+
"Reference": {
|
|
14323
|
+
"Struct": {
|
|
14324
|
+
"address": "0x1",
|
|
14325
|
+
"module": "option",
|
|
14326
|
+
"name": "Option",
|
|
14327
|
+
"typeArguments": [
|
|
14328
|
+
{
|
|
14329
|
+
"Vector": "U8"
|
|
14330
|
+
}
|
|
14331
|
+
]
|
|
14332
|
+
}
|
|
14333
|
+
}
|
|
14334
|
+
}
|
|
14335
|
+
]
|
|
14336
|
+
},
|
|
14337
|
+
"pcrs": {
|
|
14338
|
+
"visibility": "Public",
|
|
14339
|
+
"isEntry": false,
|
|
14340
|
+
"typeParameters": [],
|
|
14341
|
+
"parameters": [
|
|
14342
|
+
{
|
|
14343
|
+
"Reference": {
|
|
14344
|
+
"Struct": {
|
|
14345
|
+
"address": "0x2",
|
|
14346
|
+
"module": "nitro_attestation",
|
|
14347
|
+
"name": "NitroAttestationDocument",
|
|
14348
|
+
"typeArguments": []
|
|
14349
|
+
}
|
|
14350
|
+
}
|
|
14351
|
+
}
|
|
14352
|
+
],
|
|
14353
|
+
"return": [
|
|
14354
|
+
{
|
|
14355
|
+
"Reference": {
|
|
14356
|
+
"Vector": {
|
|
14357
|
+
"Struct": {
|
|
14358
|
+
"address": "0x2",
|
|
14359
|
+
"module": "nitro_attestation",
|
|
14360
|
+
"name": "PCREntry",
|
|
14361
|
+
"typeArguments": []
|
|
14362
|
+
}
|
|
14363
|
+
}
|
|
14364
|
+
}
|
|
14365
|
+
}
|
|
14366
|
+
]
|
|
14367
|
+
},
|
|
14368
|
+
"public_key": {
|
|
14369
|
+
"visibility": "Public",
|
|
14370
|
+
"isEntry": false,
|
|
14371
|
+
"typeParameters": [],
|
|
14372
|
+
"parameters": [
|
|
14373
|
+
{
|
|
14374
|
+
"Reference": {
|
|
14375
|
+
"Struct": {
|
|
14376
|
+
"address": "0x2",
|
|
14377
|
+
"module": "nitro_attestation",
|
|
14378
|
+
"name": "NitroAttestationDocument",
|
|
14379
|
+
"typeArguments": []
|
|
14380
|
+
}
|
|
14381
|
+
}
|
|
14382
|
+
}
|
|
14383
|
+
],
|
|
14384
|
+
"return": [
|
|
14385
|
+
{
|
|
14386
|
+
"Reference": {
|
|
14387
|
+
"Struct": {
|
|
14388
|
+
"address": "0x1",
|
|
14389
|
+
"module": "option",
|
|
14390
|
+
"name": "Option",
|
|
14391
|
+
"typeArguments": [
|
|
14392
|
+
{
|
|
14393
|
+
"Vector": "U8"
|
|
14394
|
+
}
|
|
14395
|
+
]
|
|
14396
|
+
}
|
|
14397
|
+
}
|
|
14398
|
+
}
|
|
14399
|
+
]
|
|
14400
|
+
},
|
|
14401
|
+
"timestamp": {
|
|
14402
|
+
"visibility": "Public",
|
|
14403
|
+
"isEntry": false,
|
|
14404
|
+
"typeParameters": [],
|
|
14405
|
+
"parameters": [
|
|
14406
|
+
{
|
|
14407
|
+
"Reference": {
|
|
14408
|
+
"Struct": {
|
|
14409
|
+
"address": "0x2",
|
|
14410
|
+
"module": "nitro_attestation",
|
|
14411
|
+
"name": "NitroAttestationDocument",
|
|
14412
|
+
"typeArguments": []
|
|
14413
|
+
}
|
|
14414
|
+
}
|
|
14415
|
+
}
|
|
14416
|
+
],
|
|
14417
|
+
"return": [
|
|
14418
|
+
{
|
|
14419
|
+
"Reference": "U64"
|
|
14420
|
+
}
|
|
14421
|
+
]
|
|
14422
|
+
},
|
|
14423
|
+
"user_data": {
|
|
14424
|
+
"visibility": "Public",
|
|
14425
|
+
"isEntry": false,
|
|
14426
|
+
"typeParameters": [],
|
|
14427
|
+
"parameters": [
|
|
14428
|
+
{
|
|
14429
|
+
"Reference": {
|
|
14430
|
+
"Struct": {
|
|
14431
|
+
"address": "0x2",
|
|
14432
|
+
"module": "nitro_attestation",
|
|
14433
|
+
"name": "NitroAttestationDocument",
|
|
14434
|
+
"typeArguments": []
|
|
14435
|
+
}
|
|
14436
|
+
}
|
|
14437
|
+
}
|
|
14438
|
+
],
|
|
14439
|
+
"return": [
|
|
14440
|
+
{
|
|
14441
|
+
"Reference": {
|
|
14442
|
+
"Struct": {
|
|
14443
|
+
"address": "0x1",
|
|
14444
|
+
"module": "option",
|
|
14445
|
+
"name": "Option",
|
|
14446
|
+
"typeArguments": [
|
|
14447
|
+
{
|
|
14448
|
+
"Vector": "U8"
|
|
14449
|
+
}
|
|
14450
|
+
]
|
|
14451
|
+
}
|
|
14452
|
+
}
|
|
14453
|
+
}
|
|
14454
|
+
]
|
|
14455
|
+
},
|
|
14456
|
+
"value": {
|
|
14457
|
+
"visibility": "Public",
|
|
14458
|
+
"isEntry": false,
|
|
14459
|
+
"typeParameters": [],
|
|
14460
|
+
"parameters": [
|
|
14461
|
+
{
|
|
14462
|
+
"Reference": {
|
|
14463
|
+
"Struct": {
|
|
14464
|
+
"address": "0x2",
|
|
14465
|
+
"module": "nitro_attestation",
|
|
14466
|
+
"name": "PCREntry",
|
|
14467
|
+
"typeArguments": []
|
|
14468
|
+
}
|
|
14469
|
+
}
|
|
14470
|
+
}
|
|
14471
|
+
],
|
|
14472
|
+
"return": [
|
|
14473
|
+
{
|
|
14474
|
+
"Reference": {
|
|
14475
|
+
"Vector": "U8"
|
|
14476
|
+
}
|
|
14477
|
+
}
|
|
14478
|
+
]
|
|
14479
|
+
}
|
|
14480
|
+
}
|
|
14481
|
+
},
|
|
14074
14482
|
"object": {
|
|
14075
14483
|
"fileFormatVersion": 6,
|
|
14076
14484
|
"address": "0x2",
|
package/src/abis/0x3.json
CHANGED
|
@@ -4870,6 +4870,27 @@
|
|
|
4870
4870
|
],
|
|
4871
4871
|
"return": []
|
|
4872
4872
|
},
|
|
4873
|
+
"store_execution_time_estimates": {
|
|
4874
|
+
"visibility": "Friend",
|
|
4875
|
+
"isEntry": false,
|
|
4876
|
+
"typeParameters": [],
|
|
4877
|
+
"parameters": [
|
|
4878
|
+
{
|
|
4879
|
+
"MutableReference": {
|
|
4880
|
+
"Struct": {
|
|
4881
|
+
"address": "0x3",
|
|
4882
|
+
"module": "sui_system_state_inner",
|
|
4883
|
+
"name": "SuiSystemStateInnerV2",
|
|
4884
|
+
"typeArguments": []
|
|
4885
|
+
}
|
|
4886
|
+
}
|
|
4887
|
+
},
|
|
4888
|
+
{
|
|
4889
|
+
"Vector": "U8"
|
|
4890
|
+
}
|
|
4891
|
+
],
|
|
4892
|
+
"return": []
|
|
4893
|
+
},
|
|
4873
4894
|
"system_state_version": {
|
|
4874
4895
|
"visibility": "Friend",
|
|
4875
4896
|
"isEntry": false,
|