@zoralabs/protocol-deployments 0.2.0-SPARKS.0 → 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 +12 -0
- package/dist/generated/sparks.d.ts +2 -2
- package/dist/generated/wagmi.d.ts +901 -801
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +161 -114
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +158 -111
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +2 -2
- package/src/generated/wagmi.ts +184 -137
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
|
{
|
|
@@ -6687,13 +6687,6 @@ var zoraSparks1155ABI = [
|
|
|
6687
6687
|
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
6688
6688
|
]
|
|
6689
6689
|
},
|
|
6690
|
-
{
|
|
6691
|
-
stateMutability: "view",
|
|
6692
|
-
type: "function",
|
|
6693
|
-
inputs: [],
|
|
6694
|
-
name: "getManager",
|
|
6695
|
-
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
6696
|
-
},
|
|
6697
6690
|
{
|
|
6698
6691
|
stateMutability: "view",
|
|
6699
6692
|
type: "function",
|
|
@@ -7136,6 +7129,33 @@ var zoraSparks1155ABI = [
|
|
|
7136
7129
|
],
|
|
7137
7130
|
name: "TransferBatch"
|
|
7138
7131
|
},
|
|
7132
|
+
{
|
|
7133
|
+
type: "event",
|
|
7134
|
+
anonymous: false,
|
|
7135
|
+
inputs: [
|
|
7136
|
+
{
|
|
7137
|
+
name: "from",
|
|
7138
|
+
internalType: "address",
|
|
7139
|
+
type: "address",
|
|
7140
|
+
indexed: false
|
|
7141
|
+
},
|
|
7142
|
+
{ name: "to", internalType: "address", type: "address", indexed: false },
|
|
7143
|
+
{
|
|
7144
|
+
name: "tokenIds",
|
|
7145
|
+
internalType: "uint256[]",
|
|
7146
|
+
type: "uint256[]",
|
|
7147
|
+
indexed: false
|
|
7148
|
+
},
|
|
7149
|
+
{
|
|
7150
|
+
name: "quantities",
|
|
7151
|
+
internalType: "uint256[]",
|
|
7152
|
+
type: "uint256[]",
|
|
7153
|
+
indexed: false
|
|
7154
|
+
},
|
|
7155
|
+
{ name: "data", internalType: "bytes", type: "bytes", indexed: false }
|
|
7156
|
+
],
|
|
7157
|
+
name: "TransferBatchWithData"
|
|
7158
|
+
},
|
|
7139
7159
|
{
|
|
7140
7160
|
type: "event",
|
|
7141
7161
|
anonymous: false,
|
|
@@ -7158,6 +7178,33 @@ var zoraSparks1155ABI = [
|
|
|
7158
7178
|
],
|
|
7159
7179
|
name: "TransferSingle"
|
|
7160
7180
|
},
|
|
7181
|
+
{
|
|
7182
|
+
type: "event",
|
|
7183
|
+
anonymous: false,
|
|
7184
|
+
inputs: [
|
|
7185
|
+
{
|
|
7186
|
+
name: "from",
|
|
7187
|
+
internalType: "address",
|
|
7188
|
+
type: "address",
|
|
7189
|
+
indexed: false
|
|
7190
|
+
},
|
|
7191
|
+
{ name: "to", internalType: "address", type: "address", indexed: false },
|
|
7192
|
+
{
|
|
7193
|
+
name: "tokenId",
|
|
7194
|
+
internalType: "uint256",
|
|
7195
|
+
type: "uint256",
|
|
7196
|
+
indexed: false
|
|
7197
|
+
},
|
|
7198
|
+
{
|
|
7199
|
+
name: "quantity",
|
|
7200
|
+
internalType: "uint256",
|
|
7201
|
+
type: "uint256",
|
|
7202
|
+
indexed: false
|
|
7203
|
+
},
|
|
7204
|
+
{ name: "data", internalType: "bytes", type: "bytes", indexed: false }
|
|
7205
|
+
],
|
|
7206
|
+
name: "TransferSingleWithData"
|
|
7207
|
+
},
|
|
7161
7208
|
{
|
|
7162
7209
|
type: "event",
|
|
7163
7210
|
anonymous: false,
|
|
@@ -7327,8 +7374,8 @@ var zoraSparks1155ABI = [
|
|
|
7327
7374
|
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
7328
7375
|
];
|
|
7329
7376
|
var zoraSparks1155Address = {
|
|
7330
|
-
7777777: "
|
|
7331
|
-
999999999: "
|
|
7377
|
+
7777777: "0x777777771fEcDcC3FDEe9022e0ee60770dC06088",
|
|
7378
|
+
999999999: "0x777777771fEcDcC3FDEe9022e0ee60770dC06088"
|
|
7332
7379
|
};
|
|
7333
7380
|
var zoraSparks1155Config = {
|
|
7334
7381
|
address: zoraSparks1155Address,
|
|
@@ -7716,8 +7763,8 @@ var zoraSparksManagerImplABI = [
|
|
|
7716
7763
|
}
|
|
7717
7764
|
];
|
|
7718
7765
|
var zoraSparksManagerImplAddress = {
|
|
7719
|
-
7777777: "
|
|
7720
|
-
999999999: "
|
|
7766
|
+
7777777: "0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788",
|
|
7767
|
+
999999999: "0x7777777F57d8a26e94D1Fb7629c6FE6cb92Cd788"
|
|
7721
7768
|
};
|
|
7722
7769
|
var zoraSparksManagerImplConfig = {
|
|
7723
7770
|
address: zoraSparksManagerImplAddress,
|
|
@@ -8223,12 +8270,12 @@ var chainConfigs2 = {
|
|
|
8223
8270
|
};
|
|
8224
8271
|
var addresses2 = {
|
|
8225
8272
|
7777777: {
|
|
8226
|
-
|
|
8273
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
8227
8274
|
SPARKS_MANAGER_IMPL: "0x66a48d99A349e228618BB68f41496923958D5543",
|
|
8228
8275
|
SPARKS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
8229
8276
|
},
|
|
8230
8277
|
999999999: {
|
|
8231
|
-
|
|
8278
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
8232
8279
|
SPARKS_MANAGER_IMPL: "0xf7D8d07267E840aE466E5f2fe8b089F4DE79c7da",
|
|
8233
8280
|
SPARKS_MANAGER_IMPL_VERSION: "0.1.4"
|
|
8234
8281
|
}
|
|
@@ -8242,6 +8289,9 @@ export {
|
|
|
8242
8289
|
erc20MinterConfig,
|
|
8243
8290
|
iPremintDefinitionsABI,
|
|
8244
8291
|
iUnwrapAndForwardActionABI,
|
|
8292
|
+
mintsEthUnwrapperAndCallerABI,
|
|
8293
|
+
mintsEthUnwrapperAndCallerAddress,
|
|
8294
|
+
mintsEthUnwrapperAndCallerConfig,
|
|
8245
8295
|
mintsSafeTransferBatchTypedDataDefinition,
|
|
8246
8296
|
mintsSafeTransferTypedDataDefinition,
|
|
8247
8297
|
premintTypedDataDefinition,
|
|
@@ -8251,9 +8301,6 @@ export {
|
|
|
8251
8301
|
protocolRewardsAddress,
|
|
8252
8302
|
protocolRewardsConfig,
|
|
8253
8303
|
sparks_exports as sparks,
|
|
8254
|
-
sparksEthUnwrapperAndCallerABI,
|
|
8255
|
-
sparksEthUnwrapperAndCallerAddress,
|
|
8256
|
-
sparksEthUnwrapperAndCallerConfig,
|
|
8257
8304
|
upgradeGateABI,
|
|
8258
8305
|
upgradeGateAddress,
|
|
8259
8306
|
upgradeGateConfig,
|