@towns-protocol/generated 0.0.267 → 0.0.277

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 (46) hide show
  1. package/config/deployments.json +1 -0
  2. package/deployments/omega/base/addresses/appRegistry.json +3 -0
  3. package/dev/abis/Channels.abi.json +13 -280
  4. package/dev/abis/Channels.abi.ts +13 -280
  5. package/dev/abis/DropFacet.abi.json +25 -0
  6. package/dev/abis/DropFacet.abi.ts +25 -0
  7. package/dev/abis/EntitlementsManager.abi.json +0 -283
  8. package/dev/abis/EntitlementsManager.abi.ts +0 -283
  9. package/dev/abis/ICreateSpace.abi.json +29 -0
  10. package/dev/abis/ICreateSpace.abi.ts +29 -0
  11. package/dev/abis/ICreateSpaceBase.abi.json +7 -0
  12. package/dev/abis/ICreateSpaceBase.abi.ts +7 -0
  13. package/dev/abis/ISwapFacet.abi.json +10 -0
  14. package/dev/abis/ISwapFacet.abi.ts +10 -0
  15. package/dev/abis/ISwapFacetBase.abi.json +5 -0
  16. package/dev/abis/ISwapFacetBase.abi.ts +5 -0
  17. package/dev/abis/ISwapRouter.abi.json +5 -0
  18. package/dev/abis/ISwapRouter.abi.ts +5 -0
  19. package/dev/abis/ISwapRouterBase.abi.json +5 -0
  20. package/dev/abis/ISwapRouterBase.abi.ts +5 -0
  21. package/dev/abis/MembershipFacet.abi.json +0 -117
  22. package/dev/abis/MembershipFacet.abi.ts +0 -117
  23. package/dev/abis/PrepayFacet.abi.json +0 -288
  24. package/dev/abis/PrepayFacet.abi.ts +0 -288
  25. package/dev/abis/Roles.abi.json +13 -280
  26. package/dev/abis/Roles.abi.ts +13 -280
  27. package/dev/typings/Channels.ts +0 -169
  28. package/dev/typings/DropFacet.ts +25 -0
  29. package/dev/typings/EntitlementsManager.ts +0 -170
  30. package/dev/typings/ICreateSpace.ts +48 -8
  31. package/dev/typings/MembershipFacet.ts +0 -65
  32. package/dev/typings/PrepayFacet.ts +0 -169
  33. package/dev/typings/Roles.ts +0 -169
  34. package/dev/typings/factories/Channels__factory.ts +14 -281
  35. package/dev/typings/factories/DropFacet__factory.ts +26 -1
  36. package/dev/typings/factories/EntitlementsManager__factory.ts +1 -284
  37. package/dev/typings/factories/ICreateSpace__factory.ts +29 -0
  38. package/dev/typings/factories/ISwapFacet__factory.ts +10 -0
  39. package/dev/typings/factories/ISwapRouter__factory.ts +5 -0
  40. package/dev/typings/factories/MembershipFacet__factory.ts +1 -118
  41. package/dev/typings/factories/MockERC721A__factory.ts +1 -1
  42. package/dev/typings/factories/PrepayFacet__factory.ts +0 -288
  43. package/dev/typings/factories/Roles__factory.ts +14 -281
  44. package/dev/typings/factories/SpaceOwner__factory.ts +1 -1
  45. package/dev/typings/factories/WalletLink__factory.ts +1 -1
  46. package/package.json +2 -2
@@ -1,4 +1,28 @@
1
1
  export default [
2
+ {
3
+ "type": "function",
4
+ "name": "createSpace",
5
+ "inputs": [
6
+ {
7
+ "name": "action",
8
+ "type": "uint8",
9
+ "internalType": "enum ICreateSpaceBase.Action"
10
+ },
11
+ {
12
+ "name": "data",
13
+ "type": "bytes",
14
+ "internalType": "bytes"
15
+ }
16
+ ],
17
+ "outputs": [
18
+ {
19
+ "name": "",
20
+ "type": "address",
21
+ "internalType": "address"
22
+ }
23
+ ],
24
+ "stateMutability": "payable"
25
+ },
2
26
  {
3
27
  "type": "function",
4
28
  "name": "createSpace",
@@ -701,5 +725,10 @@ export default [
701
725
  "type": "error",
702
726
  "name": "Architect__NotContract",
703
727
  "inputs": []
728
+ },
729
+ {
730
+ "type": "error",
731
+ "name": "CreateSpaceFacet__InvalidAction",
732
+ "inputs": []
704
733
  }
705
734
  ] as const
@@ -0,0 +1,7 @@
1
+ [
2
+ {
3
+ "type": "error",
4
+ "name": "CreateSpaceFacet__InvalidAction",
5
+ "inputs": []
6
+ }
7
+ ]
@@ -0,0 +1,7 @@
1
+ export default [
2
+ {
3
+ "type": "error",
4
+ "name": "CreateSpaceFacet__InvalidAction",
5
+ "inputs": []
6
+ }
7
+ ] as const
@@ -387,6 +387,11 @@
387
387
  ],
388
388
  "anonymous": false
389
389
  },
390
+ {
391
+ "type": "error",
392
+ "name": "SwapFacet__InvalidPosterInput",
393
+ "inputs": []
394
+ },
390
395
  {
391
396
  "type": "error",
392
397
  "name": "SwapFacet__SwapRouterNotSet",
@@ -432,6 +437,11 @@
432
437
  "name": "SwapRouter__RecipientRequired",
433
438
  "inputs": []
434
439
  },
440
+ {
441
+ "type": "error",
442
+ "name": "SwapRouter__SameToken",
443
+ "inputs": []
444
+ },
435
445
  {
436
446
  "type": "error",
437
447
  "name": "SwapRouter__UnexpectedETH",
@@ -387,6 +387,11 @@ export default [
387
387
  ],
388
388
  "anonymous": false
389
389
  },
390
+ {
391
+ "type": "error",
392
+ "name": "SwapFacet__InvalidPosterInput",
393
+ "inputs": []
394
+ },
390
395
  {
391
396
  "type": "error",
392
397
  "name": "SwapFacet__SwapRouterNotSet",
@@ -432,6 +437,11 @@ export default [
432
437
  "name": "SwapRouter__RecipientRequired",
433
438
  "inputs": []
434
439
  },
440
+ {
441
+ "type": "error",
442
+ "name": "SwapRouter__SameToken",
443
+ "inputs": []
444
+ },
435
445
  {
436
446
  "type": "error",
437
447
  "name": "SwapRouter__UnexpectedETH",
@@ -61,6 +61,11 @@
61
61
  ],
62
62
  "anonymous": false
63
63
  },
64
+ {
65
+ "type": "error",
66
+ "name": "SwapFacet__InvalidPosterInput",
67
+ "inputs": []
68
+ },
64
69
  {
65
70
  "type": "error",
66
71
  "name": "SwapFacet__SwapRouterNotSet",
@@ -61,6 +61,11 @@ export default [
61
61
  ],
62
62
  "anonymous": false
63
63
  },
64
+ {
65
+ "type": "error",
66
+ "name": "SwapFacet__InvalidPosterInput",
67
+ "inputs": []
68
+ },
64
69
  {
65
70
  "type": "error",
66
71
  "name": "SwapFacet__SwapRouterNotSet",
@@ -462,6 +462,11 @@
462
462
  "name": "SwapRouter__RecipientRequired",
463
463
  "inputs": []
464
464
  },
465
+ {
466
+ "type": "error",
467
+ "name": "SwapRouter__SameToken",
468
+ "inputs": []
469
+ },
465
470
  {
466
471
  "type": "error",
467
472
  "name": "SwapRouter__UnexpectedETH",
@@ -462,6 +462,11 @@ export default [
462
462
  "name": "SwapRouter__RecipientRequired",
463
463
  "inputs": []
464
464
  },
465
+ {
466
+ "type": "error",
467
+ "name": "SwapRouter__SameToken",
468
+ "inputs": []
469
+ },
465
470
  {
466
471
  "type": "error",
467
472
  "name": "SwapRouter__UnexpectedETH",
@@ -128,6 +128,11 @@
128
128
  "name": "SwapRouter__RecipientRequired",
129
129
  "inputs": []
130
130
  },
131
+ {
132
+ "type": "error",
133
+ "name": "SwapRouter__SameToken",
134
+ "inputs": []
135
+ },
131
136
  {
132
137
  "type": "error",
133
138
  "name": "SwapRouter__UnexpectedETH",
@@ -128,6 +128,11 @@ export default [
128
128
  "name": "SwapRouter__RecipientRequired",
129
129
  "inputs": []
130
130
  },
131
+ {
132
+ "type": "error",
133
+ "name": "SwapRouter__SameToken",
134
+ "inputs": []
135
+ },
131
136
  {
132
137
  "type": "error",
133
138
  "name": "SwapRouter__UnexpectedETH",
@@ -356,25 +356,6 @@
356
356
  ],
357
357
  "anonymous": false
358
358
  },
359
- {
360
- "type": "event",
361
- "name": "Banned",
362
- "inputs": [
363
- {
364
- "name": "moderator",
365
- "type": "address",
366
- "indexed": true,
367
- "internalType": "address"
368
- },
369
- {
370
- "name": "tokenId",
371
- "type": "uint256",
372
- "indexed": true,
373
- "internalType": "uint256"
374
- }
375
- ],
376
- "anonymous": false
377
- },
378
359
  {
379
360
  "type": "event",
380
361
  "name": "ConsecutiveTransfer",
@@ -677,19 +658,6 @@
677
658
  ],
678
659
  "anonymous": false
679
660
  },
680
- {
681
- "type": "event",
682
- "name": "Paused",
683
- "inputs": [
684
- {
685
- "name": "account",
686
- "type": "address",
687
- "indexed": false,
688
- "internalType": "address"
689
- }
690
- ],
691
- "anonymous": false
692
- },
693
661
  {
694
662
  "type": "event",
695
663
  "name": "PermissionsAddedToChannelRole",
@@ -955,38 +923,6 @@
955
923
  ],
956
924
  "anonymous": false
957
925
  },
958
- {
959
- "type": "event",
960
- "name": "Unbanned",
961
- "inputs": [
962
- {
963
- "name": "moderator",
964
- "type": "address",
965
- "indexed": true,
966
- "internalType": "address"
967
- },
968
- {
969
- "name": "tokenId",
970
- "type": "uint256",
971
- "indexed": true,
972
- "internalType": "uint256"
973
- }
974
- ],
975
- "anonymous": false
976
- },
977
- {
978
- "type": "event",
979
- "name": "Unpaused",
980
- "inputs": [
981
- {
982
- "name": "account",
983
- "type": "address",
984
- "indexed": false,
985
- "internalType": "address"
986
- }
987
- ],
988
- "anonymous": false
989
- },
990
926
  {
991
927
  "type": "error",
992
928
  "name": "ApprovalCallerNotOwnerNorApproved",
@@ -1002,49 +938,6 @@
1002
938
  "name": "BalanceQueryForZeroAddress",
1003
939
  "inputs": []
1004
940
  },
1005
- {
1006
- "type": "error",
1007
- "name": "Banning__AlreadyBanned",
1008
- "inputs": [
1009
- {
1010
- "name": "tokenId",
1011
- "type": "uint256",
1012
- "internalType": "uint256"
1013
- }
1014
- ]
1015
- },
1016
- {
1017
- "type": "error",
1018
- "name": "Banning__CannotBanOwner",
1019
- "inputs": []
1020
- },
1021
- {
1022
- "type": "error",
1023
- "name": "Banning__CannotBanSelf",
1024
- "inputs": []
1025
- },
1026
- {
1027
- "type": "error",
1028
- "name": "Banning__InvalidTokenId",
1029
- "inputs": [
1030
- {
1031
- "name": "tokenId",
1032
- "type": "uint256",
1033
- "internalType": "uint256"
1034
- }
1035
- ]
1036
- },
1037
- {
1038
- "type": "error",
1039
- "name": "Banning__NotBanned",
1040
- "inputs": [
1041
- {
1042
- "name": "tokenId",
1043
- "type": "uint256",
1044
- "internalType": "uint256"
1045
- }
1046
- ]
1047
- },
1048
941
  {
1049
942
  "type": "error",
1050
943
  "name": "Dispatcher__TransactionAlreadyExists",
@@ -1374,16 +1267,6 @@
1374
1267
  }
1375
1268
  ]
1376
1269
  },
1377
- {
1378
- "type": "error",
1379
- "name": "Pausable__NotPaused",
1380
- "inputs": []
1381
- },
1382
- {
1383
- "type": "error",
1384
- "name": "Pausable__Paused",
1385
- "inputs": []
1386
- },
1387
1270
  {
1388
1271
  "type": "error",
1389
1272
  "name": "Prepay__InvalidAddress",
@@ -356,25 +356,6 @@ export default [
356
356
  ],
357
357
  "anonymous": false
358
358
  },
359
- {
360
- "type": "event",
361
- "name": "Banned",
362
- "inputs": [
363
- {
364
- "name": "moderator",
365
- "type": "address",
366
- "indexed": true,
367
- "internalType": "address"
368
- },
369
- {
370
- "name": "tokenId",
371
- "type": "uint256",
372
- "indexed": true,
373
- "internalType": "uint256"
374
- }
375
- ],
376
- "anonymous": false
377
- },
378
359
  {
379
360
  "type": "event",
380
361
  "name": "ConsecutiveTransfer",
@@ -677,19 +658,6 @@ export default [
677
658
  ],
678
659
  "anonymous": false
679
660
  },
680
- {
681
- "type": "event",
682
- "name": "Paused",
683
- "inputs": [
684
- {
685
- "name": "account",
686
- "type": "address",
687
- "indexed": false,
688
- "internalType": "address"
689
- }
690
- ],
691
- "anonymous": false
692
- },
693
661
  {
694
662
  "type": "event",
695
663
  "name": "PermissionsAddedToChannelRole",
@@ -955,38 +923,6 @@ export default [
955
923
  ],
956
924
  "anonymous": false
957
925
  },
958
- {
959
- "type": "event",
960
- "name": "Unbanned",
961
- "inputs": [
962
- {
963
- "name": "moderator",
964
- "type": "address",
965
- "indexed": true,
966
- "internalType": "address"
967
- },
968
- {
969
- "name": "tokenId",
970
- "type": "uint256",
971
- "indexed": true,
972
- "internalType": "uint256"
973
- }
974
- ],
975
- "anonymous": false
976
- },
977
- {
978
- "type": "event",
979
- "name": "Unpaused",
980
- "inputs": [
981
- {
982
- "name": "account",
983
- "type": "address",
984
- "indexed": false,
985
- "internalType": "address"
986
- }
987
- ],
988
- "anonymous": false
989
- },
990
926
  {
991
927
  "type": "error",
992
928
  "name": "ApprovalCallerNotOwnerNorApproved",
@@ -1002,49 +938,6 @@ export default [
1002
938
  "name": "BalanceQueryForZeroAddress",
1003
939
  "inputs": []
1004
940
  },
1005
- {
1006
- "type": "error",
1007
- "name": "Banning__AlreadyBanned",
1008
- "inputs": [
1009
- {
1010
- "name": "tokenId",
1011
- "type": "uint256",
1012
- "internalType": "uint256"
1013
- }
1014
- ]
1015
- },
1016
- {
1017
- "type": "error",
1018
- "name": "Banning__CannotBanOwner",
1019
- "inputs": []
1020
- },
1021
- {
1022
- "type": "error",
1023
- "name": "Banning__CannotBanSelf",
1024
- "inputs": []
1025
- },
1026
- {
1027
- "type": "error",
1028
- "name": "Banning__InvalidTokenId",
1029
- "inputs": [
1030
- {
1031
- "name": "tokenId",
1032
- "type": "uint256",
1033
- "internalType": "uint256"
1034
- }
1035
- ]
1036
- },
1037
- {
1038
- "type": "error",
1039
- "name": "Banning__NotBanned",
1040
- "inputs": [
1041
- {
1042
- "name": "tokenId",
1043
- "type": "uint256",
1044
- "internalType": "uint256"
1045
- }
1046
- ]
1047
- },
1048
941
  {
1049
942
  "type": "error",
1050
943
  "name": "Dispatcher__TransactionAlreadyExists",
@@ -1374,16 +1267,6 @@ export default [
1374
1267
  }
1375
1268
  ]
1376
1269
  },
1377
- {
1378
- "type": "error",
1379
- "name": "Pausable__NotPaused",
1380
- "inputs": []
1381
- },
1382
- {
1383
- "type": "error",
1384
- "name": "Pausable__Paused",
1385
- "inputs": []
1386
- },
1387
1270
  {
1388
1271
  "type": "error",
1389
1272
  "name": "Prepay__InvalidAddress",