@zoralabs/protocol-deployments 0.2.0-SPARKS.1 → 0.2.0-SPARKS.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/CHANGELOG.md +6 -0
- package/dist/generated/sparks.d.ts +2 -2
- package/dist/generated/wagmi.d.ts +905 -905
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +103 -103
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +100 -100
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +2 -2
- package/src/generated/wagmi.ts +114 -114
package/dist/index.js
CHANGED
|
@@ -847,6 +847,101 @@ var iUnwrapAndForwardActionABI = [
|
|
|
847
847
|
outputs: []
|
|
848
848
|
}
|
|
849
849
|
];
|
|
850
|
+
var mintsEthUnwrapperAndCallerABI = [
|
|
851
|
+
{
|
|
852
|
+
stateMutability: "nonpayable",
|
|
853
|
+
type: "constructor",
|
|
854
|
+
inputs: [
|
|
855
|
+
{
|
|
856
|
+
name: "_zoraSparks1155",
|
|
857
|
+
internalType: "contract IZoraSparks1155",
|
|
858
|
+
type: "address"
|
|
859
|
+
}
|
|
860
|
+
]
|
|
861
|
+
},
|
|
862
|
+
{ stateMutability: "payable", type: "receive" },
|
|
863
|
+
{
|
|
864
|
+
stateMutability: "nonpayable",
|
|
865
|
+
type: "function",
|
|
866
|
+
inputs: [
|
|
867
|
+
{ name: "", internalType: "address", type: "address" },
|
|
868
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
869
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
870
|
+
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
871
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
872
|
+
],
|
|
873
|
+
name: "onERC1155BatchReceived",
|
|
874
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
stateMutability: "nonpayable",
|
|
878
|
+
type: "function",
|
|
879
|
+
inputs: [
|
|
880
|
+
{ name: "", internalType: "address", type: "address" },
|
|
881
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
882
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
883
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
884
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
885
|
+
],
|
|
886
|
+
name: "onERC1155Received",
|
|
887
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
stateMutability: "payable",
|
|
891
|
+
type: "function",
|
|
892
|
+
inputs: [
|
|
893
|
+
{
|
|
894
|
+
name: "permit",
|
|
895
|
+
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
896
|
+
type: "tuple",
|
|
897
|
+
components: [
|
|
898
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
899
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
900
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
901
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
902
|
+
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
903
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
904
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
908
|
+
],
|
|
909
|
+
name: "permitWithAdditionalValue",
|
|
910
|
+
outputs: []
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
type: "error",
|
|
914
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
915
|
+
name: "AddressInsufficientBalance"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
type: "error",
|
|
919
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
920
|
+
name: "CallFailed"
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
type: "error",
|
|
924
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
925
|
+
name: "ERC20NotSupported"
|
|
926
|
+
},
|
|
927
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
928
|
+
{ type: "error", inputs: [], name: "NotExpectingReceive" },
|
|
929
|
+
{ type: "error", inputs: [], name: "NotZoraSparks1155" },
|
|
930
|
+
{
|
|
931
|
+
type: "error",
|
|
932
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
933
|
+
name: "TransferFailed"
|
|
934
|
+
},
|
|
935
|
+
{ type: "error", inputs: [], name: "UnknownUserAction" }
|
|
936
|
+
];
|
|
937
|
+
var mintsEthUnwrapperAndCallerAddress = {
|
|
938
|
+
7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
939
|
+
999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
|
|
940
|
+
};
|
|
941
|
+
var mintsEthUnwrapperAndCallerConfig = {
|
|
942
|
+
address: mintsEthUnwrapperAndCallerAddress,
|
|
943
|
+
abi: mintsEthUnwrapperAndCallerABI
|
|
944
|
+
};
|
|
850
945
|
var protocolRewardsABI = [
|
|
851
946
|
{ stateMutability: "payable", type: "constructor", inputs: [] },
|
|
852
947
|
{
|
|
@@ -1115,101 +1210,6 @@ var protocolRewardsConfig = {
|
|
|
1115
1210
|
address: protocolRewardsAddress,
|
|
1116
1211
|
abi: protocolRewardsABI
|
|
1117
1212
|
};
|
|
1118
|
-
var sparksEthUnwrapperAndCallerABI = [
|
|
1119
|
-
{
|
|
1120
|
-
stateMutability: "nonpayable",
|
|
1121
|
-
type: "constructor",
|
|
1122
|
-
inputs: [
|
|
1123
|
-
{
|
|
1124
|
-
name: "_zoraSparks1155",
|
|
1125
|
-
internalType: "contract IZoraSparks1155",
|
|
1126
|
-
type: "address"
|
|
1127
|
-
}
|
|
1128
|
-
]
|
|
1129
|
-
},
|
|
1130
|
-
{ stateMutability: "payable", type: "receive" },
|
|
1131
|
-
{
|
|
1132
|
-
stateMutability: "nonpayable",
|
|
1133
|
-
type: "function",
|
|
1134
|
-
inputs: [
|
|
1135
|
-
{ name: "", internalType: "address", type: "address" },
|
|
1136
|
-
{ name: "from", internalType: "address", type: "address" },
|
|
1137
|
-
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
1138
|
-
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
1139
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
1140
|
-
],
|
|
1141
|
-
name: "onERC1155BatchReceived",
|
|
1142
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
stateMutability: "nonpayable",
|
|
1146
|
-
type: "function",
|
|
1147
|
-
inputs: [
|
|
1148
|
-
{ name: "", internalType: "address", type: "address" },
|
|
1149
|
-
{ name: "from", internalType: "address", type: "address" },
|
|
1150
|
-
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
1151
|
-
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
1152
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
1153
|
-
],
|
|
1154
|
-
name: "onERC1155Received",
|
|
1155
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
stateMutability: "payable",
|
|
1159
|
-
type: "function",
|
|
1160
|
-
inputs: [
|
|
1161
|
-
{
|
|
1162
|
-
name: "permit",
|
|
1163
|
-
internalType: "struct IZoraSparks1155Managed.PermitBatch",
|
|
1164
|
-
type: "tuple",
|
|
1165
|
-
components: [
|
|
1166
|
-
{ name: "owner", internalType: "address", type: "address" },
|
|
1167
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
1168
|
-
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
1169
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
1170
|
-
{ name: "safeTransferData", internalType: "bytes", type: "bytes" },
|
|
1171
|
-
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
1172
|
-
{ name: "nonce", internalType: "uint256", type: "uint256" }
|
|
1173
|
-
]
|
|
1174
|
-
},
|
|
1175
|
-
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
1176
|
-
],
|
|
1177
|
-
name: "permitWithAdditionalValue",
|
|
1178
|
-
outputs: []
|
|
1179
|
-
},
|
|
1180
|
-
{
|
|
1181
|
-
type: "error",
|
|
1182
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1183
|
-
name: "AddressInsufficientBalance"
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
type: "error",
|
|
1187
|
-
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
1188
|
-
name: "CallFailed"
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
type: "error",
|
|
1192
|
-
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
1193
|
-
name: "ERC20NotSupported"
|
|
1194
|
-
},
|
|
1195
|
-
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
1196
|
-
{ type: "error", inputs: [], name: "NotExpectingReceive" },
|
|
1197
|
-
{ type: "error", inputs: [], name: "NotZoraSparks1155" },
|
|
1198
|
-
{
|
|
1199
|
-
type: "error",
|
|
1200
|
-
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
1201
|
-
name: "TransferFailed"
|
|
1202
|
-
},
|
|
1203
|
-
{ type: "error", inputs: [], name: "UnknownUserAction" }
|
|
1204
|
-
];
|
|
1205
|
-
var sparksEthUnwrapperAndCallerAddress = {
|
|
1206
|
-
7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
1207
|
-
999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
|
|
1208
|
-
};
|
|
1209
|
-
var sparksEthUnwrapperAndCallerConfig = {
|
|
1210
|
-
address: sparksEthUnwrapperAndCallerAddress,
|
|
1211
|
-
abi: sparksEthUnwrapperAndCallerABI
|
|
1212
|
-
};
|
|
1213
1213
|
var upgradeGateABI = [
|
|
1214
1214
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
1215
1215
|
{
|
|
@@ -8270,12 +8270,12 @@ var chainConfigs2 = {
|
|
|
8270
8270
|
};
|
|
8271
8271
|
var addresses2 = {
|
|
8272
8272
|
7777777: {
|
|
8273
|
-
|
|
8273
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
8274
8274
|
SPARKS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
8275
8275
|
SPARKS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
8276
8276
|
},
|
|
8277
8277
|
999999999: {
|
|
8278
|
-
|
|
8278
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
8279
8279
|
SPARKS_MANAGER_IMPL: "0xf7D8d07267E840aE466E5f2fe8b089F4DE79c7da",
|
|
8280
8280
|
SPARKS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
8281
8281
|
}
|
|
@@ -8289,6 +8289,9 @@ export {
|
|
|
8289
8289
|
erc20MinterConfig,
|
|
8290
8290
|
iPremintDefinitionsABI,
|
|
8291
8291
|
iUnwrapAndForwardActionABI,
|
|
8292
|
+
mintsEthUnwrapperAndCallerABI,
|
|
8293
|
+
mintsEthUnwrapperAndCallerAddress,
|
|
8294
|
+
mintsEthUnwrapperAndCallerConfig,
|
|
8292
8295
|
mintsSafeTransferBatchTypedDataDefinition,
|
|
8293
8296
|
mintsSafeTransferTypedDataDefinition,
|
|
8294
8297
|
premintTypedDataDefinition,
|
|
@@ -8298,9 +8301,6 @@ export {
|
|
|
8298
8301
|
protocolRewardsAddress,
|
|
8299
8302
|
protocolRewardsConfig,
|
|
8300
8303
|
sparks_exports as sparks,
|
|
8301
|
-
sparksEthUnwrapperAndCallerABI,
|
|
8302
|
-
sparksEthUnwrapperAndCallerAddress,
|
|
8303
|
-
sparksEthUnwrapperAndCallerConfig,
|
|
8304
8304
|
upgradeGateABI,
|
|
8305
8305
|
upgradeGateAddress,
|
|
8306
8306
|
upgradeGateConfig,
|