@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.d.cts CHANGED
@@ -827,6 +827,421 @@ declare const lsp23LinkedContractsFactoryAbi: readonly [{
827
827
  }];
828
828
  readonly stateMutability: "payable";
829
829
  }];
830
+ declare const lsp23LinkedContractsFactoryV2Abi: readonly [{
831
+ readonly type: "error";
832
+ readonly inputs: readonly [];
833
+ readonly name: "InvalidValueSum";
834
+ }, {
835
+ readonly type: "error";
836
+ readonly inputs: readonly [{
837
+ readonly name: "errorData";
838
+ readonly internalType: "bytes";
839
+ readonly type: "bytes";
840
+ }];
841
+ readonly name: "PrimaryContractProxyInitFailureError";
842
+ }, {
843
+ readonly type: "error";
844
+ readonly inputs: readonly [{
845
+ readonly name: "errorData";
846
+ readonly internalType: "bytes";
847
+ readonly type: "bytes";
848
+ }];
849
+ readonly name: "SecondaryContractProxyInitFailureError";
850
+ }, {
851
+ readonly type: "event";
852
+ readonly anonymous: false;
853
+ readonly inputs: readonly [{
854
+ readonly name: "primaryContract";
855
+ readonly internalType: "address";
856
+ readonly type: "address";
857
+ readonly indexed: true;
858
+ }, {
859
+ readonly name: "secondaryContract";
860
+ readonly internalType: "address";
861
+ readonly type: "address";
862
+ readonly indexed: true;
863
+ }, {
864
+ readonly name: "primaryContractDeployment";
865
+ readonly internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment";
866
+ readonly type: "tuple";
867
+ readonly components: readonly [{
868
+ readonly name: "salt";
869
+ readonly internalType: "bytes32";
870
+ readonly type: "bytes32";
871
+ }, {
872
+ readonly name: "fundingAmount";
873
+ readonly internalType: "uint256";
874
+ readonly type: "uint256";
875
+ }, {
876
+ readonly name: "creationBytecode";
877
+ readonly internalType: "bytes";
878
+ readonly type: "bytes";
879
+ }];
880
+ readonly indexed: false;
881
+ }, {
882
+ readonly name: "secondaryContractDeployment";
883
+ readonly internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment";
884
+ readonly type: "tuple";
885
+ readonly components: readonly [{
886
+ readonly name: "fundingAmount";
887
+ readonly internalType: "uint256";
888
+ readonly type: "uint256";
889
+ }, {
890
+ readonly name: "creationBytecode";
891
+ readonly internalType: "bytes";
892
+ readonly type: "bytes";
893
+ }, {
894
+ readonly name: "addPrimaryContractAddress";
895
+ readonly internalType: "bool";
896
+ readonly type: "bool";
897
+ }, {
898
+ readonly name: "extraConstructorParams";
899
+ readonly internalType: "bytes";
900
+ readonly type: "bytes";
901
+ }];
902
+ readonly indexed: false;
903
+ }, {
904
+ readonly name: "postDeploymentModule";
905
+ readonly internalType: "address";
906
+ readonly type: "address";
907
+ readonly indexed: false;
908
+ }, {
909
+ readonly name: "postDeploymentModuleCalldata";
910
+ readonly internalType: "bytes";
911
+ readonly type: "bytes";
912
+ readonly indexed: false;
913
+ }];
914
+ readonly name: "DeployedContracts";
915
+ }, {
916
+ readonly type: "event";
917
+ readonly anonymous: false;
918
+ readonly inputs: readonly [{
919
+ readonly name: "primaryContract";
920
+ readonly internalType: "address";
921
+ readonly type: "address";
922
+ readonly indexed: true;
923
+ }, {
924
+ readonly name: "secondaryContract";
925
+ readonly internalType: "address";
926
+ readonly type: "address";
927
+ readonly indexed: true;
928
+ }, {
929
+ readonly name: "primaryContractDeploymentInit";
930
+ readonly internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit";
931
+ readonly type: "tuple";
932
+ readonly components: readonly [{
933
+ readonly name: "salt";
934
+ readonly internalType: "bytes32";
935
+ readonly type: "bytes32";
936
+ }, {
937
+ readonly name: "fundingAmount";
938
+ readonly internalType: "uint256";
939
+ readonly type: "uint256";
940
+ }, {
941
+ readonly name: "implementationContract";
942
+ readonly internalType: "address";
943
+ readonly type: "address";
944
+ }, {
945
+ readonly name: "initializationCalldata";
946
+ readonly internalType: "bytes";
947
+ readonly type: "bytes";
948
+ }];
949
+ readonly indexed: false;
950
+ }, {
951
+ readonly name: "secondaryContractDeploymentInit";
952
+ readonly internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit";
953
+ readonly type: "tuple";
954
+ readonly components: readonly [{
955
+ readonly name: "fundingAmount";
956
+ readonly internalType: "uint256";
957
+ readonly type: "uint256";
958
+ }, {
959
+ readonly name: "implementationContract";
960
+ readonly internalType: "address";
961
+ readonly type: "address";
962
+ }, {
963
+ readonly name: "initializationCalldata";
964
+ readonly internalType: "bytes";
965
+ readonly type: "bytes";
966
+ }, {
967
+ readonly name: "addPrimaryContractAddress";
968
+ readonly internalType: "bool";
969
+ readonly type: "bool";
970
+ }, {
971
+ readonly name: "extraInitializationParams";
972
+ readonly internalType: "bytes";
973
+ readonly type: "bytes";
974
+ }];
975
+ readonly indexed: false;
976
+ }, {
977
+ readonly name: "postDeploymentModule";
978
+ readonly internalType: "address";
979
+ readonly type: "address";
980
+ readonly indexed: false;
981
+ }, {
982
+ readonly name: "postDeploymentModuleCalldata";
983
+ readonly internalType: "bytes";
984
+ readonly type: "bytes";
985
+ readonly indexed: false;
986
+ }];
987
+ readonly name: "DeployedERC1167Proxies";
988
+ }, {
989
+ readonly type: "function";
990
+ readonly inputs: readonly [{
991
+ readonly name: "primaryContractDeployment";
992
+ readonly internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment";
993
+ readonly type: "tuple";
994
+ readonly components: readonly [{
995
+ readonly name: "salt";
996
+ readonly internalType: "bytes32";
997
+ readonly type: "bytes32";
998
+ }, {
999
+ readonly name: "fundingAmount";
1000
+ readonly internalType: "uint256";
1001
+ readonly type: "uint256";
1002
+ }, {
1003
+ readonly name: "creationBytecode";
1004
+ readonly internalType: "bytes";
1005
+ readonly type: "bytes";
1006
+ }];
1007
+ }, {
1008
+ readonly name: "secondaryContractDeployment";
1009
+ readonly internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment";
1010
+ readonly type: "tuple";
1011
+ readonly components: readonly [{
1012
+ readonly name: "fundingAmount";
1013
+ readonly internalType: "uint256";
1014
+ readonly type: "uint256";
1015
+ }, {
1016
+ readonly name: "creationBytecode";
1017
+ readonly internalType: "bytes";
1018
+ readonly type: "bytes";
1019
+ }, {
1020
+ readonly name: "addPrimaryContractAddress";
1021
+ readonly internalType: "bool";
1022
+ readonly type: "bool";
1023
+ }, {
1024
+ readonly name: "extraConstructorParams";
1025
+ readonly internalType: "bytes";
1026
+ readonly type: "bytes";
1027
+ }];
1028
+ }, {
1029
+ readonly name: "postDeploymentModule";
1030
+ readonly internalType: "address";
1031
+ readonly type: "address";
1032
+ }, {
1033
+ readonly name: "postDeploymentModuleCalldata";
1034
+ readonly internalType: "bytes";
1035
+ readonly type: "bytes";
1036
+ }];
1037
+ readonly name: "computeAddresses";
1038
+ readonly outputs: readonly [{
1039
+ readonly name: "primaryContractAddress";
1040
+ readonly internalType: "address";
1041
+ readonly type: "address";
1042
+ }, {
1043
+ readonly name: "secondaryContractAddress";
1044
+ readonly internalType: "address";
1045
+ readonly type: "address";
1046
+ }];
1047
+ readonly stateMutability: "view";
1048
+ }, {
1049
+ readonly type: "function";
1050
+ readonly inputs: readonly [{
1051
+ readonly name: "primaryContractDeploymentInit";
1052
+ readonly internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit";
1053
+ readonly type: "tuple";
1054
+ readonly components: readonly [{
1055
+ readonly name: "salt";
1056
+ readonly internalType: "bytes32";
1057
+ readonly type: "bytes32";
1058
+ }, {
1059
+ readonly name: "fundingAmount";
1060
+ readonly internalType: "uint256";
1061
+ readonly type: "uint256";
1062
+ }, {
1063
+ readonly name: "implementationContract";
1064
+ readonly internalType: "address";
1065
+ readonly type: "address";
1066
+ }, {
1067
+ readonly name: "initializationCalldata";
1068
+ readonly internalType: "bytes";
1069
+ readonly type: "bytes";
1070
+ }];
1071
+ }, {
1072
+ readonly name: "secondaryContractDeploymentInit";
1073
+ readonly internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit";
1074
+ readonly type: "tuple";
1075
+ readonly components: readonly [{
1076
+ readonly name: "fundingAmount";
1077
+ readonly internalType: "uint256";
1078
+ readonly type: "uint256";
1079
+ }, {
1080
+ readonly name: "implementationContract";
1081
+ readonly internalType: "address";
1082
+ readonly type: "address";
1083
+ }, {
1084
+ readonly name: "initializationCalldata";
1085
+ readonly internalType: "bytes";
1086
+ readonly type: "bytes";
1087
+ }, {
1088
+ readonly name: "addPrimaryContractAddress";
1089
+ readonly internalType: "bool";
1090
+ readonly type: "bool";
1091
+ }, {
1092
+ readonly name: "extraInitializationParams";
1093
+ readonly internalType: "bytes";
1094
+ readonly type: "bytes";
1095
+ }];
1096
+ }, {
1097
+ readonly name: "postDeploymentModule";
1098
+ readonly internalType: "address";
1099
+ readonly type: "address";
1100
+ }, {
1101
+ readonly name: "postDeploymentModuleCalldata";
1102
+ readonly internalType: "bytes";
1103
+ readonly type: "bytes";
1104
+ }];
1105
+ readonly name: "computeERC1167Addresses";
1106
+ readonly outputs: readonly [{
1107
+ readonly name: "primaryContractAddress";
1108
+ readonly internalType: "address";
1109
+ readonly type: "address";
1110
+ }, {
1111
+ readonly name: "secondaryContractAddress";
1112
+ readonly internalType: "address";
1113
+ readonly type: "address";
1114
+ }];
1115
+ readonly stateMutability: "view";
1116
+ }, {
1117
+ readonly type: "function";
1118
+ readonly inputs: readonly [{
1119
+ readonly name: "primaryContractDeployment";
1120
+ readonly internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeployment";
1121
+ readonly type: "tuple";
1122
+ readonly components: readonly [{
1123
+ readonly name: "salt";
1124
+ readonly internalType: "bytes32";
1125
+ readonly type: "bytes32";
1126
+ }, {
1127
+ readonly name: "fundingAmount";
1128
+ readonly internalType: "uint256";
1129
+ readonly type: "uint256";
1130
+ }, {
1131
+ readonly name: "creationBytecode";
1132
+ readonly internalType: "bytes";
1133
+ readonly type: "bytes";
1134
+ }];
1135
+ }, {
1136
+ readonly name: "secondaryContractDeployment";
1137
+ readonly internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeployment";
1138
+ readonly type: "tuple";
1139
+ readonly components: readonly [{
1140
+ readonly name: "fundingAmount";
1141
+ readonly internalType: "uint256";
1142
+ readonly type: "uint256";
1143
+ }, {
1144
+ readonly name: "creationBytecode";
1145
+ readonly internalType: "bytes";
1146
+ readonly type: "bytes";
1147
+ }, {
1148
+ readonly name: "addPrimaryContractAddress";
1149
+ readonly internalType: "bool";
1150
+ readonly type: "bool";
1151
+ }, {
1152
+ readonly name: "extraConstructorParams";
1153
+ readonly internalType: "bytes";
1154
+ readonly type: "bytes";
1155
+ }];
1156
+ }, {
1157
+ readonly name: "postDeploymentModule";
1158
+ readonly internalType: "address";
1159
+ readonly type: "address";
1160
+ }, {
1161
+ readonly name: "postDeploymentModuleCalldata";
1162
+ readonly internalType: "bytes";
1163
+ readonly type: "bytes";
1164
+ }];
1165
+ readonly name: "deployContracts";
1166
+ readonly outputs: readonly [{
1167
+ readonly name: "primaryContractAddress";
1168
+ readonly internalType: "address";
1169
+ readonly type: "address";
1170
+ }, {
1171
+ readonly name: "secondaryContractAddress";
1172
+ readonly internalType: "address";
1173
+ readonly type: "address";
1174
+ }];
1175
+ readonly stateMutability: "payable";
1176
+ }, {
1177
+ readonly type: "function";
1178
+ readonly inputs: readonly [{
1179
+ readonly name: "primaryContractDeploymentInit";
1180
+ readonly internalType: "struct ILSP23LinkedContractsFactory.PrimaryContractDeploymentInit";
1181
+ readonly type: "tuple";
1182
+ readonly components: readonly [{
1183
+ readonly name: "salt";
1184
+ readonly internalType: "bytes32";
1185
+ readonly type: "bytes32";
1186
+ }, {
1187
+ readonly name: "fundingAmount";
1188
+ readonly internalType: "uint256";
1189
+ readonly type: "uint256";
1190
+ }, {
1191
+ readonly name: "implementationContract";
1192
+ readonly internalType: "address";
1193
+ readonly type: "address";
1194
+ }, {
1195
+ readonly name: "initializationCalldata";
1196
+ readonly internalType: "bytes";
1197
+ readonly type: "bytes";
1198
+ }];
1199
+ }, {
1200
+ readonly name: "secondaryContractDeploymentInit";
1201
+ readonly internalType: "struct ILSP23LinkedContractsFactory.SecondaryContractDeploymentInit";
1202
+ readonly type: "tuple";
1203
+ readonly components: readonly [{
1204
+ readonly name: "fundingAmount";
1205
+ readonly internalType: "uint256";
1206
+ readonly type: "uint256";
1207
+ }, {
1208
+ readonly name: "implementationContract";
1209
+ readonly internalType: "address";
1210
+ readonly type: "address";
1211
+ }, {
1212
+ readonly name: "initializationCalldata";
1213
+ readonly internalType: "bytes";
1214
+ readonly type: "bytes";
1215
+ }, {
1216
+ readonly name: "addPrimaryContractAddress";
1217
+ readonly internalType: "bool";
1218
+ readonly type: "bool";
1219
+ }, {
1220
+ readonly name: "extraInitializationParams";
1221
+ readonly internalType: "bytes";
1222
+ readonly type: "bytes";
1223
+ }];
1224
+ }, {
1225
+ readonly name: "postDeploymentModule";
1226
+ readonly internalType: "address";
1227
+ readonly type: "address";
1228
+ }, {
1229
+ readonly name: "postDeploymentModuleCalldata";
1230
+ readonly internalType: "bytes";
1231
+ readonly type: "bytes";
1232
+ }];
1233
+ readonly name: "deployERC1167Proxies";
1234
+ readonly outputs: readonly [{
1235
+ readonly name: "primaryContractAddress";
1236
+ readonly internalType: "address";
1237
+ readonly type: "address";
1238
+ }, {
1239
+ readonly name: "secondaryContractAddress";
1240
+ readonly internalType: "address";
1241
+ readonly type: "address";
1242
+ }];
1243
+ readonly stateMutability: "payable";
1244
+ }];
830
1245
  declare const universalProfileInitPostDeploymentModuleAbi: readonly [{
831
1246
  readonly type: "constructor";
832
1247
  readonly inputs: readonly [];
@@ -1940,4 +2355,4 @@ declare const universalProfilePostDeploymentModuleAbi: readonly [{
1940
2355
  readonly stateMutability: "payable";
1941
2356
  }];
1942
2357
 
1943
- export { iPostDeploymentModuleAbi, ilsp23LinkedContractsFactoryAbi, lsp23LinkedContractsFactoryAbi, universalProfileInitPostDeploymentModuleAbi, universalProfilePostDeploymentModuleAbi };
2358
+ export { iPostDeploymentModuleAbi, ilsp23LinkedContractsFactoryAbi, lsp23LinkedContractsFactoryAbi, lsp23LinkedContractsFactoryV2Abi, universalProfileInitPostDeploymentModuleAbi, universalProfilePostDeploymentModuleAbi };