@typemove/sui 1.6.5 → 1.6.6-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typemove/sui",
3
- "version": "1.6.5",
3
+ "version": "1.6.6-rc.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -30,12 +30,12 @@
30
30
  ],
31
31
  "types": "./dist/cjs/index.d.ts",
32
32
  "dependencies": {
33
- "@mysten/sui": "~1.13.0",
33
+ "@mysten/sui": "~1.14.0",
34
34
  "chalk": "^5.3.0",
35
35
  "commander": "^12.0.0",
36
36
  "prettier": "^3.2.4",
37
37
  "radash": "^12.0.0",
38
- "@typemove/move": "1.6.5"
38
+ "@typemove/move": "1.6.6-rc.2"
39
39
  },
40
40
  "url": "https://github.com/sentioxyz/typemove",
41
41
  "scripts": {
package/src/abis/0x1.json CHANGED
@@ -3012,6 +3012,397 @@
3012
3012
  }
3013
3013
  }
3014
3014
  },
3015
+ "uq32_32": {
3016
+ "fileFormatVersion": 6,
3017
+ "address": "0x1",
3018
+ "name": "uq32_32",
3019
+ "friends": [],
3020
+ "structs": {
3021
+ "UQ32_32": {
3022
+ "abilities": {
3023
+ "abilities": [
3024
+ "Copy",
3025
+ "Drop",
3026
+ "Store"
3027
+ ]
3028
+ },
3029
+ "typeParameters": [],
3030
+ "fields": [
3031
+ {
3032
+ "name": "pos0",
3033
+ "type": "U64"
3034
+ }
3035
+ ]
3036
+ }
3037
+ },
3038
+ "exposedFunctions": {
3039
+ "add": {
3040
+ "visibility": "Public",
3041
+ "isEntry": false,
3042
+ "typeParameters": [],
3043
+ "parameters": [
3044
+ {
3045
+ "Struct": {
3046
+ "address": "0x1",
3047
+ "module": "uq32_32",
3048
+ "name": "UQ32_32",
3049
+ "typeArguments": []
3050
+ }
3051
+ },
3052
+ {
3053
+ "Struct": {
3054
+ "address": "0x1",
3055
+ "module": "uq32_32",
3056
+ "name": "UQ32_32",
3057
+ "typeArguments": []
3058
+ }
3059
+ }
3060
+ ],
3061
+ "return": [
3062
+ {
3063
+ "Struct": {
3064
+ "address": "0x1",
3065
+ "module": "uq32_32",
3066
+ "name": "UQ32_32",
3067
+ "typeArguments": []
3068
+ }
3069
+ }
3070
+ ]
3071
+ },
3072
+ "div": {
3073
+ "visibility": "Public",
3074
+ "isEntry": false,
3075
+ "typeParameters": [],
3076
+ "parameters": [
3077
+ {
3078
+ "Struct": {
3079
+ "address": "0x1",
3080
+ "module": "uq32_32",
3081
+ "name": "UQ32_32",
3082
+ "typeArguments": []
3083
+ }
3084
+ },
3085
+ {
3086
+ "Struct": {
3087
+ "address": "0x1",
3088
+ "module": "uq32_32",
3089
+ "name": "UQ32_32",
3090
+ "typeArguments": []
3091
+ }
3092
+ }
3093
+ ],
3094
+ "return": [
3095
+ {
3096
+ "Struct": {
3097
+ "address": "0x1",
3098
+ "module": "uq32_32",
3099
+ "name": "UQ32_32",
3100
+ "typeArguments": []
3101
+ }
3102
+ }
3103
+ ]
3104
+ },
3105
+ "from_int": {
3106
+ "visibility": "Public",
3107
+ "isEntry": false,
3108
+ "typeParameters": [],
3109
+ "parameters": [
3110
+ "U32"
3111
+ ],
3112
+ "return": [
3113
+ {
3114
+ "Struct": {
3115
+ "address": "0x1",
3116
+ "module": "uq32_32",
3117
+ "name": "UQ32_32",
3118
+ "typeArguments": []
3119
+ }
3120
+ }
3121
+ ]
3122
+ },
3123
+ "from_quotient": {
3124
+ "visibility": "Public",
3125
+ "isEntry": false,
3126
+ "typeParameters": [],
3127
+ "parameters": [
3128
+ "U64",
3129
+ "U64"
3130
+ ],
3131
+ "return": [
3132
+ {
3133
+ "Struct": {
3134
+ "address": "0x1",
3135
+ "module": "uq32_32",
3136
+ "name": "UQ32_32",
3137
+ "typeArguments": []
3138
+ }
3139
+ }
3140
+ ]
3141
+ },
3142
+ "from_raw": {
3143
+ "visibility": "Public",
3144
+ "isEntry": false,
3145
+ "typeParameters": [],
3146
+ "parameters": [
3147
+ "U64"
3148
+ ],
3149
+ "return": [
3150
+ {
3151
+ "Struct": {
3152
+ "address": "0x1",
3153
+ "module": "uq32_32",
3154
+ "name": "UQ32_32",
3155
+ "typeArguments": []
3156
+ }
3157
+ }
3158
+ ]
3159
+ },
3160
+ "ge": {
3161
+ "visibility": "Public",
3162
+ "isEntry": false,
3163
+ "typeParameters": [],
3164
+ "parameters": [
3165
+ {
3166
+ "Struct": {
3167
+ "address": "0x1",
3168
+ "module": "uq32_32",
3169
+ "name": "UQ32_32",
3170
+ "typeArguments": []
3171
+ }
3172
+ },
3173
+ {
3174
+ "Struct": {
3175
+ "address": "0x1",
3176
+ "module": "uq32_32",
3177
+ "name": "UQ32_32",
3178
+ "typeArguments": []
3179
+ }
3180
+ }
3181
+ ],
3182
+ "return": [
3183
+ "Bool"
3184
+ ]
3185
+ },
3186
+ "gt": {
3187
+ "visibility": "Public",
3188
+ "isEntry": false,
3189
+ "typeParameters": [],
3190
+ "parameters": [
3191
+ {
3192
+ "Struct": {
3193
+ "address": "0x1",
3194
+ "module": "uq32_32",
3195
+ "name": "UQ32_32",
3196
+ "typeArguments": []
3197
+ }
3198
+ },
3199
+ {
3200
+ "Struct": {
3201
+ "address": "0x1",
3202
+ "module": "uq32_32",
3203
+ "name": "UQ32_32",
3204
+ "typeArguments": []
3205
+ }
3206
+ }
3207
+ ],
3208
+ "return": [
3209
+ "Bool"
3210
+ ]
3211
+ },
3212
+ "int_div": {
3213
+ "visibility": "Public",
3214
+ "isEntry": false,
3215
+ "typeParameters": [],
3216
+ "parameters": [
3217
+ "U64",
3218
+ {
3219
+ "Struct": {
3220
+ "address": "0x1",
3221
+ "module": "uq32_32",
3222
+ "name": "UQ32_32",
3223
+ "typeArguments": []
3224
+ }
3225
+ }
3226
+ ],
3227
+ "return": [
3228
+ "U64"
3229
+ ]
3230
+ },
3231
+ "int_mul": {
3232
+ "visibility": "Public",
3233
+ "isEntry": false,
3234
+ "typeParameters": [],
3235
+ "parameters": [
3236
+ "U64",
3237
+ {
3238
+ "Struct": {
3239
+ "address": "0x1",
3240
+ "module": "uq32_32",
3241
+ "name": "UQ32_32",
3242
+ "typeArguments": []
3243
+ }
3244
+ }
3245
+ ],
3246
+ "return": [
3247
+ "U64"
3248
+ ]
3249
+ },
3250
+ "le": {
3251
+ "visibility": "Public",
3252
+ "isEntry": false,
3253
+ "typeParameters": [],
3254
+ "parameters": [
3255
+ {
3256
+ "Struct": {
3257
+ "address": "0x1",
3258
+ "module": "uq32_32",
3259
+ "name": "UQ32_32",
3260
+ "typeArguments": []
3261
+ }
3262
+ },
3263
+ {
3264
+ "Struct": {
3265
+ "address": "0x1",
3266
+ "module": "uq32_32",
3267
+ "name": "UQ32_32",
3268
+ "typeArguments": []
3269
+ }
3270
+ }
3271
+ ],
3272
+ "return": [
3273
+ "Bool"
3274
+ ]
3275
+ },
3276
+ "lt": {
3277
+ "visibility": "Public",
3278
+ "isEntry": false,
3279
+ "typeParameters": [],
3280
+ "parameters": [
3281
+ {
3282
+ "Struct": {
3283
+ "address": "0x1",
3284
+ "module": "uq32_32",
3285
+ "name": "UQ32_32",
3286
+ "typeArguments": []
3287
+ }
3288
+ },
3289
+ {
3290
+ "Struct": {
3291
+ "address": "0x1",
3292
+ "module": "uq32_32",
3293
+ "name": "UQ32_32",
3294
+ "typeArguments": []
3295
+ }
3296
+ }
3297
+ ],
3298
+ "return": [
3299
+ "Bool"
3300
+ ]
3301
+ },
3302
+ "mul": {
3303
+ "visibility": "Public",
3304
+ "isEntry": false,
3305
+ "typeParameters": [],
3306
+ "parameters": [
3307
+ {
3308
+ "Struct": {
3309
+ "address": "0x1",
3310
+ "module": "uq32_32",
3311
+ "name": "UQ32_32",
3312
+ "typeArguments": []
3313
+ }
3314
+ },
3315
+ {
3316
+ "Struct": {
3317
+ "address": "0x1",
3318
+ "module": "uq32_32",
3319
+ "name": "UQ32_32",
3320
+ "typeArguments": []
3321
+ }
3322
+ }
3323
+ ],
3324
+ "return": [
3325
+ {
3326
+ "Struct": {
3327
+ "address": "0x1",
3328
+ "module": "uq32_32",
3329
+ "name": "UQ32_32",
3330
+ "typeArguments": []
3331
+ }
3332
+ }
3333
+ ]
3334
+ },
3335
+ "sub": {
3336
+ "visibility": "Public",
3337
+ "isEntry": false,
3338
+ "typeParameters": [],
3339
+ "parameters": [
3340
+ {
3341
+ "Struct": {
3342
+ "address": "0x1",
3343
+ "module": "uq32_32",
3344
+ "name": "UQ32_32",
3345
+ "typeArguments": []
3346
+ }
3347
+ },
3348
+ {
3349
+ "Struct": {
3350
+ "address": "0x1",
3351
+ "module": "uq32_32",
3352
+ "name": "UQ32_32",
3353
+ "typeArguments": []
3354
+ }
3355
+ }
3356
+ ],
3357
+ "return": [
3358
+ {
3359
+ "Struct": {
3360
+ "address": "0x1",
3361
+ "module": "uq32_32",
3362
+ "name": "UQ32_32",
3363
+ "typeArguments": []
3364
+ }
3365
+ }
3366
+ ]
3367
+ },
3368
+ "to_int": {
3369
+ "visibility": "Public",
3370
+ "isEntry": false,
3371
+ "typeParameters": [],
3372
+ "parameters": [
3373
+ {
3374
+ "Struct": {
3375
+ "address": "0x1",
3376
+ "module": "uq32_32",
3377
+ "name": "UQ32_32",
3378
+ "typeArguments": []
3379
+ }
3380
+ }
3381
+ ],
3382
+ "return": [
3383
+ "U32"
3384
+ ]
3385
+ },
3386
+ "to_raw": {
3387
+ "visibility": "Public",
3388
+ "isEntry": false,
3389
+ "typeParameters": [],
3390
+ "parameters": [
3391
+ {
3392
+ "Struct": {
3393
+ "address": "0x1",
3394
+ "module": "uq32_32",
3395
+ "name": "UQ32_32",
3396
+ "typeArguments": []
3397
+ }
3398
+ }
3399
+ ],
3400
+ "return": [
3401
+ "U64"
3402
+ ]
3403
+ }
3404
+ }
3405
+ },
3015
3406
  "vector": {
3016
3407
  "fileFormatVersion": 6,
3017
3408
  "address": "0x1",
package/src/abis/0x3.json CHANGED
@@ -392,6 +392,26 @@
392
392
  "return": [
393
393
  "U64"
394
394
  ]
395
+ },
396
+ "get_distribution_counter": {
397
+ "visibility": "Friend",
398
+ "isEntry": false,
399
+ "typeParameters": [],
400
+ "parameters": [
401
+ {
402
+ "Reference": {
403
+ "Struct": {
404
+ "address": "0x3",
405
+ "module": "stake_subsidy",
406
+ "name": "StakeSubsidy",
407
+ "typeArguments": []
408
+ }
409
+ }
410
+ }
411
+ ],
412
+ "return": [
413
+ "U64"
414
+ ]
395
415
  }
396
416
  }
397
417
  },