@typemove/aptos 2.0.5 → 2.0.6-rc.1
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/esm/builtin/0x1.d.ts +85 -1
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +185 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +273 -3
- package/src/builtin/0x1.ts +300 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typemove/aptos",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6-rc.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"commander": "^15.0.0",
|
|
33
33
|
"prettier": "^3.8.3",
|
|
34
34
|
"radash": "^12.1.1",
|
|
35
|
-
"@typemove/move": "2.0.
|
|
35
|
+
"@typemove/move": "2.0.6-rc.1"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"_gen": "pnpm gen:test && tsx src/codegen/run.ts -t src/builtin -a src/abis",
|
package/src/abis/0x1.json
CHANGED
|
@@ -9189,6 +9189,7 @@
|
|
|
9189
9189
|
"friends": [
|
|
9190
9190
|
"0x1::coin",
|
|
9191
9191
|
"0x1::aptos_account",
|
|
9192
|
+
"0x1::keyless_account",
|
|
9192
9193
|
"0x1::transaction_validation",
|
|
9193
9194
|
"0x1::genesis",
|
|
9194
9195
|
"0x1::multisig_account",
|
|
@@ -9333,6 +9334,19 @@
|
|
|
9333
9334
|
"signer"
|
|
9334
9335
|
]
|
|
9335
9336
|
},
|
|
9337
|
+
{
|
|
9338
|
+
"name": "encrypted_dk_exists",
|
|
9339
|
+
"visibility": "public",
|
|
9340
|
+
"is_entry": false,
|
|
9341
|
+
"is_view": true,
|
|
9342
|
+
"generic_type_params": [],
|
|
9343
|
+
"params": [
|
|
9344
|
+
"address"
|
|
9345
|
+
],
|
|
9346
|
+
"return": [
|
|
9347
|
+
"bool"
|
|
9348
|
+
]
|
|
9349
|
+
},
|
|
9336
9350
|
{
|
|
9337
9351
|
"name": "exists_at",
|
|
9338
9352
|
"visibility": "public",
|
|
@@ -9359,6 +9373,19 @@
|
|
|
9359
9373
|
"vector<u8>"
|
|
9360
9374
|
]
|
|
9361
9375
|
},
|
|
9376
|
+
{
|
|
9377
|
+
"name": "get_encrypted_dk",
|
|
9378
|
+
"visibility": "public",
|
|
9379
|
+
"is_entry": false,
|
|
9380
|
+
"is_view": true,
|
|
9381
|
+
"generic_type_params": [],
|
|
9382
|
+
"params": [
|
|
9383
|
+
"address"
|
|
9384
|
+
],
|
|
9385
|
+
"return": [
|
|
9386
|
+
"0x1::account::EncryptedDK"
|
|
9387
|
+
]
|
|
9388
|
+
},
|
|
9362
9389
|
{
|
|
9363
9390
|
"name": "get_guid_next_creation_num",
|
|
9364
9391
|
"visibility": "public",
|
|
@@ -9669,6 +9696,21 @@
|
|
|
9669
9696
|
],
|
|
9670
9697
|
"return": []
|
|
9671
9698
|
},
|
|
9699
|
+
{
|
|
9700
|
+
"name": "upsert_ed25519_backup_key_and_encrypt_dk",
|
|
9701
|
+
"visibility": "private",
|
|
9702
|
+
"is_entry": true,
|
|
9703
|
+
"is_view": false,
|
|
9704
|
+
"generic_type_params": [],
|
|
9705
|
+
"params": [
|
|
9706
|
+
"&signer",
|
|
9707
|
+
"vector<u8>",
|
|
9708
|
+
"vector<u8>",
|
|
9709
|
+
"vector<u8>",
|
|
9710
|
+
"vector<u8>"
|
|
9711
|
+
],
|
|
9712
|
+
"return": []
|
|
9713
|
+
},
|
|
9672
9714
|
{
|
|
9673
9715
|
"name": "upsert_ed25519_backup_key_on_keyless_account",
|
|
9674
9716
|
"visibility": "private",
|
|
@@ -9683,6 +9725,18 @@
|
|
|
9683
9725
|
],
|
|
9684
9726
|
"return": []
|
|
9685
9727
|
},
|
|
9728
|
+
{
|
|
9729
|
+
"name": "upsert_encrypted_dk",
|
|
9730
|
+
"visibility": "friend",
|
|
9731
|
+
"is_entry": false,
|
|
9732
|
+
"is_view": false,
|
|
9733
|
+
"generic_type_params": [],
|
|
9734
|
+
"params": [
|
|
9735
|
+
"&signer",
|
|
9736
|
+
"vector<u8>"
|
|
9737
|
+
],
|
|
9738
|
+
"return": []
|
|
9739
|
+
},
|
|
9686
9740
|
{
|
|
9687
9741
|
"name": "verify_signed_message",
|
|
9688
9742
|
"visibility": "public",
|
|
@@ -9832,6 +9886,31 @@
|
|
|
9832
9886
|
],
|
|
9833
9887
|
"variants": []
|
|
9834
9888
|
},
|
|
9889
|
+
{
|
|
9890
|
+
"name": "EncryptedDK",
|
|
9891
|
+
"is_native": false,
|
|
9892
|
+
"is_event": false,
|
|
9893
|
+
"is_enum": true,
|
|
9894
|
+
"abilities": [
|
|
9895
|
+
"copy",
|
|
9896
|
+
"drop",
|
|
9897
|
+
"store",
|
|
9898
|
+
"key"
|
|
9899
|
+
],
|
|
9900
|
+
"generic_type_params": [],
|
|
9901
|
+
"fields": [],
|
|
9902
|
+
"variants": [
|
|
9903
|
+
{
|
|
9904
|
+
"name": "V1",
|
|
9905
|
+
"fields": [
|
|
9906
|
+
{
|
|
9907
|
+
"name": "ciphertext",
|
|
9908
|
+
"type": "vector<u8>"
|
|
9909
|
+
}
|
|
9910
|
+
]
|
|
9911
|
+
}
|
|
9912
|
+
]
|
|
9913
|
+
},
|
|
9835
9914
|
{
|
|
9836
9915
|
"name": "KeyRotation",
|
|
9837
9916
|
"is_native": false,
|
|
@@ -13488,6 +13567,17 @@
|
|
|
13488
13567
|
"u64"
|
|
13489
13568
|
]
|
|
13490
13569
|
},
|
|
13570
|
+
{
|
|
13571
|
+
"name": "get_multisig_timelock_feature",
|
|
13572
|
+
"visibility": "public",
|
|
13573
|
+
"is_entry": false,
|
|
13574
|
+
"is_view": false,
|
|
13575
|
+
"generic_type_params": [],
|
|
13576
|
+
"params": [],
|
|
13577
|
+
"return": [
|
|
13578
|
+
"u64"
|
|
13579
|
+
]
|
|
13580
|
+
},
|
|
13491
13581
|
{
|
|
13492
13582
|
"name": "get_multisig_v2_enhancement_feature",
|
|
13493
13583
|
"visibility": "public",
|
|
@@ -13864,6 +13954,17 @@
|
|
|
13864
13954
|
"bool"
|
|
13865
13955
|
]
|
|
13866
13956
|
},
|
|
13957
|
+
{
|
|
13958
|
+
"name": "is_multisig_timelock_enabled",
|
|
13959
|
+
"visibility": "public",
|
|
13960
|
+
"is_entry": false,
|
|
13961
|
+
"is_view": false,
|
|
13962
|
+
"generic_type_params": [],
|
|
13963
|
+
"params": [],
|
|
13964
|
+
"return": [
|
|
13965
|
+
"bool"
|
|
13966
|
+
]
|
|
13967
|
+
},
|
|
13867
13968
|
{
|
|
13868
13969
|
"name": "is_native_memory_operations_enabled",
|
|
13869
13970
|
"visibility": "public",
|
|
@@ -17905,6 +18006,19 @@
|
|
|
17905
18006
|
"0x1::single_key::AnyPublicKey"
|
|
17906
18007
|
]
|
|
17907
18008
|
},
|
|
18009
|
+
{
|
|
18010
|
+
"name": "from_ed25519_public_key",
|
|
18011
|
+
"visibility": "public",
|
|
18012
|
+
"is_entry": false,
|
|
18013
|
+
"is_view": false,
|
|
18014
|
+
"generic_type_params": [],
|
|
18015
|
+
"params": [
|
|
18016
|
+
"0x1::ed25519::ValidatedPublicKey"
|
|
18017
|
+
],
|
|
18018
|
+
"return": [
|
|
18019
|
+
"0x1::single_key::AnyPublicKey"
|
|
18020
|
+
]
|
|
18021
|
+
},
|
|
17908
18022
|
{
|
|
17909
18023
|
"name": "from_ed25519_public_key_unvalidated",
|
|
17910
18024
|
"visibility": "public",
|
|
@@ -30166,6 +30280,24 @@
|
|
|
30166
30280
|
"0x1::keyless_account::Groth16VerificationKey"
|
|
30167
30281
|
]
|
|
30168
30282
|
},
|
|
30283
|
+
{
|
|
30284
|
+
"name": "register_ek_and_encrypt_dk",
|
|
30285
|
+
"visibility": "private",
|
|
30286
|
+
"is_entry": true,
|
|
30287
|
+
"is_view": false,
|
|
30288
|
+
"generic_type_params": [],
|
|
30289
|
+
"params": [
|
|
30290
|
+
"&signer",
|
|
30291
|
+
"vector<u8>",
|
|
30292
|
+
"vector<u8>",
|
|
30293
|
+
"0x1::object::Object<0x1::fungible_asset::Metadata>",
|
|
30294
|
+
"vector<u8>",
|
|
30295
|
+
"vector<vector<u8>>",
|
|
30296
|
+
"vector<vector<u8>>",
|
|
30297
|
+
"vector<u8>"
|
|
30298
|
+
],
|
|
30299
|
+
"return": []
|
|
30300
|
+
},
|
|
30169
30301
|
{
|
|
30170
30302
|
"name": "remove_all_override_auds",
|
|
30171
30303
|
"visibility": "public",
|
|
@@ -32206,6 +32338,36 @@
|
|
|
32206
32338
|
],
|
|
32207
32339
|
"return": []
|
|
32208
32340
|
},
|
|
32341
|
+
{
|
|
32342
|
+
"name": "create_with_owners_and_timelock",
|
|
32343
|
+
"visibility": "public",
|
|
32344
|
+
"is_entry": true,
|
|
32345
|
+
"is_view": false,
|
|
32346
|
+
"generic_type_params": [],
|
|
32347
|
+
"params": [
|
|
32348
|
+
"&signer",
|
|
32349
|
+
"vector<address>",
|
|
32350
|
+
"u64",
|
|
32351
|
+
"vector<0x1::string::String>",
|
|
32352
|
+
"vector<vector<u8>>",
|
|
32353
|
+
"0x1::option::Option<u64>",
|
|
32354
|
+
"0x1::option::Option<u64>"
|
|
32355
|
+
],
|
|
32356
|
+
"return": []
|
|
32357
|
+
},
|
|
32358
|
+
{
|
|
32359
|
+
"name": "timelock_period",
|
|
32360
|
+
"visibility": "public",
|
|
32361
|
+
"is_entry": false,
|
|
32362
|
+
"is_view": true,
|
|
32363
|
+
"generic_type_params": [],
|
|
32364
|
+
"params": [
|
|
32365
|
+
"address"
|
|
32366
|
+
],
|
|
32367
|
+
"return": [
|
|
32368
|
+
"u64"
|
|
32369
|
+
]
|
|
32370
|
+
},
|
|
32209
32371
|
{
|
|
32210
32372
|
"name": "create_with_owners_then_remove_bootstrapper",
|
|
32211
32373
|
"visibility": "public",
|
|
@@ -32363,6 +32525,17 @@
|
|
|
32363
32525
|
],
|
|
32364
32526
|
"return": []
|
|
32365
32527
|
},
|
|
32528
|
+
{
|
|
32529
|
+
"name": "remove_timelock",
|
|
32530
|
+
"visibility": "private",
|
|
32531
|
+
"is_entry": true,
|
|
32532
|
+
"is_view": false,
|
|
32533
|
+
"generic_type_params": [],
|
|
32534
|
+
"params": [
|
|
32535
|
+
"&signer"
|
|
32536
|
+
],
|
|
32537
|
+
"return": []
|
|
32538
|
+
},
|
|
32366
32539
|
{
|
|
32367
32540
|
"name": "swap_owner",
|
|
32368
32541
|
"visibility": "private",
|
|
@@ -32403,6 +32576,19 @@
|
|
|
32403
32576
|
],
|
|
32404
32577
|
"return": []
|
|
32405
32578
|
},
|
|
32579
|
+
{
|
|
32580
|
+
"name": "timelock_override_threshold",
|
|
32581
|
+
"visibility": "public",
|
|
32582
|
+
"is_entry": false,
|
|
32583
|
+
"is_view": true,
|
|
32584
|
+
"generic_type_params": [],
|
|
32585
|
+
"params": [
|
|
32586
|
+
"address"
|
|
32587
|
+
],
|
|
32588
|
+
"return": [
|
|
32589
|
+
"0x1::option::Option<u64>"
|
|
32590
|
+
]
|
|
32591
|
+
},
|
|
32406
32592
|
{
|
|
32407
32593
|
"name": "update_metadata",
|
|
32408
32594
|
"visibility": "private",
|
|
@@ -32428,6 +32614,19 @@
|
|
|
32428
32614
|
],
|
|
32429
32615
|
"return": []
|
|
32430
32616
|
},
|
|
32617
|
+
{
|
|
32618
|
+
"name": "upsert_timelock",
|
|
32619
|
+
"visibility": "private",
|
|
32620
|
+
"is_entry": true,
|
|
32621
|
+
"is_view": false,
|
|
32622
|
+
"generic_type_params": [],
|
|
32623
|
+
"params": [
|
|
32624
|
+
"&signer",
|
|
32625
|
+
"u64",
|
|
32626
|
+
"0x1::option::Option<u64>"
|
|
32627
|
+
],
|
|
32628
|
+
"return": []
|
|
32629
|
+
},
|
|
32431
32630
|
{
|
|
32432
32631
|
"name": "vote_transaction",
|
|
32433
32632
|
"visibility": "public",
|
|
@@ -32901,6 +33100,33 @@
|
|
|
32901
33100
|
],
|
|
32902
33101
|
"variants": []
|
|
32903
33102
|
},
|
|
33103
|
+
{
|
|
33104
|
+
"name": "MultisigAccountTimeLock",
|
|
33105
|
+
"is_native": false,
|
|
33106
|
+
"is_event": false,
|
|
33107
|
+
"is_enum": true,
|
|
33108
|
+
"abilities": [
|
|
33109
|
+
"drop",
|
|
33110
|
+
"key"
|
|
33111
|
+
],
|
|
33112
|
+
"generic_type_params": [],
|
|
33113
|
+
"fields": [],
|
|
33114
|
+
"variants": [
|
|
33115
|
+
{
|
|
33116
|
+
"name": "V1",
|
|
33117
|
+
"fields": [
|
|
33118
|
+
{
|
|
33119
|
+
"name": "timelock_period",
|
|
33120
|
+
"type": "u64"
|
|
33121
|
+
},
|
|
33122
|
+
{
|
|
33123
|
+
"name": "override_threshold",
|
|
33124
|
+
"type": "0x1::option::Option<u64>"
|
|
33125
|
+
}
|
|
33126
|
+
]
|
|
33127
|
+
}
|
|
33128
|
+
]
|
|
33129
|
+
},
|
|
32904
33130
|
{
|
|
32905
33131
|
"name": "MultisigTransaction",
|
|
32906
33132
|
"is_native": false,
|
|
@@ -32976,6 +33202,50 @@
|
|
|
32976
33202
|
],
|
|
32977
33203
|
"variants": []
|
|
32978
33204
|
},
|
|
33205
|
+
{
|
|
33206
|
+
"name": "TimelockRemoved",
|
|
33207
|
+
"is_native": false,
|
|
33208
|
+
"is_event": true,
|
|
33209
|
+
"is_enum": false,
|
|
33210
|
+
"abilities": [
|
|
33211
|
+
"drop",
|
|
33212
|
+
"store"
|
|
33213
|
+
],
|
|
33214
|
+
"generic_type_params": [],
|
|
33215
|
+
"fields": [
|
|
33216
|
+
{
|
|
33217
|
+
"name": "multisig_account",
|
|
33218
|
+
"type": "address"
|
|
33219
|
+
}
|
|
33220
|
+
],
|
|
33221
|
+
"variants": []
|
|
33222
|
+
},
|
|
33223
|
+
{
|
|
33224
|
+
"name": "TimelockUpdated",
|
|
33225
|
+
"is_native": false,
|
|
33226
|
+
"is_event": true,
|
|
33227
|
+
"is_enum": false,
|
|
33228
|
+
"abilities": [
|
|
33229
|
+
"drop",
|
|
33230
|
+
"store"
|
|
33231
|
+
],
|
|
33232
|
+
"generic_type_params": [],
|
|
33233
|
+
"fields": [
|
|
33234
|
+
{
|
|
33235
|
+
"name": "multisig_account",
|
|
33236
|
+
"type": "address"
|
|
33237
|
+
},
|
|
33238
|
+
{
|
|
33239
|
+
"name": "timelock_period",
|
|
33240
|
+
"type": "u64"
|
|
33241
|
+
},
|
|
33242
|
+
{
|
|
33243
|
+
"name": "override_threshold",
|
|
33244
|
+
"type": "0x1::option::Option<u64>"
|
|
33245
|
+
}
|
|
33246
|
+
],
|
|
33247
|
+
"variants": []
|
|
33248
|
+
},
|
|
32979
33249
|
{
|
|
32980
33250
|
"name": "TransactionExecutionFailed",
|
|
32981
33251
|
"is_native": false,
|
|
@@ -38868,8 +39138,8 @@
|
|
|
38868
39138
|
"address": "0x1",
|
|
38869
39139
|
"name": "confidential_balance",
|
|
38870
39140
|
"friends": [
|
|
38871
|
-
"0x1::confidential_amount",
|
|
38872
39141
|
"0x1::sigma_protocol_withdraw",
|
|
39142
|
+
"0x1::confidential_amount",
|
|
38873
39143
|
"0x1::sigma_protocol_transfer",
|
|
38874
39144
|
"0x1::sigma_protocol_registration",
|
|
38875
39145
|
"0x1::sigma_protocol_key_rotation",
|
|
@@ -40105,11 +40375,11 @@
|
|
|
40105
40375
|
"address": "0x1",
|
|
40106
40376
|
"name": "sigma_protocol_utils",
|
|
40107
40377
|
"friends": [
|
|
40108
|
-
"0x1::confidential_balance",
|
|
40109
|
-
"0x1::confidential_amount",
|
|
40110
40378
|
"0x1::sigma_protocol_proof",
|
|
40111
40379
|
"0x1::sigma_protocol",
|
|
40380
|
+
"0x1::confidential_balance",
|
|
40112
40381
|
"0x1::sigma_protocol_withdraw",
|
|
40382
|
+
"0x1::confidential_amount",
|
|
40113
40383
|
"0x1::sigma_protocol_transfer",
|
|
40114
40384
|
"0x1::sigma_protocol_registration",
|
|
40115
40385
|
"0x1::sigma_protocol_key_rotation",
|