@typemove/sui 1.6.2-rc.2 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/abis/0x2.json CHANGED
@@ -1264,6 +1264,93 @@
1264
1264
  }
1265
1265
  ]
1266
1266
  },
1267
+ "peel_option_u16": {
1268
+ "visibility": "Public",
1269
+ "isEntry": false,
1270
+ "typeParameters": [],
1271
+ "parameters": [
1272
+ {
1273
+ "MutableReference": {
1274
+ "Struct": {
1275
+ "address": "0x2",
1276
+ "module": "bcs",
1277
+ "name": "BCS",
1278
+ "typeArguments": []
1279
+ }
1280
+ }
1281
+ }
1282
+ ],
1283
+ "return": [
1284
+ {
1285
+ "Struct": {
1286
+ "address": "0x1",
1287
+ "module": "option",
1288
+ "name": "Option",
1289
+ "typeArguments": [
1290
+ "U16"
1291
+ ]
1292
+ }
1293
+ }
1294
+ ]
1295
+ },
1296
+ "peel_option_u256": {
1297
+ "visibility": "Public",
1298
+ "isEntry": false,
1299
+ "typeParameters": [],
1300
+ "parameters": [
1301
+ {
1302
+ "MutableReference": {
1303
+ "Struct": {
1304
+ "address": "0x2",
1305
+ "module": "bcs",
1306
+ "name": "BCS",
1307
+ "typeArguments": []
1308
+ }
1309
+ }
1310
+ }
1311
+ ],
1312
+ "return": [
1313
+ {
1314
+ "Struct": {
1315
+ "address": "0x1",
1316
+ "module": "option",
1317
+ "name": "Option",
1318
+ "typeArguments": [
1319
+ "U256"
1320
+ ]
1321
+ }
1322
+ }
1323
+ ]
1324
+ },
1325
+ "peel_option_u32": {
1326
+ "visibility": "Public",
1327
+ "isEntry": false,
1328
+ "typeParameters": [],
1329
+ "parameters": [
1330
+ {
1331
+ "MutableReference": {
1332
+ "Struct": {
1333
+ "address": "0x2",
1334
+ "module": "bcs",
1335
+ "name": "BCS",
1336
+ "typeArguments": []
1337
+ }
1338
+ }
1339
+ }
1340
+ ],
1341
+ "return": [
1342
+ {
1343
+ "Struct": {
1344
+ "address": "0x1",
1345
+ "module": "option",
1346
+ "name": "Option",
1347
+ "typeArguments": [
1348
+ "U32"
1349
+ ]
1350
+ }
1351
+ }
1352
+ ]
1353
+ },
1267
1354
  "peel_option_u64": {
1268
1355
  "visibility": "Public",
1269
1356
  "isEntry": false,
@@ -1342,6 +1429,26 @@
1342
1429
  "U128"
1343
1430
  ]
1344
1431
  },
1432
+ "peel_u16": {
1433
+ "visibility": "Public",
1434
+ "isEntry": false,
1435
+ "typeParameters": [],
1436
+ "parameters": [
1437
+ {
1438
+ "MutableReference": {
1439
+ "Struct": {
1440
+ "address": "0x2",
1441
+ "module": "bcs",
1442
+ "name": "BCS",
1443
+ "typeArguments": []
1444
+ }
1445
+ }
1446
+ }
1447
+ ],
1448
+ "return": [
1449
+ "U16"
1450
+ ]
1451
+ },
1345
1452
  "peel_u256": {
1346
1453
  "visibility": "Public",
1347
1454
  "isEntry": false,
@@ -1362,6 +1469,26 @@
1362
1469
  "U256"
1363
1470
  ]
1364
1471
  },
1472
+ "peel_u32": {
1473
+ "visibility": "Public",
1474
+ "isEntry": false,
1475
+ "typeParameters": [],
1476
+ "parameters": [
1477
+ {
1478
+ "MutableReference": {
1479
+ "Struct": {
1480
+ "address": "0x2",
1481
+ "module": "bcs",
1482
+ "name": "BCS",
1483
+ "typeArguments": []
1484
+ }
1485
+ }
1486
+ }
1487
+ ],
1488
+ "return": [
1489
+ "U32"
1490
+ ]
1491
+ },
1365
1492
  "peel_u64": {
1366
1493
  "visibility": "Public",
1367
1494
  "isEntry": false,
@@ -1488,6 +1615,72 @@
1488
1615
  }
1489
1616
  ]
1490
1617
  },
1618
+ "peel_vec_u16": {
1619
+ "visibility": "Public",
1620
+ "isEntry": false,
1621
+ "typeParameters": [],
1622
+ "parameters": [
1623
+ {
1624
+ "MutableReference": {
1625
+ "Struct": {
1626
+ "address": "0x2",
1627
+ "module": "bcs",
1628
+ "name": "BCS",
1629
+ "typeArguments": []
1630
+ }
1631
+ }
1632
+ }
1633
+ ],
1634
+ "return": [
1635
+ {
1636
+ "Vector": "U16"
1637
+ }
1638
+ ]
1639
+ },
1640
+ "peel_vec_u256": {
1641
+ "visibility": "Public",
1642
+ "isEntry": false,
1643
+ "typeParameters": [],
1644
+ "parameters": [
1645
+ {
1646
+ "MutableReference": {
1647
+ "Struct": {
1648
+ "address": "0x2",
1649
+ "module": "bcs",
1650
+ "name": "BCS",
1651
+ "typeArguments": []
1652
+ }
1653
+ }
1654
+ }
1655
+ ],
1656
+ "return": [
1657
+ {
1658
+ "Vector": "U256"
1659
+ }
1660
+ ]
1661
+ },
1662
+ "peel_vec_u32": {
1663
+ "visibility": "Public",
1664
+ "isEntry": false,
1665
+ "typeParameters": [],
1666
+ "parameters": [
1667
+ {
1668
+ "MutableReference": {
1669
+ "Struct": {
1670
+ "address": "0x2",
1671
+ "module": "bcs",
1672
+ "name": "BCS",
1673
+ "typeArguments": []
1674
+ }
1675
+ }
1676
+ }
1677
+ ],
1678
+ "return": [
1679
+ {
1680
+ "Vector": "U32"
1681
+ }
1682
+ ]
1683
+ },
1491
1684
  "peel_vec_u64": {
1492
1685
  "visibility": "Public",
1493
1686
  "isEntry": false,
@@ -3985,6 +4178,39 @@
3985
4178
  }
3986
4179
  ]
3987
4180
  },
4181
+ "DenyCapV2": {
4182
+ "abilities": {
4183
+ "abilities": [
4184
+ "Store",
4185
+ "Key"
4186
+ ]
4187
+ },
4188
+ "typeParameters": [
4189
+ {
4190
+ "constraints": {
4191
+ "abilities": []
4192
+ },
4193
+ "isPhantom": true
4194
+ }
4195
+ ],
4196
+ "fields": [
4197
+ {
4198
+ "name": "id",
4199
+ "type": {
4200
+ "Struct": {
4201
+ "address": "0x2",
4202
+ "module": "object",
4203
+ "name": "UID",
4204
+ "typeArguments": []
4205
+ }
4206
+ }
4207
+ },
4208
+ {
4209
+ "name": "allow_global_pause",
4210
+ "type": "Bool"
4211
+ }
4212
+ ]
4213
+ },
3988
4214
  "RegulatedCoinMetadata": {
3989
4215
  "abilities": {
3990
4216
  "abilities": [
@@ -4373,28 +4599,120 @@
4373
4599
  }
4374
4600
  ]
4375
4601
  },
4376
- "deny_list_add": {
4602
+ "create_regulated_currency_v2": {
4377
4603
  "visibility": "Public",
4378
4604
  "isEntry": false,
4379
4605
  "typeParameters": [
4380
4606
  {
4381
- "abilities": []
4607
+ "abilities": [
4608
+ "Drop"
4609
+ ]
4382
4610
  }
4383
4611
  ],
4384
4612
  "parameters": [
4613
+ {
4614
+ "TypeParameter": 0
4615
+ },
4616
+ "U8",
4617
+ {
4618
+ "Vector": "U8"
4619
+ },
4620
+ {
4621
+ "Vector": "U8"
4622
+ },
4623
+ {
4624
+ "Vector": "U8"
4625
+ },
4626
+ {
4627
+ "Struct": {
4628
+ "address": "0x1",
4629
+ "module": "option",
4630
+ "name": "Option",
4631
+ "typeArguments": [
4632
+ {
4633
+ "Struct": {
4634
+ "address": "0x2",
4635
+ "module": "url",
4636
+ "name": "Url",
4637
+ "typeArguments": []
4638
+ }
4639
+ }
4640
+ ]
4641
+ }
4642
+ },
4643
+ "Bool",
4385
4644
  {
4386
4645
  "MutableReference": {
4387
4646
  "Struct": {
4388
4647
  "address": "0x2",
4389
- "module": "deny_list",
4390
- "name": "DenyList",
4648
+ "module": "tx_context",
4649
+ "name": "TxContext",
4391
4650
  "typeArguments": []
4392
4651
  }
4393
4652
  }
4394
- },
4653
+ }
4654
+ ],
4655
+ "return": [
4395
4656
  {
4396
- "MutableReference": {
4397
- "Struct": {
4657
+ "Struct": {
4658
+ "address": "0x2",
4659
+ "module": "coin",
4660
+ "name": "TreasuryCap",
4661
+ "typeArguments": [
4662
+ {
4663
+ "TypeParameter": 0
4664
+ }
4665
+ ]
4666
+ }
4667
+ },
4668
+ {
4669
+ "Struct": {
4670
+ "address": "0x2",
4671
+ "module": "coin",
4672
+ "name": "DenyCapV2",
4673
+ "typeArguments": [
4674
+ {
4675
+ "TypeParameter": 0
4676
+ }
4677
+ ]
4678
+ }
4679
+ },
4680
+ {
4681
+ "Struct": {
4682
+ "address": "0x2",
4683
+ "module": "coin",
4684
+ "name": "CoinMetadata",
4685
+ "typeArguments": [
4686
+ {
4687
+ "TypeParameter": 0
4688
+ }
4689
+ ]
4690
+ }
4691
+ }
4692
+ ]
4693
+ },
4694
+ "deny_list_add": {
4695
+ "visibility": "Public",
4696
+ "isEntry": false,
4697
+ "typeParameters": [
4698
+ {
4699
+ "abilities": []
4700
+ }
4701
+ ],
4702
+ "parameters": [
4703
+ {
4704
+ "MutableReference": {
4705
+ "Struct": {
4706
+ "address": "0x2",
4707
+ "module": "deny_list",
4708
+ "name": "DenyList",
4709
+ "typeArguments": []
4710
+ }
4711
+ }
4712
+ },
4713
+ {
4714
+ "MutableReference": {
4715
+ "Struct": {
4398
4716
  "address": "0x2",
4399
4717
  "module": "coin",
4400
4718
  "name": "DenyCap",
@@ -4492,7 +4810,7 @@
4492
4810
  ],
4493
4811
  "return": []
4494
4812
  },
4495
- "destroy_zero": {
4813
+ "deny_list_v2_add": {
4496
4814
  "visibility": "Public",
4497
4815
  "isEntry": false,
4498
4816
  "typeParameters": [
@@ -4502,35 +4820,21 @@
4502
4820
  ],
4503
4821
  "parameters": [
4504
4822
  {
4505
- "Struct": {
4506
- "address": "0x2",
4507
- "module": "coin",
4508
- "name": "Coin",
4509
- "typeArguments": [
4510
- {
4511
- "TypeParameter": 0
4512
- }
4513
- ]
4823
+ "MutableReference": {
4824
+ "Struct": {
4825
+ "address": "0x2",
4826
+ "module": "deny_list",
4827
+ "name": "DenyList",
4828
+ "typeArguments": []
4829
+ }
4514
4830
  }
4515
- }
4516
- ],
4517
- "return": []
4518
- },
4519
- "divide_into_n": {
4520
- "visibility": "Public",
4521
- "isEntry": false,
4522
- "typeParameters": [
4523
- {
4524
- "abilities": []
4525
- }
4526
- ],
4527
- "parameters": [
4831
+ },
4528
4832
  {
4529
4833
  "MutableReference": {
4530
4834
  "Struct": {
4531
4835
  "address": "0x2",
4532
4836
  "module": "coin",
4533
- "name": "Coin",
4837
+ "name": "DenyCapV2",
4534
4838
  "typeArguments": [
4535
4839
  {
4536
4840
  "TypeParameter": 0
@@ -4539,7 +4843,7 @@
4539
4843
  }
4540
4844
  }
4541
4845
  },
4542
- "U64",
4846
+ "Address",
4543
4847
  {
4544
4848
  "MutableReference": {
4545
4849
  "Struct": {
@@ -4551,24 +4855,9 @@
4551
4855
  }
4552
4856
  }
4553
4857
  ],
4554
- "return": [
4555
- {
4556
- "Vector": {
4557
- "Struct": {
4558
- "address": "0x2",
4559
- "module": "coin",
4560
- "name": "Coin",
4561
- "typeArguments": [
4562
- {
4563
- "TypeParameter": 0
4564
- }
4565
- ]
4566
- }
4567
- }
4568
- }
4569
- ]
4858
+ "return": []
4570
4859
  },
4571
- "from_balance": {
4860
+ "deny_list_v2_contains_current_epoch": {
4572
4861
  "visibility": "Public",
4573
4862
  "isEntry": false,
4574
4863
  "typeParameters": [
@@ -4578,19 +4867,18 @@
4578
4867
  ],
4579
4868
  "parameters": [
4580
4869
  {
4581
- "Struct": {
4582
- "address": "0x2",
4583
- "module": "balance",
4584
- "name": "Balance",
4585
- "typeArguments": [
4586
- {
4587
- "TypeParameter": 0
4588
- }
4589
- ]
4870
+ "Reference": {
4871
+ "Struct": {
4872
+ "address": "0x2",
4873
+ "module": "deny_list",
4874
+ "name": "DenyList",
4875
+ "typeArguments": []
4876
+ }
4590
4877
  }
4591
4878
  },
4879
+ "Address",
4592
4880
  {
4593
- "MutableReference": {
4881
+ "Reference": {
4594
4882
  "Struct": {
4595
4883
  "address": "0x2",
4596
4884
  "module": "tx_context",
@@ -4601,21 +4889,10 @@
4601
4889
  }
4602
4890
  ],
4603
4891
  "return": [
4604
- {
4605
- "Struct": {
4606
- "address": "0x2",
4607
- "module": "coin",
4608
- "name": "Coin",
4609
- "typeArguments": [
4610
- {
4611
- "TypeParameter": 0
4612
- }
4613
- ]
4614
- }
4615
- }
4892
+ "Bool"
4616
4893
  ]
4617
4894
  },
4618
- "get_decimals": {
4895
+ "deny_list_v2_contains_next_epoch": {
4619
4896
  "visibility": "Public",
4620
4897
  "isEntry": false,
4621
4898
  "typeParameters": [
@@ -4628,22 +4905,19 @@
4628
4905
  "Reference": {
4629
4906
  "Struct": {
4630
4907
  "address": "0x2",
4631
- "module": "coin",
4632
- "name": "CoinMetadata",
4633
- "typeArguments": [
4634
- {
4635
- "TypeParameter": 0
4636
- }
4637
- ]
4908
+ "module": "deny_list",
4909
+ "name": "DenyList",
4910
+ "typeArguments": []
4638
4911
  }
4639
4912
  }
4640
- }
4913
+ },
4914
+ "Address"
4641
4915
  ],
4642
4916
  "return": [
4643
- "U8"
4917
+ "Bool"
4644
4918
  ]
4645
4919
  },
4646
- "get_description": {
4920
+ "deny_list_v2_disable_global_pause": {
4647
4921
  "visibility": "Public",
4648
4922
  "isEntry": false,
4649
4923
  "typeParameters": [
@@ -4653,11 +4927,21 @@
4653
4927
  ],
4654
4928
  "parameters": [
4655
4929
  {
4656
- "Reference": {
4930
+ "MutableReference": {
4931
+ "Struct": {
4932
+ "address": "0x2",
4933
+ "module": "deny_list",
4934
+ "name": "DenyList",
4935
+ "typeArguments": []
4936
+ }
4937
+ }
4938
+ },
4939
+ {
4940
+ "MutableReference": {
4657
4941
  "Struct": {
4658
4942
  "address": "0x2",
4659
4943
  "module": "coin",
4660
- "name": "CoinMetadata",
4944
+ "name": "DenyCapV2",
4661
4945
  "typeArguments": [
4662
4946
  {
4663
4947
  "TypeParameter": 0
@@ -4665,20 +4949,21 @@
4665
4949
  ]
4666
4950
  }
4667
4951
  }
4668
- }
4669
- ],
4670
- "return": [
4952
+ },
4671
4953
  {
4672
- "Struct": {
4673
- "address": "0x1",
4674
- "module": "string",
4675
- "name": "String",
4676
- "typeArguments": []
4954
+ "MutableReference": {
4955
+ "Struct": {
4956
+ "address": "0x2",
4957
+ "module": "tx_context",
4958
+ "name": "TxContext",
4959
+ "typeArguments": []
4960
+ }
4677
4961
  }
4678
4962
  }
4679
- ]
4963
+ ],
4964
+ "return": []
4680
4965
  },
4681
- "get_icon_url": {
4966
+ "deny_list_v2_enable_global_pause": {
4682
4967
  "visibility": "Public",
4683
4968
  "isEntry": false,
4684
4969
  "typeParameters": [
@@ -4688,11 +4973,21 @@
4688
4973
  ],
4689
4974
  "parameters": [
4690
4975
  {
4691
- "Reference": {
4976
+ "MutableReference": {
4977
+ "Struct": {
4978
+ "address": "0x2",
4979
+ "module": "deny_list",
4980
+ "name": "DenyList",
4981
+ "typeArguments": []
4982
+ }
4983
+ }
4984
+ },
4985
+ {
4986
+ "MutableReference": {
4692
4987
  "Struct": {
4693
4988
  "address": "0x2",
4694
4989
  "module": "coin",
4695
- "name": "CoinMetadata",
4990
+ "name": "DenyCapV2",
4696
4991
  "typeArguments": [
4697
4992
  {
4698
4993
  "TypeParameter": 0
@@ -4700,29 +4995,21 @@
4700
4995
  ]
4701
4996
  }
4702
4997
  }
4703
- }
4704
- ],
4705
- "return": [
4998
+ },
4706
4999
  {
4707
- "Struct": {
4708
- "address": "0x1",
4709
- "module": "option",
4710
- "name": "Option",
4711
- "typeArguments": [
4712
- {
4713
- "Struct": {
4714
- "address": "0x2",
4715
- "module": "url",
4716
- "name": "Url",
4717
- "typeArguments": []
4718
- }
4719
- }
4720
- ]
5000
+ "MutableReference": {
5001
+ "Struct": {
5002
+ "address": "0x2",
5003
+ "module": "tx_context",
5004
+ "name": "TxContext",
5005
+ "typeArguments": []
5006
+ }
4721
5007
  }
4722
5008
  }
4723
- ]
5009
+ ],
5010
+ "return": []
4724
5011
  },
4725
- "get_name": {
5012
+ "deny_list_v2_is_global_pause_enabled_current_epoch": {
4726
5013
  "visibility": "Public",
4727
5014
  "isEntry": false,
4728
5015
  "typeParameters": [
@@ -4735,29 +5022,28 @@
4735
5022
  "Reference": {
4736
5023
  "Struct": {
4737
5024
  "address": "0x2",
4738
- "module": "coin",
4739
- "name": "CoinMetadata",
4740
- "typeArguments": [
4741
- {
4742
- "TypeParameter": 0
4743
- }
4744
- ]
5025
+ "module": "deny_list",
5026
+ "name": "DenyList",
5027
+ "typeArguments": []
5028
+ }
5029
+ }
5030
+ },
5031
+ {
5032
+ "Reference": {
5033
+ "Struct": {
5034
+ "address": "0x2",
5035
+ "module": "tx_context",
5036
+ "name": "TxContext",
5037
+ "typeArguments": []
4745
5038
  }
4746
5039
  }
4747
5040
  }
4748
5041
  ],
4749
5042
  "return": [
4750
- {
4751
- "Struct": {
4752
- "address": "0x1",
4753
- "module": "string",
4754
- "name": "String",
4755
- "typeArguments": []
4756
- }
4757
- }
5043
+ "Bool"
4758
5044
  ]
4759
5045
  },
4760
- "get_symbol": {
5046
+ "deny_list_v2_is_global_pause_enabled_next_epoch": {
4761
5047
  "visibility": "Public",
4762
5048
  "isEntry": false,
4763
5049
  "typeParameters": [
@@ -4770,29 +5056,18 @@
4770
5056
  "Reference": {
4771
5057
  "Struct": {
4772
5058
  "address": "0x2",
4773
- "module": "coin",
4774
- "name": "CoinMetadata",
4775
- "typeArguments": [
4776
- {
4777
- "TypeParameter": 0
4778
- }
4779
- ]
5059
+ "module": "deny_list",
5060
+ "name": "DenyList",
5061
+ "typeArguments": []
4780
5062
  }
4781
5063
  }
4782
5064
  }
4783
5065
  ],
4784
5066
  "return": [
4785
- {
4786
- "Struct": {
4787
- "address": "0x1",
4788
- "module": "ascii",
4789
- "name": "String",
4790
- "typeArguments": []
4791
- }
4792
- }
5067
+ "Bool"
4793
5068
  ]
4794
5069
  },
4795
- "into_balance": {
5070
+ "deny_list_v2_remove": {
4796
5071
  "visibility": "Public",
4797
5072
  "isEntry": false,
4798
5073
  "typeParameters": [
@@ -4800,88 +5075,23 @@
4800
5075
  "abilities": []
4801
5076
  }
4802
5077
  ],
4803
- "parameters": [
4804
- {
4805
- "Struct": {
4806
- "address": "0x2",
4807
- "module": "coin",
4808
- "name": "Coin",
4809
- "typeArguments": [
4810
- {
4811
- "TypeParameter": 0
4812
- }
4813
- ]
4814
- }
4815
- }
4816
- ],
4817
- "return": [
4818
- {
4819
- "Struct": {
4820
- "address": "0x2",
4821
- "module": "balance",
4822
- "name": "Balance",
4823
- "typeArguments": [
4824
- {
4825
- "TypeParameter": 0
4826
- }
4827
- ]
4828
- }
4829
- }
4830
- ]
4831
- },
4832
- "join": {
4833
- "visibility": "Public",
4834
- "isEntry": true,
4835
- "typeParameters": [
4836
- {
4837
- "abilities": []
4838
- }
4839
- ],
4840
5078
  "parameters": [
4841
5079
  {
4842
5080
  "MutableReference": {
4843
5081
  "Struct": {
4844
5082
  "address": "0x2",
4845
- "module": "coin",
4846
- "name": "Coin",
4847
- "typeArguments": [
4848
- {
4849
- "TypeParameter": 0
4850
- }
4851
- ]
5083
+ "module": "deny_list",
5084
+ "name": "DenyList",
5085
+ "typeArguments": []
4852
5086
  }
4853
5087
  }
4854
5088
  },
4855
- {
4856
- "Struct": {
4857
- "address": "0x2",
4858
- "module": "coin",
4859
- "name": "Coin",
4860
- "typeArguments": [
4861
- {
4862
- "TypeParameter": 0
4863
- }
4864
- ]
4865
- }
4866
- }
4867
- ],
4868
- "return": []
4869
- },
4870
- "mint": {
4871
- "visibility": "Public",
4872
- "isEntry": false,
4873
- "typeParameters": [
4874
- {
4875
- "abilities": []
4876
- }
4877
- ],
4878
- "parameters": [
4879
5089
  {
4880
5090
  "MutableReference": {
4881
5091
  "Struct": {
4882
5092
  "address": "0x2",
4883
5093
  "module": "coin",
4884
- "name": "TreasuryCap",
5094
+ "name": "DenyCapV2",
4885
5095
  "typeArguments": [
4886
5096
  {
4887
5097
  "TypeParameter": 0
@@ -4890,7 +5100,7 @@
4890
5100
  }
4891
5101
  }
4892
5102
  },
4893
- "U64",
5103
+ "Address",
4894
5104
  {
4895
5105
  "MutableReference": {
4896
5106
  "Struct": {
@@ -4902,7 +5112,17 @@
4902
5112
  }
4903
5113
  }
4904
5114
  ],
4905
- "return": [
5115
+ "return": []
5116
+ },
5117
+ "destroy_zero": {
5118
+ "visibility": "Public",
5119
+ "isEntry": false,
5120
+ "typeParameters": [
5121
+ {
5122
+ "abilities": []
5123
+ }
5124
+ ],
5125
+ "parameters": [
4906
5126
  {
4907
5127
  "Struct": {
4908
5128
  "address": "0x2",
@@ -4915,11 +5135,12 @@
4915
5135
  ]
4916
5136
  }
4917
5137
  }
4918
- ]
5138
+ ],
5139
+ "return": []
4919
5140
  },
4920
- "mint_and_transfer": {
5141
+ "divide_into_n": {
4921
5142
  "visibility": "Public",
4922
- "isEntry": true,
5143
+ "isEntry": false,
4923
5144
  "typeParameters": [
4924
5145
  {
4925
5146
  "abilities": []
@@ -4931,7 +5152,7 @@
4931
5152
  "Struct": {
4932
5153
  "address": "0x2",
4933
5154
  "module": "coin",
4934
- "name": "TreasuryCap",
5155
+ "name": "Coin",
4935
5156
  "typeArguments": [
4936
5157
  {
4937
5158
  "TypeParameter": 0
@@ -4941,7 +5162,6 @@
4941
5162
  }
4942
5163
  },
4943
5164
  "U64",
4944
- "Address",
4945
5165
  {
4946
5166
  "MutableReference": {
4947
5167
  "Struct": {
@@ -4953,23 +5173,13 @@
4953
5173
  }
4954
5174
  }
4955
5175
  ],
4956
- "return": []
4957
- },
4958
- "mint_balance": {
4959
- "visibility": "Public",
4960
- "isEntry": false,
4961
- "typeParameters": [
4962
- {
4963
- "abilities": []
4964
- }
4965
- ],
4966
- "parameters": [
5176
+ "return": [
4967
5177
  {
4968
- "MutableReference": {
5178
+ "Vector": {
4969
5179
  "Struct": {
4970
5180
  "address": "0x2",
4971
5181
  "module": "coin",
4972
- "name": "TreasuryCap",
5182
+ "name": "Coin",
4973
5183
  "typeArguments": [
4974
5184
  {
4975
5185
  "TypeParameter": 0
@@ -4977,25 +5187,10 @@
4977
5187
  ]
4978
5188
  }
4979
5189
  }
4980
- },
4981
- "U64"
4982
- ],
4983
- "return": [
4984
- {
4985
- "Struct": {
4986
- "address": "0x2",
4987
- "module": "balance",
4988
- "name": "Balance",
4989
- "typeArguments": [
4990
- {
4991
- "TypeParameter": 0
4992
- }
4993
- ]
4994
- }
4995
5190
  }
4996
5191
  ]
4997
5192
  },
4998
- "put": {
5193
+ "from_balance": {
4999
5194
  "visibility": "Public",
5000
5195
  "isEntry": false,
5001
5196
  "typeParameters": [
@@ -5004,59 +5199,18 @@
5004
5199
  }
5005
5200
  ],
5006
5201
  "parameters": [
5007
- {
5008
- "MutableReference": {
5009
- "Struct": {
5010
- "address": "0x2",
5011
- "module": "balance",
5012
- "name": "Balance",
5013
- "typeArguments": [
5014
- {
5015
- "TypeParameter": 0
5016
- }
5017
- ]
5018
- }
5019
- }
5020
- },
5021
5202
  {
5022
5203
  "Struct": {
5023
5204
  "address": "0x2",
5024
- "module": "coin",
5025
- "name": "Coin",
5205
+ "module": "balance",
5206
+ "name": "Balance",
5026
5207
  "typeArguments": [
5027
5208
  {
5028
5209
  "TypeParameter": 0
5029
5210
  }
5030
5211
  ]
5031
5212
  }
5032
- }
5033
- ],
5034
- "return": []
5035
- },
5036
- "split": {
5037
- "visibility": "Public",
5038
- "isEntry": false,
5039
- "typeParameters": [
5040
- {
5041
- "abilities": []
5042
- }
5043
- ],
5044
- "parameters": [
5045
- {
5046
- "MutableReference": {
5047
- "Struct": {
5048
- "address": "0x2",
5049
- "module": "coin",
5050
- "name": "Coin",
5051
- "typeArguments": [
5052
- {
5053
- "TypeParameter": 0
5054
- }
5055
- ]
5056
- }
5057
- }
5058
5213
  },
5059
- "U64",
5060
5214
  {
5061
5215
  "MutableReference": {
5062
5216
  "Struct": {
@@ -5083,7 +5237,7 @@
5083
5237
  }
5084
5238
  ]
5085
5239
  },
5086
- "supply": {
5240
+ "get_decimals": {
5087
5241
  "visibility": "Public",
5088
5242
  "isEntry": false,
5089
5243
  "typeParameters": [
@@ -5093,11 +5247,11 @@
5093
5247
  ],
5094
5248
  "parameters": [
5095
5249
  {
5096
- "MutableReference": {
5250
+ "Reference": {
5097
5251
  "Struct": {
5098
5252
  "address": "0x2",
5099
5253
  "module": "coin",
5100
- "name": "TreasuryCap",
5254
+ "name": "CoinMetadata",
5101
5255
  "typeArguments": [
5102
5256
  {
5103
5257
  "TypeParameter": 0
@@ -5108,23 +5262,10 @@
5108
5262
  }
5109
5263
  ],
5110
5264
  "return": [
5111
- {
5112
- "Reference": {
5113
- "Struct": {
5114
- "address": "0x2",
5115
- "module": "balance",
5116
- "name": "Supply",
5117
- "typeArguments": [
5118
- {
5119
- "TypeParameter": 0
5120
- }
5121
- ]
5122
- }
5123
- }
5124
- }
5265
+ "U8"
5125
5266
  ]
5126
5267
  },
5127
- "supply_immut": {
5268
+ "get_description": {
5128
5269
  "visibility": "Public",
5129
5270
  "isEntry": false,
5130
5271
  "typeParameters": [
@@ -5138,7 +5279,7 @@
5138
5279
  "Struct": {
5139
5280
  "address": "0x2",
5140
5281
  "module": "coin",
5141
- "name": "TreasuryCap",
5282
+ "name": "CoinMetadata",
5142
5283
  "typeArguments": [
5143
5284
  {
5144
5285
  "TypeParameter": 0
@@ -5150,22 +5291,16 @@
5150
5291
  ],
5151
5292
  "return": [
5152
5293
  {
5153
- "Reference": {
5154
- "Struct": {
5155
- "address": "0x2",
5156
- "module": "balance",
5157
- "name": "Supply",
5158
- "typeArguments": [
5159
- {
5160
- "TypeParameter": 0
5161
- }
5162
- ]
5163
- }
5294
+ "Struct": {
5295
+ "address": "0x1",
5296
+ "module": "string",
5297
+ "name": "String",
5298
+ "typeArguments": []
5164
5299
  }
5165
5300
  }
5166
5301
  ]
5167
5302
  },
5168
- "supply_mut": {
5303
+ "get_icon_url": {
5169
5304
  "visibility": "Public",
5170
5305
  "isEntry": false,
5171
5306
  "typeParameters": [
@@ -5175,11 +5310,11 @@
5175
5310
  ],
5176
5311
  "parameters": [
5177
5312
  {
5178
- "MutableReference": {
5313
+ "Reference": {
5179
5314
  "Struct": {
5180
5315
  "address": "0x2",
5181
5316
  "module": "coin",
5182
- "name": "TreasuryCap",
5317
+ "name": "CoinMetadata",
5183
5318
  "typeArguments": [
5184
5319
  {
5185
5320
  "TypeParameter": 0
@@ -5191,22 +5326,25 @@
5191
5326
  ],
5192
5327
  "return": [
5193
5328
  {
5194
- "MutableReference": {
5195
- "Struct": {
5196
- "address": "0x2",
5197
- "module": "balance",
5198
- "name": "Supply",
5199
- "typeArguments": [
5200
- {
5201
- "TypeParameter": 0
5329
+ "Struct": {
5330
+ "address": "0x1",
5331
+ "module": "option",
5332
+ "name": "Option",
5333
+ "typeArguments": [
5334
+ {
5335
+ "Struct": {
5336
+ "address": "0x2",
5337
+ "module": "url",
5338
+ "name": "Url",
5339
+ "typeArguments": []
5202
5340
  }
5203
- ]
5204
- }
5341
+ }
5342
+ ]
5205
5343
  }
5206
5344
  }
5207
5345
  ]
5208
5346
  },
5209
- "take": {
5347
+ "get_name": {
5210
5348
  "visibility": "Public",
5211
5349
  "isEntry": false,
5212
5350
  "typeParameters": [
@@ -5216,11 +5354,11 @@
5216
5354
  ],
5217
5355
  "parameters": [
5218
5356
  {
5219
- "MutableReference": {
5357
+ "Reference": {
5220
5358
  "Struct": {
5221
5359
  "address": "0x2",
5222
- "module": "balance",
5223
- "name": "Balance",
5360
+ "module": "coin",
5361
+ "name": "CoinMetadata",
5224
5362
  "typeArguments": [
5225
5363
  {
5226
5364
  "TypeParameter": 0
@@ -5228,35 +5366,20 @@
5228
5366
  ]
5229
5367
  }
5230
5368
  }
5231
- },
5232
- "U64",
5233
- {
5234
- "MutableReference": {
5235
- "Struct": {
5236
- "address": "0x2",
5237
- "module": "tx_context",
5238
- "name": "TxContext",
5239
- "typeArguments": []
5240
- }
5241
- }
5242
5369
  }
5243
5370
  ],
5244
5371
  "return": [
5245
5372
  {
5246
5373
  "Struct": {
5247
- "address": "0x2",
5248
- "module": "coin",
5249
- "name": "Coin",
5250
- "typeArguments": [
5251
- {
5252
- "TypeParameter": 0
5253
- }
5254
- ]
5374
+ "address": "0x1",
5375
+ "module": "string",
5376
+ "name": "String",
5377
+ "typeArguments": []
5255
5378
  }
5256
5379
  }
5257
5380
  ]
5258
5381
  },
5259
- "total_supply": {
5382
+ "get_symbol": {
5260
5383
  "visibility": "Public",
5261
5384
  "isEntry": false,
5262
5385
  "typeParameters": [
@@ -5270,7 +5393,7 @@
5270
5393
  "Struct": {
5271
5394
  "address": "0x2",
5272
5395
  "module": "coin",
5273
- "name": "TreasuryCap",
5396
+ "name": "CoinMetadata",
5274
5397
  "typeArguments": [
5275
5398
  {
5276
5399
  "TypeParameter": 0
@@ -5281,10 +5404,17 @@
5281
5404
  }
5282
5405
  ],
5283
5406
  "return": [
5284
- "U64"
5407
+ {
5408
+ "Struct": {
5409
+ "address": "0x1",
5410
+ "module": "ascii",
5411
+ "name": "String",
5412
+ "typeArguments": []
5413
+ }
5414
+ }
5285
5415
  ]
5286
5416
  },
5287
- "treasury_into_supply": {
5417
+ "into_balance": {
5288
5418
  "visibility": "Public",
5289
5419
  "isEntry": false,
5290
5420
  "typeParameters": [
@@ -5297,7 +5427,7 @@
5297
5427
  "Struct": {
5298
5428
  "address": "0x2",
5299
5429
  "module": "coin",
5300
- "name": "TreasuryCap",
5430
+ "name": "Coin",
5301
5431
  "typeArguments": [
5302
5432
  {
5303
5433
  "TypeParameter": 0
@@ -5311,7 +5441,7 @@
5311
5441
  "Struct": {
5312
5442
  "address": "0x2",
5313
5443
  "module": "balance",
5314
- "name": "Supply",
5444
+ "name": "Balance",
5315
5445
  "typeArguments": [
5316
5446
  {
5317
5447
  "TypeParameter": 0
@@ -5321,7 +5451,7 @@
5321
5451
  }
5322
5452
  ]
5323
5453
  },
5324
- "update_description": {
5454
+ "join": {
5325
5455
  "visibility": "Public",
5326
5456
  "isEntry": true,
5327
5457
  "typeParameters": [
@@ -5330,26 +5460,12 @@
5330
5460
  }
5331
5461
  ],
5332
5462
  "parameters": [
5333
- {
5334
- "Reference": {
5335
- "Struct": {
5336
- "address": "0x2",
5337
- "module": "coin",
5338
- "name": "TreasuryCap",
5339
- "typeArguments": [
5340
- {
5341
- "TypeParameter": 0
5342
- }
5343
- ]
5344
- }
5345
- }
5346
- },
5347
5463
  {
5348
5464
  "MutableReference": {
5349
5465
  "Struct": {
5350
5466
  "address": "0x2",
5351
5467
  "module": "coin",
5352
- "name": "CoinMetadata",
5468
+ "name": "Coin",
5353
5469
  "typeArguments": [
5354
5470
  {
5355
5471
  "TypeParameter": 0
@@ -5360,18 +5476,22 @@
5360
5476
  },
5361
5477
  {
5362
5478
  "Struct": {
5363
- "address": "0x1",
5364
- "module": "string",
5365
- "name": "String",
5366
- "typeArguments": []
5479
+ "address": "0x2",
5480
+ "module": "coin",
5481
+ "name": "Coin",
5482
+ "typeArguments": [
5483
+ {
5484
+ "TypeParameter": 0
5485
+ }
5486
+ ]
5367
5487
  }
5368
5488
  }
5369
5489
  ],
5370
5490
  "return": []
5371
5491
  },
5372
- "update_icon_url": {
5492
+ "migrate_regulated_currency_to_v2": {
5373
5493
  "visibility": "Public",
5374
- "isEntry": true,
5494
+ "isEntry": false,
5375
5495
  "typeParameters": [
5376
5496
  {
5377
5497
  "abilities": []
@@ -5379,47 +5499,57 @@
5379
5499
  ],
5380
5500
  "parameters": [
5381
5501
  {
5382
- "Reference": {
5502
+ "MutableReference": {
5383
5503
  "Struct": {
5384
5504
  "address": "0x2",
5385
- "module": "coin",
5386
- "name": "TreasuryCap",
5387
- "typeArguments": [
5388
- {
5389
- "TypeParameter": 0
5390
- }
5391
- ]
5505
+ "module": "deny_list",
5506
+ "name": "DenyList",
5507
+ "typeArguments": []
5392
5508
  }
5393
5509
  }
5394
5510
  },
5511
+ {
5512
+ "Struct": {
5513
+ "address": "0x2",
5514
+ "module": "coin",
5515
+ "name": "DenyCap",
5516
+ "typeArguments": [
5517
+ {
5518
+ "TypeParameter": 0
5519
+ }
5520
+ ]
5521
+ }
5522
+ },
5523
+ "Bool",
5395
5524
  {
5396
5525
  "MutableReference": {
5397
5526
  "Struct": {
5398
5527
  "address": "0x2",
5399
- "module": "coin",
5400
- "name": "CoinMetadata",
5401
- "typeArguments": [
5402
- {
5403
- "TypeParameter": 0
5404
- }
5405
- ]
5528
+ "module": "tx_context",
5529
+ "name": "TxContext",
5530
+ "typeArguments": []
5406
5531
  }
5407
5532
  }
5408
- },
5533
+ }
5534
+ ],
5535
+ "return": [
5409
5536
  {
5410
5537
  "Struct": {
5411
- "address": "0x1",
5412
- "module": "ascii",
5413
- "name": "String",
5414
- "typeArguments": []
5538
+ "address": "0x2",
5539
+ "module": "coin",
5540
+ "name": "DenyCapV2",
5541
+ "typeArguments": [
5542
+ {
5543
+ "TypeParameter": 0
5544
+ }
5545
+ ]
5415
5546
  }
5416
5547
  }
5417
- ],
5418
- "return": []
5548
+ ]
5419
5549
  },
5420
- "update_name": {
5550
+ "mint": {
5421
5551
  "visibility": "Public",
5422
- "isEntry": true,
5552
+ "isEntry": false,
5423
5553
  "typeParameters": [
5424
5554
  {
5425
5555
  "abilities": []
@@ -5427,7 +5557,7 @@
5427
5557
  ],
5428
5558
  "parameters": [
5429
5559
  {
5430
- "Reference": {
5560
+ "MutableReference": {
5431
5561
  "Struct": {
5432
5562
  "address": "0x2",
5433
5563
  "module": "coin",
@@ -5440,32 +5570,34 @@
5440
5570
  }
5441
5571
  }
5442
5572
  },
5573
+ "U64",
5443
5574
  {
5444
5575
  "MutableReference": {
5445
5576
  "Struct": {
5446
5577
  "address": "0x2",
5447
- "module": "coin",
5448
- "name": "CoinMetadata",
5449
- "typeArguments": [
5450
- {
5451
- "TypeParameter": 0
5452
- }
5453
- ]
5578
+ "module": "tx_context",
5579
+ "name": "TxContext",
5580
+ "typeArguments": []
5454
5581
  }
5455
5582
  }
5456
- },
5583
+ }
5584
+ ],
5585
+ "return": [
5457
5586
  {
5458
5587
  "Struct": {
5459
- "address": "0x1",
5460
- "module": "string",
5461
- "name": "String",
5462
- "typeArguments": []
5588
+ "address": "0x2",
5589
+ "module": "coin",
5590
+ "name": "Coin",
5591
+ "typeArguments": [
5592
+ {
5593
+ "TypeParameter": 0
5594
+ }
5595
+ ]
5463
5596
  }
5464
5597
  }
5465
- ],
5466
- "return": []
5598
+ ]
5467
5599
  },
5468
- "update_symbol": {
5600
+ "mint_and_transfer": {
5469
5601
  "visibility": "Public",
5470
5602
  "isEntry": true,
5471
5603
  "typeParameters": [
@@ -5475,7 +5607,7 @@
5475
5607
  ],
5476
5608
  "parameters": [
5477
5609
  {
5478
- "Reference": {
5610
+ "MutableReference": {
5479
5611
  "Struct": {
5480
5612
  "address": "0x2",
5481
5613
  "module": "coin",
@@ -5488,32 +5620,22 @@
5488
5620
  }
5489
5621
  }
5490
5622
  },
5623
+ "U64",
5624
+ "Address",
5491
5625
  {
5492
5626
  "MutableReference": {
5493
5627
  "Struct": {
5494
5628
  "address": "0x2",
5495
- "module": "coin",
5496
- "name": "CoinMetadata",
5497
- "typeArguments": [
5498
- {
5499
- "TypeParameter": 0
5500
- }
5501
- ]
5629
+ "module": "tx_context",
5630
+ "name": "TxContext",
5631
+ "typeArguments": []
5502
5632
  }
5503
5633
  }
5504
- },
5505
- {
5506
- "Struct": {
5507
- "address": "0x1",
5508
- "module": "ascii",
5509
- "name": "String",
5510
- "typeArguments": []
5511
- }
5512
5634
  }
5513
5635
  ],
5514
5636
  "return": []
5515
5637
  },
5516
- "value": {
5638
+ "mint_balance": {
5517
5639
  "visibility": "Public",
5518
5640
  "isEntry": false,
5519
5641
  "typeParameters": [
@@ -5523,11 +5645,11 @@
5523
5645
  ],
5524
5646
  "parameters": [
5525
5647
  {
5526
- "Reference": {
5648
+ "MutableReference": {
5527
5649
  "Struct": {
5528
5650
  "address": "0x2",
5529
5651
  "module": "coin",
5530
- "name": "Coin",
5652
+ "name": "TreasuryCap",
5531
5653
  "typeArguments": [
5532
5654
  {
5533
5655
  "TypeParameter": 0
@@ -5535,13 +5657,25 @@
5535
5657
  ]
5536
5658
  }
5537
5659
  }
5538
- }
5660
+ },
5661
+ "U64"
5539
5662
  ],
5540
5663
  "return": [
5541
- "U64"
5664
+ {
5665
+ "Struct": {
5666
+ "address": "0x2",
5667
+ "module": "balance",
5668
+ "name": "Balance",
5669
+ "typeArguments": [
5670
+ {
5671
+ "TypeParameter": 0
5672
+ }
5673
+ ]
5674
+ }
5675
+ }
5542
5676
  ]
5543
5677
  },
5544
- "zero": {
5678
+ "put": {
5545
5679
  "visibility": "Public",
5546
5680
  "isEntry": false,
5547
5681
  "typeParameters": [
@@ -5554,14 +5688,16 @@
5554
5688
  "MutableReference": {
5555
5689
  "Struct": {
5556
5690
  "address": "0x2",
5557
- "module": "tx_context",
5558
- "name": "TxContext",
5559
- "typeArguments": []
5691
+ "module": "balance",
5692
+ "name": "Balance",
5693
+ "typeArguments": [
5694
+ {
5695
+ "TypeParameter": 0
5696
+ }
5697
+ ]
5560
5698
  }
5561
5699
  }
5562
- }
5563
- ],
5564
- "return": [
5700
+ },
5565
5701
  {
5566
5702
  "Struct": {
5567
5703
  "address": "0x2",
@@ -5574,12 +5710,1212 @@
5574
5710
  ]
5575
5711
  }
5576
5712
  }
5577
- ]
5578
- }
5579
- }
5580
- },
5581
- "deny_list": {
5582
- "fileFormatVersion": 6,
5713
+ ],
5714
+ "return": []
5715
+ },
5716
+ "split": {
5717
+ "visibility": "Public",
5718
+ "isEntry": false,
5719
+ "typeParameters": [
5720
+ {
5721
+ "abilities": []
5722
+ }
5723
+ ],
5724
+ "parameters": [
5725
+ {
5726
+ "MutableReference": {
5727
+ "Struct": {
5728
+ "address": "0x2",
5729
+ "module": "coin",
5730
+ "name": "Coin",
5731
+ "typeArguments": [
5732
+ {
5733
+ "TypeParameter": 0
5734
+ }
5735
+ ]
5736
+ }
5737
+ }
5738
+ },
5739
+ "U64",
5740
+ {
5741
+ "MutableReference": {
5742
+ "Struct": {
5743
+ "address": "0x2",
5744
+ "module": "tx_context",
5745
+ "name": "TxContext",
5746
+ "typeArguments": []
5747
+ }
5748
+ }
5749
+ }
5750
+ ],
5751
+ "return": [
5752
+ {
5753
+ "Struct": {
5754
+ "address": "0x2",
5755
+ "module": "coin",
5756
+ "name": "Coin",
5757
+ "typeArguments": [
5758
+ {
5759
+ "TypeParameter": 0
5760
+ }
5761
+ ]
5762
+ }
5763
+ }
5764
+ ]
5765
+ },
5766
+ "supply": {
5767
+ "visibility": "Public",
5768
+ "isEntry": false,
5769
+ "typeParameters": [
5770
+ {
5771
+ "abilities": []
5772
+ }
5773
+ ],
5774
+ "parameters": [
5775
+ {
5776
+ "MutableReference": {
5777
+ "Struct": {
5778
+ "address": "0x2",
5779
+ "module": "coin",
5780
+ "name": "TreasuryCap",
5781
+ "typeArguments": [
5782
+ {
5783
+ "TypeParameter": 0
5784
+ }
5785
+ ]
5786
+ }
5787
+ }
5788
+ }
5789
+ ],
5790
+ "return": [
5791
+ {
5792
+ "Reference": {
5793
+ "Struct": {
5794
+ "address": "0x2",
5795
+ "module": "balance",
5796
+ "name": "Supply",
5797
+ "typeArguments": [
5798
+ {
5799
+ "TypeParameter": 0
5800
+ }
5801
+ ]
5802
+ }
5803
+ }
5804
+ }
5805
+ ]
5806
+ },
5807
+ "supply_immut": {
5808
+ "visibility": "Public",
5809
+ "isEntry": false,
5810
+ "typeParameters": [
5811
+ {
5812
+ "abilities": []
5813
+ }
5814
+ ],
5815
+ "parameters": [
5816
+ {
5817
+ "Reference": {
5818
+ "Struct": {
5819
+ "address": "0x2",
5820
+ "module": "coin",
5821
+ "name": "TreasuryCap",
5822
+ "typeArguments": [
5823
+ {
5824
+ "TypeParameter": 0
5825
+ }
5826
+ ]
5827
+ }
5828
+ }
5829
+ }
5830
+ ],
5831
+ "return": [
5832
+ {
5833
+ "Reference": {
5834
+ "Struct": {
5835
+ "address": "0x2",
5836
+ "module": "balance",
5837
+ "name": "Supply",
5838
+ "typeArguments": [
5839
+ {
5840
+ "TypeParameter": 0
5841
+ }
5842
+ ]
5843
+ }
5844
+ }
5845
+ }
5846
+ ]
5847
+ },
5848
+ "supply_mut": {
5849
+ "visibility": "Public",
5850
+ "isEntry": false,
5851
+ "typeParameters": [
5852
+ {
5853
+ "abilities": []
5854
+ }
5855
+ ],
5856
+ "parameters": [
5857
+ {
5858
+ "MutableReference": {
5859
+ "Struct": {
5860
+ "address": "0x2",
5861
+ "module": "coin",
5862
+ "name": "TreasuryCap",
5863
+ "typeArguments": [
5864
+ {
5865
+ "TypeParameter": 0
5866
+ }
5867
+ ]
5868
+ }
5869
+ }
5870
+ }
5871
+ ],
5872
+ "return": [
5873
+ {
5874
+ "MutableReference": {
5875
+ "Struct": {
5876
+ "address": "0x2",
5877
+ "module": "balance",
5878
+ "name": "Supply",
5879
+ "typeArguments": [
5880
+ {
5881
+ "TypeParameter": 0
5882
+ }
5883
+ ]
5884
+ }
5885
+ }
5886
+ }
5887
+ ]
5888
+ },
5889
+ "take": {
5890
+ "visibility": "Public",
5891
+ "isEntry": false,
5892
+ "typeParameters": [
5893
+ {
5894
+ "abilities": []
5895
+ }
5896
+ ],
5897
+ "parameters": [
5898
+ {
5899
+ "MutableReference": {
5900
+ "Struct": {
5901
+ "address": "0x2",
5902
+ "module": "balance",
5903
+ "name": "Balance",
5904
+ "typeArguments": [
5905
+ {
5906
+ "TypeParameter": 0
5907
+ }
5908
+ ]
5909
+ }
5910
+ }
5911
+ },
5912
+ "U64",
5913
+ {
5914
+ "MutableReference": {
5915
+ "Struct": {
5916
+ "address": "0x2",
5917
+ "module": "tx_context",
5918
+ "name": "TxContext",
5919
+ "typeArguments": []
5920
+ }
5921
+ }
5922
+ }
5923
+ ],
5924
+ "return": [
5925
+ {
5926
+ "Struct": {
5927
+ "address": "0x2",
5928
+ "module": "coin",
5929
+ "name": "Coin",
5930
+ "typeArguments": [
5931
+ {
5932
+ "TypeParameter": 0
5933
+ }
5934
+ ]
5935
+ }
5936
+ }
5937
+ ]
5938
+ },
5939
+ "total_supply": {
5940
+ "visibility": "Public",
5941
+ "isEntry": false,
5942
+ "typeParameters": [
5943
+ {
5944
+ "abilities": []
5945
+ }
5946
+ ],
5947
+ "parameters": [
5948
+ {
5949
+ "Reference": {
5950
+ "Struct": {
5951
+ "address": "0x2",
5952
+ "module": "coin",
5953
+ "name": "TreasuryCap",
5954
+ "typeArguments": [
5955
+ {
5956
+ "TypeParameter": 0
5957
+ }
5958
+ ]
5959
+ }
5960
+ }
5961
+ }
5962
+ ],
5963
+ "return": [
5964
+ "U64"
5965
+ ]
5966
+ },
5967
+ "treasury_into_supply": {
5968
+ "visibility": "Public",
5969
+ "isEntry": false,
5970
+ "typeParameters": [
5971
+ {
5972
+ "abilities": []
5973
+ }
5974
+ ],
5975
+ "parameters": [
5976
+ {
5977
+ "Struct": {
5978
+ "address": "0x2",
5979
+ "module": "coin",
5980
+ "name": "TreasuryCap",
5981
+ "typeArguments": [
5982
+ {
5983
+ "TypeParameter": 0
5984
+ }
5985
+ ]
5986
+ }
5987
+ }
5988
+ ],
5989
+ "return": [
5990
+ {
5991
+ "Struct": {
5992
+ "address": "0x2",
5993
+ "module": "balance",
5994
+ "name": "Supply",
5995
+ "typeArguments": [
5996
+ {
5997
+ "TypeParameter": 0
5998
+ }
5999
+ ]
6000
+ }
6001
+ }
6002
+ ]
6003
+ },
6004
+ "update_description": {
6005
+ "visibility": "Public",
6006
+ "isEntry": true,
6007
+ "typeParameters": [
6008
+ {
6009
+ "abilities": []
6010
+ }
6011
+ ],
6012
+ "parameters": [
6013
+ {
6014
+ "Reference": {
6015
+ "Struct": {
6016
+ "address": "0x2",
6017
+ "module": "coin",
6018
+ "name": "TreasuryCap",
6019
+ "typeArguments": [
6020
+ {
6021
+ "TypeParameter": 0
6022
+ }
6023
+ ]
6024
+ }
6025
+ }
6026
+ },
6027
+ {
6028
+ "MutableReference": {
6029
+ "Struct": {
6030
+ "address": "0x2",
6031
+ "module": "coin",
6032
+ "name": "CoinMetadata",
6033
+ "typeArguments": [
6034
+ {
6035
+ "TypeParameter": 0
6036
+ }
6037
+ ]
6038
+ }
6039
+ }
6040
+ },
6041
+ {
6042
+ "Struct": {
6043
+ "address": "0x1",
6044
+ "module": "string",
6045
+ "name": "String",
6046
+ "typeArguments": []
6047
+ }
6048
+ }
6049
+ ],
6050
+ "return": []
6051
+ },
6052
+ "update_icon_url": {
6053
+ "visibility": "Public",
6054
+ "isEntry": true,
6055
+ "typeParameters": [
6056
+ {
6057
+ "abilities": []
6058
+ }
6059
+ ],
6060
+ "parameters": [
6061
+ {
6062
+ "Reference": {
6063
+ "Struct": {
6064
+ "address": "0x2",
6065
+ "module": "coin",
6066
+ "name": "TreasuryCap",
6067
+ "typeArguments": [
6068
+ {
6069
+ "TypeParameter": 0
6070
+ }
6071
+ ]
6072
+ }
6073
+ }
6074
+ },
6075
+ {
6076
+ "MutableReference": {
6077
+ "Struct": {
6078
+ "address": "0x2",
6079
+ "module": "coin",
6080
+ "name": "CoinMetadata",
6081
+ "typeArguments": [
6082
+ {
6083
+ "TypeParameter": 0
6084
+ }
6085
+ ]
6086
+ }
6087
+ }
6088
+ },
6089
+ {
6090
+ "Struct": {
6091
+ "address": "0x1",
6092
+ "module": "ascii",
6093
+ "name": "String",
6094
+ "typeArguments": []
6095
+ }
6096
+ }
6097
+ ],
6098
+ "return": []
6099
+ },
6100
+ "update_name": {
6101
+ "visibility": "Public",
6102
+ "isEntry": true,
6103
+ "typeParameters": [
6104
+ {
6105
+ "abilities": []
6106
+ }
6107
+ ],
6108
+ "parameters": [
6109
+ {
6110
+ "Reference": {
6111
+ "Struct": {
6112
+ "address": "0x2",
6113
+ "module": "coin",
6114
+ "name": "TreasuryCap",
6115
+ "typeArguments": [
6116
+ {
6117
+ "TypeParameter": 0
6118
+ }
6119
+ ]
6120
+ }
6121
+ }
6122
+ },
6123
+ {
6124
+ "MutableReference": {
6125
+ "Struct": {
6126
+ "address": "0x2",
6127
+ "module": "coin",
6128
+ "name": "CoinMetadata",
6129
+ "typeArguments": [
6130
+ {
6131
+ "TypeParameter": 0
6132
+ }
6133
+ ]
6134
+ }
6135
+ }
6136
+ },
6137
+ {
6138
+ "Struct": {
6139
+ "address": "0x1",
6140
+ "module": "string",
6141
+ "name": "String",
6142
+ "typeArguments": []
6143
+ }
6144
+ }
6145
+ ],
6146
+ "return": []
6147
+ },
6148
+ "update_symbol": {
6149
+ "visibility": "Public",
6150
+ "isEntry": true,
6151
+ "typeParameters": [
6152
+ {
6153
+ "abilities": []
6154
+ }
6155
+ ],
6156
+ "parameters": [
6157
+ {
6158
+ "Reference": {
6159
+ "Struct": {
6160
+ "address": "0x2",
6161
+ "module": "coin",
6162
+ "name": "TreasuryCap",
6163
+ "typeArguments": [
6164
+ {
6165
+ "TypeParameter": 0
6166
+ }
6167
+ ]
6168
+ }
6169
+ }
6170
+ },
6171
+ {
6172
+ "MutableReference": {
6173
+ "Struct": {
6174
+ "address": "0x2",
6175
+ "module": "coin",
6176
+ "name": "CoinMetadata",
6177
+ "typeArguments": [
6178
+ {
6179
+ "TypeParameter": 0
6180
+ }
6181
+ ]
6182
+ }
6183
+ }
6184
+ },
6185
+ {
6186
+ "Struct": {
6187
+ "address": "0x1",
6188
+ "module": "ascii",
6189
+ "name": "String",
6190
+ "typeArguments": []
6191
+ }
6192
+ }
6193
+ ],
6194
+ "return": []
6195
+ },
6196
+ "value": {
6197
+ "visibility": "Public",
6198
+ "isEntry": false,
6199
+ "typeParameters": [
6200
+ {
6201
+ "abilities": []
6202
+ }
6203
+ ],
6204
+ "parameters": [
6205
+ {
6206
+ "Reference": {
6207
+ "Struct": {
6208
+ "address": "0x2",
6209
+ "module": "coin",
6210
+ "name": "Coin",
6211
+ "typeArguments": [
6212
+ {
6213
+ "TypeParameter": 0
6214
+ }
6215
+ ]
6216
+ }
6217
+ }
6218
+ }
6219
+ ],
6220
+ "return": [
6221
+ "U64"
6222
+ ]
6223
+ },
6224
+ "zero": {
6225
+ "visibility": "Public",
6226
+ "isEntry": false,
6227
+ "typeParameters": [
6228
+ {
6229
+ "abilities": []
6230
+ }
6231
+ ],
6232
+ "parameters": [
6233
+ {
6234
+ "MutableReference": {
6235
+ "Struct": {
6236
+ "address": "0x2",
6237
+ "module": "tx_context",
6238
+ "name": "TxContext",
6239
+ "typeArguments": []
6240
+ }
6241
+ }
6242
+ }
6243
+ ],
6244
+ "return": [
6245
+ {
6246
+ "Struct": {
6247
+ "address": "0x2",
6248
+ "module": "coin",
6249
+ "name": "Coin",
6250
+ "typeArguments": [
6251
+ {
6252
+ "TypeParameter": 0
6253
+ }
6254
+ ]
6255
+ }
6256
+ }
6257
+ ]
6258
+ }
6259
+ }
6260
+ },
6261
+ "config": {
6262
+ "fileFormatVersion": 6,
6263
+ "address": "0x2",
6264
+ "name": "config",
6265
+ "friends": [
6266
+ {
6267
+ "address": "0x2",
6268
+ "name": "deny_list"
6269
+ }
6270
+ ],
6271
+ "structs": {
6272
+ "Config": {
6273
+ "abilities": {
6274
+ "abilities": [
6275
+ "Key"
6276
+ ]
6277
+ },
6278
+ "typeParameters": [
6279
+ {
6280
+ "constraints": {
6281
+ "abilities": []
6282
+ },
6283
+ "isPhantom": true
6284
+ }
6285
+ ],
6286
+ "fields": [
6287
+ {
6288
+ "name": "id",
6289
+ "type": {
6290
+ "Struct": {
6291
+ "address": "0x2",
6292
+ "module": "object",
6293
+ "name": "UID",
6294
+ "typeArguments": []
6295
+ }
6296
+ }
6297
+ }
6298
+ ]
6299
+ },
6300
+ "Setting": {
6301
+ "abilities": {
6302
+ "abilities": [
6303
+ "Drop",
6304
+ "Store"
6305
+ ]
6306
+ },
6307
+ "typeParameters": [
6308
+ {
6309
+ "constraints": {
6310
+ "abilities": [
6311
+ "Copy",
6312
+ "Drop",
6313
+ "Store"
6314
+ ]
6315
+ },
6316
+ "isPhantom": false
6317
+ }
6318
+ ],
6319
+ "fields": [
6320
+ {
6321
+ "name": "data",
6322
+ "type": {
6323
+ "Struct": {
6324
+ "address": "0x1",
6325
+ "module": "option",
6326
+ "name": "Option",
6327
+ "typeArguments": [
6328
+ {
6329
+ "Struct": {
6330
+ "address": "0x2",
6331
+ "module": "config",
6332
+ "name": "SettingData",
6333
+ "typeArguments": [
6334
+ {
6335
+ "TypeParameter": 0
6336
+ }
6337
+ ]
6338
+ }
6339
+ }
6340
+ ]
6341
+ }
6342
+ }
6343
+ }
6344
+ ]
6345
+ },
6346
+ "SettingData": {
6347
+ "abilities": {
6348
+ "abilities": [
6349
+ "Drop",
6350
+ "Store"
6351
+ ]
6352
+ },
6353
+ "typeParameters": [
6354
+ {
6355
+ "constraints": {
6356
+ "abilities": [
6357
+ "Copy",
6358
+ "Drop",
6359
+ "Store"
6360
+ ]
6361
+ },
6362
+ "isPhantom": false
6363
+ }
6364
+ ],
6365
+ "fields": [
6366
+ {
6367
+ "name": "newer_value_epoch",
6368
+ "type": "U64"
6369
+ },
6370
+ {
6371
+ "name": "newer_value",
6372
+ "type": {
6373
+ "Struct": {
6374
+ "address": "0x1",
6375
+ "module": "option",
6376
+ "name": "Option",
6377
+ "typeArguments": [
6378
+ {
6379
+ "TypeParameter": 0
6380
+ }
6381
+ ]
6382
+ }
6383
+ }
6384
+ },
6385
+ {
6386
+ "name": "older_value_opt",
6387
+ "type": {
6388
+ "Struct": {
6389
+ "address": "0x1",
6390
+ "module": "option",
6391
+ "name": "Option",
6392
+ "typeArguments": [
6393
+ {
6394
+ "TypeParameter": 0
6395
+ }
6396
+ ]
6397
+ }
6398
+ }
6399
+ }
6400
+ ]
6401
+ }
6402
+ },
6403
+ "exposedFunctions": {
6404
+ "add_for_next_epoch": {
6405
+ "visibility": "Friend",
6406
+ "isEntry": false,
6407
+ "typeParameters": [
6408
+ {
6409
+ "abilities": []
6410
+ },
6411
+ {
6412
+ "abilities": [
6413
+ "Copy",
6414
+ "Drop",
6415
+ "Store"
6416
+ ]
6417
+ },
6418
+ {
6419
+ "abilities": [
6420
+ "Copy",
6421
+ "Drop",
6422
+ "Store"
6423
+ ]
6424
+ }
6425
+ ],
6426
+ "parameters": [
6427
+ {
6428
+ "MutableReference": {
6429
+ "Struct": {
6430
+ "address": "0x2",
6431
+ "module": "config",
6432
+ "name": "Config",
6433
+ "typeArguments": [
6434
+ {
6435
+ "TypeParameter": 0
6436
+ }
6437
+ ]
6438
+ }
6439
+ }
6440
+ },
6441
+ {
6442
+ "MutableReference": {
6443
+ "TypeParameter": 0
6444
+ }
6445
+ },
6446
+ {
6447
+ "TypeParameter": 1
6448
+ },
6449
+ {
6450
+ "TypeParameter": 2
6451
+ },
6452
+ {
6453
+ "MutableReference": {
6454
+ "Struct": {
6455
+ "address": "0x2",
6456
+ "module": "tx_context",
6457
+ "name": "TxContext",
6458
+ "typeArguments": []
6459
+ }
6460
+ }
6461
+ }
6462
+ ],
6463
+ "return": [
6464
+ {
6465
+ "Struct": {
6466
+ "address": "0x1",
6467
+ "module": "option",
6468
+ "name": "Option",
6469
+ "typeArguments": [
6470
+ {
6471
+ "TypeParameter": 2
6472
+ }
6473
+ ]
6474
+ }
6475
+ }
6476
+ ]
6477
+ },
6478
+ "borrow_for_next_epoch_mut": {
6479
+ "visibility": "Friend",
6480
+ "isEntry": false,
6481
+ "typeParameters": [
6482
+ {
6483
+ "abilities": []
6484
+ },
6485
+ {
6486
+ "abilities": [
6487
+ "Copy",
6488
+ "Drop",
6489
+ "Store"
6490
+ ]
6491
+ },
6492
+ {
6493
+ "abilities": [
6494
+ "Copy",
6495
+ "Drop",
6496
+ "Store"
6497
+ ]
6498
+ }
6499
+ ],
6500
+ "parameters": [
6501
+ {
6502
+ "MutableReference": {
6503
+ "Struct": {
6504
+ "address": "0x2",
6505
+ "module": "config",
6506
+ "name": "Config",
6507
+ "typeArguments": [
6508
+ {
6509
+ "TypeParameter": 0
6510
+ }
6511
+ ]
6512
+ }
6513
+ }
6514
+ },
6515
+ {
6516
+ "MutableReference": {
6517
+ "TypeParameter": 0
6518
+ }
6519
+ },
6520
+ {
6521
+ "TypeParameter": 1
6522
+ },
6523
+ {
6524
+ "MutableReference": {
6525
+ "Struct": {
6526
+ "address": "0x2",
6527
+ "module": "tx_context",
6528
+ "name": "TxContext",
6529
+ "typeArguments": []
6530
+ }
6531
+ }
6532
+ }
6533
+ ],
6534
+ "return": [
6535
+ {
6536
+ "MutableReference": {
6537
+ "TypeParameter": 2
6538
+ }
6539
+ }
6540
+ ]
6541
+ },
6542
+ "exists_with_type": {
6543
+ "visibility": "Friend",
6544
+ "isEntry": false,
6545
+ "typeParameters": [
6546
+ {
6547
+ "abilities": []
6548
+ },
6549
+ {
6550
+ "abilities": [
6551
+ "Copy",
6552
+ "Drop",
6553
+ "Store"
6554
+ ]
6555
+ },
6556
+ {
6557
+ "abilities": [
6558
+ "Copy",
6559
+ "Drop",
6560
+ "Store"
6561
+ ]
6562
+ }
6563
+ ],
6564
+ "parameters": [
6565
+ {
6566
+ "Reference": {
6567
+ "Struct": {
6568
+ "address": "0x2",
6569
+ "module": "config",
6570
+ "name": "Config",
6571
+ "typeArguments": [
6572
+ {
6573
+ "TypeParameter": 0
6574
+ }
6575
+ ]
6576
+ }
6577
+ }
6578
+ },
6579
+ {
6580
+ "TypeParameter": 1
6581
+ }
6582
+ ],
6583
+ "return": [
6584
+ "Bool"
6585
+ ]
6586
+ },
6587
+ "exists_with_type_for_next_epoch": {
6588
+ "visibility": "Friend",
6589
+ "isEntry": false,
6590
+ "typeParameters": [
6591
+ {
6592
+ "abilities": []
6593
+ },
6594
+ {
6595
+ "abilities": [
6596
+ "Copy",
6597
+ "Drop",
6598
+ "Store"
6599
+ ]
6600
+ },
6601
+ {
6602
+ "abilities": [
6603
+ "Copy",
6604
+ "Drop",
6605
+ "Store"
6606
+ ]
6607
+ }
6608
+ ],
6609
+ "parameters": [
6610
+ {
6611
+ "Reference": {
6612
+ "Struct": {
6613
+ "address": "0x2",
6614
+ "module": "config",
6615
+ "name": "Config",
6616
+ "typeArguments": [
6617
+ {
6618
+ "TypeParameter": 0
6619
+ }
6620
+ ]
6621
+ }
6622
+ }
6623
+ },
6624
+ {
6625
+ "TypeParameter": 1
6626
+ },
6627
+ {
6628
+ "Reference": {
6629
+ "Struct": {
6630
+ "address": "0x2",
6631
+ "module": "tx_context",
6632
+ "name": "TxContext",
6633
+ "typeArguments": []
6634
+ }
6635
+ }
6636
+ }
6637
+ ],
6638
+ "return": [
6639
+ "Bool"
6640
+ ]
6641
+ },
6642
+ "new": {
6643
+ "visibility": "Friend",
6644
+ "isEntry": false,
6645
+ "typeParameters": [
6646
+ {
6647
+ "abilities": []
6648
+ }
6649
+ ],
6650
+ "parameters": [
6651
+ {
6652
+ "MutableReference": {
6653
+ "TypeParameter": 0
6654
+ }
6655
+ },
6656
+ {
6657
+ "MutableReference": {
6658
+ "Struct": {
6659
+ "address": "0x2",
6660
+ "module": "tx_context",
6661
+ "name": "TxContext",
6662
+ "typeArguments": []
6663
+ }
6664
+ }
6665
+ }
6666
+ ],
6667
+ "return": [
6668
+ {
6669
+ "Struct": {
6670
+ "address": "0x2",
6671
+ "module": "config",
6672
+ "name": "Config",
6673
+ "typeArguments": [
6674
+ {
6675
+ "TypeParameter": 0
6676
+ }
6677
+ ]
6678
+ }
6679
+ }
6680
+ ]
6681
+ },
6682
+ "read_setting": {
6683
+ "visibility": "Friend",
6684
+ "isEntry": false,
6685
+ "typeParameters": [
6686
+ {
6687
+ "abilities": [
6688
+ "Copy",
6689
+ "Drop",
6690
+ "Store"
6691
+ ]
6692
+ },
6693
+ {
6694
+ "abilities": [
6695
+ "Copy",
6696
+ "Drop",
6697
+ "Store"
6698
+ ]
6699
+ }
6700
+ ],
6701
+ "parameters": [
6702
+ {
6703
+ "Struct": {
6704
+ "address": "0x2",
6705
+ "module": "object",
6706
+ "name": "ID",
6707
+ "typeArguments": []
6708
+ }
6709
+ },
6710
+ {
6711
+ "TypeParameter": 0
6712
+ },
6713
+ {
6714
+ "Reference": {
6715
+ "Struct": {
6716
+ "address": "0x2",
6717
+ "module": "tx_context",
6718
+ "name": "TxContext",
6719
+ "typeArguments": []
6720
+ }
6721
+ }
6722
+ }
6723
+ ],
6724
+ "return": [
6725
+ {
6726
+ "Struct": {
6727
+ "address": "0x1",
6728
+ "module": "option",
6729
+ "name": "Option",
6730
+ "typeArguments": [
6731
+ {
6732
+ "TypeParameter": 1
6733
+ }
6734
+ ]
6735
+ }
6736
+ }
6737
+ ]
6738
+ },
6739
+ "read_setting_for_next_epoch": {
6740
+ "visibility": "Friend",
6741
+ "isEntry": false,
6742
+ "typeParameters": [
6743
+ {
6744
+ "abilities": []
6745
+ },
6746
+ {
6747
+ "abilities": [
6748
+ "Copy",
6749
+ "Drop",
6750
+ "Store"
6751
+ ]
6752
+ },
6753
+ {
6754
+ "abilities": [
6755
+ "Copy",
6756
+ "Drop",
6757
+ "Store"
6758
+ ]
6759
+ }
6760
+ ],
6761
+ "parameters": [
6762
+ {
6763
+ "Reference": {
6764
+ "Struct": {
6765
+ "address": "0x2",
6766
+ "module": "config",
6767
+ "name": "Config",
6768
+ "typeArguments": [
6769
+ {
6770
+ "TypeParameter": 0
6771
+ }
6772
+ ]
6773
+ }
6774
+ }
6775
+ },
6776
+ {
6777
+ "TypeParameter": 1
6778
+ }
6779
+ ],
6780
+ "return": [
6781
+ {
6782
+ "Struct": {
6783
+ "address": "0x1",
6784
+ "module": "option",
6785
+ "name": "Option",
6786
+ "typeArguments": [
6787
+ {
6788
+ "TypeParameter": 2
6789
+ }
6790
+ ]
6791
+ }
6792
+ }
6793
+ ]
6794
+ },
6795
+ "remove_for_next_epoch": {
6796
+ "visibility": "Friend",
6797
+ "isEntry": false,
6798
+ "typeParameters": [
6799
+ {
6800
+ "abilities": []
6801
+ },
6802
+ {
6803
+ "abilities": [
6804
+ "Copy",
6805
+ "Drop",
6806
+ "Store"
6807
+ ]
6808
+ },
6809
+ {
6810
+ "abilities": [
6811
+ "Copy",
6812
+ "Drop",
6813
+ "Store"
6814
+ ]
6815
+ }
6816
+ ],
6817
+ "parameters": [
6818
+ {
6819
+ "MutableReference": {
6820
+ "Struct": {
6821
+ "address": "0x2",
6822
+ "module": "config",
6823
+ "name": "Config",
6824
+ "typeArguments": [
6825
+ {
6826
+ "TypeParameter": 0
6827
+ }
6828
+ ]
6829
+ }
6830
+ }
6831
+ },
6832
+ {
6833
+ "MutableReference": {
6834
+ "TypeParameter": 0
6835
+ }
6836
+ },
6837
+ {
6838
+ "TypeParameter": 1
6839
+ },
6840
+ {
6841
+ "MutableReference": {
6842
+ "Struct": {
6843
+ "address": "0x2",
6844
+ "module": "tx_context",
6845
+ "name": "TxContext",
6846
+ "typeArguments": []
6847
+ }
6848
+ }
6849
+ }
6850
+ ],
6851
+ "return": [
6852
+ {
6853
+ "Struct": {
6854
+ "address": "0x1",
6855
+ "module": "option",
6856
+ "name": "Option",
6857
+ "typeArguments": [
6858
+ {
6859
+ "TypeParameter": 2
6860
+ }
6861
+ ]
6862
+ }
6863
+ }
6864
+ ]
6865
+ },
6866
+ "share": {
6867
+ "visibility": "Friend",
6868
+ "isEntry": false,
6869
+ "typeParameters": [
6870
+ {
6871
+ "abilities": []
6872
+ }
6873
+ ],
6874
+ "parameters": [
6875
+ {
6876
+ "Struct": {
6877
+ "address": "0x2",
6878
+ "module": "config",
6879
+ "name": "Config",
6880
+ "typeArguments": [
6881
+ {
6882
+ "TypeParameter": 0
6883
+ }
6884
+ ]
6885
+ }
6886
+ }
6887
+ ],
6888
+ "return": []
6889
+ },
6890
+ "transfer": {
6891
+ "visibility": "Friend",
6892
+ "isEntry": false,
6893
+ "typeParameters": [
6894
+ {
6895
+ "abilities": []
6896
+ }
6897
+ ],
6898
+ "parameters": [
6899
+ {
6900
+ "Struct": {
6901
+ "address": "0x2",
6902
+ "module": "config",
6903
+ "name": "Config",
6904
+ "typeArguments": [
6905
+ {
6906
+ "TypeParameter": 0
6907
+ }
6908
+ ]
6909
+ }
6910
+ },
6911
+ "Address"
6912
+ ],
6913
+ "return": []
6914
+ }
6915
+ }
6916
+ },
6917
+ "deny_list": {
6918
+ "fileFormatVersion": 6,
5583
6919
  "address": "0x2",
5584
6920
  "name": "deny_list",
5585
6921
  "friends": [
@@ -5589,32 +6925,134 @@
5589
6925
  }
5590
6926
  ],
5591
6927
  "structs": {
6928
+ "AddressKey": {
6929
+ "abilities": {
6930
+ "abilities": [
6931
+ "Copy",
6932
+ "Drop",
6933
+ "Store"
6934
+ ]
6935
+ },
6936
+ "typeParameters": [],
6937
+ "fields": [
6938
+ {
6939
+ "name": "pos0",
6940
+ "type": "Address"
6941
+ }
6942
+ ]
6943
+ },
6944
+ "ConfigKey": {
6945
+ "abilities": {
6946
+ "abilities": [
6947
+ "Copy",
6948
+ "Drop",
6949
+ "Store"
6950
+ ]
6951
+ },
6952
+ "typeParameters": [],
6953
+ "fields": [
6954
+ {
6955
+ "name": "per_type_index",
6956
+ "type": "U64"
6957
+ },
6958
+ {
6959
+ "name": "per_type_key",
6960
+ "type": {
6961
+ "Vector": "U8"
6962
+ }
6963
+ }
6964
+ ]
6965
+ },
6966
+ "ConfigWriteCap": {
6967
+ "abilities": {
6968
+ "abilities": [
6969
+ "Drop"
6970
+ ]
6971
+ },
6972
+ "typeParameters": [],
6973
+ "fields": [
6974
+ {
6975
+ "name": "dummy_field",
6976
+ "type": "Bool"
6977
+ }
6978
+ ]
6979
+ },
5592
6980
  "DenyList": {
5593
6981
  "abilities": {
5594
6982
  "abilities": [
5595
- "Key"
6983
+ "Key"
6984
+ ]
6985
+ },
6986
+ "typeParameters": [],
6987
+ "fields": [
6988
+ {
6989
+ "name": "id",
6990
+ "type": {
6991
+ "Struct": {
6992
+ "address": "0x2",
6993
+ "module": "object",
6994
+ "name": "UID",
6995
+ "typeArguments": []
6996
+ }
6997
+ }
6998
+ },
6999
+ {
7000
+ "name": "lists",
7001
+ "type": {
7002
+ "Struct": {
7003
+ "address": "0x2",
7004
+ "module": "bag",
7005
+ "name": "Bag",
7006
+ "typeArguments": []
7007
+ }
7008
+ }
7009
+ }
7010
+ ]
7011
+ },
7012
+ "GlobalPauseKey": {
7013
+ "abilities": {
7014
+ "abilities": [
7015
+ "Copy",
7016
+ "Drop",
7017
+ "Store"
5596
7018
  ]
5597
7019
  },
5598
7020
  "typeParameters": [],
5599
7021
  "fields": [
5600
7022
  {
5601
- "name": "id",
7023
+ "name": "dummy_field",
7024
+ "type": "Bool"
7025
+ }
7026
+ ]
7027
+ },
7028
+ "PerTypeConfigCreated": {
7029
+ "abilities": {
7030
+ "abilities": [
7031
+ "Copy",
7032
+ "Drop",
7033
+ "Store"
7034
+ ]
7035
+ },
7036
+ "typeParameters": [],
7037
+ "fields": [
7038
+ {
7039
+ "name": "key",
5602
7040
  "type": {
5603
7041
  "Struct": {
5604
7042
  "address": "0x2",
5605
- "module": "object",
5606
- "name": "UID",
7043
+ "module": "deny_list",
7044
+ "name": "ConfigKey",
5607
7045
  "typeArguments": []
5608
7046
  }
5609
7047
  }
5610
7048
  },
5611
7049
  {
5612
- "name": "lists",
7050
+ "name": "config_id",
5613
7051
  "type": {
5614
7052
  "Struct": {
5615
7053
  "address": "0x2",
5616
- "module": "bag",
5617
- "name": "Bag",
7054
+ "module": "object",
7055
+ "name": "ID",
5618
7056
  "typeArguments": []
5619
7057
  }
5620
7058
  }
@@ -5684,7 +7122,235 @@
5684
7122
  }
5685
7123
  },
5686
7124
  "exposedFunctions": {
5687
- "add": {
7125
+ "migrate_v1_to_v2": {
7126
+ "visibility": "Friend",
7127
+ "isEntry": false,
7128
+ "typeParameters": [],
7129
+ "parameters": [
7130
+ {
7131
+ "MutableReference": {
7132
+ "Struct": {
7133
+ "address": "0x2",
7134
+ "module": "deny_list",
7135
+ "name": "DenyList",
7136
+ "typeArguments": []
7137
+ }
7138
+ }
7139
+ },
7140
+ "U64",
7141
+ {
7142
+ "Vector": "U8"
7143
+ },
7144
+ {
7145
+ "MutableReference": {
7146
+ "Struct": {
7147
+ "address": "0x2",
7148
+ "module": "tx_context",
7149
+ "name": "TxContext",
7150
+ "typeArguments": []
7151
+ }
7152
+ }
7153
+ }
7154
+ ],
7155
+ "return": []
7156
+ },
7157
+ "v1_add": {
7158
+ "visibility": "Friend",
7159
+ "isEntry": false,
7160
+ "typeParameters": [],
7161
+ "parameters": [
7162
+ {
7163
+ "MutableReference": {
7164
+ "Struct": {
7165
+ "address": "0x2",
7166
+ "module": "deny_list",
7167
+ "name": "DenyList",
7168
+ "typeArguments": []
7169
+ }
7170
+ }
7171
+ },
7172
+ "U64",
7173
+ {
7174
+ "Vector": "U8"
7175
+ },
7176
+ "Address"
7177
+ ],
7178
+ "return": []
7179
+ },
7180
+ "v1_contains": {
7181
+ "visibility": "Friend",
7182
+ "isEntry": false,
7183
+ "typeParameters": [],
7184
+ "parameters": [
7185
+ {
7186
+ "Reference": {
7187
+ "Struct": {
7188
+ "address": "0x2",
7189
+ "module": "deny_list",
7190
+ "name": "DenyList",
7191
+ "typeArguments": []
7192
+ }
7193
+ }
7194
+ },
7195
+ "U64",
7196
+ {
7197
+ "Vector": "U8"
7198
+ },
7199
+ "Address"
7200
+ ],
7201
+ "return": [
7202
+ "Bool"
7203
+ ]
7204
+ },
7205
+ "v1_remove": {
7206
+ "visibility": "Friend",
7207
+ "isEntry": false,
7208
+ "typeParameters": [],
7209
+ "parameters": [
7210
+ {
7211
+ "MutableReference": {
7212
+ "Struct": {
7213
+ "address": "0x2",
7214
+ "module": "deny_list",
7215
+ "name": "DenyList",
7216
+ "typeArguments": []
7217
+ }
7218
+ }
7219
+ },
7220
+ "U64",
7221
+ {
7222
+ "Vector": "U8"
7223
+ },
7224
+ "Address"
7225
+ ],
7226
+ "return": []
7227
+ },
7228
+ "v2_add": {
7229
+ "visibility": "Friend",
7230
+ "isEntry": false,
7231
+ "typeParameters": [],
7232
+ "parameters": [
7233
+ {
7234
+ "MutableReference": {
7235
+ "Struct": {
7236
+ "address": "0x2",
7237
+ "module": "deny_list",
7238
+ "name": "DenyList",
7239
+ "typeArguments": []
7240
+ }
7241
+ }
7242
+ },
7243
+ "U64",
7244
+ {
7245
+ "Vector": "U8"
7246
+ },
7247
+ "Address",
7248
+ {
7249
+ "MutableReference": {
7250
+ "Struct": {
7251
+ "address": "0x2",
7252
+ "module": "tx_context",
7253
+ "name": "TxContext",
7254
+ "typeArguments": []
7255
+ }
7256
+ }
7257
+ }
7258
+ ],
7259
+ "return": []
7260
+ },
7261
+ "v2_contains_current_epoch": {
7262
+ "visibility": "Friend",
7263
+ "isEntry": false,
7264
+ "typeParameters": [],
7265
+ "parameters": [
7266
+ {
7267
+ "Reference": {
7268
+ "Struct": {
7269
+ "address": "0x2",
7270
+ "module": "deny_list",
7271
+ "name": "DenyList",
7272
+ "typeArguments": []
7273
+ }
7274
+ }
7275
+ },
7276
+ "U64",
7277
+ {
7278
+ "Vector": "U8"
7279
+ },
7280
+ "Address",
7281
+ {
7282
+ "Reference": {
7283
+ "Struct": {
7284
+ "address": "0x2",
7285
+ "module": "tx_context",
7286
+ "name": "TxContext",
7287
+ "typeArguments": []
7288
+ }
7289
+ }
7290
+ }
7291
+ ],
7292
+ "return": [
7293
+ "Bool"
7294
+ ]
7295
+ },
7296
+ "v2_contains_next_epoch": {
7297
+ "visibility": "Friend",
7298
+ "isEntry": false,
7299
+ "typeParameters": [],
7300
+ "parameters": [
7301
+ {
7302
+ "Reference": {
7303
+ "Struct": {
7304
+ "address": "0x2",
7305
+ "module": "deny_list",
7306
+ "name": "DenyList",
7307
+ "typeArguments": []
7308
+ }
7309
+ }
7310
+ },
7311
+ "U64",
7312
+ {
7313
+ "Vector": "U8"
7314
+ },
7315
+ "Address"
7316
+ ],
7317
+ "return": [
7318
+ "Bool"
7319
+ ]
7320
+ },
7321
+ "v2_disable_global_pause": {
7322
+ "visibility": "Friend",
7323
+ "isEntry": false,
7324
+ "typeParameters": [],
7325
+ "parameters": [
7326
+ {
7327
+ "MutableReference": {
7328
+ "Struct": {
7329
+ "address": "0x2",
7330
+ "module": "deny_list",
7331
+ "name": "DenyList",
7332
+ "typeArguments": []
7333
+ }
7334
+ }
7335
+ },
7336
+ "U64",
7337
+ {
7338
+ "Vector": "U8"
7339
+ },
7340
+ {
7341
+ "MutableReference": {
7342
+ "Struct": {
7343
+ "address": "0x2",
7344
+ "module": "tx_context",
7345
+ "name": "TxContext",
7346
+ "typeArguments": []
7347
+ }
7348
+ }
7349
+ }
7350
+ ],
7351
+ "return": []
7352
+ },
7353
+ "v2_enable_global_pause": {
5688
7354
  "visibility": "Friend",
5689
7355
  "isEntry": false,
5690
7356
  "typeParameters": [],
@@ -5703,11 +7369,20 @@
5703
7369
  {
5704
7370
  "Vector": "U8"
5705
7371
  },
5706
- "Address"
7372
+ {
7373
+ "MutableReference": {
7374
+ "Struct": {
7375
+ "address": "0x2",
7376
+ "module": "tx_context",
7377
+ "name": "TxContext",
7378
+ "typeArguments": []
7379
+ }
7380
+ }
7381
+ }
5707
7382
  ],
5708
7383
  "return": []
5709
7384
  },
5710
- "contains": {
7385
+ "v2_is_global_pause_enabled_current_epoch": {
5711
7386
  "visibility": "Friend",
5712
7387
  "isEntry": false,
5713
7388
  "typeParameters": [],
@@ -5726,13 +7401,46 @@
5726
7401
  {
5727
7402
  "Vector": "U8"
5728
7403
  },
5729
- "Address"
7404
+ {
7405
+ "Reference": {
7406
+ "Struct": {
7407
+ "address": "0x2",
7408
+ "module": "tx_context",
7409
+ "name": "TxContext",
7410
+ "typeArguments": []
7411
+ }
7412
+ }
7413
+ }
5730
7414
  ],
5731
7415
  "return": [
5732
7416
  "Bool"
5733
7417
  ]
5734
7418
  },
5735
- "remove": {
7419
+ "v2_is_global_pause_enabled_next_epoch": {
7420
+ "visibility": "Friend",
7421
+ "isEntry": false,
7422
+ "typeParameters": [],
7423
+ "parameters": [
7424
+ {
7425
+ "Reference": {
7426
+ "Struct": {
7427
+ "address": "0x2",
7428
+ "module": "deny_list",
7429
+ "name": "DenyList",
7430
+ "typeArguments": []
7431
+ }
7432
+ }
7433
+ },
7434
+ "U64",
7435
+ {
7436
+ "Vector": "U8"
7437
+ }
7438
+ ],
7439
+ "return": [
7440
+ "Bool"
7441
+ ]
7442
+ },
7443
+ "v2_remove": {
5736
7444
  "visibility": "Friend",
5737
7445
  "isEntry": false,
5738
7446
  "typeParameters": [],
@@ -5751,7 +7459,17 @@
5751
7459
  {
5752
7460
  "Vector": "U8"
5753
7461
  },
5754
- "Address"
7462
+ "Address",
7463
+ {
7464
+ "MutableReference": {
7465
+ "Struct": {
7466
+ "address": "0x2",
7467
+ "module": "tx_context",
7468
+ "name": "TxContext",
7469
+ "typeArguments": []
7470
+ }
7471
+ }
7472
+ }
5755
7473
  ],
5756
7474
  "return": []
5757
7475
  }
@@ -6389,6 +8107,10 @@
6389
8107
  "address": "0x2",
6390
8108
  "name": "dynamic_field",
6391
8109
  "friends": [
8110
+ {
8111
+ "address": "0x2",
8112
+ "name": "config"
8113
+ },
6392
8114
  {
6393
8115
  "address": "0x2",
6394
8116
  "name": "dynamic_object_field"
@@ -6958,7 +8680,12 @@
6958
8680
  "fileFormatVersion": 6,
6959
8681
  "address": "0x2",
6960
8682
  "name": "dynamic_object_field",
6961
- "friends": [],
8683
+ "friends": [
8684
+ {
8685
+ "address": "0x2",
8686
+ "name": "deny_list"
8687
+ }
8688
+ ],
6962
8689
  "structs": {
6963
8690
  "Wrapper": {
6964
8691
  "abilities": {
@@ -7222,6 +8949,197 @@
7222
8949
  }
7223
8950
  ]
7224
8951
  },
8952
+ "internal_add": {
8953
+ "visibility": "Friend",
8954
+ "isEntry": false,
8955
+ "typeParameters": [
8956
+ {
8957
+ "abilities": [
8958
+ "Copy",
8959
+ "Drop",
8960
+ "Store"
8961
+ ]
8962
+ },
8963
+ {
8964
+ "abilities": [
8965
+ "Key"
8966
+ ]
8967
+ }
8968
+ ],
8969
+ "parameters": [
8970
+ {
8971
+ "MutableReference": {
8972
+ "Struct": {
8973
+ "address": "0x2",
8974
+ "module": "object",
8975
+ "name": "UID",
8976
+ "typeArguments": []
8977
+ }
8978
+ }
8979
+ },
8980
+ {
8981
+ "TypeParameter": 0
8982
+ },
8983
+ {
8984
+ "TypeParameter": 1
8985
+ }
8986
+ ],
8987
+ "return": []
8988
+ },
8989
+ "internal_borrow": {
8990
+ "visibility": "Friend",
8991
+ "isEntry": false,
8992
+ "typeParameters": [
8993
+ {
8994
+ "abilities": [
8995
+ "Copy",
8996
+ "Drop",
8997
+ "Store"
8998
+ ]
8999
+ },
9000
+ {
9001
+ "abilities": [
9002
+ "Key"
9003
+ ]
9004
+ }
9005
+ ],
9006
+ "parameters": [
9007
+ {
9008
+ "Reference": {
9009
+ "Struct": {
9010
+ "address": "0x2",
9011
+ "module": "object",
9012
+ "name": "UID",
9013
+ "typeArguments": []
9014
+ }
9015
+ }
9016
+ },
9017
+ {
9018
+ "TypeParameter": 0
9019
+ }
9020
+ ],
9021
+ "return": [
9022
+ {
9023
+ "Reference": {
9024
+ "TypeParameter": 1
9025
+ }
9026
+ }
9027
+ ]
9028
+ },
9029
+ "internal_borrow_mut": {
9030
+ "visibility": "Friend",
9031
+ "isEntry": false,
9032
+ "typeParameters": [
9033
+ {
9034
+ "abilities": [
9035
+ "Copy",
9036
+ "Drop",
9037
+ "Store"
9038
+ ]
9039
+ },
9040
+ {
9041
+ "abilities": [
9042
+ "Key"
9043
+ ]
9044
+ }
9045
+ ],
9046
+ "parameters": [
9047
+ {
9048
+ "MutableReference": {
9049
+ "Struct": {
9050
+ "address": "0x2",
9051
+ "module": "object",
9052
+ "name": "UID",
9053
+ "typeArguments": []
9054
+ }
9055
+ }
9056
+ },
9057
+ {
9058
+ "TypeParameter": 0
9059
+ }
9060
+ ],
9061
+ "return": [
9062
+ {
9063
+ "MutableReference": {
9064
+ "TypeParameter": 1
9065
+ }
9066
+ }
9067
+ ]
9068
+ },
9069
+ "internal_exists_with_type": {
9070
+ "visibility": "Friend",
9071
+ "isEntry": false,
9072
+ "typeParameters": [
9073
+ {
9074
+ "abilities": [
9075
+ "Copy",
9076
+ "Drop",
9077
+ "Store"
9078
+ ]
9079
+ },
9080
+ {
9081
+ "abilities": [
9082
+ "Key"
9083
+ ]
9084
+ }
9085
+ ],
9086
+ "parameters": [
9087
+ {
9088
+ "Reference": {
9089
+ "Struct": {
9090
+ "address": "0x2",
9091
+ "module": "object",
9092
+ "name": "UID",
9093
+ "typeArguments": []
9094
+ }
9095
+ }
9096
+ },
9097
+ {
9098
+ "TypeParameter": 0
9099
+ }
9100
+ ],
9101
+ "return": [
9102
+ "Bool"
9103
+ ]
9104
+ },
9105
+ "internal_remove": {
9106
+ "visibility": "Friend",
9107
+ "isEntry": false,
9108
+ "typeParameters": [
9109
+ {
9110
+ "abilities": [
9111
+ "Copy",
9112
+ "Drop",
9113
+ "Store"
9114
+ ]
9115
+ },
9116
+ {
9117
+ "abilities": [
9118
+ "Key"
9119
+ ]
9120
+ }
9121
+ ],
9122
+ "parameters": [
9123
+ {
9124
+ "MutableReference": {
9125
+ "Struct": {
9126
+ "address": "0x2",
9127
+ "module": "object",
9128
+ "name": "UID",
9129
+ "typeArguments": []
9130
+ }
9131
+ }
9132
+ },
9133
+ {
9134
+ "TypeParameter": 0
9135
+ }
9136
+ ],
9137
+ "return": [
9138
+ {
9139
+ "TypeParameter": 1
9140
+ }
9141
+ ]
9142
+ },
7225
9143
  "remove": {
7226
9144
  "visibility": "Public",
7227
9145
  "isEntry": false,