@typemove/sui 1.8.3 → 1.9.0

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.
Files changed (52) hide show
  1. package/dist/cjs/builtin/0x1.d.ts +12 -12
  2. package/dist/cjs/builtin/0x1.d.ts.map +1 -1
  3. package/dist/cjs/builtin/0x1.js +2 -2
  4. package/dist/cjs/builtin/0x1.js.map +1 -1
  5. package/dist/cjs/builtin/0x2.d.ts +66 -66
  6. package/dist/cjs/builtin/0x2.d.ts.map +1 -1
  7. package/dist/cjs/builtin/0x2.js +2 -2
  8. package/dist/cjs/builtin/0x2.js.map +1 -1
  9. package/dist/cjs/builtin/0x3.d.ts +26 -26
  10. package/dist/cjs/builtin/0x3.d.ts.map +1 -1
  11. package/dist/cjs/builtin/0x3.js +2 -2
  12. package/dist/cjs/builtin/0x3.js.map +1 -1
  13. package/dist/cjs/codegen/codegen.js +2 -2
  14. package/dist/cjs/codegen/codegen.js.map +1 -1
  15. package/dist/cjs/move-coder.d.ts.map +1 -1
  16. package/dist/cjs/move-coder.js +4 -3
  17. package/dist/cjs/move-coder.js.map +1 -1
  18. package/dist/cjs/move-coder.test.js.map +1 -1
  19. package/dist/cjs/to-internal.d.ts.map +1 -1
  20. package/dist/cjs/to-internal.js +16 -3
  21. package/dist/cjs/to-internal.js.map +1 -1
  22. package/dist/cjs/transaction.js +13 -14
  23. package/dist/cjs/transaction.js.map +1 -1
  24. package/dist/esm/builtin/0x1.d.ts +12 -12
  25. package/dist/esm/builtin/0x1.d.ts.map +1 -1
  26. package/dist/esm/builtin/0x1.js.map +1 -1
  27. package/dist/esm/builtin/0x2.d.ts +66 -66
  28. package/dist/esm/builtin/0x2.d.ts.map +1 -1
  29. package/dist/esm/builtin/0x2.js.map +1 -1
  30. package/dist/esm/builtin/0x3.d.ts +26 -26
  31. package/dist/esm/builtin/0x3.d.ts.map +1 -1
  32. package/dist/esm/move-coder.d.ts.map +1 -1
  33. package/dist/esm/move-coder.js +1 -0
  34. package/dist/esm/move-coder.js.map +1 -1
  35. package/dist/esm/move-coder.test.js.map +1 -1
  36. package/dist/esm/to-internal.d.ts.map +1 -1
  37. package/dist/esm/to-internal.js +15 -1
  38. package/dist/esm/to-internal.js.map +1 -1
  39. package/package.json +3 -3
  40. package/src/builtin/0x1.ts +12 -13
  41. package/src/builtin/0x2.ts +87 -86
  42. package/src/builtin/0x3.ts +65 -65
  43. package/src/move-coder.ts +1 -0
  44. package/src/tests/abis/testnet/enum.json +5941 -0
  45. package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +2 -2
  46. package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +20 -16
  47. package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +6 -8
  48. package/src/tests/types/testnet/0xdee9.ts +40 -34
  49. package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +166 -165
  50. package/src/tests/types/testnet/enum.ts +5419 -0
  51. package/src/tests/types/testnet/index.ts +1 -0
  52. package/src/to-internal.ts +18 -1
@@ -38,10 +38,10 @@ export declare namespace authenticator_state {
38
38
  const TYPE_QNAME = "0x2::authenticator_state::ActiveJwk";
39
39
  function type(): TypeDescriptor<ActiveJwk>;
40
40
  }
41
- interface ActiveJwkInstance extends TypedEventInstance<ActiveJwk> {
41
+ type ActiveJwkInstance = TypedEventInstance<ActiveJwk> & {
42
42
  data_decoded: ActiveJwk;
43
43
  type_arguments: [];
44
- }
44
+ };
45
45
  interface AuthenticatorState {
46
46
  id: object$.UID;
47
47
  version: bigint;
@@ -68,10 +68,10 @@ export declare namespace authenticator_state {
68
68
  const TYPE_QNAME = "0x2::authenticator_state::JWK";
69
69
  function type(): TypeDescriptor<JWK>;
70
70
  }
71
- interface JWKInstance extends TypedEventInstance<JWK> {
71
+ type JWKInstance = TypedEventInstance<JWK> & {
72
72
  data_decoded: JWK;
73
73
  type_arguments: [];
74
- }
74
+ };
75
75
  interface JwkId {
76
76
  iss: string;
77
77
  kid: string;
@@ -80,10 +80,10 @@ export declare namespace authenticator_state {
80
80
  const TYPE_QNAME = "0x2::authenticator_state::JwkId";
81
81
  function type(): TypeDescriptor<JwkId>;
82
82
  }
83
- interface JwkIdInstance extends TypedEventInstance<JwkId> {
83
+ type JwkIdInstance = TypedEventInstance<JwkId> & {
84
84
  data_decoded: JwkId;
85
85
  type_arguments: [];
86
- }
86
+ };
87
87
  namespace builder { }
88
88
  namespace view { }
89
89
  }
@@ -204,10 +204,10 @@ export declare namespace bcs {
204
204
  const TYPE_QNAME = "0x2::bcs::BCS";
205
205
  function type(): TypeDescriptor<BCS>;
206
206
  }
207
- interface BCSInstance extends TypedEventInstance<BCS> {
207
+ type BCSInstance = TypedEventInstance<BCS> & {
208
208
  data_decoded: BCS;
209
209
  type_arguments: [];
210
- }
210
+ };
211
211
  namespace builder {
212
212
  function intoRemainderBytes(tx: Transaction, args: [bcs.BCS | TransactionArgument]): TransactionArgument & [TransactionArgument];
213
213
  function new$(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
@@ -550,10 +550,10 @@ export declare namespace coin {
550
550
  const TYPE_QNAME = "0x2::coin::CurrencyCreated";
551
551
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CurrencyCreated<T0>>;
552
552
  }
553
- interface CurrencyCreatedInstance extends TypedEventInstance<CurrencyCreated<any>> {
553
+ type CurrencyCreatedInstance = TypedEventInstance<CurrencyCreated<any>> & {
554
554
  data_decoded: CurrencyCreated<any>;
555
555
  type_arguments: [string];
556
- }
556
+ };
557
557
  interface DenyCap<T0> {
558
558
  id: object$.UID;
559
559
  }
@@ -1017,10 +1017,10 @@ export declare namespace deny_list {
1017
1017
  const TYPE_QNAME = "0x2::deny_list::AddressKey";
1018
1018
  function type(): TypeDescriptor<AddressKey>;
1019
1019
  }
1020
- interface AddressKeyInstance extends TypedEventInstance<AddressKey> {
1020
+ type AddressKeyInstance = TypedEventInstance<AddressKey> & {
1021
1021
  data_decoded: AddressKey;
1022
1022
  type_arguments: [];
1023
- }
1023
+ };
1024
1024
  interface ConfigKey {
1025
1025
  per_type_index: bigint;
1026
1026
  per_type_key: number[];
@@ -1029,10 +1029,10 @@ export declare namespace deny_list {
1029
1029
  const TYPE_QNAME = "0x2::deny_list::ConfigKey";
1030
1030
  function type(): TypeDescriptor<ConfigKey>;
1031
1031
  }
1032
- interface ConfigKeyInstance extends TypedEventInstance<ConfigKey> {
1032
+ type ConfigKeyInstance = TypedEventInstance<ConfigKey> & {
1033
1033
  data_decoded: ConfigKey;
1034
1034
  type_arguments: [];
1035
- }
1035
+ };
1036
1036
  interface ConfigWriteCap {
1037
1037
  dummy_field: boolean;
1038
1038
  }
@@ -1055,10 +1055,10 @@ export declare namespace deny_list {
1055
1055
  const TYPE_QNAME = "0x2::deny_list::GlobalPauseKey";
1056
1056
  function type(): TypeDescriptor<GlobalPauseKey>;
1057
1057
  }
1058
- interface GlobalPauseKeyInstance extends TypedEventInstance<GlobalPauseKey> {
1058
+ type GlobalPauseKeyInstance = TypedEventInstance<GlobalPauseKey> & {
1059
1059
  data_decoded: GlobalPauseKey;
1060
1060
  type_arguments: [];
1061
- }
1061
+ };
1062
1062
  interface PerTypeConfigCreated {
1063
1063
  key: deny_list.ConfigKey;
1064
1064
  config_id: object$.ID;
@@ -1067,10 +1067,10 @@ export declare namespace deny_list {
1067
1067
  const TYPE_QNAME = "0x2::deny_list::PerTypeConfigCreated";
1068
1068
  function type(): TypeDescriptor<PerTypeConfigCreated>;
1069
1069
  }
1070
- interface PerTypeConfigCreatedInstance extends TypedEventInstance<PerTypeConfigCreated> {
1070
+ type PerTypeConfigCreatedInstance = TypedEventInstance<PerTypeConfigCreated> & {
1071
1071
  data_decoded: PerTypeConfigCreated;
1072
1072
  type_arguments: [];
1073
- }
1073
+ };
1074
1074
  interface PerTypeList {
1075
1075
  id: object$.UID;
1076
1076
  denied_count: table.Table<string, bigint>;
@@ -1236,10 +1236,10 @@ export declare namespace display {
1236
1236
  const TYPE_QNAME = "0x2::display::DisplayCreated";
1237
1237
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<DisplayCreated<T0>>;
1238
1238
  }
1239
- interface DisplayCreatedInstance extends TypedEventInstance<DisplayCreated<any>> {
1239
+ type DisplayCreatedInstance = TypedEventInstance<DisplayCreated<any>> & {
1240
1240
  data_decoded: DisplayCreated<any>;
1241
1241
  type_arguments: [string];
1242
- }
1242
+ };
1243
1243
  interface VersionUpdated<T0> {
1244
1244
  id: object$.ID;
1245
1245
  version: number;
@@ -1249,10 +1249,10 @@ export declare namespace display {
1249
1249
  const TYPE_QNAME = "0x2::display::VersionUpdated";
1250
1250
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<VersionUpdated<T0>>;
1251
1251
  }
1252
- interface VersionUpdatedInstance extends TypedEventInstance<VersionUpdated<any>> {
1252
+ type VersionUpdatedInstance = TypedEventInstance<VersionUpdated<any>> & {
1253
1253
  data_decoded: VersionUpdated<any>;
1254
1254
  type_arguments: [string];
1255
- }
1255
+ };
1256
1256
  namespace builder {
1257
1257
  function add<T0 = any>(tx: Transaction, args: [
1258
1258
  string | TransactionObjectArgument | TransactionArgument,
@@ -1408,10 +1408,10 @@ export declare namespace dynamic_object_field {
1408
1408
  const TYPE_QNAME = "0x2::dynamic_object_field::Wrapper";
1409
1409
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Wrapper<T0>>;
1410
1410
  }
1411
- interface WrapperInstance extends TypedEventInstance<Wrapper<any>> {
1411
+ type WrapperInstance = TypedEventInstance<Wrapper<any>> & {
1412
1412
  data_decoded: Wrapper<any>;
1413
1413
  type_arguments: [string];
1414
- }
1414
+ };
1415
1415
  namespace builder {
1416
1416
  function add<T0 = any, T1 = any>(tx: Transaction, args: [
1417
1417
  string | TransactionObjectArgument | TransactionArgument,
@@ -1595,10 +1595,10 @@ export declare namespace groth16 {
1595
1595
  const TYPE_QNAME = "0x2::groth16::Curve";
1596
1596
  function type(): TypeDescriptor<Curve>;
1597
1597
  }
1598
- interface CurveInstance extends TypedEventInstance<Curve> {
1598
+ type CurveInstance = TypedEventInstance<Curve> & {
1599
1599
  data_decoded: Curve;
1600
1600
  type_arguments: [];
1601
- }
1601
+ };
1602
1602
  interface PreparedVerifyingKey {
1603
1603
  vk_gamma_abc_g1_bytes: number[];
1604
1604
  alpha_g1_beta_g2_bytes: number[];
@@ -1609,10 +1609,10 @@ export declare namespace groth16 {
1609
1609
  const TYPE_QNAME = "0x2::groth16::PreparedVerifyingKey";
1610
1610
  function type(): TypeDescriptor<PreparedVerifyingKey>;
1611
1611
  }
1612
- interface PreparedVerifyingKeyInstance extends TypedEventInstance<PreparedVerifyingKey> {
1612
+ type PreparedVerifyingKeyInstance = TypedEventInstance<PreparedVerifyingKey> & {
1613
1613
  data_decoded: PreparedVerifyingKey;
1614
1614
  type_arguments: [];
1615
- }
1615
+ };
1616
1616
  interface ProofPoints {
1617
1617
  bytes: number[];
1618
1618
  }
@@ -1620,10 +1620,10 @@ export declare namespace groth16 {
1620
1620
  const TYPE_QNAME = "0x2::groth16::ProofPoints";
1621
1621
  function type(): TypeDescriptor<ProofPoints>;
1622
1622
  }
1623
- interface ProofPointsInstance extends TypedEventInstance<ProofPoints> {
1623
+ type ProofPointsInstance = TypedEventInstance<ProofPoints> & {
1624
1624
  data_decoded: ProofPoints;
1625
1625
  type_arguments: [];
1626
- }
1626
+ };
1627
1627
  interface PublicProofInputs {
1628
1628
  bytes: number[];
1629
1629
  }
@@ -1631,10 +1631,10 @@ export declare namespace groth16 {
1631
1631
  const TYPE_QNAME = "0x2::groth16::PublicProofInputs";
1632
1632
  function type(): TypeDescriptor<PublicProofInputs>;
1633
1633
  }
1634
- interface PublicProofInputsInstance extends TypedEventInstance<PublicProofInputs> {
1634
+ type PublicProofInputsInstance = TypedEventInstance<PublicProofInputs> & {
1635
1635
  data_decoded: PublicProofInputs;
1636
1636
  type_arguments: [];
1637
- }
1637
+ };
1638
1638
  namespace builder {
1639
1639
  function bls12381(tx: Transaction, args: []): TransactionArgument & [];
1640
1640
  function bn254(tx: Transaction, args: []): TransactionArgument & [];
@@ -1687,10 +1687,10 @@ export declare namespace group_ops {
1687
1687
  const TYPE_QNAME = "0x2::group_ops::Element";
1688
1688
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Element<T0>>;
1689
1689
  }
1690
- interface ElementInstance extends TypedEventInstance<Element<any>> {
1690
+ type ElementInstance = TypedEventInstance<Element<any>> & {
1691
1691
  data_decoded: Element<any>;
1692
1692
  type_arguments: [string];
1693
- }
1693
+ };
1694
1694
  namespace builder {
1695
1695
  function add<T0 = any>(tx: Transaction, args: [
1696
1696
  number | TransactionArgument,
@@ -1858,10 +1858,10 @@ export declare namespace kiosk {
1858
1858
  const TYPE_QNAME = "0x2::kiosk::Item";
1859
1859
  function type(): TypeDescriptor<Item>;
1860
1860
  }
1861
- interface ItemInstance extends TypedEventInstance<Item> {
1861
+ type ItemInstance = TypedEventInstance<Item> & {
1862
1862
  data_decoded: Item;
1863
1863
  type_arguments: [];
1864
- }
1864
+ };
1865
1865
  interface ItemDelisted<T0> {
1866
1866
  kiosk: object$.ID;
1867
1867
  id: object$.ID;
@@ -1870,10 +1870,10 @@ export declare namespace kiosk {
1870
1870
  const TYPE_QNAME = "0x2::kiosk::ItemDelisted";
1871
1871
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemDelisted<T0>>;
1872
1872
  }
1873
- interface ItemDelistedInstance extends TypedEventInstance<ItemDelisted<any>> {
1873
+ type ItemDelistedInstance = TypedEventInstance<ItemDelisted<any>> & {
1874
1874
  data_decoded: ItemDelisted<any>;
1875
1875
  type_arguments: [string];
1876
- }
1876
+ };
1877
1877
  interface ItemListed<T0> {
1878
1878
  kiosk: object$.ID;
1879
1879
  id: object$.ID;
@@ -1883,10 +1883,10 @@ export declare namespace kiosk {
1883
1883
  const TYPE_QNAME = "0x2::kiosk::ItemListed";
1884
1884
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemListed<T0>>;
1885
1885
  }
1886
- interface ItemListedInstance extends TypedEventInstance<ItemListed<any>> {
1886
+ type ItemListedInstance = TypedEventInstance<ItemListed<any>> & {
1887
1887
  data_decoded: ItemListed<any>;
1888
1888
  type_arguments: [string];
1889
- }
1889
+ };
1890
1890
  interface ItemPurchased<T0> {
1891
1891
  kiosk: object$.ID;
1892
1892
  id: object$.ID;
@@ -1896,10 +1896,10 @@ export declare namespace kiosk {
1896
1896
  const TYPE_QNAME = "0x2::kiosk::ItemPurchased";
1897
1897
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemPurchased<T0>>;
1898
1898
  }
1899
- interface ItemPurchasedInstance extends TypedEventInstance<ItemPurchased<any>> {
1899
+ type ItemPurchasedInstance = TypedEventInstance<ItemPurchased<any>> & {
1900
1900
  data_decoded: ItemPurchased<any>;
1901
1901
  type_arguments: [string];
1902
- }
1902
+ };
1903
1903
  interface Kiosk {
1904
1904
  id: object$.UID;
1905
1905
  profits: balance.Balance<sui.SUI>;
@@ -1927,10 +1927,10 @@ export declare namespace kiosk {
1927
1927
  const TYPE_QNAME = "0x2::kiosk::Listing";
1928
1928
  function type(): TypeDescriptor<Listing>;
1929
1929
  }
1930
- interface ListingInstance extends TypedEventInstance<Listing> {
1930
+ type ListingInstance = TypedEventInstance<Listing> & {
1931
1931
  data_decoded: Listing;
1932
1932
  type_arguments: [];
1933
- }
1933
+ };
1934
1934
  interface Lock {
1935
1935
  id: object$.ID;
1936
1936
  }
@@ -1938,10 +1938,10 @@ export declare namespace kiosk {
1938
1938
  const TYPE_QNAME = "0x2::kiosk::Lock";
1939
1939
  function type(): TypeDescriptor<Lock>;
1940
1940
  }
1941
- interface LockInstance extends TypedEventInstance<Lock> {
1941
+ type LockInstance = TypedEventInstance<Lock> & {
1942
1942
  data_decoded: Lock;
1943
1943
  type_arguments: [];
1944
- }
1944
+ };
1945
1945
  interface PurchaseCap<T0> {
1946
1946
  id: object$.UID;
1947
1947
  kiosk_id: object$.ID;
@@ -2230,10 +2230,10 @@ export declare namespace kiosk_extension {
2230
2230
  const TYPE_QNAME = "0x2::kiosk_extension::ExtensionKey";
2231
2231
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ExtensionKey<T0>>;
2232
2232
  }
2233
- interface ExtensionKeyInstance extends TypedEventInstance<ExtensionKey<any>> {
2233
+ type ExtensionKeyInstance = TypedEventInstance<ExtensionKey<any>> & {
2234
2234
  data_decoded: ExtensionKey<any>;
2235
2235
  type_arguments: [string];
2236
- }
2236
+ };
2237
2237
  namespace builder {
2238
2238
  function add<T0 = any>(tx: Transaction, args: [
2239
2239
  T0 | TransactionArgument,
@@ -3058,10 +3058,10 @@ export declare namespace token {
3058
3058
  const TYPE_QNAME = "0x2::token::RuleKey";
3059
3059
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<RuleKey<T0>>;
3060
3060
  }
3061
- interface RuleKeyInstance extends TypedEventInstance<RuleKey<any>> {
3061
+ type RuleKeyInstance = TypedEventInstance<RuleKey<any>> & {
3062
3062
  data_decoded: RuleKey<any>;
3063
3063
  type_arguments: [string];
3064
- }
3064
+ };
3065
3065
  interface Token<T0> {
3066
3066
  id: object$.UID;
3067
3067
  balance: balance.Balance<T0>;
@@ -3095,10 +3095,10 @@ export declare namespace token {
3095
3095
  const TYPE_QNAME = "0x2::token::TokenPolicyCreated";
3096
3096
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenPolicyCreated<T0>>;
3097
3097
  }
3098
- interface TokenPolicyCreatedInstance extends TypedEventInstance<TokenPolicyCreated<any>> {
3098
+ type TokenPolicyCreatedInstance = TypedEventInstance<TokenPolicyCreated<any>> & {
3099
3099
  data_decoded: TokenPolicyCreated<any>;
3100
3100
  type_arguments: [string];
3101
- }
3101
+ };
3102
3102
  namespace builder {
3103
3103
  function action<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
3104
3104
  function addApproval<T0 = any, T1 = any>(tx: Transaction, args: [
@@ -3414,10 +3414,10 @@ export declare namespace transfer_policy {
3414
3414
  const TYPE_QNAME = "0x2::transfer_policy::RuleKey";
3415
3415
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<RuleKey<T0>>;
3416
3416
  }
3417
- interface RuleKeyInstance extends TypedEventInstance<RuleKey<any>> {
3417
+ type RuleKeyInstance = TypedEventInstance<RuleKey<any>> & {
3418
3418
  data_decoded: RuleKey<any>;
3419
3419
  type_arguments: [string];
3420
- }
3420
+ };
3421
3421
  interface TransferPolicy<T0> {
3422
3422
  id: object$.UID;
3423
3423
  balance: balance.Balance<sui.SUI>;
@@ -3442,10 +3442,10 @@ export declare namespace transfer_policy {
3442
3442
  const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCreated";
3443
3443
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicyCreated<T0>>;
3444
3444
  }
3445
- interface TransferPolicyCreatedInstance extends TypedEventInstance<TransferPolicyCreated<any>> {
3445
+ type TransferPolicyCreatedInstance = TypedEventInstance<TransferPolicyCreated<any>> & {
3446
3446
  data_decoded: TransferPolicyCreated<any>;
3447
3447
  type_arguments: [string];
3448
- }
3448
+ };
3449
3449
  interface TransferPolicyDestroyed<T0> {
3450
3450
  id: object$.ID;
3451
3451
  }
@@ -3453,10 +3453,10 @@ export declare namespace transfer_policy {
3453
3453
  const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyDestroyed";
3454
3454
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicyDestroyed<T0>>;
3455
3455
  }
3456
- interface TransferPolicyDestroyedInstance extends TypedEventInstance<TransferPolicyDestroyed<any>> {
3456
+ type TransferPolicyDestroyedInstance = TypedEventInstance<TransferPolicyDestroyed<any>> & {
3457
3457
  data_decoded: TransferPolicyDestroyed<any>;
3458
3458
  type_arguments: [string];
3459
- }
3459
+ };
3460
3460
  interface TransferRequest<T0> {
3461
3461
  item: object$.ID;
3462
3462
  paid: bigint;
@@ -3632,10 +3632,10 @@ export declare namespace url {
3632
3632
  const TYPE_QNAME = "0x2::url::Url";
3633
3633
  function type(): TypeDescriptor<Url>;
3634
3634
  }
3635
- interface UrlInstance extends TypedEventInstance<Url> {
3635
+ type UrlInstance = TypedEventInstance<Url> & {
3636
3636
  data_decoded: Url;
3637
3637
  type_arguments: [];
3638
- }
3638
+ };
3639
3639
  namespace builder {
3640
3640
  function innerUrl(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
3641
3641
  function newUnsafe(tx: Transaction, args: [_0x1.ascii.String | TransactionArgument]): TransactionArgument & [TransactionArgument];
@@ -3681,10 +3681,10 @@ export declare namespace vec_map {
3681
3681
  const TYPE_QNAME = "0x2::vec_map::Entry";
3682
3682
  function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Entry<T0, T1>>;
3683
3683
  }
3684
- interface EntryInstance extends TypedEventInstance<Entry<any, any>> {
3684
+ type EntryInstance = TypedEventInstance<Entry<any, any>> & {
3685
3685
  data_decoded: Entry<any, any>;
3686
3686
  type_arguments: [string, string];
3687
- }
3687
+ };
3688
3688
  interface VecMap<T0, T1> {
3689
3689
  contents: vec_map.Entry<T0, T1>[];
3690
3690
  }
@@ -3692,10 +3692,10 @@ export declare namespace vec_map {
3692
3692
  const TYPE_QNAME = "0x2::vec_map::VecMap";
3693
3693
  function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<VecMap<T0, T1>>;
3694
3694
  }
3695
- interface VecMapInstance extends TypedEventInstance<VecMap<any, any>> {
3695
+ type VecMapInstance = TypedEventInstance<VecMap<any, any>> & {
3696
3696
  data_decoded: VecMap<any, any>;
3697
3697
  type_arguments: [string, string];
3698
- }
3698
+ };
3699
3699
  namespace builder {
3700
3700
  function contains<T0 = any, T1 = any>(tx: Transaction, args: [
3701
3701
  string | TransactionObjectArgument | TransactionArgument,
@@ -3788,10 +3788,10 @@ export declare namespace vec_set {
3788
3788
  const TYPE_QNAME = "0x2::vec_set::VecSet";
3789
3789
  function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<VecSet<T0>>;
3790
3790
  }
3791
- interface VecSetInstance extends TypedEventInstance<VecSet<any>> {
3791
+ type VecSetInstance = TypedEventInstance<VecSet<any>> & {
3792
3792
  data_decoded: VecSet<any>;
3793
3793
  type_arguments: [string];
3794
- }
3794
+ };
3795
3795
  namespace builder {
3796
3796
  function contains<T0 = any>(tx: Transaction, args: [
3797
3797
  string | TransactionObjectArgument | TransactionArgument,