@sentio/sdk 4.5.0 → 4.5.1-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.
@@ -9940,7 +9940,37 @@
9940
9940
  ]
9941
9941
  }
9942
9942
  },
9943
- "exposedFunctions": {}
9943
+ "exposedFunctions": {
9944
+ "derive_address": {
9945
+ "visibility": "Public",
9946
+ "isEntry": false,
9947
+ "typeParameters": [
9948
+ {
9949
+ "abilities": [
9950
+ "Copy",
9951
+ "Drop",
9952
+ "Store"
9953
+ ]
9954
+ }
9955
+ ],
9956
+ "parameters": [
9957
+ {
9958
+ "Struct": {
9959
+ "address": "0x2",
9960
+ "module": "object",
9961
+ "name": "ID",
9962
+ "typeArguments": []
9963
+ }
9964
+ },
9965
+ {
9966
+ "TypeParameter": 0
9967
+ }
9968
+ ],
9969
+ "return": [
9970
+ "Address"
9971
+ ]
9972
+ }
9973
+ }
9944
9974
  },
9945
9975
  "display": {
9946
9976
  "fileFormatVersion": 6,
@@ -10578,6 +10608,10 @@
10578
10608
  "address": "0x2",
10579
10609
  "name": "config"
10580
10610
  },
10611
+ {
10612
+ "address": "0x2",
10613
+ "name": "derived_object"
10614
+ },
10581
10615
  {
10582
10616
  "address": "0x2",
10583
10617
  "name": "dynamic_object_field"
@@ -16912,277 +16946,292 @@
16912
16946
  }
16913
16947
  }
16914
16948
  },
16915
- "object": {
16949
+ "module_metadata": {
16916
16950
  "fileFormatVersion": 6,
16917
16951
  "address": "0x2",
16918
- "name": "object",
16952
+ "name": "module_metadata",
16919
16953
  "friends": [
16920
16954
  {
16921
16955
  "address": "0x2",
16922
- "name": "clock"
16923
- },
16924
- {
16925
- "address": "0x2",
16926
- "name": "deny_list"
16927
- },
16928
- {
16929
- "address": "0x2",
16930
- "name": "dynamic_field"
16931
- },
16932
- {
16933
- "address": "0x2",
16934
- "name": "random"
16956
+ "name": "package_metadata"
16935
16957
  }
16936
16958
  ],
16937
16959
  "structs": {
16938
- "ID": {
16960
+ "ModuleMetadata": {
16939
16961
  "abilities": {
16940
16962
  "abilities": [
16941
- "Copy",
16942
- "Drop",
16943
- "Store"
16963
+ "Store",
16964
+ "Key"
16944
16965
  ]
16945
16966
  },
16946
16967
  "typeParameters": [],
16947
16968
  "fields": [
16948
16969
  {
16949
- "name": "bytes",
16950
- "type": "Address"
16970
+ "name": "id",
16971
+ "type": {
16972
+ "Struct": {
16973
+ "address": "0x2",
16974
+ "module": "object",
16975
+ "name": "UID",
16976
+ "typeArguments": []
16977
+ }
16978
+ }
16979
+ },
16980
+ {
16981
+ "name": "size",
16982
+ "type": "U64"
16951
16983
  }
16952
16984
  ]
16953
16985
  },
16954
- "UID": {
16986
+ "ModuleMetadataKey": {
16955
16987
  "abilities": {
16956
16988
  "abilities": [
16989
+ "Copy",
16990
+ "Drop",
16957
16991
  "Store"
16958
16992
  ]
16959
16993
  },
16960
16994
  "typeParameters": [],
16961
16995
  "fields": [
16962
16996
  {
16963
- "name": "id",
16997
+ "name": "pos0",
16964
16998
  "type": {
16965
16999
  "Struct": {
16966
- "address": "0x2",
16967
- "module": "object",
16968
- "name": "ID",
17000
+ "address": "0x1",
17001
+ "module": "ascii",
17002
+ "name": "String",
16969
17003
  "typeArguments": []
16970
17004
  }
16971
17005
  }
16972
17006
  }
16973
17007
  ]
16974
- }
16975
- },
16976
- "exposedFunctions": {
16977
- "authenticator_state": {
16978
- "visibility": "Friend",
16979
- "isEntry": false,
17008
+ },
17009
+ "ViewFunctionMetadataV1FieldName": {
17010
+ "abilities": {
17011
+ "abilities": [
17012
+ "Copy",
17013
+ "Drop",
17014
+ "Store"
17015
+ ]
17016
+ },
16980
17017
  "typeParameters": [],
16981
- "parameters": [],
16982
- "return": [
17018
+ "fields": [
16983
17019
  {
16984
- "Struct": {
16985
- "address": "0x2",
16986
- "module": "object",
16987
- "name": "UID",
16988
- "typeArguments": []
16989
- }
17020
+ "name": "dummy_field",
17021
+ "type": "Bool"
16990
17022
  }
16991
17023
  ]
16992
- },
16993
- "borrow_id": {
16994
- "visibility": "Public",
17024
+ }
17025
+ },
17026
+ "exposedFunctions": {
17027
+ "add": {
17028
+ "visibility": "Friend",
16995
17029
  "isEntry": false,
16996
17030
  "typeParameters": [
16997
17031
  {
16998
17032
  "abilities": [
16999
- "Key"
17033
+ "Copy",
17034
+ "Drop",
17035
+ "Store"
17000
17036
  ]
17001
- }
17002
- ],
17003
- "parameters": [
17037
+ },
17004
17038
  {
17005
- "Reference": {
17006
- "TypeParameter": 0
17007
- }
17039
+ "abilities": [
17040
+ "Store"
17041
+ ]
17008
17042
  }
17009
17043
  ],
17010
- "return": [
17044
+ "parameters": [
17011
17045
  {
17012
- "Reference": {
17046
+ "MutableReference": {
17013
17047
  "Struct": {
17014
17048
  "address": "0x2",
17015
- "module": "object",
17016
- "name": "ID",
17049
+ "module": "module_metadata",
17050
+ "name": "ModuleMetadata",
17017
17051
  "typeArguments": []
17018
17052
  }
17019
17053
  }
17054
+ },
17055
+ {
17056
+ "TypeParameter": 0
17057
+ },
17058
+ {
17059
+ "TypeParameter": 1
17020
17060
  }
17021
- ]
17061
+ ],
17062
+ "return": []
17022
17063
  },
17023
- "clock": {
17064
+ "add_view_function_metadata_v1": {
17024
17065
  "visibility": "Friend",
17025
17066
  "isEntry": false,
17026
17067
  "typeParameters": [],
17027
- "parameters": [],
17028
- "return": [
17068
+ "parameters": [
17029
17069
  {
17030
- "Struct": {
17031
- "address": "0x2",
17032
- "module": "object",
17033
- "name": "UID",
17034
- "typeArguments": []
17070
+ "MutableReference": {
17071
+ "Struct": {
17072
+ "address": "0x2",
17073
+ "module": "module_metadata",
17074
+ "name": "ModuleMetadata",
17075
+ "typeArguments": []
17076
+ }
17035
17077
  }
17036
- }
17037
- ]
17038
- },
17039
- "delete": {
17040
- "visibility": "Public",
17041
- "isEntry": false,
17042
- "typeParameters": [],
17043
- "parameters": [
17078
+ },
17044
17079
  {
17045
- "Struct": {
17046
- "address": "0x2",
17047
- "module": "object",
17048
- "name": "UID",
17049
- "typeArguments": []
17080
+ "Vector": {
17081
+ "Struct": {
17082
+ "address": "0x1",
17083
+ "module": "ascii",
17084
+ "name": "String",
17085
+ "typeArguments": []
17086
+ }
17050
17087
  }
17051
17088
  }
17052
17089
  ],
17053
17090
  "return": []
17054
17091
  },
17055
- "id": {
17056
- "visibility": "Public",
17092
+ "borrow": {
17093
+ "visibility": "Friend",
17057
17094
  "isEntry": false,
17058
17095
  "typeParameters": [
17059
17096
  {
17060
17097
  "abilities": [
17061
- "Key"
17098
+ "Copy",
17099
+ "Drop",
17100
+ "Store"
17101
+ ]
17102
+ },
17103
+ {
17104
+ "abilities": [
17105
+ "Store"
17062
17106
  ]
17063
17107
  }
17064
17108
  ],
17065
17109
  "parameters": [
17066
17110
  {
17067
17111
  "Reference": {
17068
- "TypeParameter": 0
17112
+ "Struct": {
17113
+ "address": "0x2",
17114
+ "module": "module_metadata",
17115
+ "name": "ModuleMetadata",
17116
+ "typeArguments": []
17117
+ }
17069
17118
  }
17119
+ },
17120
+ {
17121
+ "TypeParameter": 0
17070
17122
  }
17071
17123
  ],
17072
17124
  "return": [
17073
17125
  {
17074
- "Struct": {
17075
- "address": "0x2",
17076
- "module": "object",
17077
- "name": "ID",
17078
- "typeArguments": []
17126
+ "Reference": {
17127
+ "TypeParameter": 1
17079
17128
  }
17080
17129
  }
17081
17130
  ]
17082
17131
  },
17083
- "id_address": {
17084
- "visibility": "Public",
17132
+ "borrow_mut": {
17133
+ "visibility": "Friend",
17085
17134
  "isEntry": false,
17086
17135
  "typeParameters": [
17087
17136
  {
17088
17137
  "abilities": [
17089
- "Key"
17138
+ "Copy",
17139
+ "Drop",
17140
+ "Store"
17090
17141
  ]
17091
- }
17092
- ],
17093
- "parameters": [
17094
- {
17095
- "Reference": {
17096
- "TypeParameter": 0
17097
- }
17098
- }
17099
- ],
17100
- "return": [
17101
- "Address"
17102
- ]
17103
- },
17104
- "id_bytes": {
17105
- "visibility": "Public",
17106
- "isEntry": false,
17107
- "typeParameters": [
17142
+ },
17108
17143
  {
17109
17144
  "abilities": [
17110
- "Key"
17145
+ "Store"
17111
17146
  ]
17112
17147
  }
17113
17148
  ],
17114
17149
  "parameters": [
17115
17150
  {
17116
- "Reference": {
17117
- "TypeParameter": 0
17151
+ "MutableReference": {
17152
+ "Struct": {
17153
+ "address": "0x2",
17154
+ "module": "module_metadata",
17155
+ "name": "ModuleMetadata",
17156
+ "typeArguments": []
17157
+ }
17118
17158
  }
17159
+ },
17160
+ {
17161
+ "TypeParameter": 0
17119
17162
  }
17120
17163
  ],
17121
17164
  "return": [
17122
17165
  {
17123
- "Vector": "U8"
17166
+ "MutableReference": {
17167
+ "TypeParameter": 1
17168
+ }
17124
17169
  }
17125
17170
  ]
17126
17171
  },
17127
- "id_from_address": {
17172
+ "borrow_view_functions_metadata_v1": {
17128
17173
  "visibility": "Public",
17129
17174
  "isEntry": false,
17130
17175
  "typeParameters": [],
17131
17176
  "parameters": [
17132
- "Address"
17133
- ],
17134
- "return": [
17135
17177
  {
17136
- "Struct": {
17137
- "address": "0x2",
17138
- "module": "object",
17139
- "name": "ID",
17140
- "typeArguments": []
17178
+ "Reference": {
17179
+ "Struct": {
17180
+ "address": "0x2",
17181
+ "module": "module_metadata",
17182
+ "name": "ModuleMetadata",
17183
+ "typeArguments": []
17184
+ }
17141
17185
  }
17142
17186
  }
17143
- ]
17144
- },
17145
- "id_from_bytes": {
17146
- "visibility": "Public",
17147
- "isEntry": false,
17148
- "typeParameters": [],
17149
- "parameters": [
17150
- {
17151
- "Vector": "U8"
17152
- }
17153
17187
  ],
17154
17188
  "return": [
17155
17189
  {
17156
- "Struct": {
17157
- "address": "0x2",
17158
- "module": "object",
17159
- "name": "ID",
17160
- "typeArguments": []
17190
+ "Reference": {
17191
+ "Vector": {
17192
+ "Struct": {
17193
+ "address": "0x1",
17194
+ "module": "ascii",
17195
+ "name": "String",
17196
+ "typeArguments": []
17197
+ }
17198
+ }
17161
17199
  }
17162
17200
  }
17163
17201
  ]
17164
17202
  },
17165
- "id_to_address": {
17166
- "visibility": "Public",
17203
+ "contains": {
17204
+ "visibility": "Friend",
17167
17205
  "isEntry": false,
17168
- "typeParameters": [],
17206
+ "typeParameters": [
17207
+ {
17208
+ "abilities": [
17209
+ "Copy",
17210
+ "Drop",
17211
+ "Store"
17212
+ ]
17213
+ }
17214
+ ],
17169
17215
  "parameters": [
17170
17216
  {
17171
17217
  "Reference": {
17172
17218
  "Struct": {
17173
17219
  "address": "0x2",
17174
- "module": "object",
17175
- "name": "ID",
17220
+ "module": "module_metadata",
17221
+ "name": "ModuleMetadata",
17176
17222
  "typeArguments": []
17177
17223
  }
17178
17224
  }
17225
+ },
17226
+ {
17227
+ "TypeParameter": 0
17179
17228
  }
17180
17229
  ],
17181
17230
  "return": [
17182
- "Address"
17231
+ "Bool"
17183
17232
  ]
17184
17233
  },
17185
- "id_to_bytes": {
17234
+ "contains_view_functions_metadata_v1": {
17186
17235
  "visibility": "Public",
17187
17236
  "isEntry": false,
17188
17237
  "typeParameters": [],
@@ -17191,97 +17240,54 @@
17191
17240
  "Reference": {
17192
17241
  "Struct": {
17193
17242
  "address": "0x2",
17194
- "module": "object",
17195
- "name": "ID",
17243
+ "module": "module_metadata",
17244
+ "name": "ModuleMetadata",
17196
17245
  "typeArguments": []
17197
17246
  }
17198
17247
  }
17199
17248
  }
17200
17249
  ],
17201
17250
  "return": [
17202
- {
17203
- "Vector": "U8"
17204
- }
17251
+ "Bool"
17205
17252
  ]
17206
17253
  },
17207
- "iota_deny_list_object_id": {
17254
+ "contains_with_type": {
17208
17255
  "visibility": "Friend",
17209
17256
  "isEntry": false,
17210
- "typeParameters": [],
17211
- "parameters": [],
17212
- "return": [
17257
+ "typeParameters": [
17213
17258
  {
17214
- "Struct": {
17215
- "address": "0x2",
17216
- "module": "object",
17217
- "name": "UID",
17218
- "typeArguments": []
17219
- }
17259
+ "abilities": [
17260
+ "Copy",
17261
+ "Drop",
17262
+ "Store"
17263
+ ]
17264
+ },
17265
+ {
17266
+ "abilities": [
17267
+ "Store"
17268
+ ]
17220
17269
  }
17221
- ]
17222
- },
17223
- "new": {
17224
- "visibility": "Public",
17225
- "isEntry": false,
17226
- "typeParameters": [],
17270
+ ],
17227
17271
  "parameters": [
17228
17272
  {
17229
- "MutableReference": {
17273
+ "Reference": {
17230
17274
  "Struct": {
17231
17275
  "address": "0x2",
17232
- "module": "tx_context",
17233
- "name": "TxContext",
17276
+ "module": "module_metadata",
17277
+ "name": "ModuleMetadata",
17234
17278
  "typeArguments": []
17235
17279
  }
17236
17280
  }
17237
- }
17238
- ],
17239
- "return": [
17281
+ },
17240
17282
  {
17241
- "Struct": {
17242
- "address": "0x2",
17243
- "module": "object",
17244
- "name": "UID",
17245
- "typeArguments": []
17246
- }
17283
+ "TypeParameter": 0
17247
17284
  }
17248
- ]
17249
- },
17250
- "new_uid_from_hash": {
17251
- "visibility": "Friend",
17252
- "isEntry": false,
17253
- "typeParameters": [],
17254
- "parameters": [
17255
- "Address"
17256
17285
  ],
17257
17286
  "return": [
17258
- {
17259
- "Struct": {
17260
- "address": "0x2",
17261
- "module": "object",
17262
- "name": "UID",
17263
- "typeArguments": []
17264
- }
17265
- }
17266
- ]
17267
- },
17268
- "randomness_state": {
17269
- "visibility": "Friend",
17270
- "isEntry": false,
17271
- "typeParameters": [],
17272
- "parameters": [],
17273
- "return": [
17274
- {
17275
- "Struct": {
17276
- "address": "0x2",
17277
- "module": "object",
17278
- "name": "UID",
17279
- "typeArguments": []
17280
- }
17281
- }
17287
+ "Bool"
17282
17288
  ]
17283
17289
  },
17284
- "uid_as_inner": {
17290
+ "is_empty": {
17285
17291
  "visibility": "Public",
17286
17292
  "isEntry": false,
17287
17293
  "typeParameters": [],
@@ -17290,27 +17296,18 @@
17290
17296
  "Reference": {
17291
17297
  "Struct": {
17292
17298
  "address": "0x2",
17293
- "module": "object",
17294
- "name": "UID",
17299
+ "module": "module_metadata",
17300
+ "name": "ModuleMetadata",
17295
17301
  "typeArguments": []
17296
17302
  }
17297
17303
  }
17298
17304
  }
17299
17305
  ],
17300
17306
  "return": [
17301
- {
17302
- "Reference": {
17303
- "Struct": {
17304
- "address": "0x2",
17305
- "module": "object",
17306
- "name": "ID",
17307
- "typeArguments": []
17308
- }
17309
- }
17310
- }
17307
+ "Bool"
17311
17308
  ]
17312
17309
  },
17313
- "uid_to_address": {
17310
+ "is_view_function_v1": {
17314
17311
  "visibility": "Public",
17315
17312
  "isEntry": false,
17316
17313
  "typeParameters": [],
@@ -17319,40 +17316,28 @@
17319
17316
  "Reference": {
17320
17317
  "Struct": {
17321
17318
  "address": "0x2",
17322
- "module": "object",
17323
- "name": "UID",
17319
+ "module": "module_metadata",
17320
+ "name": "ModuleMetadata",
17324
17321
  "typeArguments": []
17325
17322
  }
17326
17323
  }
17327
- }
17328
- ],
17329
- "return": [
17330
- "Address"
17331
- ]
17332
- },
17333
- "uid_to_bytes": {
17334
- "visibility": "Public",
17335
- "isEntry": false,
17336
- "typeParameters": [],
17337
- "parameters": [
17324
+ },
17338
17325
  {
17339
17326
  "Reference": {
17340
17327
  "Struct": {
17341
- "address": "0x2",
17342
- "module": "object",
17343
- "name": "UID",
17328
+ "address": "0x1",
17329
+ "module": "ascii",
17330
+ "name": "String",
17344
17331
  "typeArguments": []
17345
17332
  }
17346
17333
  }
17347
17334
  }
17348
17335
  ],
17349
17336
  "return": [
17350
- {
17351
- "Vector": "U8"
17352
- }
17337
+ "Bool"
17353
17338
  ]
17354
17339
  },
17355
- "uid_to_inner": {
17340
+ "length": {
17356
17341
  "visibility": "Public",
17357
17342
  "isEntry": false,
17358
17343
  "typeParameters": [],
@@ -17361,14 +17346,22 @@
17361
17346
  "Reference": {
17362
17347
  "Struct": {
17363
17348
  "address": "0x2",
17364
- "module": "object",
17365
- "name": "UID",
17349
+ "module": "module_metadata",
17350
+ "name": "ModuleMetadata",
17366
17351
  "typeArguments": []
17367
17352
  }
17368
17353
  }
17369
17354
  }
17370
17355
  ],
17371
17356
  "return": [
17357
+ "U64"
17358
+ ]
17359
+ },
17360
+ "new": {
17361
+ "visibility": "Friend",
17362
+ "isEntry": false,
17363
+ "typeParameters": [],
17364
+ "parameters": [
17372
17365
  {
17373
17366
  "Struct": {
17374
17367
  "address": "0x2",
@@ -17376,47 +17369,29 @@
17376
17369
  "name": "ID",
17377
17370
  "typeArguments": []
17378
17371
  }
17379
- }
17380
- ]
17381
- }
17382
- }
17383
- },
17384
- "object_bag": {
17385
- "fileFormatVersion": 6,
17386
- "address": "0x2",
17387
- "name": "object_bag",
17388
- "friends": [],
17389
- "structs": {
17390
- "ObjectBag": {
17391
- "abilities": {
17392
- "abilities": [
17393
- "Store",
17394
- "Key"
17395
- ]
17396
- },
17397
- "typeParameters": [],
17398
- "fields": [
17372
+ },
17399
17373
  {
17400
- "name": "id",
17401
- "type": {
17402
- "Struct": {
17403
- "address": "0x2",
17404
- "module": "object",
17405
- "name": "UID",
17406
- "typeArguments": []
17407
- }
17374
+ "Struct": {
17375
+ "address": "0x1",
17376
+ "module": "ascii",
17377
+ "name": "String",
17378
+ "typeArguments": []
17408
17379
  }
17409
- },
17380
+ }
17381
+ ],
17382
+ "return": [
17410
17383
  {
17411
- "name": "size",
17412
- "type": "U64"
17384
+ "Struct": {
17385
+ "address": "0x2",
17386
+ "module": "module_metadata",
17387
+ "name": "ModuleMetadata",
17388
+ "typeArguments": []
17389
+ }
17413
17390
  }
17414
17391
  ]
17415
- }
17416
- },
17417
- "exposedFunctions": {
17418
- "add": {
17419
- "visibility": "Public",
17392
+ },
17393
+ "remove": {
17394
+ "visibility": "Friend",
17420
17395
  "isEntry": false,
17421
17396
  "typeParameters": [
17422
17397
  {
@@ -17428,8 +17403,7 @@
17428
17403
  },
17429
17404
  {
17430
17405
  "abilities": [
17431
- "Store",
17432
- "Key"
17406
+ "Store"
17433
17407
  ]
17434
17408
  }
17435
17409
  ],
@@ -17438,148 +17412,231 @@
17438
17412
  "MutableReference": {
17439
17413
  "Struct": {
17440
17414
  "address": "0x2",
17441
- "module": "object_bag",
17442
- "name": "ObjectBag",
17415
+ "module": "module_metadata",
17416
+ "name": "ModuleMetadata",
17443
17417
  "typeArguments": []
17444
17418
  }
17445
17419
  }
17446
17420
  },
17447
17421
  {
17448
17422
  "TypeParameter": 0
17449
- },
17450
- {
17451
- "TypeParameter": 1
17452
17423
  }
17453
17424
  ],
17454
- "return": []
17455
- },
17456
- "borrow": {
17457
- "visibility": "Public",
17458
- "isEntry": false,
17459
- "typeParameters": [
17425
+ "return": [
17460
17426
  {
17461
- "abilities": [
17462
- "Copy",
17463
- "Drop",
17464
- "Store"
17465
- ]
17466
- },
17427
+ "TypeParameter": 1
17428
+ }
17429
+ ]
17430
+ }
17431
+ }
17432
+ },
17433
+ "object": {
17434
+ "fileFormatVersion": 6,
17435
+ "address": "0x2",
17436
+ "name": "object",
17437
+ "friends": [
17438
+ {
17439
+ "address": "0x2",
17440
+ "name": "clock"
17441
+ },
17442
+ {
17443
+ "address": "0x2",
17444
+ "name": "deny_list"
17445
+ },
17446
+ {
17447
+ "address": "0x2",
17448
+ "name": "dynamic_field"
17449
+ },
17450
+ {
17451
+ "address": "0x2",
17452
+ "name": "module_metadata"
17453
+ },
17454
+ {
17455
+ "address": "0x2",
17456
+ "name": "package_metadata"
17457
+ },
17458
+ {
17459
+ "address": "0x2",
17460
+ "name": "random"
17461
+ },
17462
+ {
17463
+ "address": "0x2",
17464
+ "name": "transaction_deny_rules"
17465
+ }
17466
+ ],
17467
+ "structs": {
17468
+ "ID": {
17469
+ "abilities": {
17470
+ "abilities": [
17471
+ "Copy",
17472
+ "Drop",
17473
+ "Store"
17474
+ ]
17475
+ },
17476
+ "typeParameters": [],
17477
+ "fields": [
17467
17478
  {
17468
- "abilities": [
17469
- "Store",
17470
- "Key"
17471
- ]
17479
+ "name": "bytes",
17480
+ "type": "Address"
17472
17481
  }
17473
- ],
17474
- "parameters": [
17482
+ ]
17483
+ },
17484
+ "UID": {
17485
+ "abilities": {
17486
+ "abilities": [
17487
+ "Store"
17488
+ ]
17489
+ },
17490
+ "typeParameters": [],
17491
+ "fields": [
17475
17492
  {
17476
- "Reference": {
17493
+ "name": "id",
17494
+ "type": {
17477
17495
  "Struct": {
17478
17496
  "address": "0x2",
17479
- "module": "object_bag",
17480
- "name": "ObjectBag",
17497
+ "module": "object",
17498
+ "name": "ID",
17481
17499
  "typeArguments": []
17482
17500
  }
17483
17501
  }
17484
- },
17485
- {
17486
- "TypeParameter": 0
17487
17502
  }
17488
- ],
17503
+ ]
17504
+ }
17505
+ },
17506
+ "exposedFunctions": {
17507
+ "authenticator_state": {
17508
+ "visibility": "Friend",
17509
+ "isEntry": false,
17510
+ "typeParameters": [],
17511
+ "parameters": [],
17489
17512
  "return": [
17490
17513
  {
17491
- "Reference": {
17492
- "TypeParameter": 1
17514
+ "Struct": {
17515
+ "address": "0x2",
17516
+ "module": "object",
17517
+ "name": "UID",
17518
+ "typeArguments": []
17493
17519
  }
17494
17520
  }
17495
17521
  ]
17496
17522
  },
17497
- "borrow_mut": {
17523
+ "borrow_id": {
17498
17524
  "visibility": "Public",
17499
17525
  "isEntry": false,
17500
17526
  "typeParameters": [
17501
17527
  {
17502
17528
  "abilities": [
17503
- "Copy",
17504
- "Drop",
17505
- "Store"
17506
- ]
17507
- },
17508
- {
17509
- "abilities": [
17510
- "Store",
17511
17529
  "Key"
17512
17530
  ]
17513
17531
  }
17514
17532
  ],
17515
17533
  "parameters": [
17516
17534
  {
17517
- "MutableReference": {
17535
+ "Reference": {
17536
+ "TypeParameter": 0
17537
+ }
17538
+ }
17539
+ ],
17540
+ "return": [
17541
+ {
17542
+ "Reference": {
17518
17543
  "Struct": {
17519
17544
  "address": "0x2",
17520
- "module": "object_bag",
17521
- "name": "ObjectBag",
17545
+ "module": "object",
17546
+ "name": "ID",
17522
17547
  "typeArguments": []
17523
17548
  }
17524
17549
  }
17525
- },
17526
- {
17527
- "TypeParameter": 0
17528
17550
  }
17529
- ],
17551
+ ]
17552
+ },
17553
+ "clock": {
17554
+ "visibility": "Friend",
17555
+ "isEntry": false,
17556
+ "typeParameters": [],
17557
+ "parameters": [],
17530
17558
  "return": [
17531
17559
  {
17532
- "MutableReference": {
17533
- "TypeParameter": 1
17560
+ "Struct": {
17561
+ "address": "0x2",
17562
+ "module": "object",
17563
+ "name": "UID",
17564
+ "typeArguments": []
17534
17565
  }
17535
17566
  }
17536
17567
  ]
17537
17568
  },
17538
- "contains": {
17569
+ "delete": {
17570
+ "visibility": "Public",
17571
+ "isEntry": false,
17572
+ "typeParameters": [],
17573
+ "parameters": [
17574
+ {
17575
+ "Struct": {
17576
+ "address": "0x2",
17577
+ "module": "object",
17578
+ "name": "UID",
17579
+ "typeArguments": []
17580
+ }
17581
+ }
17582
+ ],
17583
+ "return": []
17584
+ },
17585
+ "id": {
17539
17586
  "visibility": "Public",
17540
17587
  "isEntry": false,
17541
17588
  "typeParameters": [
17542
17589
  {
17543
17590
  "abilities": [
17544
- "Copy",
17545
- "Drop",
17546
- "Store"
17591
+ "Key"
17547
17592
  ]
17548
17593
  }
17549
17594
  ],
17550
17595
  "parameters": [
17551
17596
  {
17552
17597
  "Reference": {
17553
- "Struct": {
17554
- "address": "0x2",
17555
- "module": "object_bag",
17556
- "name": "ObjectBag",
17557
- "typeArguments": []
17558
- }
17598
+ "TypeParameter": 0
17559
17599
  }
17560
- },
17561
- {
17562
- "TypeParameter": 0
17563
17600
  }
17564
17601
  ],
17565
17602
  "return": [
17566
- "Bool"
17603
+ {
17604
+ "Struct": {
17605
+ "address": "0x2",
17606
+ "module": "object",
17607
+ "name": "ID",
17608
+ "typeArguments": []
17609
+ }
17610
+ }
17567
17611
  ]
17568
17612
  },
17569
- "contains_with_type": {
17613
+ "id_address": {
17570
17614
  "visibility": "Public",
17571
17615
  "isEntry": false,
17572
17616
  "typeParameters": [
17573
17617
  {
17574
17618
  "abilities": [
17575
- "Copy",
17576
- "Drop",
17577
- "Store"
17619
+ "Key"
17578
17620
  ]
17579
- },
17621
+ }
17622
+ ],
17623
+ "parameters": [
17624
+ {
17625
+ "Reference": {
17626
+ "TypeParameter": 0
17627
+ }
17628
+ }
17629
+ ],
17630
+ "return": [
17631
+ "Address"
17632
+ ]
17633
+ },
17634
+ "id_bytes": {
17635
+ "visibility": "Public",
17636
+ "isEntry": false,
17637
+ "typeParameters": [
17580
17638
  {
17581
17639
  "abilities": [
17582
- "Store",
17583
17640
  "Key"
17584
17641
  ]
17585
17642
  }
@@ -17587,59 +17644,55 @@
17587
17644
  "parameters": [
17588
17645
  {
17589
17646
  "Reference": {
17590
- "Struct": {
17591
- "address": "0x2",
17592
- "module": "object_bag",
17593
- "name": "ObjectBag",
17594
- "typeArguments": []
17595
- }
17647
+ "TypeParameter": 0
17596
17648
  }
17597
- },
17598
- {
17599
- "TypeParameter": 0
17600
17649
  }
17601
17650
  ],
17602
17651
  "return": [
17603
- "Bool"
17652
+ {
17653
+ "Vector": "U8"
17654
+ }
17604
17655
  ]
17605
17656
  },
17606
- "destroy_empty": {
17657
+ "id_from_address": {
17607
17658
  "visibility": "Public",
17608
17659
  "isEntry": false,
17609
17660
  "typeParameters": [],
17610
17661
  "parameters": [
17662
+ "Address"
17663
+ ],
17664
+ "return": [
17611
17665
  {
17612
17666
  "Struct": {
17613
17667
  "address": "0x2",
17614
- "module": "object_bag",
17615
- "name": "ObjectBag",
17668
+ "module": "object",
17669
+ "name": "ID",
17616
17670
  "typeArguments": []
17617
17671
  }
17618
17672
  }
17619
- ],
17620
- "return": []
17673
+ ]
17621
17674
  },
17622
- "is_empty": {
17675
+ "id_from_bytes": {
17623
17676
  "visibility": "Public",
17624
17677
  "isEntry": false,
17625
17678
  "typeParameters": [],
17626
17679
  "parameters": [
17627
17680
  {
17628
- "Reference": {
17629
- "Struct": {
17630
- "address": "0x2",
17631
- "module": "object_bag",
17632
- "name": "ObjectBag",
17633
- "typeArguments": []
17634
- }
17635
- }
17681
+ "Vector": "U8"
17636
17682
  }
17637
17683
  ],
17638
17684
  "return": [
17639
- "Bool"
17685
+ {
17686
+ "Struct": {
17687
+ "address": "0x2",
17688
+ "module": "object",
17689
+ "name": "ID",
17690
+ "typeArguments": []
17691
+ }
17692
+ }
17640
17693
  ]
17641
17694
  },
17642
- "length": {
17695
+ "id_to_address": {
17643
17696
  "visibility": "Public",
17644
17697
  "isEntry": false,
17645
17698
  "typeParameters": [],
@@ -17648,15 +17701,53 @@
17648
17701
  "Reference": {
17649
17702
  "Struct": {
17650
17703
  "address": "0x2",
17651
- "module": "object_bag",
17652
- "name": "ObjectBag",
17704
+ "module": "object",
17705
+ "name": "ID",
17653
17706
  "typeArguments": []
17654
17707
  }
17655
17708
  }
17656
17709
  }
17657
17710
  ],
17658
17711
  "return": [
17659
- "U64"
17712
+ "Address"
17713
+ ]
17714
+ },
17715
+ "id_to_bytes": {
17716
+ "visibility": "Public",
17717
+ "isEntry": false,
17718
+ "typeParameters": [],
17719
+ "parameters": [
17720
+ {
17721
+ "Reference": {
17722
+ "Struct": {
17723
+ "address": "0x2",
17724
+ "module": "object",
17725
+ "name": "ID",
17726
+ "typeArguments": []
17727
+ }
17728
+ }
17729
+ }
17730
+ ],
17731
+ "return": [
17732
+ {
17733
+ "Vector": "U8"
17734
+ }
17735
+ ]
17736
+ },
17737
+ "iota_deny_list_object_id": {
17738
+ "visibility": "Friend",
17739
+ "isEntry": false,
17740
+ "typeParameters": [],
17741
+ "parameters": [],
17742
+ "return": [
17743
+ {
17744
+ "Struct": {
17745
+ "address": "0x2",
17746
+ "module": "object",
17747
+ "name": "UID",
17748
+ "typeArguments": []
17749
+ }
17750
+ }
17660
17751
  ]
17661
17752
  },
17662
17753
  "new": {
@@ -17679,135 +17770,177 @@
17679
17770
  {
17680
17771
  "Struct": {
17681
17772
  "address": "0x2",
17682
- "module": "object_bag",
17683
- "name": "ObjectBag",
17773
+ "module": "object",
17774
+ "name": "UID",
17684
17775
  "typeArguments": []
17685
17776
  }
17686
17777
  }
17687
17778
  ]
17688
17779
  },
17689
- "remove": {
17690
- "visibility": "Public",
17780
+ "new_uid_from_hash": {
17781
+ "visibility": "Friend",
17691
17782
  "isEntry": false,
17692
- "typeParameters": [
17783
+ "typeParameters": [],
17784
+ "parameters": [
17785
+ "Address"
17786
+ ],
17787
+ "return": [
17693
17788
  {
17694
- "abilities": [
17695
- "Copy",
17696
- "Drop",
17697
- "Store"
17698
- ]
17699
- },
17789
+ "Struct": {
17790
+ "address": "0x2",
17791
+ "module": "object",
17792
+ "name": "UID",
17793
+ "typeArguments": []
17794
+ }
17795
+ }
17796
+ ]
17797
+ },
17798
+ "randomness_state": {
17799
+ "visibility": "Friend",
17800
+ "isEntry": false,
17801
+ "typeParameters": [],
17802
+ "parameters": [],
17803
+ "return": [
17700
17804
  {
17701
- "abilities": [
17702
- "Store",
17703
- "Key"
17704
- ]
17805
+ "Struct": {
17806
+ "address": "0x2",
17807
+ "module": "object",
17808
+ "name": "UID",
17809
+ "typeArguments": []
17810
+ }
17705
17811
  }
17706
- ],
17812
+ ]
17813
+ },
17814
+ "transaction_deny_rules": {
17815
+ "visibility": "Friend",
17816
+ "isEntry": false,
17817
+ "typeParameters": [],
17818
+ "parameters": [],
17819
+ "return": [
17820
+ {
17821
+ "Struct": {
17822
+ "address": "0x2",
17823
+ "module": "object",
17824
+ "name": "UID",
17825
+ "typeArguments": []
17826
+ }
17827
+ }
17828
+ ]
17829
+ },
17830
+ "uid_as_inner": {
17831
+ "visibility": "Public",
17832
+ "isEntry": false,
17833
+ "typeParameters": [],
17707
17834
  "parameters": [
17708
17835
  {
17709
- "MutableReference": {
17836
+ "Reference": {
17710
17837
  "Struct": {
17711
17838
  "address": "0x2",
17712
- "module": "object_bag",
17713
- "name": "ObjectBag",
17839
+ "module": "object",
17840
+ "name": "UID",
17714
17841
  "typeArguments": []
17715
17842
  }
17716
17843
  }
17717
- },
17718
- {
17719
- "TypeParameter": 0
17720
17844
  }
17721
17845
  ],
17722
17846
  "return": [
17723
17847
  {
17724
- "TypeParameter": 1
17848
+ "Reference": {
17849
+ "Struct": {
17850
+ "address": "0x2",
17851
+ "module": "object",
17852
+ "name": "ID",
17853
+ "typeArguments": []
17854
+ }
17855
+ }
17725
17856
  }
17726
17857
  ]
17727
17858
  },
17728
- "value_id": {
17859
+ "uid_to_address": {
17729
17860
  "visibility": "Public",
17730
17861
  "isEntry": false,
17731
- "typeParameters": [
17862
+ "typeParameters": [],
17863
+ "parameters": [
17732
17864
  {
17733
- "abilities": [
17734
- "Copy",
17735
- "Drop",
17736
- "Store"
17737
- ]
17865
+ "Reference": {
17866
+ "Struct": {
17867
+ "address": "0x2",
17868
+ "module": "object",
17869
+ "name": "UID",
17870
+ "typeArguments": []
17871
+ }
17872
+ }
17738
17873
  }
17739
17874
  ],
17875
+ "return": [
17876
+ "Address"
17877
+ ]
17878
+ },
17879
+ "uid_to_bytes": {
17880
+ "visibility": "Public",
17881
+ "isEntry": false,
17882
+ "typeParameters": [],
17740
17883
  "parameters": [
17741
17884
  {
17742
17885
  "Reference": {
17743
17886
  "Struct": {
17744
17887
  "address": "0x2",
17745
- "module": "object_bag",
17746
- "name": "ObjectBag",
17888
+ "module": "object",
17889
+ "name": "UID",
17747
17890
  "typeArguments": []
17748
17891
  }
17749
17892
  }
17750
- },
17893
+ }
17894
+ ],
17895
+ "return": [
17751
17896
  {
17752
- "TypeParameter": 0
17897
+ "Vector": "U8"
17898
+ }
17899
+ ]
17900
+ },
17901
+ "uid_to_inner": {
17902
+ "visibility": "Public",
17903
+ "isEntry": false,
17904
+ "typeParameters": [],
17905
+ "parameters": [
17906
+ {
17907
+ "Reference": {
17908
+ "Struct": {
17909
+ "address": "0x2",
17910
+ "module": "object",
17911
+ "name": "UID",
17912
+ "typeArguments": []
17913
+ }
17914
+ }
17753
17915
  }
17754
17916
  ],
17755
17917
  "return": [
17756
17918
  {
17757
17919
  "Struct": {
17758
- "address": "0x1",
17759
- "module": "option",
17760
- "name": "Option",
17761
- "typeArguments": [
17762
- {
17763
- "Struct": {
17764
- "address": "0x2",
17765
- "module": "object",
17766
- "name": "ID",
17767
- "typeArguments": []
17768
- }
17769
- }
17770
- ]
17920
+ "address": "0x2",
17921
+ "module": "object",
17922
+ "name": "ID",
17923
+ "typeArguments": []
17771
17924
  }
17772
17925
  }
17773
17926
  ]
17774
17927
  }
17775
17928
  }
17776
17929
  },
17777
- "object_table": {
17930
+ "object_bag": {
17778
17931
  "fileFormatVersion": 6,
17779
17932
  "address": "0x2",
17780
- "name": "object_table",
17933
+ "name": "object_bag",
17781
17934
  "friends": [],
17782
17935
  "structs": {
17783
- "ObjectTable": {
17936
+ "ObjectBag": {
17784
17937
  "abilities": {
17785
17938
  "abilities": [
17786
17939
  "Store",
17787
17940
  "Key"
17788
17941
  ]
17789
17942
  },
17790
- "typeParameters": [
17791
- {
17792
- "constraints": {
17793
- "abilities": [
17794
- "Copy",
17795
- "Drop",
17796
- "Store"
17797
- ]
17798
- },
17799
- "isPhantom": true
17800
- },
17801
- {
17802
- "constraints": {
17803
- "abilities": [
17804
- "Store",
17805
- "Key"
17806
- ]
17807
- },
17808
- "isPhantom": true
17809
- }
17810
- ],
17943
+ "typeParameters": [],
17811
17944
  "fields": [
17812
17945
  {
17813
17946
  "name": "id",
@@ -17851,16 +17984,9 @@
17851
17984
  "MutableReference": {
17852
17985
  "Struct": {
17853
17986
  "address": "0x2",
17854
- "module": "object_table",
17855
- "name": "ObjectTable",
17856
- "typeArguments": [
17857
- {
17858
- "TypeParameter": 0
17859
- },
17860
- {
17861
- "TypeParameter": 1
17862
- }
17863
- ]
17987
+ "module": "object_bag",
17988
+ "name": "ObjectBag",
17989
+ "typeArguments": []
17864
17990
  }
17865
17991
  }
17866
17992
  },
@@ -17896,16 +18022,9 @@
17896
18022
  "Reference": {
17897
18023
  "Struct": {
17898
18024
  "address": "0x2",
17899
- "module": "object_table",
17900
- "name": "ObjectTable",
17901
- "typeArguments": [
17902
- {
17903
- "TypeParameter": 0
17904
- },
17905
- {
17906
- "TypeParameter": 1
17907
- }
17908
- ]
18025
+ "module": "object_bag",
18026
+ "name": "ObjectBag",
18027
+ "typeArguments": []
17909
18028
  }
17910
18029
  }
17911
18030
  },
@@ -17944,16 +18063,9 @@
17944
18063
  "MutableReference": {
17945
18064
  "Struct": {
17946
18065
  "address": "0x2",
17947
- "module": "object_table",
17948
- "name": "ObjectTable",
17949
- "typeArguments": [
17950
- {
17951
- "TypeParameter": 0
17952
- },
17953
- {
17954
- "TypeParameter": 1
17955
- }
17956
- ]
18066
+ "module": "object_bag",
18067
+ "name": "ObjectBag",
18068
+ "typeArguments": []
17957
18069
  }
17958
18070
  }
17959
18071
  },
@@ -17979,12 +18091,6 @@
17979
18091
  "Drop",
17980
18092
  "Store"
17981
18093
  ]
17982
- },
17983
- {
17984
- "abilities": [
17985
- "Store",
17986
- "Key"
17987
- ]
17988
18094
  }
17989
18095
  ],
17990
18096
  "parameters": [
@@ -17992,16 +18098,9 @@
17992
18098
  "Reference": {
17993
18099
  "Struct": {
17994
18100
  "address": "0x2",
17995
- "module": "object_table",
17996
- "name": "ObjectTable",
17997
- "typeArguments": [
17998
- {
17999
- "TypeParameter": 0
18000
- },
18001
- {
18002
- "TypeParameter": 1
18003
- }
18004
- ]
18101
+ "module": "object_bag",
18102
+ "name": "ObjectBag",
18103
+ "typeArguments": []
18005
18104
  }
18006
18105
  }
18007
18106
  },
@@ -18013,7 +18112,7 @@
18013
18112
  "Bool"
18014
18113
  ]
18015
18114
  },
18016
- "destroy_empty": {
18115
+ "contains_with_type": {
18017
18116
  "visibility": "Public",
18018
18117
  "isEntry": false,
18019
18118
  "typeParameters": [
@@ -18031,20 +18130,36 @@
18031
18130
  ]
18032
18131
  }
18033
18132
  ],
18133
+ "parameters": [
18134
+ {
18135
+ "Reference": {
18136
+ "Struct": {
18137
+ "address": "0x2",
18138
+ "module": "object_bag",
18139
+ "name": "ObjectBag",
18140
+ "typeArguments": []
18141
+ }
18142
+ }
18143
+ },
18144
+ {
18145
+ "TypeParameter": 0
18146
+ }
18147
+ ],
18148
+ "return": [
18149
+ "Bool"
18150
+ ]
18151
+ },
18152
+ "destroy_empty": {
18153
+ "visibility": "Public",
18154
+ "isEntry": false,
18155
+ "typeParameters": [],
18034
18156
  "parameters": [
18035
18157
  {
18036
18158
  "Struct": {
18037
18159
  "address": "0x2",
18038
- "module": "object_table",
18039
- "name": "ObjectTable",
18040
- "typeArguments": [
18041
- {
18042
- "TypeParameter": 0
18043
- },
18044
- {
18045
- "TypeParameter": 1
18046
- }
18047
- ]
18160
+ "module": "object_bag",
18161
+ "name": "ObjectBag",
18162
+ "typeArguments": []
18048
18163
  }
18049
18164
  }
18050
18165
  ],
@@ -18053,36 +18168,15 @@
18053
18168
  "is_empty": {
18054
18169
  "visibility": "Public",
18055
18170
  "isEntry": false,
18056
- "typeParameters": [
18057
- {
18058
- "abilities": [
18059
- "Copy",
18060
- "Drop",
18061
- "Store"
18062
- ]
18063
- },
18064
- {
18065
- "abilities": [
18066
- "Store",
18067
- "Key"
18068
- ]
18069
- }
18070
- ],
18171
+ "typeParameters": [],
18071
18172
  "parameters": [
18072
18173
  {
18073
18174
  "Reference": {
18074
18175
  "Struct": {
18075
18176
  "address": "0x2",
18076
- "module": "object_table",
18077
- "name": "ObjectTable",
18078
- "typeArguments": [
18079
- {
18080
- "TypeParameter": 0
18081
- },
18082
- {
18083
- "TypeParameter": 1
18084
- }
18085
- ]
18177
+ "module": "object_bag",
18178
+ "name": "ObjectBag",
18179
+ "typeArguments": []
18086
18180
  }
18087
18181
  }
18088
18182
  }
@@ -18094,36 +18188,15 @@
18094
18188
  "length": {
18095
18189
  "visibility": "Public",
18096
18190
  "isEntry": false,
18097
- "typeParameters": [
18098
- {
18099
- "abilities": [
18100
- "Copy",
18101
- "Drop",
18102
- "Store"
18103
- ]
18104
- },
18105
- {
18106
- "abilities": [
18107
- "Store",
18108
- "Key"
18109
- ]
18110
- }
18111
- ],
18191
+ "typeParameters": [],
18112
18192
  "parameters": [
18113
18193
  {
18114
18194
  "Reference": {
18115
18195
  "Struct": {
18116
18196
  "address": "0x2",
18117
- "module": "object_table",
18118
- "name": "ObjectTable",
18119
- "typeArguments": [
18120
- {
18121
- "TypeParameter": 0
18122
- },
18123
- {
18124
- "TypeParameter": 1
18125
- }
18126
- ]
18197
+ "module": "object_bag",
18198
+ "name": "ObjectBag",
18199
+ "typeArguments": []
18127
18200
  }
18128
18201
  }
18129
18202
  }
@@ -18135,21 +18208,7 @@
18135
18208
  "new": {
18136
18209
  "visibility": "Public",
18137
18210
  "isEntry": false,
18138
- "typeParameters": [
18139
- {
18140
- "abilities": [
18141
- "Copy",
18142
- "Drop",
18143
- "Store"
18144
- ]
18145
- },
18146
- {
18147
- "abilities": [
18148
- "Store",
18149
- "Key"
18150
- ]
18151
- }
18152
- ],
18211
+ "typeParameters": [],
18153
18212
  "parameters": [
18154
18213
  {
18155
18214
  "MutableReference": {
@@ -18166,16 +18225,9 @@
18166
18225
  {
18167
18226
  "Struct": {
18168
18227
  "address": "0x2",
18169
- "module": "object_table",
18170
- "name": "ObjectTable",
18171
- "typeArguments": [
18172
- {
18173
- "TypeParameter": 0
18174
- },
18175
- {
18176
- "TypeParameter": 1
18177
- }
18178
- ]
18228
+ "module": "object_bag",
18229
+ "name": "ObjectBag",
18230
+ "typeArguments": []
18179
18231
  }
18180
18232
  }
18181
18233
  ]
@@ -18203,16 +18255,9 @@
18203
18255
  "MutableReference": {
18204
18256
  "Struct": {
18205
18257
  "address": "0x2",
18206
- "module": "object_table",
18207
- "name": "ObjectTable",
18208
- "typeArguments": [
18209
- {
18210
- "TypeParameter": 0
18211
- },
18212
- {
18213
- "TypeParameter": 1
18214
- }
18215
- ]
18258
+ "module": "object_bag",
18259
+ "name": "ObjectBag",
18260
+ "typeArguments": []
18216
18261
  }
18217
18262
  }
18218
18263
  },
@@ -18236,12 +18281,6 @@
18236
18281
  "Drop",
18237
18282
  "Store"
18238
18283
  ]
18239
- },
18240
- {
18241
- "abilities": [
18242
- "Store",
18243
- "Key"
18244
- ]
18245
18284
  }
18246
18285
  ],
18247
18286
  "parameters": [
@@ -18249,16 +18288,9 @@
18249
18288
  "Reference": {
18250
18289
  "Struct": {
18251
18290
  "address": "0x2",
18252
- "module": "object_table",
18253
- "name": "ObjectTable",
18254
- "typeArguments": [
18255
- {
18256
- "TypeParameter": 0
18257
- },
18258
- {
18259
- "TypeParameter": 1
18260
- }
18261
- ]
18291
+ "module": "object_bag",
18292
+ "name": "ObjectBag",
18293
+ "typeArguments": []
18262
18294
  }
18263
18295
  }
18264
18296
  },
@@ -18288,20 +18320,40 @@
18288
18320
  }
18289
18321
  }
18290
18322
  },
18291
- "package": {
18323
+ "object_table": {
18292
18324
  "fileFormatVersion": 6,
18293
18325
  "address": "0x2",
18294
- "name": "package",
18326
+ "name": "object_table",
18295
18327
  "friends": [],
18296
18328
  "structs": {
18297
- "Publisher": {
18329
+ "ObjectTable": {
18298
18330
  "abilities": {
18299
18331
  "abilities": [
18300
18332
  "Store",
18301
18333
  "Key"
18302
18334
  ]
18303
18335
  },
18304
- "typeParameters": [],
18336
+ "typeParameters": [
18337
+ {
18338
+ "constraints": {
18339
+ "abilities": [
18340
+ "Copy",
18341
+ "Drop",
18342
+ "Store"
18343
+ ]
18344
+ },
18345
+ "isPhantom": true
18346
+ },
18347
+ {
18348
+ "constraints": {
18349
+ "abilities": [
18350
+ "Store",
18351
+ "Key"
18352
+ ]
18353
+ },
18354
+ "isPhantom": true
18355
+ }
18356
+ ],
18305
18357
  "fields": [
18306
18358
  {
18307
18359
  "name": "id",
@@ -18315,218 +18367,1093 @@
18315
18367
  }
18316
18368
  },
18317
18369
  {
18318
- "name": "package",
18319
- "type": {
18370
+ "name": "size",
18371
+ "type": "U64"
18372
+ }
18373
+ ]
18374
+ }
18375
+ },
18376
+ "exposedFunctions": {
18377
+ "add": {
18378
+ "visibility": "Public",
18379
+ "isEntry": false,
18380
+ "typeParameters": [
18381
+ {
18382
+ "abilities": [
18383
+ "Copy",
18384
+ "Drop",
18385
+ "Store"
18386
+ ]
18387
+ },
18388
+ {
18389
+ "abilities": [
18390
+ "Store",
18391
+ "Key"
18392
+ ]
18393
+ }
18394
+ ],
18395
+ "parameters": [
18396
+ {
18397
+ "MutableReference": {
18320
18398
  "Struct": {
18321
- "address": "0x1",
18322
- "module": "ascii",
18323
- "name": "String",
18324
- "typeArguments": []
18399
+ "address": "0x2",
18400
+ "module": "object_table",
18401
+ "name": "ObjectTable",
18402
+ "typeArguments": [
18403
+ {
18404
+ "TypeParameter": 0
18405
+ },
18406
+ {
18407
+ "TypeParameter": 1
18408
+ }
18409
+ ]
18325
18410
  }
18326
18411
  }
18327
18412
  },
18328
18413
  {
18329
- "name": "module_name",
18330
- "type": {
18331
- "Struct": {
18414
+ "TypeParameter": 0
18415
+ },
18416
+ {
18417
+ "TypeParameter": 1
18418
+ }
18419
+ ],
18420
+ "return": []
18421
+ },
18422
+ "borrow": {
18423
+ "visibility": "Public",
18424
+ "isEntry": false,
18425
+ "typeParameters": [
18426
+ {
18427
+ "abilities": [
18428
+ "Copy",
18429
+ "Drop",
18430
+ "Store"
18431
+ ]
18432
+ },
18433
+ {
18434
+ "abilities": [
18435
+ "Store",
18436
+ "Key"
18437
+ ]
18438
+ }
18439
+ ],
18440
+ "parameters": [
18441
+ {
18442
+ "Reference": {
18443
+ "Struct": {
18444
+ "address": "0x2",
18445
+ "module": "object_table",
18446
+ "name": "ObjectTable",
18447
+ "typeArguments": [
18448
+ {
18449
+ "TypeParameter": 0
18450
+ },
18451
+ {
18452
+ "TypeParameter": 1
18453
+ }
18454
+ ]
18455
+ }
18456
+ }
18457
+ },
18458
+ {
18459
+ "TypeParameter": 0
18460
+ }
18461
+ ],
18462
+ "return": [
18463
+ {
18464
+ "Reference": {
18465
+ "TypeParameter": 1
18466
+ }
18467
+ }
18468
+ ]
18469
+ },
18470
+ "borrow_mut": {
18471
+ "visibility": "Public",
18472
+ "isEntry": false,
18473
+ "typeParameters": [
18474
+ {
18475
+ "abilities": [
18476
+ "Copy",
18477
+ "Drop",
18478
+ "Store"
18479
+ ]
18480
+ },
18481
+ {
18482
+ "abilities": [
18483
+ "Store",
18484
+ "Key"
18485
+ ]
18486
+ }
18487
+ ],
18488
+ "parameters": [
18489
+ {
18490
+ "MutableReference": {
18491
+ "Struct": {
18492
+ "address": "0x2",
18493
+ "module": "object_table",
18494
+ "name": "ObjectTable",
18495
+ "typeArguments": [
18496
+ {
18497
+ "TypeParameter": 0
18498
+ },
18499
+ {
18500
+ "TypeParameter": 1
18501
+ }
18502
+ ]
18503
+ }
18504
+ }
18505
+ },
18506
+ {
18507
+ "TypeParameter": 0
18508
+ }
18509
+ ],
18510
+ "return": [
18511
+ {
18512
+ "MutableReference": {
18513
+ "TypeParameter": 1
18514
+ }
18515
+ }
18516
+ ]
18517
+ },
18518
+ "contains": {
18519
+ "visibility": "Public",
18520
+ "isEntry": false,
18521
+ "typeParameters": [
18522
+ {
18523
+ "abilities": [
18524
+ "Copy",
18525
+ "Drop",
18526
+ "Store"
18527
+ ]
18528
+ },
18529
+ {
18530
+ "abilities": [
18531
+ "Store",
18532
+ "Key"
18533
+ ]
18534
+ }
18535
+ ],
18536
+ "parameters": [
18537
+ {
18538
+ "Reference": {
18539
+ "Struct": {
18540
+ "address": "0x2",
18541
+ "module": "object_table",
18542
+ "name": "ObjectTable",
18543
+ "typeArguments": [
18544
+ {
18545
+ "TypeParameter": 0
18546
+ },
18547
+ {
18548
+ "TypeParameter": 1
18549
+ }
18550
+ ]
18551
+ }
18552
+ }
18553
+ },
18554
+ {
18555
+ "TypeParameter": 0
18556
+ }
18557
+ ],
18558
+ "return": [
18559
+ "Bool"
18560
+ ]
18561
+ },
18562
+ "destroy_empty": {
18563
+ "visibility": "Public",
18564
+ "isEntry": false,
18565
+ "typeParameters": [
18566
+ {
18567
+ "abilities": [
18568
+ "Copy",
18569
+ "Drop",
18570
+ "Store"
18571
+ ]
18572
+ },
18573
+ {
18574
+ "abilities": [
18575
+ "Store",
18576
+ "Key"
18577
+ ]
18578
+ }
18579
+ ],
18580
+ "parameters": [
18581
+ {
18582
+ "Struct": {
18583
+ "address": "0x2",
18584
+ "module": "object_table",
18585
+ "name": "ObjectTable",
18586
+ "typeArguments": [
18587
+ {
18588
+ "TypeParameter": 0
18589
+ },
18590
+ {
18591
+ "TypeParameter": 1
18592
+ }
18593
+ ]
18594
+ }
18595
+ }
18596
+ ],
18597
+ "return": []
18598
+ },
18599
+ "is_empty": {
18600
+ "visibility": "Public",
18601
+ "isEntry": false,
18602
+ "typeParameters": [
18603
+ {
18604
+ "abilities": [
18605
+ "Copy",
18606
+ "Drop",
18607
+ "Store"
18608
+ ]
18609
+ },
18610
+ {
18611
+ "abilities": [
18612
+ "Store",
18613
+ "Key"
18614
+ ]
18615
+ }
18616
+ ],
18617
+ "parameters": [
18618
+ {
18619
+ "Reference": {
18620
+ "Struct": {
18621
+ "address": "0x2",
18622
+ "module": "object_table",
18623
+ "name": "ObjectTable",
18624
+ "typeArguments": [
18625
+ {
18626
+ "TypeParameter": 0
18627
+ },
18628
+ {
18629
+ "TypeParameter": 1
18630
+ }
18631
+ ]
18632
+ }
18633
+ }
18634
+ }
18635
+ ],
18636
+ "return": [
18637
+ "Bool"
18638
+ ]
18639
+ },
18640
+ "length": {
18641
+ "visibility": "Public",
18642
+ "isEntry": false,
18643
+ "typeParameters": [
18644
+ {
18645
+ "abilities": [
18646
+ "Copy",
18647
+ "Drop",
18648
+ "Store"
18649
+ ]
18650
+ },
18651
+ {
18652
+ "abilities": [
18653
+ "Store",
18654
+ "Key"
18655
+ ]
18656
+ }
18657
+ ],
18658
+ "parameters": [
18659
+ {
18660
+ "Reference": {
18661
+ "Struct": {
18662
+ "address": "0x2",
18663
+ "module": "object_table",
18664
+ "name": "ObjectTable",
18665
+ "typeArguments": [
18666
+ {
18667
+ "TypeParameter": 0
18668
+ },
18669
+ {
18670
+ "TypeParameter": 1
18671
+ }
18672
+ ]
18673
+ }
18674
+ }
18675
+ }
18676
+ ],
18677
+ "return": [
18678
+ "U64"
18679
+ ]
18680
+ },
18681
+ "new": {
18682
+ "visibility": "Public",
18683
+ "isEntry": false,
18684
+ "typeParameters": [
18685
+ {
18686
+ "abilities": [
18687
+ "Copy",
18688
+ "Drop",
18689
+ "Store"
18690
+ ]
18691
+ },
18692
+ {
18693
+ "abilities": [
18694
+ "Store",
18695
+ "Key"
18696
+ ]
18697
+ }
18698
+ ],
18699
+ "parameters": [
18700
+ {
18701
+ "MutableReference": {
18702
+ "Struct": {
18703
+ "address": "0x2",
18704
+ "module": "tx_context",
18705
+ "name": "TxContext",
18706
+ "typeArguments": []
18707
+ }
18708
+ }
18709
+ }
18710
+ ],
18711
+ "return": [
18712
+ {
18713
+ "Struct": {
18714
+ "address": "0x2",
18715
+ "module": "object_table",
18716
+ "name": "ObjectTable",
18717
+ "typeArguments": [
18718
+ {
18719
+ "TypeParameter": 0
18720
+ },
18721
+ {
18722
+ "TypeParameter": 1
18723
+ }
18724
+ ]
18725
+ }
18726
+ }
18727
+ ]
18728
+ },
18729
+ "remove": {
18730
+ "visibility": "Public",
18731
+ "isEntry": false,
18732
+ "typeParameters": [
18733
+ {
18734
+ "abilities": [
18735
+ "Copy",
18736
+ "Drop",
18737
+ "Store"
18738
+ ]
18739
+ },
18740
+ {
18741
+ "abilities": [
18742
+ "Store",
18743
+ "Key"
18744
+ ]
18745
+ }
18746
+ ],
18747
+ "parameters": [
18748
+ {
18749
+ "MutableReference": {
18750
+ "Struct": {
18751
+ "address": "0x2",
18752
+ "module": "object_table",
18753
+ "name": "ObjectTable",
18754
+ "typeArguments": [
18755
+ {
18756
+ "TypeParameter": 0
18757
+ },
18758
+ {
18759
+ "TypeParameter": 1
18760
+ }
18761
+ ]
18762
+ }
18763
+ }
18764
+ },
18765
+ {
18766
+ "TypeParameter": 0
18767
+ }
18768
+ ],
18769
+ "return": [
18770
+ {
18771
+ "TypeParameter": 1
18772
+ }
18773
+ ]
18774
+ },
18775
+ "value_id": {
18776
+ "visibility": "Public",
18777
+ "isEntry": false,
18778
+ "typeParameters": [
18779
+ {
18780
+ "abilities": [
18781
+ "Copy",
18782
+ "Drop",
18783
+ "Store"
18784
+ ]
18785
+ },
18786
+ {
18787
+ "abilities": [
18788
+ "Store",
18789
+ "Key"
18790
+ ]
18791
+ }
18792
+ ],
18793
+ "parameters": [
18794
+ {
18795
+ "Reference": {
18796
+ "Struct": {
18797
+ "address": "0x2",
18798
+ "module": "object_table",
18799
+ "name": "ObjectTable",
18800
+ "typeArguments": [
18801
+ {
18802
+ "TypeParameter": 0
18803
+ },
18804
+ {
18805
+ "TypeParameter": 1
18806
+ }
18807
+ ]
18808
+ }
18809
+ }
18810
+ },
18811
+ {
18812
+ "TypeParameter": 0
18813
+ }
18814
+ ],
18815
+ "return": [
18816
+ {
18817
+ "Struct": {
18818
+ "address": "0x1",
18819
+ "module": "option",
18820
+ "name": "Option",
18821
+ "typeArguments": [
18822
+ {
18823
+ "Struct": {
18824
+ "address": "0x2",
18825
+ "module": "object",
18826
+ "name": "ID",
18827
+ "typeArguments": []
18828
+ }
18829
+ }
18830
+ ]
18831
+ }
18832
+ }
18833
+ ]
18834
+ }
18835
+ }
18836
+ },
18837
+ "package": {
18838
+ "fileFormatVersion": 6,
18839
+ "address": "0x2",
18840
+ "name": "package",
18841
+ "friends": [],
18842
+ "structs": {
18843
+ "Publisher": {
18844
+ "abilities": {
18845
+ "abilities": [
18846
+ "Store",
18847
+ "Key"
18848
+ ]
18849
+ },
18850
+ "typeParameters": [],
18851
+ "fields": [
18852
+ {
18853
+ "name": "id",
18854
+ "type": {
18855
+ "Struct": {
18856
+ "address": "0x2",
18857
+ "module": "object",
18858
+ "name": "UID",
18859
+ "typeArguments": []
18860
+ }
18861
+ }
18862
+ },
18863
+ {
18864
+ "name": "package",
18865
+ "type": {
18866
+ "Struct": {
18332
18867
  "address": "0x1",
18333
18868
  "module": "ascii",
18334
18869
  "name": "String",
18335
18870
  "typeArguments": []
18336
18871
  }
18337
18872
  }
18873
+ },
18874
+ {
18875
+ "name": "module_name",
18876
+ "type": {
18877
+ "Struct": {
18878
+ "address": "0x1",
18879
+ "module": "ascii",
18880
+ "name": "String",
18881
+ "typeArguments": []
18882
+ }
18883
+ }
18884
+ }
18885
+ ]
18886
+ },
18887
+ "UpgradeCap": {
18888
+ "abilities": {
18889
+ "abilities": [
18890
+ "Store",
18891
+ "Key"
18892
+ ]
18893
+ },
18894
+ "typeParameters": [],
18895
+ "fields": [
18896
+ {
18897
+ "name": "id",
18898
+ "type": {
18899
+ "Struct": {
18900
+ "address": "0x2",
18901
+ "module": "object",
18902
+ "name": "UID",
18903
+ "typeArguments": []
18904
+ }
18905
+ }
18906
+ },
18907
+ {
18908
+ "name": "package",
18909
+ "type": {
18910
+ "Struct": {
18911
+ "address": "0x2",
18912
+ "module": "object",
18913
+ "name": "ID",
18914
+ "typeArguments": []
18915
+ }
18916
+ }
18917
+ },
18918
+ {
18919
+ "name": "version",
18920
+ "type": "U64"
18921
+ },
18922
+ {
18923
+ "name": "policy",
18924
+ "type": "U8"
18925
+ }
18926
+ ]
18927
+ },
18928
+ "UpgradeReceipt": {
18929
+ "abilities": {
18930
+ "abilities": []
18931
+ },
18932
+ "typeParameters": [],
18933
+ "fields": [
18934
+ {
18935
+ "name": "cap",
18936
+ "type": {
18937
+ "Struct": {
18938
+ "address": "0x2",
18939
+ "module": "object",
18940
+ "name": "ID",
18941
+ "typeArguments": []
18942
+ }
18943
+ }
18944
+ },
18945
+ {
18946
+ "name": "package",
18947
+ "type": {
18948
+ "Struct": {
18949
+ "address": "0x2",
18950
+ "module": "object",
18951
+ "name": "ID",
18952
+ "typeArguments": []
18953
+ }
18954
+ }
18955
+ }
18956
+ ]
18957
+ },
18958
+ "UpgradeTicket": {
18959
+ "abilities": {
18960
+ "abilities": []
18961
+ },
18962
+ "typeParameters": [],
18963
+ "fields": [
18964
+ {
18965
+ "name": "cap",
18966
+ "type": {
18967
+ "Struct": {
18968
+ "address": "0x2",
18969
+ "module": "object",
18970
+ "name": "ID",
18971
+ "typeArguments": []
18972
+ }
18973
+ }
18974
+ },
18975
+ {
18976
+ "name": "package",
18977
+ "type": {
18978
+ "Struct": {
18979
+ "address": "0x2",
18980
+ "module": "object",
18981
+ "name": "ID",
18982
+ "typeArguments": []
18983
+ }
18984
+ }
18985
+ },
18986
+ {
18987
+ "name": "policy",
18988
+ "type": "U8"
18989
+ },
18990
+ {
18991
+ "name": "digest",
18992
+ "type": {
18993
+ "Vector": "U8"
18994
+ }
18995
+ }
18996
+ ]
18997
+ }
18998
+ },
18999
+ "exposedFunctions": {
19000
+ "additive_policy": {
19001
+ "visibility": "Public",
19002
+ "isEntry": false,
19003
+ "typeParameters": [],
19004
+ "parameters": [],
19005
+ "return": [
19006
+ "U8"
19007
+ ]
19008
+ },
19009
+ "authorize_upgrade": {
19010
+ "visibility": "Public",
19011
+ "isEntry": false,
19012
+ "typeParameters": [],
19013
+ "parameters": [
19014
+ {
19015
+ "MutableReference": {
19016
+ "Struct": {
19017
+ "address": "0x2",
19018
+ "module": "package",
19019
+ "name": "UpgradeCap",
19020
+ "typeArguments": []
19021
+ }
19022
+ }
19023
+ },
19024
+ "U8",
19025
+ {
19026
+ "Vector": "U8"
19027
+ }
19028
+ ],
19029
+ "return": [
19030
+ {
19031
+ "Struct": {
19032
+ "address": "0x2",
19033
+ "module": "package",
19034
+ "name": "UpgradeTicket",
19035
+ "typeArguments": []
19036
+ }
19037
+ }
19038
+ ]
19039
+ },
19040
+ "burn_publisher": {
19041
+ "visibility": "Public",
19042
+ "isEntry": false,
19043
+ "typeParameters": [],
19044
+ "parameters": [
19045
+ {
19046
+ "Struct": {
19047
+ "address": "0x2",
19048
+ "module": "package",
19049
+ "name": "Publisher",
19050
+ "typeArguments": []
19051
+ }
19052
+ }
19053
+ ],
19054
+ "return": []
19055
+ },
19056
+ "claim": {
19057
+ "visibility": "Public",
19058
+ "isEntry": false,
19059
+ "typeParameters": [
19060
+ {
19061
+ "abilities": [
19062
+ "Drop"
19063
+ ]
19064
+ }
19065
+ ],
19066
+ "parameters": [
19067
+ {
19068
+ "TypeParameter": 0
19069
+ },
19070
+ {
19071
+ "MutableReference": {
19072
+ "Struct": {
19073
+ "address": "0x2",
19074
+ "module": "tx_context",
19075
+ "name": "TxContext",
19076
+ "typeArguments": []
19077
+ }
19078
+ }
19079
+ }
19080
+ ],
19081
+ "return": [
19082
+ {
19083
+ "Struct": {
19084
+ "address": "0x2",
19085
+ "module": "package",
19086
+ "name": "Publisher",
19087
+ "typeArguments": []
19088
+ }
19089
+ }
19090
+ ]
19091
+ },
19092
+ "claim_and_keep": {
19093
+ "visibility": "Public",
19094
+ "isEntry": false,
19095
+ "typeParameters": [
19096
+ {
19097
+ "abilities": [
19098
+ "Drop"
19099
+ ]
19100
+ }
19101
+ ],
19102
+ "parameters": [
19103
+ {
19104
+ "TypeParameter": 0
19105
+ },
19106
+ {
19107
+ "MutableReference": {
19108
+ "Struct": {
19109
+ "address": "0x2",
19110
+ "module": "tx_context",
19111
+ "name": "TxContext",
19112
+ "typeArguments": []
19113
+ }
19114
+ }
19115
+ }
19116
+ ],
19117
+ "return": []
19118
+ },
19119
+ "commit_upgrade": {
19120
+ "visibility": "Public",
19121
+ "isEntry": false,
19122
+ "typeParameters": [],
19123
+ "parameters": [
19124
+ {
19125
+ "MutableReference": {
19126
+ "Struct": {
19127
+ "address": "0x2",
19128
+ "module": "package",
19129
+ "name": "UpgradeCap",
19130
+ "typeArguments": []
19131
+ }
19132
+ }
19133
+ },
19134
+ {
19135
+ "Struct": {
19136
+ "address": "0x2",
19137
+ "module": "package",
19138
+ "name": "UpgradeReceipt",
19139
+ "typeArguments": []
19140
+ }
18338
19141
  }
19142
+ ],
19143
+ "return": []
19144
+ },
19145
+ "compatible_policy": {
19146
+ "visibility": "Public",
19147
+ "isEntry": false,
19148
+ "typeParameters": [],
19149
+ "parameters": [],
19150
+ "return": [
19151
+ "U8"
18339
19152
  ]
18340
19153
  },
18341
- "UpgradeCap": {
18342
- "abilities": {
18343
- "abilities": [
18344
- "Store",
18345
- "Key"
18346
- ]
18347
- },
19154
+ "dep_only_policy": {
19155
+ "visibility": "Public",
19156
+ "isEntry": false,
18348
19157
  "typeParameters": [],
18349
- "fields": [
19158
+ "parameters": [],
19159
+ "return": [
19160
+ "U8"
19161
+ ]
19162
+ },
19163
+ "from_module": {
19164
+ "visibility": "Public",
19165
+ "isEntry": false,
19166
+ "typeParameters": [
18350
19167
  {
18351
- "name": "id",
18352
- "type": {
19168
+ "abilities": []
19169
+ }
19170
+ ],
19171
+ "parameters": [
19172
+ {
19173
+ "Reference": {
18353
19174
  "Struct": {
18354
19175
  "address": "0x2",
18355
- "module": "object",
18356
- "name": "UID",
19176
+ "module": "package",
19177
+ "name": "Publisher",
18357
19178
  "typeArguments": []
18358
19179
  }
18359
19180
  }
18360
- },
19181
+ }
19182
+ ],
19183
+ "return": [
19184
+ "Bool"
19185
+ ]
19186
+ },
19187
+ "from_package": {
19188
+ "visibility": "Public",
19189
+ "isEntry": false,
19190
+ "typeParameters": [
18361
19191
  {
18362
- "name": "package",
18363
- "type": {
19192
+ "abilities": []
19193
+ }
19194
+ ],
19195
+ "parameters": [
19196
+ {
19197
+ "Reference": {
18364
19198
  "Struct": {
18365
19199
  "address": "0x2",
18366
- "module": "object",
18367
- "name": "ID",
19200
+ "module": "package",
19201
+ "name": "Publisher",
18368
19202
  "typeArguments": []
18369
19203
  }
18370
19204
  }
18371
- },
19205
+ }
19206
+ ],
19207
+ "return": [
19208
+ "Bool"
19209
+ ]
19210
+ },
19211
+ "make_immutable": {
19212
+ "visibility": "Public",
19213
+ "isEntry": true,
19214
+ "typeParameters": [],
19215
+ "parameters": [
18372
19216
  {
18373
- "name": "version",
18374
- "type": "U64"
18375
- },
19217
+ "Struct": {
19218
+ "address": "0x2",
19219
+ "module": "package",
19220
+ "name": "UpgradeCap",
19221
+ "typeArguments": []
19222
+ }
19223
+ }
19224
+ ],
19225
+ "return": []
19226
+ },
19227
+ "only_additive_upgrades": {
19228
+ "visibility": "Public",
19229
+ "isEntry": true,
19230
+ "typeParameters": [],
19231
+ "parameters": [
18376
19232
  {
18377
- "name": "policy",
18378
- "type": "U8"
19233
+ "MutableReference": {
19234
+ "Struct": {
19235
+ "address": "0x2",
19236
+ "module": "package",
19237
+ "name": "UpgradeCap",
19238
+ "typeArguments": []
19239
+ }
19240
+ }
19241
+ }
19242
+ ],
19243
+ "return": []
19244
+ },
19245
+ "only_dep_upgrades": {
19246
+ "visibility": "Public",
19247
+ "isEntry": true,
19248
+ "typeParameters": [],
19249
+ "parameters": [
19250
+ {
19251
+ "MutableReference": {
19252
+ "Struct": {
19253
+ "address": "0x2",
19254
+ "module": "package",
19255
+ "name": "UpgradeCap",
19256
+ "typeArguments": []
19257
+ }
19258
+ }
19259
+ }
19260
+ ],
19261
+ "return": []
19262
+ },
19263
+ "published_module": {
19264
+ "visibility": "Public",
19265
+ "isEntry": false,
19266
+ "typeParameters": [],
19267
+ "parameters": [
19268
+ {
19269
+ "Reference": {
19270
+ "Struct": {
19271
+ "address": "0x2",
19272
+ "module": "package",
19273
+ "name": "Publisher",
19274
+ "typeArguments": []
19275
+ }
19276
+ }
19277
+ }
19278
+ ],
19279
+ "return": [
19280
+ {
19281
+ "Reference": {
19282
+ "Struct": {
19283
+ "address": "0x1",
19284
+ "module": "ascii",
19285
+ "name": "String",
19286
+ "typeArguments": []
19287
+ }
19288
+ }
18379
19289
  }
18380
19290
  ]
18381
19291
  },
18382
- "UpgradeReceipt": {
18383
- "abilities": {
18384
- "abilities": []
18385
- },
19292
+ "published_package": {
19293
+ "visibility": "Public",
19294
+ "isEntry": false,
18386
19295
  "typeParameters": [],
18387
- "fields": [
19296
+ "parameters": [
18388
19297
  {
18389
- "name": "cap",
18390
- "type": {
19298
+ "Reference": {
18391
19299
  "Struct": {
18392
19300
  "address": "0x2",
18393
- "module": "object",
18394
- "name": "ID",
19301
+ "module": "package",
19302
+ "name": "Publisher",
18395
19303
  "typeArguments": []
18396
19304
  }
18397
19305
  }
18398
- },
19306
+ }
19307
+ ],
19308
+ "return": [
18399
19309
  {
18400
- "name": "package",
18401
- "type": {
19310
+ "Reference": {
19311
+ "Struct": {
19312
+ "address": "0x1",
19313
+ "module": "ascii",
19314
+ "name": "String",
19315
+ "typeArguments": []
19316
+ }
19317
+ }
19318
+ }
19319
+ ]
19320
+ },
19321
+ "receipt_cap": {
19322
+ "visibility": "Public",
19323
+ "isEntry": false,
19324
+ "typeParameters": [],
19325
+ "parameters": [
19326
+ {
19327
+ "Reference": {
18402
19328
  "Struct": {
18403
19329
  "address": "0x2",
18404
- "module": "object",
18405
- "name": "ID",
19330
+ "module": "package",
19331
+ "name": "UpgradeReceipt",
18406
19332
  "typeArguments": []
18407
19333
  }
18408
19334
  }
18409
19335
  }
19336
+ ],
19337
+ "return": [
19338
+ {
19339
+ "Struct": {
19340
+ "address": "0x2",
19341
+ "module": "object",
19342
+ "name": "ID",
19343
+ "typeArguments": []
19344
+ }
19345
+ }
18410
19346
  ]
18411
19347
  },
18412
- "UpgradeTicket": {
18413
- "abilities": {
18414
- "abilities": []
18415
- },
19348
+ "receipt_package": {
19349
+ "visibility": "Public",
19350
+ "isEntry": false,
18416
19351
  "typeParameters": [],
18417
- "fields": [
19352
+ "parameters": [
18418
19353
  {
18419
- "name": "cap",
18420
- "type": {
19354
+ "Reference": {
18421
19355
  "Struct": {
18422
19356
  "address": "0x2",
18423
- "module": "object",
18424
- "name": "ID",
19357
+ "module": "package",
19358
+ "name": "UpgradeReceipt",
18425
19359
  "typeArguments": []
18426
19360
  }
18427
19361
  }
18428
- },
19362
+ }
19363
+ ],
19364
+ "return": [
18429
19365
  {
18430
- "name": "package",
18431
- "type": {
19366
+ "Struct": {
19367
+ "address": "0x2",
19368
+ "module": "object",
19369
+ "name": "ID",
19370
+ "typeArguments": []
19371
+ }
19372
+ }
19373
+ ]
19374
+ },
19375
+ "ticket_digest": {
19376
+ "visibility": "Public",
19377
+ "isEntry": false,
19378
+ "typeParameters": [],
19379
+ "parameters": [
19380
+ {
19381
+ "Reference": {
18432
19382
  "Struct": {
18433
19383
  "address": "0x2",
18434
- "module": "object",
18435
- "name": "ID",
19384
+ "module": "package",
19385
+ "name": "UpgradeTicket",
18436
19386
  "typeArguments": []
18437
19387
  }
18438
19388
  }
18439
- },
18440
- {
18441
- "name": "policy",
18442
- "type": "U8"
18443
- },
19389
+ }
19390
+ ],
19391
+ "return": [
18444
19392
  {
18445
- "name": "digest",
18446
- "type": {
19393
+ "Reference": {
18447
19394
  "Vector": "U8"
18448
19395
  }
18449
19396
  }
18450
19397
  ]
18451
- }
18452
- },
18453
- "exposedFunctions": {
18454
- "additive_policy": {
18455
- "visibility": "Public",
18456
- "isEntry": false,
18457
- "typeParameters": [],
18458
- "parameters": [],
18459
- "return": [
18460
- "U8"
18461
- ]
18462
19398
  },
18463
- "authorize_upgrade": {
19399
+ "ticket_package": {
18464
19400
  "visibility": "Public",
18465
19401
  "isEntry": false,
18466
19402
  "typeParameters": [],
18467
19403
  "parameters": [
18468
19404
  {
18469
- "MutableReference": {
19405
+ "Reference": {
18470
19406
  "Struct": {
18471
19407
  "address": "0x2",
18472
19408
  "module": "package",
18473
- "name": "UpgradeCap",
19409
+ "name": "UpgradeTicket",
18474
19410
  "typeArguments": []
18475
19411
  }
18476
19412
  }
18477
- },
18478
- "U8",
18479
- {
18480
- "Vector": "U8"
18481
19413
  }
18482
19414
  ],
18483
19415
  "return": [
18484
19416
  {
18485
19417
  "Struct": {
18486
19418
  "address": "0x2",
18487
- "module": "package",
18488
- "name": "UpgradeTicket",
19419
+ "module": "object",
19420
+ "name": "ID",
18489
19421
  "typeArguments": []
18490
19422
  }
18491
19423
  }
18492
19424
  ]
18493
19425
  },
18494
- "burn_publisher": {
19426
+ "ticket_policy": {
18495
19427
  "visibility": "Public",
18496
19428
  "isEntry": false,
18497
19429
  "typeParameters": [],
18498
19430
  "parameters": [
18499
19431
  {
18500
- "Struct": {
18501
- "address": "0x2",
18502
- "module": "package",
18503
- "name": "Publisher",
18504
- "typeArguments": []
19432
+ "Reference": {
19433
+ "Struct": {
19434
+ "address": "0x2",
19435
+ "module": "package",
19436
+ "name": "UpgradeTicket",
19437
+ "typeArguments": []
19438
+ }
18505
19439
  }
18506
19440
  }
18507
19441
  ],
18508
- "return": []
19442
+ "return": [
19443
+ "U8"
19444
+ ]
18509
19445
  },
18510
- "claim": {
19446
+ "upgrade_package": {
18511
19447
  "visibility": "Public",
18512
19448
  "isEntry": false,
18513
- "typeParameters": [
18514
- {
18515
- "abilities": [
18516
- "Drop"
18517
- ]
18518
- }
18519
- ],
19449
+ "typeParameters": [],
18520
19450
  "parameters": [
18521
19451
  {
18522
- "TypeParameter": 0
18523
- },
18524
- {
18525
- "MutableReference": {
19452
+ "Reference": {
18526
19453
  "Struct": {
18527
19454
  "address": "0x2",
18528
- "module": "tx_context",
18529
- "name": "TxContext",
19455
+ "module": "package",
19456
+ "name": "UpgradeCap",
18530
19457
  "typeArguments": []
18531
19458
  }
18532
19459
  }
@@ -18536,47 +19463,40 @@
18536
19463
  {
18537
19464
  "Struct": {
18538
19465
  "address": "0x2",
18539
- "module": "package",
18540
- "name": "Publisher",
19466
+ "module": "object",
19467
+ "name": "ID",
18541
19468
  "typeArguments": []
18542
19469
  }
18543
19470
  }
18544
19471
  ]
18545
19472
  },
18546
- "claim_and_keep": {
19473
+ "upgrade_policy": {
18547
19474
  "visibility": "Public",
18548
19475
  "isEntry": false,
18549
- "typeParameters": [
18550
- {
18551
- "abilities": [
18552
- "Drop"
18553
- ]
18554
- }
18555
- ],
19476
+ "typeParameters": [],
18556
19477
  "parameters": [
18557
19478
  {
18558
- "TypeParameter": 0
18559
- },
18560
- {
18561
- "MutableReference": {
19479
+ "Reference": {
18562
19480
  "Struct": {
18563
19481
  "address": "0x2",
18564
- "module": "tx_context",
18565
- "name": "TxContext",
19482
+ "module": "package",
19483
+ "name": "UpgradeCap",
18566
19484
  "typeArguments": []
18567
19485
  }
18568
19486
  }
18569
19487
  }
18570
19488
  ],
18571
- "return": []
19489
+ "return": [
19490
+ "U8"
19491
+ ]
18572
19492
  },
18573
- "commit_upgrade": {
19493
+ "version": {
18574
19494
  "visibility": "Public",
18575
19495
  "isEntry": false,
18576
19496
  "typeParameters": [],
18577
19497
  "parameters": [
18578
19498
  {
18579
- "MutableReference": {
19499
+ "Reference": {
18580
19500
  "Struct": {
18581
19501
  "address": "0x2",
18582
19502
  "module": "package",
@@ -18584,137 +19504,244 @@
18584
19504
  "typeArguments": []
18585
19505
  }
18586
19506
  }
19507
+ }
19508
+ ],
19509
+ "return": [
19510
+ "U64"
19511
+ ]
19512
+ }
19513
+ }
19514
+ },
19515
+ "package_metadata": {
19516
+ "fileFormatVersion": 6,
19517
+ "address": "0x2",
19518
+ "name": "package_metadata",
19519
+ "friends": [],
19520
+ "structs": {
19521
+ "AuthenticatorMetadataV1": {
19522
+ "abilities": {
19523
+ "abilities": [
19524
+ "Copy",
19525
+ "Drop",
19526
+ "Store"
19527
+ ]
19528
+ },
19529
+ "typeParameters": [],
19530
+ "fields": [
19531
+ {
19532
+ "name": "function_name",
19533
+ "type": {
19534
+ "Struct": {
19535
+ "address": "0x1",
19536
+ "module": "ascii",
19537
+ "name": "String",
19538
+ "typeArguments": []
19539
+ }
19540
+ }
18587
19541
  },
18588
19542
  {
18589
- "Struct": {
18590
- "address": "0x2",
18591
- "module": "package",
18592
- "name": "UpgradeReceipt",
18593
- "typeArguments": []
19543
+ "name": "account_type",
19544
+ "type": {
19545
+ "Struct": {
19546
+ "address": "0x1",
19547
+ "module": "type_name",
19548
+ "name": "TypeName",
19549
+ "typeArguments": []
19550
+ }
18594
19551
  }
18595
19552
  }
18596
- ],
18597
- "return": []
19553
+ ]
18598
19554
  },
18599
- "compatible_policy": {
18600
- "visibility": "Public",
18601
- "isEntry": false,
19555
+ "ModuleMetadataV1": {
19556
+ "abilities": {
19557
+ "abilities": [
19558
+ "Copy",
19559
+ "Drop",
19560
+ "Store"
19561
+ ]
19562
+ },
18602
19563
  "typeParameters": [],
18603
- "parameters": [],
18604
- "return": [
18605
- "U8"
19564
+ "fields": [
19565
+ {
19566
+ "name": "authenticator_metadata",
19567
+ "type": {
19568
+ "Vector": {
19569
+ "Struct": {
19570
+ "address": "0x2",
19571
+ "module": "package_metadata",
19572
+ "name": "AuthenticatorMetadataV1",
19573
+ "typeArguments": []
19574
+ }
19575
+ }
19576
+ }
19577
+ }
18606
19578
  ]
18607
19579
  },
18608
- "dep_only_policy": {
18609
- "visibility": "Public",
18610
- "isEntry": false,
19580
+ "ModuleMetadataV1FieldName": {
19581
+ "abilities": {
19582
+ "abilities": [
19583
+ "Copy",
19584
+ "Drop",
19585
+ "Store"
19586
+ ]
19587
+ },
18611
19588
  "typeParameters": [],
18612
- "parameters": [],
18613
- "return": [
18614
- "U8"
19589
+ "fields": [
19590
+ {
19591
+ "name": "dummy_field",
19592
+ "type": "Bool"
19593
+ }
18615
19594
  ]
18616
19595
  },
18617
- "from_module": {
18618
- "visibility": "Public",
18619
- "isEntry": false,
18620
- "typeParameters": [
19596
+ "ModuleName": {
19597
+ "abilities": {
19598
+ "abilities": [
19599
+ "Copy",
19600
+ "Drop",
19601
+ "Store"
19602
+ ]
19603
+ },
19604
+ "typeParameters": [],
19605
+ "fields": [
19606
+ {
19607
+ "name": "pos0",
19608
+ "type": {
19609
+ "Struct": {
19610
+ "address": "0x1",
19611
+ "module": "ascii",
19612
+ "name": "String",
19613
+ "typeArguments": []
19614
+ }
19615
+ }
19616
+ }
19617
+ ]
19618
+ },
19619
+ "ModulesMetadataFieldName": {
19620
+ "abilities": {
19621
+ "abilities": [
19622
+ "Copy",
19623
+ "Drop",
19624
+ "Store"
19625
+ ]
19626
+ },
19627
+ "typeParameters": [],
19628
+ "fields": [
19629
+ {
19630
+ "name": "dummy_field",
19631
+ "type": "Bool"
19632
+ }
19633
+ ]
19634
+ },
19635
+ "PackageMetadataKey": {
19636
+ "abilities": {
19637
+ "abilities": [
19638
+ "Copy",
19639
+ "Drop",
19640
+ "Store"
19641
+ ]
19642
+ },
19643
+ "typeParameters": [],
19644
+ "fields": [
18621
19645
  {
18622
- "abilities": []
19646
+ "name": "dummy_field",
19647
+ "type": "Bool"
18623
19648
  }
18624
- ],
18625
- "parameters": [
19649
+ ]
19650
+ },
19651
+ "PackageMetadataV1": {
19652
+ "abilities": {
19653
+ "abilities": [
19654
+ "Key"
19655
+ ]
19656
+ },
19657
+ "typeParameters": [],
19658
+ "fields": [
18626
19659
  {
18627
- "Reference": {
19660
+ "name": "id",
19661
+ "type": {
18628
19662
  "Struct": {
18629
19663
  "address": "0x2",
18630
- "module": "package",
18631
- "name": "Publisher",
19664
+ "module": "object",
19665
+ "name": "UID",
18632
19666
  "typeArguments": []
18633
19667
  }
18634
19668
  }
18635
- }
18636
- ],
18637
- "return": [
18638
- "Bool"
18639
- ]
18640
- },
18641
- "from_package": {
18642
- "visibility": "Public",
18643
- "isEntry": false,
18644
- "typeParameters": [
18645
- {
18646
- "abilities": []
18647
- }
18648
- ],
18649
- "parameters": [
19669
+ },
18650
19670
  {
18651
- "Reference": {
19671
+ "name": "storage_id",
19672
+ "type": {
18652
19673
  "Struct": {
18653
19674
  "address": "0x2",
18654
- "module": "package",
18655
- "name": "Publisher",
19675
+ "module": "object",
19676
+ "name": "ID",
18656
19677
  "typeArguments": []
18657
19678
  }
18658
19679
  }
18659
- }
18660
- ],
18661
- "return": [
18662
- "Bool"
18663
- ]
18664
- },
18665
- "make_immutable": {
18666
- "visibility": "Public",
18667
- "isEntry": true,
18668
- "typeParameters": [],
18669
- "parameters": [
18670
- {
18671
- "Struct": {
18672
- "address": "0x2",
18673
- "module": "package",
18674
- "name": "UpgradeCap",
18675
- "typeArguments": []
18676
- }
18677
- }
18678
- ],
18679
- "return": []
18680
- },
18681
- "only_additive_upgrades": {
18682
- "visibility": "Public",
18683
- "isEntry": true,
18684
- "typeParameters": [],
18685
- "parameters": [
19680
+ },
18686
19681
  {
18687
- "MutableReference": {
19682
+ "name": "runtime_id",
19683
+ "type": {
18688
19684
  "Struct": {
18689
19685
  "address": "0x2",
18690
- "module": "package",
18691
- "name": "UpgradeCap",
19686
+ "module": "object",
19687
+ "name": "ID",
18692
19688
  "typeArguments": []
18693
19689
  }
18694
19690
  }
18695
- }
18696
- ],
18697
- "return": []
18698
- },
18699
- "only_dep_upgrades": {
18700
- "visibility": "Public",
18701
- "isEntry": true,
18702
- "typeParameters": [],
18703
- "parameters": [
19691
+ },
18704
19692
  {
18705
- "MutableReference": {
19693
+ "name": "package_version",
19694
+ "type": "U64"
19695
+ },
19696
+ {
19697
+ "name": "modules_metadata",
19698
+ "type": {
18706
19699
  "Struct": {
18707
19700
  "address": "0x2",
18708
- "module": "package",
18709
- "name": "UpgradeCap",
18710
- "typeArguments": []
19701
+ "module": "vec_map",
19702
+ "name": "VecMap",
19703
+ "typeArguments": [
19704
+ {
19705
+ "Struct": {
19706
+ "address": "0x1",
19707
+ "module": "ascii",
19708
+ "name": "String",
19709
+ "typeArguments": []
19710
+ }
19711
+ },
19712
+ {
19713
+ "Struct": {
19714
+ "address": "0x2",
19715
+ "module": "package_metadata",
19716
+ "name": "ModuleMetadataV1",
19717
+ "typeArguments": []
19718
+ }
19719
+ }
19720
+ ]
18711
19721
  }
18712
19722
  }
18713
19723
  }
18714
- ],
18715
- "return": []
19724
+ ]
18716
19725
  },
18717
- "published_module": {
19726
+ "PackageMetadataVersionFieldName": {
19727
+ "abilities": {
19728
+ "abilities": [
19729
+ "Copy",
19730
+ "Drop",
19731
+ "Store"
19732
+ ]
19733
+ },
19734
+ "typeParameters": [],
19735
+ "fields": [
19736
+ {
19737
+ "name": "dummy_field",
19738
+ "type": "Bool"
19739
+ }
19740
+ ]
19741
+ }
19742
+ },
19743
+ "exposedFunctions": {
19744
+ "account_type": {
18718
19745
  "visibility": "Public",
18719
19746
  "isEntry": false,
18720
19747
  "typeParameters": [],
@@ -18723,8 +19750,8 @@
18723
19750
  "Reference": {
18724
19751
  "Struct": {
18725
19752
  "address": "0x2",
18726
- "module": "package",
18727
- "name": "Publisher",
19753
+ "module": "package_metadata",
19754
+ "name": "AuthenticatorMetadataV1",
18728
19755
  "typeArguments": []
18729
19756
  }
18730
19757
  }
@@ -18732,18 +19759,16 @@
18732
19759
  ],
18733
19760
  "return": [
18734
19761
  {
18735
- "Reference": {
18736
- "Struct": {
18737
- "address": "0x1",
18738
- "module": "ascii",
18739
- "name": "String",
18740
- "typeArguments": []
18741
- }
19762
+ "Struct": {
19763
+ "address": "0x1",
19764
+ "module": "type_name",
19765
+ "name": "TypeName",
19766
+ "typeArguments": []
18742
19767
  }
18743
19768
  }
18744
19769
  ]
18745
19770
  },
18746
- "published_package": {
19771
+ "authenticator_function_metadata_v1": {
18747
19772
  "visibility": "Public",
18748
19773
  "isEntry": false,
18749
19774
  "typeParameters": [],
@@ -18752,14 +19777,12 @@
18752
19777
  "Reference": {
18753
19778
  "Struct": {
18754
19779
  "address": "0x2",
18755
- "module": "package",
18756
- "name": "Publisher",
19780
+ "module": "module_metadata",
19781
+ "name": "ModuleMetadata",
18757
19782
  "typeArguments": []
18758
19783
  }
18759
19784
  }
18760
- }
18761
- ],
18762
- "return": [
19785
+ },
18763
19786
  {
18764
19787
  "Reference": {
18765
19788
  "Struct": {
@@ -18770,36 +19793,21 @@
18770
19793
  }
18771
19794
  }
18772
19795
  }
18773
- ]
18774
- },
18775
- "receipt_cap": {
18776
- "visibility": "Public",
18777
- "isEntry": false,
18778
- "typeParameters": [],
18779
- "parameters": [
19796
+ ],
19797
+ "return": [
18780
19798
  {
18781
19799
  "Reference": {
18782
19800
  "Struct": {
18783
19801
  "address": "0x2",
18784
- "module": "package",
18785
- "name": "UpgradeReceipt",
19802
+ "module": "package_metadata",
19803
+ "name": "AuthenticatorMetadataV1",
18786
19804
  "typeArguments": []
18787
19805
  }
18788
19806
  }
18789
19807
  }
18790
- ],
18791
- "return": [
18792
- {
18793
- "Struct": {
18794
- "address": "0x2",
18795
- "module": "object",
18796
- "name": "ID",
18797
- "typeArguments": []
18798
- }
18799
- }
18800
19808
  ]
18801
19809
  },
18802
- "receipt_package": {
19810
+ "authenticator_metadata_v1": {
18803
19811
  "visibility": "Public",
18804
19812
  "isEntry": false,
18805
19813
  "typeParameters": [],
@@ -18808,35 +19816,18 @@
18808
19816
  "Reference": {
18809
19817
  "Struct": {
18810
19818
  "address": "0x2",
18811
- "module": "package",
18812
- "name": "UpgradeReceipt",
19819
+ "module": "package_metadata",
19820
+ "name": "ModuleMetadataV1",
18813
19821
  "typeArguments": []
18814
19822
  }
18815
19823
  }
18816
- }
18817
- ],
18818
- "return": [
18819
- {
18820
- "Struct": {
18821
- "address": "0x2",
18822
- "module": "object",
18823
- "name": "ID",
18824
- "typeArguments": []
18825
- }
18826
- }
18827
- ]
18828
- },
18829
- "ticket_digest": {
18830
- "visibility": "Public",
18831
- "isEntry": false,
18832
- "typeParameters": [],
18833
- "parameters": [
19824
+ },
18834
19825
  {
18835
19826
  "Reference": {
18836
19827
  "Struct": {
18837
- "address": "0x2",
18838
- "module": "package",
18839
- "name": "UpgradeTicket",
19828
+ "address": "0x1",
19829
+ "module": "ascii",
19830
+ "name": "String",
18840
19831
  "typeArguments": []
18841
19832
  }
18842
19833
  }
@@ -18845,12 +19836,17 @@
18845
19836
  "return": [
18846
19837
  {
18847
19838
  "Reference": {
18848
- "Vector": "U8"
19839
+ "Struct": {
19840
+ "address": "0x2",
19841
+ "module": "package_metadata",
19842
+ "name": "AuthenticatorMetadataV1",
19843
+ "typeArguments": []
19844
+ }
18849
19845
  }
18850
19846
  }
18851
19847
  ]
18852
19848
  },
18853
- "ticket_package": {
19849
+ "borrow_modules_metadata": {
18854
19850
  "visibility": "Public",
18855
19851
  "isEntry": false,
18856
19852
  "typeParameters": [],
@@ -18859,8 +19855,8 @@
18859
19855
  "Reference": {
18860
19856
  "Struct": {
18861
19857
  "address": "0x2",
18862
- "module": "package",
18863
- "name": "UpgradeTicket",
19858
+ "module": "package_metadata",
19859
+ "name": "PackageMetadataV1",
18864
19860
  "typeArguments": []
18865
19861
  }
18866
19862
  }
@@ -18868,16 +19864,35 @@
18868
19864
  ],
18869
19865
  "return": [
18870
19866
  {
18871
- "Struct": {
18872
- "address": "0x2",
18873
- "module": "object",
18874
- "name": "ID",
18875
- "typeArguments": []
19867
+ "Reference": {
19868
+ "Struct": {
19869
+ "address": "0x2",
19870
+ "module": "vec_map",
19871
+ "name": "VecMap",
19872
+ "typeArguments": [
19873
+ {
19874
+ "Struct": {
19875
+ "address": "0x2",
19876
+ "module": "package_metadata",
19877
+ "name": "ModuleName",
19878
+ "typeArguments": []
19879
+ }
19880
+ },
19881
+ {
19882
+ "Struct": {
19883
+ "address": "0x2",
19884
+ "module": "module_metadata",
19885
+ "name": "ModuleMetadata",
19886
+ "typeArguments": []
19887
+ }
19888
+ }
19889
+ ]
19890
+ }
18876
19891
  }
18877
19892
  }
18878
19893
  ]
18879
19894
  },
18880
- "ticket_policy": {
19895
+ "borrow_package_metadata_version_field": {
18881
19896
  "visibility": "Public",
18882
19897
  "isEntry": false,
18883
19898
  "typeParameters": [],
@@ -18886,18 +19901,20 @@
18886
19901
  "Reference": {
18887
19902
  "Struct": {
18888
19903
  "address": "0x2",
18889
- "module": "package",
18890
- "name": "UpgradeTicket",
19904
+ "module": "package_metadata",
19905
+ "name": "PackageMetadataV1",
18891
19906
  "typeArguments": []
18892
19907
  }
18893
19908
  }
18894
19909
  }
18895
19910
  ],
18896
19911
  "return": [
18897
- "U8"
19912
+ {
19913
+ "Reference": "U64"
19914
+ }
18898
19915
  ]
18899
19916
  },
18900
- "upgrade_package": {
19917
+ "function_name": {
18901
19918
  "visibility": "Public",
18902
19919
  "isEntry": false,
18903
19920
  "typeParameters": [],
@@ -18906,8 +19923,8 @@
18906
19923
  "Reference": {
18907
19924
  "Struct": {
18908
19925
  "address": "0x2",
18909
- "module": "package",
18910
- "name": "UpgradeCap",
19926
+ "module": "package_metadata",
19927
+ "name": "AuthenticatorMetadataV1",
18911
19928
  "typeArguments": []
18912
19929
  }
18913
19930
  }
@@ -18915,16 +19932,18 @@
18915
19932
  ],
18916
19933
  "return": [
18917
19934
  {
18918
- "Struct": {
18919
- "address": "0x2",
18920
- "module": "object",
18921
- "name": "ID",
18922
- "typeArguments": []
19935
+ "Reference": {
19936
+ "Struct": {
19937
+ "address": "0x1",
19938
+ "module": "ascii",
19939
+ "name": "String",
19940
+ "typeArguments": []
19941
+ }
18923
19942
  }
18924
19943
  }
18925
19944
  ]
18926
19945
  },
18927
- "upgrade_policy": {
19946
+ "has_package_metadata_version_field": {
18928
19947
  "visibility": "Public",
18929
19948
  "isEntry": false,
18930
19949
  "typeParameters": [],
@@ -18933,18 +19952,18 @@
18933
19952
  "Reference": {
18934
19953
  "Struct": {
18935
19954
  "address": "0x2",
18936
- "module": "package",
18937
- "name": "UpgradeCap",
19955
+ "module": "package_metadata",
19956
+ "name": "PackageMetadataV1",
18938
19957
  "typeArguments": []
18939
19958
  }
18940
19959
  }
18941
19960
  }
18942
19961
  ],
18943
19962
  "return": [
18944
- "U8"
19963
+ "Bool"
18945
19964
  ]
18946
19965
  },
18947
- "version": {
19966
+ "module_authenticator_function_metadata_v1": {
18948
19967
  "visibility": "Public",
18949
19968
  "isEntry": false,
18950
19969
  "typeParameters": [],
@@ -18953,38 +19972,14 @@
18953
19972
  "Reference": {
18954
19973
  "Struct": {
18955
19974
  "address": "0x2",
18956
- "module": "package",
18957
- "name": "UpgradeCap",
19975
+ "module": "package_metadata",
19976
+ "name": "PackageMetadataV1",
18958
19977
  "typeArguments": []
18959
19978
  }
18960
19979
  }
18961
- }
18962
- ],
18963
- "return": [
18964
- "U64"
18965
- ]
18966
- }
18967
- }
18968
- },
18969
- "package_metadata": {
18970
- "fileFormatVersion": 6,
18971
- "address": "0x2",
18972
- "name": "package_metadata",
18973
- "friends": [],
18974
- "structs": {
18975
- "AuthenticatorMetadataV1": {
18976
- "abilities": {
18977
- "abilities": [
18978
- "Copy",
18979
- "Drop",
18980
- "Store"
18981
- ]
18982
- },
18983
- "typeParameters": [],
18984
- "fields": [
19980
+ },
18985
19981
  {
18986
- "name": "function_name",
18987
- "type": {
19982
+ "Reference": {
18988
19983
  "Struct": {
18989
19984
  "address": "0x1",
18990
19985
  "module": "ascii",
@@ -18994,137 +19989,69 @@
18994
19989
  }
18995
19990
  },
18996
19991
  {
18997
- "name": "account_type",
18998
- "type": {
19992
+ "Reference": {
18999
19993
  "Struct": {
19000
19994
  "address": "0x1",
19001
- "module": "type_name",
19002
- "name": "TypeName",
19995
+ "module": "ascii",
19996
+ "name": "String",
19003
19997
  "typeArguments": []
19004
19998
  }
19005
19999
  }
19006
20000
  }
19007
- ]
19008
- },
19009
- "ModuleMetadataV1": {
19010
- "abilities": {
19011
- "abilities": [
19012
- "Copy",
19013
- "Drop",
19014
- "Store"
19015
- ]
19016
- },
19017
- "typeParameters": [],
19018
- "fields": [
20001
+ ],
20002
+ "return": [
19019
20003
  {
19020
- "name": "authenticator_metadata",
19021
- "type": {
19022
- "Vector": {
19023
- "Struct": {
19024
- "address": "0x2",
19025
- "module": "package_metadata",
19026
- "name": "AuthenticatorMetadataV1",
19027
- "typeArguments": []
19028
- }
20004
+ "Reference": {
20005
+ "Struct": {
20006
+ "address": "0x2",
20007
+ "module": "package_metadata",
20008
+ "name": "AuthenticatorMetadataV1",
20009
+ "typeArguments": []
19029
20010
  }
19030
20011
  }
19031
20012
  }
19032
20013
  ]
19033
20014
  },
19034
- "PackageMetadataKey": {
19035
- "abilities": {
19036
- "abilities": [
19037
- "Copy",
19038
- "Drop",
19039
- "Store"
19040
- ]
19041
- },
19042
- "typeParameters": [],
19043
- "fields": [
19044
- {
19045
- "name": "dummy_field",
19046
- "type": "Bool"
19047
- }
19048
- ]
19049
- },
19050
- "PackageMetadataV1": {
19051
- "abilities": {
19052
- "abilities": [
19053
- "Key"
19054
- ]
19055
- },
20015
+ "module_metadata": {
20016
+ "visibility": "Public",
20017
+ "isEntry": false,
19056
20018
  "typeParameters": [],
19057
- "fields": [
20019
+ "parameters": [
19058
20020
  {
19059
- "name": "id",
19060
- "type": {
20021
+ "Reference": {
19061
20022
  "Struct": {
19062
20023
  "address": "0x2",
19063
- "module": "object",
19064
- "name": "UID",
20024
+ "module": "package_metadata",
20025
+ "name": "PackageMetadataV1",
19065
20026
  "typeArguments": []
19066
20027
  }
19067
20028
  }
19068
20029
  },
19069
20030
  {
19070
- "name": "storage_id",
19071
- "type": {
20031
+ "Reference": {
19072
20032
  "Struct": {
19073
- "address": "0x2",
19074
- "module": "object",
19075
- "name": "ID",
20033
+ "address": "0x1",
20034
+ "module": "ascii",
20035
+ "name": "String",
19076
20036
  "typeArguments": []
19077
20037
  }
19078
20038
  }
19079
- },
20039
+ }
20040
+ ],
20041
+ "return": [
19080
20042
  {
19081
- "name": "runtime_id",
19082
- "type": {
20043
+ "Reference": {
19083
20044
  "Struct": {
19084
20045
  "address": "0x2",
19085
- "module": "object",
19086
- "name": "ID",
20046
+ "module": "module_metadata",
20047
+ "name": "ModuleMetadata",
19087
20048
  "typeArguments": []
19088
20049
  }
19089
20050
  }
19090
- },
19091
- {
19092
- "name": "package_version",
19093
- "type": "U64"
19094
- },
19095
- {
19096
- "name": "modules_metadata",
19097
- "type": {
19098
- "Struct": {
19099
- "address": "0x2",
19100
- "module": "vec_map",
19101
- "name": "VecMap",
19102
- "typeArguments": [
19103
- {
19104
- "Struct": {
19105
- "address": "0x1",
19106
- "module": "ascii",
19107
- "name": "String",
19108
- "typeArguments": []
19109
- }
19110
- },
19111
- {
19112
- "Struct": {
19113
- "address": "0x2",
19114
- "module": "package_metadata",
19115
- "name": "ModuleMetadataV1",
19116
- "typeArguments": []
19117
- }
19118
- }
19119
- ]
19120
- }
19121
- }
19122
20051
  }
19123
20052
  ]
19124
- }
19125
- },
19126
- "exposedFunctions": {
19127
- "account_type": {
20053
+ },
20054
+ "module_name": {
19128
20055
  "visibility": "Public",
19129
20056
  "isEntry": false,
19130
20057
  "typeParameters": [],
@@ -19134,7 +20061,7 @@
19134
20061
  "Struct": {
19135
20062
  "address": "0x2",
19136
20063
  "module": "package_metadata",
19137
- "name": "AuthenticatorMetadataV1",
20064
+ "name": "ModuleName",
19138
20065
  "typeArguments": []
19139
20066
  }
19140
20067
  }
@@ -19142,16 +20069,18 @@
19142
20069
  ],
19143
20070
  "return": [
19144
20071
  {
19145
- "Struct": {
19146
- "address": "0x1",
19147
- "module": "type_name",
19148
- "name": "TypeName",
19149
- "typeArguments": []
20072
+ "Reference": {
20073
+ "Struct": {
20074
+ "address": "0x1",
20075
+ "module": "ascii",
20076
+ "name": "String",
20077
+ "typeArguments": []
20078
+ }
19150
20079
  }
19151
20080
  }
19152
20081
  ]
19153
20082
  },
19154
- "authenticator_metadata_v1": {
20083
+ "modules_metadata_v1": {
19155
20084
  "visibility": "Public",
19156
20085
  "isEntry": false,
19157
20086
  "typeParameters": [],
@@ -19161,7 +20090,7 @@
19161
20090
  "Struct": {
19162
20091
  "address": "0x2",
19163
20092
  "module": "package_metadata",
19164
- "name": "ModuleMetadataV1",
20093
+ "name": "PackageMetadataV1",
19165
20094
  "typeArguments": []
19166
20095
  }
19167
20096
  }
@@ -19183,14 +20112,14 @@
19183
20112
  "Struct": {
19184
20113
  "address": "0x2",
19185
20114
  "module": "package_metadata",
19186
- "name": "AuthenticatorMetadataV1",
20115
+ "name": "ModuleMetadataV1",
19187
20116
  "typeArguments": []
19188
20117
  }
19189
20118
  }
19190
20119
  }
19191
20120
  ]
19192
20121
  },
19193
- "modules_metadata_v1": {
20122
+ "package_version": {
19194
20123
  "visibility": "Public",
19195
20124
  "isEntry": false,
19196
20125
  "typeParameters": [],
@@ -19204,32 +20133,13 @@
19204
20133
  "typeArguments": []
19205
20134
  }
19206
20135
  }
19207
- },
19208
- {
19209
- "Reference": {
19210
- "Struct": {
19211
- "address": "0x1",
19212
- "module": "ascii",
19213
- "name": "String",
19214
- "typeArguments": []
19215
- }
19216
- }
19217
20136
  }
19218
20137
  ],
19219
20138
  "return": [
19220
- {
19221
- "Reference": {
19222
- "Struct": {
19223
- "address": "0x2",
19224
- "module": "package_metadata",
19225
- "name": "ModuleMetadataV1",
19226
- "typeArguments": []
19227
- }
19228
- }
19229
- }
20139
+ "U64"
19230
20140
  ]
19231
20141
  },
19232
- "package_version": {
20142
+ "runtime_id": {
19233
20143
  "visibility": "Public",
19234
20144
  "isEntry": false,
19235
20145
  "typeParameters": [],
@@ -19246,10 +20156,17 @@
19246
20156
  }
19247
20157
  ],
19248
20158
  "return": [
19249
- "U64"
20159
+ {
20160
+ "Struct": {
20161
+ "address": "0x2",
20162
+ "module": "object",
20163
+ "name": "ID",
20164
+ "typeArguments": []
20165
+ }
20166
+ }
19250
20167
  ]
19251
20168
  },
19252
- "runtime_id": {
20169
+ "storage_id": {
19253
20170
  "visibility": "Public",
19254
20171
  "isEntry": false,
19255
20172
  "typeParameters": [],
@@ -19276,7 +20193,7 @@
19276
20193
  }
19277
20194
  ]
19278
20195
  },
19279
- "storage_id": {
20196
+ "try_get_authenticator_function_metadata_v1": {
19280
20197
  "visibility": "Public",
19281
20198
  "isEntry": false,
19282
20199
  "typeParameters": [],
@@ -19284,9 +20201,19 @@
19284
20201
  {
19285
20202
  "Reference": {
19286
20203
  "Struct": {
19287
- "address": "0x2",
19288
- "module": "package_metadata",
19289
- "name": "PackageMetadataV1",
20204
+ "address": "0x2",
20205
+ "module": "module_metadata",
20206
+ "name": "ModuleMetadata",
20207
+ "typeArguments": []
20208
+ }
20209
+ }
20210
+ },
20211
+ {
20212
+ "Reference": {
20213
+ "Struct": {
20214
+ "address": "0x1",
20215
+ "module": "ascii",
20216
+ "name": "String",
19290
20217
  "typeArguments": []
19291
20218
  }
19292
20219
  }
@@ -19295,10 +20222,19 @@
19295
20222
  "return": [
19296
20223
  {
19297
20224
  "Struct": {
19298
- "address": "0x2",
19299
- "module": "object",
19300
- "name": "ID",
19301
- "typeArguments": []
20225
+ "address": "0x1",
20226
+ "module": "option",
20227
+ "name": "Option",
20228
+ "typeArguments": [
20229
+ {
20230
+ "Struct": {
20231
+ "address": "0x2",
20232
+ "module": "package_metadata",
20233
+ "name": "AuthenticatorMetadataV1",
20234
+ "typeArguments": []
20235
+ }
20236
+ }
20237
+ ]
19302
20238
  }
19303
20239
  }
19304
20240
  ]
@@ -19972,6 +20908,29 @@
19972
20908
  "friends": [],
19973
20909
  "structs": {},
19974
20910
  "exposedFunctions": {
20911
+ "get_attr": {
20912
+ "visibility": "Friend",
20913
+ "isEntry": false,
20914
+ "typeParameters": [
20915
+ {
20916
+ "abilities": [
20917
+ "Copy",
20918
+ "Drop",
20919
+ "Store"
20920
+ ]
20921
+ }
20922
+ ],
20923
+ "parameters": [
20924
+ {
20925
+ "Vector": "U8"
20926
+ }
20927
+ ],
20928
+ "return": [
20929
+ {
20930
+ "TypeParameter": 0
20931
+ }
20932
+ ]
20933
+ },
19975
20934
  "is_feature_enabled": {
19976
20935
  "visibility": "Friend",
19977
20936
  "isEntry": false,
@@ -26990,6 +27949,256 @@
26990
27949
  }
26991
27950
  }
26992
27951
  },
27952
+ "transaction_deny_rules": {
27953
+ "fileFormatVersion": 6,
27954
+ "address": "0x2",
27955
+ "name": "transaction_deny_rules",
27956
+ "friends": [],
27957
+ "structs": {
27958
+ "TransactionDenyRules": {
27959
+ "abilities": {
27960
+ "abilities": [
27961
+ "Key"
27962
+ ]
27963
+ },
27964
+ "typeParameters": [],
27965
+ "fields": [
27966
+ {
27967
+ "name": "id",
27968
+ "type": {
27969
+ "Struct": {
27970
+ "address": "0x2",
27971
+ "module": "object",
27972
+ "name": "UID",
27973
+ "typeArguments": []
27974
+ }
27975
+ }
27976
+ },
27977
+ {
27978
+ "name": "inner",
27979
+ "type": {
27980
+ "Struct": {
27981
+ "address": "0x2",
27982
+ "module": "versioned",
27983
+ "name": "Versioned",
27984
+ "typeArguments": []
27985
+ }
27986
+ }
27987
+ }
27988
+ ]
27989
+ },
27990
+ "TransactionDenyRulesInnerV1": {
27991
+ "abilities": {
27992
+ "abilities": [
27993
+ "Store"
27994
+ ]
27995
+ },
27996
+ "typeParameters": [],
27997
+ "fields": [
27998
+ {
27999
+ "name": "version",
28000
+ "type": "U64"
28001
+ },
28002
+ {
28003
+ "name": "denied_addresses",
28004
+ "type": {
28005
+ "Struct": {
28006
+ "address": "0x2",
28007
+ "module": "linked_table",
28008
+ "name": "LinkedTable",
28009
+ "typeArguments": [
28010
+ "Address",
28011
+ "Bool"
28012
+ ]
28013
+ }
28014
+ }
28015
+ },
28016
+ {
28017
+ "name": "denied_objects",
28018
+ "type": {
28019
+ "Struct": {
28020
+ "address": "0x2",
28021
+ "module": "linked_table",
28022
+ "name": "LinkedTable",
28023
+ "typeArguments": [
28024
+ {
28025
+ "Struct": {
28026
+ "address": "0x2",
28027
+ "module": "object",
28028
+ "name": "ID",
28029
+ "typeArguments": []
28030
+ }
28031
+ },
28032
+ "Bool"
28033
+ ]
28034
+ }
28035
+ }
28036
+ },
28037
+ {
28038
+ "name": "denied_packages",
28039
+ "type": {
28040
+ "Struct": {
28041
+ "address": "0x2",
28042
+ "module": "linked_table",
28043
+ "name": "LinkedTable",
28044
+ "typeArguments": [
28045
+ {
28046
+ "Struct": {
28047
+ "address": "0x2",
28048
+ "module": "object",
28049
+ "name": "ID",
28050
+ "typeArguments": []
28051
+ }
28052
+ },
28053
+ "Bool"
28054
+ ]
28055
+ }
28056
+ }
28057
+ },
28058
+ {
28059
+ "name": "package_publish_disabled",
28060
+ "type": "Bool"
28061
+ },
28062
+ {
28063
+ "name": "package_upgrade_disabled",
28064
+ "type": "Bool"
28065
+ },
28066
+ {
28067
+ "name": "shared_object_disabled",
28068
+ "type": "Bool"
28069
+ },
28070
+ {
28071
+ "name": "user_transaction_disabled",
28072
+ "type": "Bool"
28073
+ },
28074
+ {
28075
+ "name": "receiving_objects_disabled",
28076
+ "type": "Bool"
28077
+ },
28078
+ {
28079
+ "name": "move_authenticator_disabled",
28080
+ "type": "Bool"
28081
+ }
28082
+ ]
28083
+ },
28084
+ "TransactionDenyRulesUpdated": {
28085
+ "abilities": {
28086
+ "abilities": [
28087
+ "Copy",
28088
+ "Drop"
28089
+ ]
28090
+ },
28091
+ "typeParameters": [],
28092
+ "fields": [
28093
+ {
28094
+ "name": "epoch",
28095
+ "type": "U64"
28096
+ },
28097
+ {
28098
+ "name": "added_addresses",
28099
+ "type": {
28100
+ "Vector": "Address"
28101
+ }
28102
+ },
28103
+ {
28104
+ "name": "removed_addresses",
28105
+ "type": {
28106
+ "Vector": "Address"
28107
+ }
28108
+ },
28109
+ {
28110
+ "name": "added_objects",
28111
+ "type": {
28112
+ "Vector": {
28113
+ "Struct": {
28114
+ "address": "0x2",
28115
+ "module": "object",
28116
+ "name": "ID",
28117
+ "typeArguments": []
28118
+ }
28119
+ }
28120
+ }
28121
+ },
28122
+ {
28123
+ "name": "removed_objects",
28124
+ "type": {
28125
+ "Vector": {
28126
+ "Struct": {
28127
+ "address": "0x2",
28128
+ "module": "object",
28129
+ "name": "ID",
28130
+ "typeArguments": []
28131
+ }
28132
+ }
28133
+ }
28134
+ },
28135
+ {
28136
+ "name": "added_packages",
28137
+ "type": {
28138
+ "Vector": {
28139
+ "Struct": {
28140
+ "address": "0x2",
28141
+ "module": "object",
28142
+ "name": "ID",
28143
+ "typeArguments": []
28144
+ }
28145
+ }
28146
+ }
28147
+ },
28148
+ {
28149
+ "name": "removed_packages",
28150
+ "type": {
28151
+ "Vector": {
28152
+ "Struct": {
28153
+ "address": "0x2",
28154
+ "module": "object",
28155
+ "name": "ID",
28156
+ "typeArguments": []
28157
+ }
28158
+ }
28159
+ }
28160
+ },
28161
+ {
28162
+ "name": "package_publish_disabled",
28163
+ "type": "Bool"
28164
+ },
28165
+ {
28166
+ "name": "package_upgrade_disabled",
28167
+ "type": "Bool"
28168
+ },
28169
+ {
28170
+ "name": "shared_object_disabled",
28171
+ "type": "Bool"
28172
+ },
28173
+ {
28174
+ "name": "user_transaction_disabled",
28175
+ "type": "Bool"
28176
+ },
28177
+ {
28178
+ "name": "receiving_objects_disabled",
28179
+ "type": "Bool"
28180
+ },
28181
+ {
28182
+ "name": "move_authenticator_disabled",
28183
+ "type": "Bool"
28184
+ },
28185
+ {
28186
+ "name": "denied_addresses_len",
28187
+ "type": "U64"
28188
+ },
28189
+ {
28190
+ "name": "denied_objects_len",
28191
+ "type": "U64"
28192
+ },
28193
+ {
28194
+ "name": "denied_packages_len",
28195
+ "type": "U64"
28196
+ }
28197
+ ]
28198
+ }
28199
+ },
28200
+ "exposedFunctions": {}
28201
+ },
26993
28202
  "transfer": {
26994
28203
  "fileFormatVersion": 6,
26995
28204
  "address": "0x2",