@lukso/lsp23-contracts 0.16.3 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/abi.cjs CHANGED
@@ -852,6 +852,429 @@ const lsp23LinkedContractsFactoryAbi = [
852
852
  stateMutability: "payable"
853
853
  }
854
854
  ];
855
+ const lsp23LinkedContractsFactoryV2Abi = [
856
+ { type: "error", inputs: [], name: "InvalidValueSum" },
857
+ {
858
+ type: "error",
859
+ inputs: [{ name: "errorData", internalType: "bytes", type: "bytes" }],
860
+ name: "PrimaryContractProxyInitFailureError"
861
+ },
862
+ {
863
+ type: "error",
864
+ inputs: [{ name: "errorData", internalType: "bytes", type: "bytes" }],
865
+ name: "SecondaryContractProxyInitFailureError"
866
+ },
867
+ {
868
+ type: "event",
869
+ anonymous: false,
870
+ inputs: [
871
+ {
872
+ name: "primaryContract",
873
+ internalType: "address",
874
+ type: "address",
875
+ indexed: true
876
+ },
877
+ {
878
+ name: "secondaryContract",
879
+ internalType: "address",
880
+ type: "address",
881
+ indexed: true
882
+ },
883
+ {
884
+ name: "primaryContractDeployment",
885
+ internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment",
886
+ type: "tuple",
887
+ components: [
888
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
889
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
890
+ { name: "creationBytecode", internalType: "bytes", type: "bytes" }
891
+ ],
892
+ indexed: false
893
+ },
894
+ {
895
+ name: "secondaryContractDeployment",
896
+ internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment",
897
+ type: "tuple",
898
+ components: [
899
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
900
+ { name: "creationBytecode", internalType: "bytes", type: "bytes" },
901
+ {
902
+ name: "addPrimaryContractAddress",
903
+ internalType: "bool",
904
+ type: "bool"
905
+ },
906
+ {
907
+ name: "extraConstructorParams",
908
+ internalType: "bytes",
909
+ type: "bytes"
910
+ }
911
+ ],
912
+ indexed: false
913
+ },
914
+ {
915
+ name: "postDeploymentModule",
916
+ internalType: "address",
917
+ type: "address",
918
+ indexed: false
919
+ },
920
+ {
921
+ name: "postDeploymentModuleCalldata",
922
+ internalType: "bytes",
923
+ type: "bytes",
924
+ indexed: false
925
+ }
926
+ ],
927
+ name: "DeployedContracts"
928
+ },
929
+ {
930
+ type: "event",
931
+ anonymous: false,
932
+ inputs: [
933
+ {
934
+ name: "primaryContract",
935
+ internalType: "address",
936
+ type: "address",
937
+ indexed: true
938
+ },
939
+ {
940
+ name: "secondaryContract",
941
+ internalType: "address",
942
+ type: "address",
943
+ indexed: true
944
+ },
945
+ {
946
+ name: "primaryContractDeploymentInit",
947
+ internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit",
948
+ type: "tuple",
949
+ components: [
950
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
951
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
952
+ {
953
+ name: "implementationContract",
954
+ internalType: "address",
955
+ type: "address"
956
+ },
957
+ {
958
+ name: "initializationCalldata",
959
+ internalType: "bytes",
960
+ type: "bytes"
961
+ }
962
+ ],
963
+ indexed: false
964
+ },
965
+ {
966
+ name: "secondaryContractDeploymentInit",
967
+ internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit",
968
+ type: "tuple",
969
+ components: [
970
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
971
+ {
972
+ name: "implementationContract",
973
+ internalType: "address",
974
+ type: "address"
975
+ },
976
+ {
977
+ name: "initializationCalldata",
978
+ internalType: "bytes",
979
+ type: "bytes"
980
+ },
981
+ {
982
+ name: "addPrimaryContractAddress",
983
+ internalType: "bool",
984
+ type: "bool"
985
+ },
986
+ {
987
+ name: "extraInitializationParams",
988
+ internalType: "bytes",
989
+ type: "bytes"
990
+ }
991
+ ],
992
+ indexed: false
993
+ },
994
+ {
995
+ name: "postDeploymentModule",
996
+ internalType: "address",
997
+ type: "address",
998
+ indexed: false
999
+ },
1000
+ {
1001
+ name: "postDeploymentModuleCalldata",
1002
+ internalType: "bytes",
1003
+ type: "bytes",
1004
+ indexed: false
1005
+ }
1006
+ ],
1007
+ name: "DeployedERC1167Proxies"
1008
+ },
1009
+ {
1010
+ type: "function",
1011
+ inputs: [
1012
+ {
1013
+ name: "primaryContractDeployment",
1014
+ internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment",
1015
+ type: "tuple",
1016
+ components: [
1017
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
1018
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
1019
+ { name: "creationBytecode", internalType: "bytes", type: "bytes" }
1020
+ ]
1021
+ },
1022
+ {
1023
+ name: "secondaryContractDeployment",
1024
+ internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment",
1025
+ type: "tuple",
1026
+ components: [
1027
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
1028
+ { name: "creationBytecode", internalType: "bytes", type: "bytes" },
1029
+ {
1030
+ name: "addPrimaryContractAddress",
1031
+ internalType: "bool",
1032
+ type: "bool"
1033
+ },
1034
+ {
1035
+ name: "extraConstructorParams",
1036
+ internalType: "bytes",
1037
+ type: "bytes"
1038
+ }
1039
+ ]
1040
+ },
1041
+ {
1042
+ name: "postDeploymentModule",
1043
+ internalType: "address",
1044
+ type: "address"
1045
+ },
1046
+ {
1047
+ name: "postDeploymentModuleCalldata",
1048
+ internalType: "bytes",
1049
+ type: "bytes"
1050
+ }
1051
+ ],
1052
+ name: "computeAddresses",
1053
+ outputs: [
1054
+ {
1055
+ name: "primaryContractAddress",
1056
+ internalType: "address",
1057
+ type: "address"
1058
+ },
1059
+ {
1060
+ name: "secondaryContractAddress",
1061
+ internalType: "address",
1062
+ type: "address"
1063
+ }
1064
+ ],
1065
+ stateMutability: "view"
1066
+ },
1067
+ {
1068
+ type: "function",
1069
+ inputs: [
1070
+ {
1071
+ name: "primaryContractDeploymentInit",
1072
+ internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit",
1073
+ type: "tuple",
1074
+ components: [
1075
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
1076
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
1077
+ {
1078
+ name: "implementationContract",
1079
+ internalType: "address",
1080
+ type: "address"
1081
+ },
1082
+ {
1083
+ name: "initializationCalldata",
1084
+ internalType: "bytes",
1085
+ type: "bytes"
1086
+ }
1087
+ ]
1088
+ },
1089
+ {
1090
+ name: "secondaryContractDeploymentInit",
1091
+ internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit",
1092
+ type: "tuple",
1093
+ components: [
1094
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
1095
+ {
1096
+ name: "implementationContract",
1097
+ internalType: "address",
1098
+ type: "address"
1099
+ },
1100
+ {
1101
+ name: "initializationCalldata",
1102
+ internalType: "bytes",
1103
+ type: "bytes"
1104
+ },
1105
+ {
1106
+ name: "addPrimaryContractAddress",
1107
+ internalType: "bool",
1108
+ type: "bool"
1109
+ },
1110
+ {
1111
+ name: "extraInitializationParams",
1112
+ internalType: "bytes",
1113
+ type: "bytes"
1114
+ }
1115
+ ]
1116
+ },
1117
+ {
1118
+ name: "postDeploymentModule",
1119
+ internalType: "address",
1120
+ type: "address"
1121
+ },
1122
+ {
1123
+ name: "postDeploymentModuleCalldata",
1124
+ internalType: "bytes",
1125
+ type: "bytes"
1126
+ }
1127
+ ],
1128
+ name: "computeERC1167Addresses",
1129
+ outputs: [
1130
+ {
1131
+ name: "primaryContractAddress",
1132
+ internalType: "address",
1133
+ type: "address"
1134
+ },
1135
+ {
1136
+ name: "secondaryContractAddress",
1137
+ internalType: "address",
1138
+ type: "address"
1139
+ }
1140
+ ],
1141
+ stateMutability: "view"
1142
+ },
1143
+ {
1144
+ type: "function",
1145
+ inputs: [
1146
+ {
1147
+ name: "primaryContractDeployment",
1148
+ internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment",
1149
+ type: "tuple",
1150
+ components: [
1151
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
1152
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
1153
+ { name: "creationBytecode", internalType: "bytes", type: "bytes" }
1154
+ ]
1155
+ },
1156
+ {
1157
+ name: "secondaryContractDeployment",
1158
+ internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment",
1159
+ type: "tuple",
1160
+ components: [
1161
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
1162
+ { name: "creationBytecode", internalType: "bytes", type: "bytes" },
1163
+ {
1164
+ name: "addPrimaryContractAddress",
1165
+ internalType: "bool",
1166
+ type: "bool"
1167
+ },
1168
+ {
1169
+ name: "extraConstructorParams",
1170
+ internalType: "bytes",
1171
+ type: "bytes"
1172
+ }
1173
+ ]
1174
+ },
1175
+ {
1176
+ name: "postDeploymentModule",
1177
+ internalType: "address",
1178
+ type: "address"
1179
+ },
1180
+ {
1181
+ name: "postDeploymentModuleCalldata",
1182
+ internalType: "bytes",
1183
+ type: "bytes"
1184
+ }
1185
+ ],
1186
+ name: "deployContracts",
1187
+ outputs: [
1188
+ {
1189
+ name: "primaryContractAddress",
1190
+ internalType: "address",
1191
+ type: "address"
1192
+ },
1193
+ {
1194
+ name: "secondaryContractAddress",
1195
+ internalType: "address",
1196
+ type: "address"
1197
+ }
1198
+ ],
1199
+ stateMutability: "payable"
1200
+ },
1201
+ {
1202
+ type: "function",
1203
+ inputs: [
1204
+ {
1205
+ name: "primaryContractDeploymentInit",
1206
+ internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit",
1207
+ type: "tuple",
1208
+ components: [
1209
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
1210
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
1211
+ {
1212
+ name: "implementationContract",
1213
+ internalType: "address",
1214
+ type: "address"
1215
+ },
1216
+ {
1217
+ name: "initializationCalldata",
1218
+ internalType: "bytes",
1219
+ type: "bytes"
1220
+ }
1221
+ ]
1222
+ },
1223
+ {
1224
+ name: "secondaryContractDeploymentInit",
1225
+ internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit",
1226
+ type: "tuple",
1227
+ components: [
1228
+ { name: "fundingAmount", internalType: "uint256", type: "uint256" },
1229
+ {
1230
+ name: "implementationContract",
1231
+ internalType: "address",
1232
+ type: "address"
1233
+ },
1234
+ {
1235
+ name: "initializationCalldata",
1236
+ internalType: "bytes",
1237
+ type: "bytes"
1238
+ },
1239
+ {
1240
+ name: "addPrimaryContractAddress",
1241
+ internalType: "bool",
1242
+ type: "bool"
1243
+ },
1244
+ {
1245
+ name: "extraInitializationParams",
1246
+ internalType: "bytes",
1247
+ type: "bytes"
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ name: "postDeploymentModule",
1253
+ internalType: "address",
1254
+ type: "address"
1255
+ },
1256
+ {
1257
+ name: "postDeploymentModuleCalldata",
1258
+ internalType: "bytes",
1259
+ type: "bytes"
1260
+ }
1261
+ ],
1262
+ name: "deployERC1167Proxies",
1263
+ outputs: [
1264
+ {
1265
+ name: "primaryContractAddress",
1266
+ internalType: "address",
1267
+ type: "address"
1268
+ },
1269
+ {
1270
+ name: "secondaryContractAddress",
1271
+ internalType: "address",
1272
+ type: "address"
1273
+ }
1274
+ ],
1275
+ stateMutability: "payable"
1276
+ }
1277
+ ];
855
1278
  const universalProfileInitPostDeploymentModuleAbi = [
856
1279
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
857
1280
  { type: "error", inputs: [], name: "ERC725X_ContractDeploymentFailed" },
@@ -1729,5 +2152,6 @@ const universalProfilePostDeploymentModuleAbi = [
1729
2152
  exports.iPostDeploymentModuleAbi = iPostDeploymentModuleAbi;
1730
2153
  exports.ilsp23LinkedContractsFactoryAbi = ilsp23LinkedContractsFactoryAbi;
1731
2154
  exports.lsp23LinkedContractsFactoryAbi = lsp23LinkedContractsFactoryAbi;
2155
+ exports.lsp23LinkedContractsFactoryV2Abi = lsp23LinkedContractsFactoryV2Abi;
1732
2156
  exports.universalProfileInitPostDeploymentModuleAbi = universalProfileInitPostDeploymentModuleAbi;
1733
2157
  exports.universalProfilePostDeploymentModuleAbi = universalProfilePostDeploymentModuleAbi;