@zoralabs/protocol-deployments 0.1.10 → 0.1.11
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/.turbo/turbo-build.log +24 -11
- package/CHANGELOG.md +6 -0
- package/dist/_esm-UK4OVIHX.js +3537 -0
- package/dist/_esm-UK4OVIHX.js.map +1 -0
- package/dist/ccip-XSYMJLYD.js +15 -0
- package/dist/ccip-XSYMJLYD.js.map +1 -0
- package/dist/chunk-2FDPSBOH.js +118 -0
- package/dist/chunk-2FDPSBOH.js.map +1 -0
- package/dist/chunk-3EJPJMEH.js +44 -0
- package/dist/chunk-3EJPJMEH.js.map +1 -0
- package/dist/chunk-ANM5XPUU.js +3209 -0
- package/dist/chunk-ANM5XPUU.js.map +1 -0
- package/dist/generated/1155.d.ts +1 -1
- package/dist/generated/mints.d.ts +8 -0
- package/dist/generated/mints.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +893 -501
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +2021 -158
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +442 -161
- package/dist/index.js.map +1 -1
- package/dist/secp256k1-R7PEGLZR.js +2222 -0
- package/dist/secp256k1-R7PEGLZR.js.map +1 -0
- package/dist/typedData.d.ts +18 -2
- package/dist/typedData.d.ts.map +1 -1
- package/dist/types.d.ts +39 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/generated/1155.ts +14 -14
- package/src/generated/mints.ts +9 -2
- package/src/generated/wagmi.ts +344 -142
- package/src/index.ts +1 -0
- package/src/typedData.ts +127 -11
- package/src/types.ts +107 -0
package/dist/index.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import {
|
|
2
|
+
encodeAbiParameters,
|
|
3
|
+
getAbiItem,
|
|
4
|
+
keccak256,
|
|
5
|
+
toHex
|
|
6
|
+
} from "./chunk-ANM5XPUU.js";
|
|
7
|
+
import "./chunk-2FDPSBOH.js";
|
|
8
|
+
import {
|
|
9
|
+
__export
|
|
10
|
+
} from "./chunk-3EJPJMEH.js";
|
|
6
11
|
|
|
7
12
|
// src/generated/wagmi.ts
|
|
8
13
|
var erc20MinterABI = [
|
|
@@ -13,6 +18,48 @@ var erc20MinterABI = [
|
|
|
13
18
|
name: "acceptOwnership",
|
|
14
19
|
outputs: []
|
|
15
20
|
},
|
|
21
|
+
{
|
|
22
|
+
stateMutability: "view",
|
|
23
|
+
type: "function",
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
name: "config",
|
|
27
|
+
internalType: "struct IERC20Minter.PremintSalesConfig",
|
|
28
|
+
type: "tuple",
|
|
29
|
+
components: [
|
|
30
|
+
{ name: "duration", internalType: "uint64", type: "uint64" },
|
|
31
|
+
{
|
|
32
|
+
name: "maxTokensPerAddress",
|
|
33
|
+
internalType: "uint64",
|
|
34
|
+
type: "uint64"
|
|
35
|
+
},
|
|
36
|
+
{ name: "pricePerToken", internalType: "uint256", type: "uint256" },
|
|
37
|
+
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
38
|
+
{ name: "currency", internalType: "address", type: "address" }
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
name: "buildSalesConfigForPremint",
|
|
43
|
+
outputs: [
|
|
44
|
+
{
|
|
45
|
+
name: "",
|
|
46
|
+
internalType: "struct IERC20Minter.SalesConfig",
|
|
47
|
+
type: "tuple",
|
|
48
|
+
components: [
|
|
49
|
+
{ name: "saleStart", internalType: "uint64", type: "uint64" },
|
|
50
|
+
{ name: "saleEnd", internalType: "uint64", type: "uint64" },
|
|
51
|
+
{
|
|
52
|
+
name: "maxTokensPerAddress",
|
|
53
|
+
internalType: "uint64",
|
|
54
|
+
type: "uint64"
|
|
55
|
+
},
|
|
56
|
+
{ name: "pricePerToken", internalType: "uint256", type: "uint256" },
|
|
57
|
+
{ name: "fundsRecipient", internalType: "address", type: "address" },
|
|
58
|
+
{ name: "currency", internalType: "address", type: "address" }
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
16
63
|
{
|
|
17
64
|
stateMutability: "nonpayable",
|
|
18
65
|
type: "function",
|
|
@@ -166,7 +213,7 @@ var erc20MinterABI = [
|
|
|
166
213
|
internalType: "address",
|
|
167
214
|
type: "address"
|
|
168
215
|
},
|
|
169
|
-
{ name: "
|
|
216
|
+
{ name: "_owner", internalType: "address", type: "address" },
|
|
170
217
|
{ name: "_rewardPct", internalType: "uint256", type: "uint256" },
|
|
171
218
|
{ name: "_ethReward", internalType: "uint256", type: "uint256" }
|
|
172
219
|
],
|
|
@@ -332,6 +379,20 @@ var erc20MinterABI = [
|
|
|
332
379
|
name: "setERC20MinterConfig",
|
|
333
380
|
outputs: []
|
|
334
381
|
},
|
|
382
|
+
{
|
|
383
|
+
stateMutability: "nonpayable",
|
|
384
|
+
type: "function",
|
|
385
|
+
inputs: [
|
|
386
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
387
|
+
{
|
|
388
|
+
name: "encodedPremintSalesConfig",
|
|
389
|
+
internalType: "bytes",
|
|
390
|
+
type: "bytes"
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
name: "setPremintSale",
|
|
394
|
+
outputs: []
|
|
395
|
+
},
|
|
335
396
|
{
|
|
336
397
|
stateMutability: "nonpayable",
|
|
337
398
|
type: "function",
|
|
@@ -631,6 +692,14 @@ var erc20MinterABI = [
|
|
|
631
692
|
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
|
|
632
693
|
},
|
|
633
694
|
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
695
|
+
{
|
|
696
|
+
type: "error",
|
|
697
|
+
inputs: [
|
|
698
|
+
{ name: "expectedValue", internalType: "uint256", type: "uint256" },
|
|
699
|
+
{ name: "actualValue", internalType: "uint256", type: "uint256" }
|
|
700
|
+
],
|
|
701
|
+
name: "InvalidETHValue"
|
|
702
|
+
},
|
|
634
703
|
{ type: "error", inputs: [], name: "InvalidValue" },
|
|
635
704
|
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
636
705
|
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
@@ -660,12 +729,111 @@ var erc20MinterAddress = {
|
|
|
660
729
|
421614: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
661
730
|
7777777: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
662
731
|
11155111: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
663
|
-
999999999: "
|
|
732
|
+
999999999: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2"
|
|
664
733
|
};
|
|
665
734
|
var erc20MinterConfig = {
|
|
666
735
|
address: erc20MinterAddress,
|
|
667
736
|
abi: erc20MinterABI
|
|
668
737
|
};
|
|
738
|
+
var iPremintDefinitionsABI = [
|
|
739
|
+
{
|
|
740
|
+
stateMutability: "nonpayable",
|
|
741
|
+
type: "function",
|
|
742
|
+
inputs: [
|
|
743
|
+
{
|
|
744
|
+
name: "",
|
|
745
|
+
internalType: "struct TokenCreationConfig",
|
|
746
|
+
type: "tuple",
|
|
747
|
+
components: [
|
|
748
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
749
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
750
|
+
{
|
|
751
|
+
name: "maxTokensPerAddress",
|
|
752
|
+
internalType: "uint64",
|
|
753
|
+
type: "uint64"
|
|
754
|
+
},
|
|
755
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
756
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
757
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
758
|
+
{
|
|
759
|
+
name: "royaltyMintSchedule",
|
|
760
|
+
internalType: "uint32",
|
|
761
|
+
type: "uint32"
|
|
762
|
+
},
|
|
763
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
764
|
+
{
|
|
765
|
+
name: "royaltyRecipient",
|
|
766
|
+
internalType: "address",
|
|
767
|
+
type: "address"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
name: "fixedPriceMinter",
|
|
771
|
+
internalType: "address",
|
|
772
|
+
type: "address"
|
|
773
|
+
}
|
|
774
|
+
]
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
name: "tokenConfigV1Definition",
|
|
778
|
+
outputs: []
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
stateMutability: "nonpayable",
|
|
782
|
+
type: "function",
|
|
783
|
+
inputs: [
|
|
784
|
+
{
|
|
785
|
+
name: "",
|
|
786
|
+
internalType: "struct TokenCreationConfigV2",
|
|
787
|
+
type: "tuple",
|
|
788
|
+
components: [
|
|
789
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
790
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
791
|
+
{
|
|
792
|
+
name: "maxTokensPerAddress",
|
|
793
|
+
internalType: "uint64",
|
|
794
|
+
type: "uint64"
|
|
795
|
+
},
|
|
796
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
797
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
798
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
799
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
800
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
801
|
+
{
|
|
802
|
+
name: "fixedPriceMinter",
|
|
803
|
+
internalType: "address",
|
|
804
|
+
type: "address"
|
|
805
|
+
},
|
|
806
|
+
{ name: "createReferral", internalType: "address", type: "address" }
|
|
807
|
+
]
|
|
808
|
+
}
|
|
809
|
+
],
|
|
810
|
+
name: "tokenConfigV2Definition",
|
|
811
|
+
outputs: []
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
stateMutability: "nonpayable",
|
|
815
|
+
type: "function",
|
|
816
|
+
inputs: [
|
|
817
|
+
{
|
|
818
|
+
name: "",
|
|
819
|
+
internalType: "struct TokenCreationConfigV3",
|
|
820
|
+
type: "tuple",
|
|
821
|
+
components: [
|
|
822
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
823
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
824
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
825
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
826
|
+
{ name: "createReferral", internalType: "address", type: "address" },
|
|
827
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
828
|
+
{ name: "minter", internalType: "address", type: "address" },
|
|
829
|
+
{ name: "premintSalesConfig", internalType: "bytes", type: "bytes" }
|
|
830
|
+
]
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
name: "tokenConfigV3Definition",
|
|
834
|
+
outputs: []
|
|
835
|
+
}
|
|
836
|
+
];
|
|
669
837
|
var iUnwrapAndForwardActionABI = [
|
|
670
838
|
{
|
|
671
839
|
stateMutability: "payable",
|
|
@@ -767,6 +935,7 @@ var mintsEthUnwrapperAndCallerABI = [
|
|
|
767
935
|
{ type: "error", inputs: [], name: "UnknownUserAction" }
|
|
768
936
|
];
|
|
769
937
|
var mintsEthUnwrapperAndCallerAddress = {
|
|
938
|
+
84532: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
770
939
|
7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
771
940
|
999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
|
|
772
941
|
};
|
|
@@ -1197,6 +1366,19 @@ var zoraCreator1155FactoryImplABI = [
|
|
|
1197
1366
|
name: "deterministicContractAddress",
|
|
1198
1367
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1199
1368
|
},
|
|
1369
|
+
{
|
|
1370
|
+
stateMutability: "view",
|
|
1371
|
+
type: "function",
|
|
1372
|
+
inputs: [
|
|
1373
|
+
{ name: "msgSender", internalType: "address", type: "address" },
|
|
1374
|
+
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
1375
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
1376
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
1377
|
+
{ name: "setupActions", internalType: "bytes[]", type: "bytes[]" }
|
|
1378
|
+
],
|
|
1379
|
+
name: "deterministicContractAddressWithSetupActions",
|
|
1380
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1381
|
+
},
|
|
1200
1382
|
{
|
|
1201
1383
|
stateMutability: "view",
|
|
1202
1384
|
type: "function",
|
|
@@ -1522,7 +1704,7 @@ var zoraCreator1155FactoryImplAddress = {
|
|
|
1522
1704
|
8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
1523
1705
|
42161: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
1524
1706
|
81457: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
1525
|
-
84532: "
|
|
1707
|
+
84532: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
1526
1708
|
421614: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
1527
1709
|
7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
1528
1710
|
11155111: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
@@ -2953,6 +3135,13 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2953
3135
|
name: "contractName",
|
|
2954
3136
|
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
2955
3137
|
},
|
|
3138
|
+
{
|
|
3139
|
+
stateMutability: "pure",
|
|
3140
|
+
type: "function",
|
|
3141
|
+
inputs: [],
|
|
3142
|
+
name: "contractVersion",
|
|
3143
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3144
|
+
},
|
|
2956
3145
|
{
|
|
2957
3146
|
stateMutability: "view",
|
|
2958
3147
|
type: "function",
|
|
@@ -2971,6 +3160,29 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2971
3160
|
name: "getContractAddress",
|
|
2972
3161
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2973
3162
|
},
|
|
3163
|
+
{
|
|
3164
|
+
stateMutability: "view",
|
|
3165
|
+
type: "function",
|
|
3166
|
+
inputs: [
|
|
3167
|
+
{
|
|
3168
|
+
name: "contractConfig",
|
|
3169
|
+
internalType: "struct ContractWithAdditionalAdminsCreationConfig",
|
|
3170
|
+
type: "tuple",
|
|
3171
|
+
components: [
|
|
3172
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
3173
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
3174
|
+
{ name: "contractName", internalType: "string", type: "string" },
|
|
3175
|
+
{
|
|
3176
|
+
name: "additionalAdmins",
|
|
3177
|
+
internalType: "address[]",
|
|
3178
|
+
type: "address[]"
|
|
3179
|
+
}
|
|
3180
|
+
]
|
|
3181
|
+
}
|
|
3182
|
+
],
|
|
3183
|
+
name: "getContractWithAdditionalAdminsAddress",
|
|
3184
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3185
|
+
},
|
|
2974
3186
|
{
|
|
2975
3187
|
stateMutability: "view",
|
|
2976
3188
|
type: "function",
|
|
@@ -3002,6 +3214,26 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
3002
3214
|
name: "isAuthorizedToCreatePremint",
|
|
3003
3215
|
outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }]
|
|
3004
3216
|
},
|
|
3217
|
+
{
|
|
3218
|
+
stateMutability: "view",
|
|
3219
|
+
type: "function",
|
|
3220
|
+
inputs: [
|
|
3221
|
+
{ name: "signer", internalType: "address", type: "address" },
|
|
3222
|
+
{
|
|
3223
|
+
name: "premintContractConfigContractAdmin",
|
|
3224
|
+
internalType: "address",
|
|
3225
|
+
type: "address"
|
|
3226
|
+
},
|
|
3227
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
3228
|
+
{
|
|
3229
|
+
name: "additionalAdmins",
|
|
3230
|
+
internalType: "address[]",
|
|
3231
|
+
type: "address[]"
|
|
3232
|
+
}
|
|
3233
|
+
],
|
|
3234
|
+
name: "isAuthorizedToCreatePremintWithAdditionalAdmins",
|
|
3235
|
+
outputs: [{ name: "isAuthorized", internalType: "bool", type: "bool" }]
|
|
3236
|
+
},
|
|
3005
3237
|
{
|
|
3006
3238
|
stateMutability: "view",
|
|
3007
3239
|
type: "function",
|
|
@@ -3092,61 +3324,39 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
3092
3324
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3093
3325
|
},
|
|
3094
3326
|
{
|
|
3095
|
-
stateMutability: "
|
|
3327
|
+
stateMutability: "payable",
|
|
3096
3328
|
type: "function",
|
|
3097
3329
|
inputs: [
|
|
3098
3330
|
{
|
|
3099
3331
|
name: "contractConfig",
|
|
3100
|
-
internalType: "struct
|
|
3332
|
+
internalType: "struct ContractWithAdditionalAdminsCreationConfig",
|
|
3101
3333
|
type: "tuple",
|
|
3102
3334
|
components: [
|
|
3103
3335
|
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
3104
3336
|
{ name: "contractURI", internalType: "string", type: "string" },
|
|
3105
|
-
{ name: "contractName", internalType: "string", type: "string" }
|
|
3337
|
+
{ name: "contractName", internalType: "string", type: "string" },
|
|
3338
|
+
{
|
|
3339
|
+
name: "additionalAdmins",
|
|
3340
|
+
internalType: "address[]",
|
|
3341
|
+
type: "address[]"
|
|
3342
|
+
}
|
|
3106
3343
|
]
|
|
3107
3344
|
},
|
|
3345
|
+
{ name: "premintCollection", internalType: "address", type: "address" },
|
|
3108
3346
|
{
|
|
3109
|
-
name: "
|
|
3110
|
-
internalType: "struct
|
|
3347
|
+
name: "encodedPremintConfig",
|
|
3348
|
+
internalType: "struct PremintConfigEncoded",
|
|
3111
3349
|
type: "tuple",
|
|
3112
3350
|
components: [
|
|
3113
|
-
{
|
|
3114
|
-
name: "tokenConfig",
|
|
3115
|
-
internalType: "struct Erc20TokenCreationConfigV1",
|
|
3116
|
-
type: "tuple",
|
|
3117
|
-
components: [
|
|
3118
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
3119
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
3120
|
-
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
3121
|
-
{
|
|
3122
|
-
name: "payoutRecipient",
|
|
3123
|
-
internalType: "address",
|
|
3124
|
-
type: "address"
|
|
3125
|
-
},
|
|
3126
|
-
{
|
|
3127
|
-
name: "createReferral",
|
|
3128
|
-
internalType: "address",
|
|
3129
|
-
type: "address"
|
|
3130
|
-
},
|
|
3131
|
-
{ name: "erc20Minter", internalType: "address", type: "address" },
|
|
3132
|
-
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
3133
|
-
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
3134
|
-
{
|
|
3135
|
-
name: "maxTokensPerAddress",
|
|
3136
|
-
internalType: "uint64",
|
|
3137
|
-
type: "uint64"
|
|
3138
|
-
},
|
|
3139
|
-
{ name: "currency", internalType: "address", type: "address" },
|
|
3140
|
-
{
|
|
3141
|
-
name: "pricePerToken",
|
|
3142
|
-
internalType: "uint256",
|
|
3143
|
-
type: "uint256"
|
|
3144
|
-
}
|
|
3145
|
-
]
|
|
3146
|
-
},
|
|
3147
3351
|
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
3148
3352
|
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
3149
|
-
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
3353
|
+
{ name: "deleted", internalType: "bool", type: "bool" },
|
|
3354
|
+
{ name: "tokenConfig", internalType: "bytes", type: "bytes" },
|
|
3355
|
+
{
|
|
3356
|
+
name: "premintConfigVersion",
|
|
3357
|
+
internalType: "bytes32",
|
|
3358
|
+
type: "bytes32"
|
|
3359
|
+
}
|
|
3150
3360
|
]
|
|
3151
3361
|
},
|
|
3152
3362
|
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
@@ -3168,10 +3378,10 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
3168
3378
|
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
3169
3379
|
{ name: "signerContract", internalType: "address", type: "address" }
|
|
3170
3380
|
],
|
|
3171
|
-
name: "
|
|
3381
|
+
name: "premint",
|
|
3172
3382
|
outputs: [
|
|
3173
3383
|
{
|
|
3174
|
-
name: "
|
|
3384
|
+
name: "premintResult",
|
|
3175
3385
|
internalType: "struct PremintResult",
|
|
3176
3386
|
type: "tuple",
|
|
3177
3387
|
components: [
|
|
@@ -3272,7 +3482,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
3272
3482
|
name: "premintV1",
|
|
3273
3483
|
outputs: [
|
|
3274
3484
|
{
|
|
3275
|
-
name: "
|
|
3485
|
+
name: "",
|
|
3276
3486
|
internalType: "struct PremintResult",
|
|
3277
3487
|
type: "tuple",
|
|
3278
3488
|
components: [
|
|
@@ -3360,97 +3570,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
3360
3570
|
name: "premintV2",
|
|
3361
3571
|
outputs: [
|
|
3362
3572
|
{
|
|
3363
|
-
name: "
|
|
3364
|
-
internalType: "struct PremintResult",
|
|
3365
|
-
type: "tuple",
|
|
3366
|
-
components: [
|
|
3367
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
3368
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3369
|
-
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
3370
|
-
]
|
|
3371
|
-
}
|
|
3372
|
-
]
|
|
3373
|
-
},
|
|
3374
|
-
{
|
|
3375
|
-
stateMutability: "payable",
|
|
3376
|
-
type: "function",
|
|
3377
|
-
inputs: [
|
|
3378
|
-
{
|
|
3379
|
-
name: "contractConfig",
|
|
3380
|
-
internalType: "struct ContractCreationConfig",
|
|
3381
|
-
type: "tuple",
|
|
3382
|
-
components: [
|
|
3383
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
3384
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
3385
|
-
{ name: "contractName", internalType: "string", type: "string" }
|
|
3386
|
-
]
|
|
3387
|
-
},
|
|
3388
|
-
{
|
|
3389
|
-
name: "premintConfig",
|
|
3390
|
-
internalType: "struct PremintConfigV2",
|
|
3391
|
-
type: "tuple",
|
|
3392
|
-
components: [
|
|
3393
|
-
{
|
|
3394
|
-
name: "tokenConfig",
|
|
3395
|
-
internalType: "struct TokenCreationConfigV2",
|
|
3396
|
-
type: "tuple",
|
|
3397
|
-
components: [
|
|
3398
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
3399
|
-
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
3400
|
-
{
|
|
3401
|
-
name: "maxTokensPerAddress",
|
|
3402
|
-
internalType: "uint64",
|
|
3403
|
-
type: "uint64"
|
|
3404
|
-
},
|
|
3405
|
-
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
3406
|
-
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
3407
|
-
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
3408
|
-
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
3409
|
-
{
|
|
3410
|
-
name: "payoutRecipient",
|
|
3411
|
-
internalType: "address",
|
|
3412
|
-
type: "address"
|
|
3413
|
-
},
|
|
3414
|
-
{
|
|
3415
|
-
name: "fixedPriceMinter",
|
|
3416
|
-
internalType: "address",
|
|
3417
|
-
type: "address"
|
|
3418
|
-
},
|
|
3419
|
-
{
|
|
3420
|
-
name: "createReferral",
|
|
3421
|
-
internalType: "address",
|
|
3422
|
-
type: "address"
|
|
3423
|
-
}
|
|
3424
|
-
]
|
|
3425
|
-
},
|
|
3426
|
-
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
3427
|
-
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
3428
|
-
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
3429
|
-
]
|
|
3430
|
-
},
|
|
3431
|
-
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
3432
|
-
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
3433
|
-
{
|
|
3434
|
-
name: "mintArguments",
|
|
3435
|
-
internalType: "struct MintArguments",
|
|
3436
|
-
type: "tuple",
|
|
3437
|
-
components: [
|
|
3438
|
-
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
3439
|
-
{ name: "mintComment", internalType: "string", type: "string" },
|
|
3440
|
-
{
|
|
3441
|
-
name: "mintRewardsRecipients",
|
|
3442
|
-
internalType: "address[]",
|
|
3443
|
-
type: "address[]"
|
|
3444
|
-
}
|
|
3445
|
-
]
|
|
3446
|
-
},
|
|
3447
|
-
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
3448
|
-
{ name: "signerContract", internalType: "address", type: "address" }
|
|
3449
|
-
],
|
|
3450
|
-
name: "premintV2WithSignerContract",
|
|
3451
|
-
outputs: [
|
|
3452
|
-
{
|
|
3453
|
-
name: "result",
|
|
3573
|
+
name: "",
|
|
3454
3574
|
internalType: "struct PremintResult",
|
|
3455
3575
|
type: "tuple",
|
|
3456
3576
|
components: [
|
|
@@ -3948,6 +4068,7 @@ var zoraCreator1155PremintExecutorImplAddress = {
|
|
|
3948
4068
|
8453: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3949
4069
|
42161: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3950
4070
|
81457: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
4071
|
+
84532: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3951
4072
|
421614: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3952
4073
|
7777777: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3953
4074
|
11155111: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
@@ -5351,6 +5472,7 @@ var zoraMints1155ABI = [
|
|
|
5351
5472
|
{ type: "error", inputs: [], name: "TokenNotMintable" }
|
|
5352
5473
|
];
|
|
5353
5474
|
var zoraMints1155Address = {
|
|
5475
|
+
84532: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5354
5476
|
7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
|
|
5355
5477
|
999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
|
|
5356
5478
|
};
|
|
@@ -5365,7 +5487,7 @@ var zoraMintsManagerImplABI = [
|
|
|
5365
5487
|
inputs: [
|
|
5366
5488
|
{
|
|
5367
5489
|
name: "_premintExecutor",
|
|
5368
|
-
internalType: "contract
|
|
5490
|
+
internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
|
|
5369
5491
|
type: "address"
|
|
5370
5492
|
}
|
|
5371
5493
|
]
|
|
@@ -5443,6 +5565,73 @@ var zoraMintsManagerImplABI = [
|
|
|
5443
5565
|
name: "collect",
|
|
5444
5566
|
outputs: []
|
|
5445
5567
|
},
|
|
5568
|
+
{
|
|
5569
|
+
stateMutability: "payable",
|
|
5570
|
+
type: "function",
|
|
5571
|
+
inputs: [
|
|
5572
|
+
{
|
|
5573
|
+
name: "contractConfig",
|
|
5574
|
+
internalType: "struct ContractWithAdditionalAdminsCreationConfig",
|
|
5575
|
+
type: "tuple",
|
|
5576
|
+
components: [
|
|
5577
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
5578
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
5579
|
+
{ name: "contractName", internalType: "string", type: "string" },
|
|
5580
|
+
{
|
|
5581
|
+
name: "additionalAdmins",
|
|
5582
|
+
internalType: "address[]",
|
|
5583
|
+
type: "address[]"
|
|
5584
|
+
}
|
|
5585
|
+
]
|
|
5586
|
+
},
|
|
5587
|
+
{ name: "tokenContract", internalType: "address", type: "address" },
|
|
5588
|
+
{
|
|
5589
|
+
name: "premintConfig",
|
|
5590
|
+
internalType: "struct PremintConfigEncoded",
|
|
5591
|
+
type: "tuple",
|
|
5592
|
+
components: [
|
|
5593
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
5594
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
5595
|
+
{ name: "deleted", internalType: "bool", type: "bool" },
|
|
5596
|
+
{ name: "tokenConfig", internalType: "bytes", type: "bytes" },
|
|
5597
|
+
{
|
|
5598
|
+
name: "premintConfigVersion",
|
|
5599
|
+
internalType: "bytes32",
|
|
5600
|
+
type: "bytes32"
|
|
5601
|
+
}
|
|
5602
|
+
]
|
|
5603
|
+
},
|
|
5604
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
5605
|
+
{
|
|
5606
|
+
name: "mintArguments",
|
|
5607
|
+
internalType: "struct MintArguments",
|
|
5608
|
+
type: "tuple",
|
|
5609
|
+
components: [
|
|
5610
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
5611
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
5612
|
+
{
|
|
5613
|
+
name: "mintRewardsRecipients",
|
|
5614
|
+
internalType: "address[]",
|
|
5615
|
+
type: "address[]"
|
|
5616
|
+
}
|
|
5617
|
+
]
|
|
5618
|
+
},
|
|
5619
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
5620
|
+
],
|
|
5621
|
+
name: "collectPremint",
|
|
5622
|
+
outputs: [
|
|
5623
|
+
{
|
|
5624
|
+
name: "result",
|
|
5625
|
+
internalType: "struct PremintResult",
|
|
5626
|
+
type: "tuple",
|
|
5627
|
+
components: [
|
|
5628
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
5629
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
5630
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
5631
|
+
]
|
|
5632
|
+
}
|
|
5633
|
+
]
|
|
5634
|
+
},
|
|
5446
5635
|
{
|
|
5447
5636
|
stateMutability: "payable",
|
|
5448
5637
|
type: "function",
|
|
@@ -6178,6 +6367,7 @@ var zoraMintsManagerImplABI = [
|
|
|
6178
6367
|
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
6179
6368
|
];
|
|
6180
6369
|
var zoraMintsManagerImplAddress = {
|
|
6370
|
+
84532: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6181
6371
|
7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
|
|
6182
6372
|
999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
|
|
6183
6373
|
};
|
|
@@ -6186,6 +6376,14 @@ var zoraMintsManagerImplConfig = {
|
|
|
6186
6376
|
abi: zoraMintsManagerImplABI
|
|
6187
6377
|
};
|
|
6188
6378
|
|
|
6379
|
+
// src/types.ts
|
|
6380
|
+
var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
|
|
6381
|
+
PremintConfigVersion2["V1"] = "1";
|
|
6382
|
+
PremintConfigVersion2["V2"] = "2";
|
|
6383
|
+
PremintConfigVersion2["V3"] = "3";
|
|
6384
|
+
return PremintConfigVersion2;
|
|
6385
|
+
})(PremintConfigVersion || {});
|
|
6386
|
+
|
|
6189
6387
|
// src/typedData.ts
|
|
6190
6388
|
var premintTypedDataDomain = ({
|
|
6191
6389
|
chainId,
|
|
@@ -6221,6 +6419,58 @@ var premintV1TypedDataType = {
|
|
|
6221
6419
|
{ name: "fixedPriceMinter", type: "address" }
|
|
6222
6420
|
]
|
|
6223
6421
|
};
|
|
6422
|
+
var encodeTokenConfigV1 = (config) => {
|
|
6423
|
+
const abiItem = getAbiItem({
|
|
6424
|
+
abi: iPremintDefinitionsABI,
|
|
6425
|
+
name: "tokenConfigV1Definition"
|
|
6426
|
+
});
|
|
6427
|
+
return encodeAbiParameters(abiItem.inputs, [config]);
|
|
6428
|
+
};
|
|
6429
|
+
var encodeTokenConfigV2 = (config) => {
|
|
6430
|
+
const abiItem = getAbiItem({
|
|
6431
|
+
abi: iPremintDefinitionsABI,
|
|
6432
|
+
name: "tokenConfigV2Definition"
|
|
6433
|
+
});
|
|
6434
|
+
return encodeAbiParameters(abiItem.inputs, [config]);
|
|
6435
|
+
};
|
|
6436
|
+
var encodeTokenConfigV3 = (config) => {
|
|
6437
|
+
const abiItem = getAbiItem({
|
|
6438
|
+
abi: iPremintDefinitionsABI,
|
|
6439
|
+
name: "tokenConfigV3Definition"
|
|
6440
|
+
});
|
|
6441
|
+
return encodeAbiParameters(abiItem.inputs, [config]);
|
|
6442
|
+
};
|
|
6443
|
+
var encodeTokenConfig = ({
|
|
6444
|
+
tokenConfig,
|
|
6445
|
+
premintConfigVersion
|
|
6446
|
+
}) => {
|
|
6447
|
+
if (premintConfigVersion === "1" /* V1 */) {
|
|
6448
|
+
return encodeTokenConfigV1(tokenConfig);
|
|
6449
|
+
}
|
|
6450
|
+
if (premintConfigVersion === "2" /* V2 */) {
|
|
6451
|
+
return encodeTokenConfigV2(tokenConfig);
|
|
6452
|
+
}
|
|
6453
|
+
if (premintConfigVersion === "3" /* V3 */) {
|
|
6454
|
+
return encodeTokenConfigV3(tokenConfig);
|
|
6455
|
+
}
|
|
6456
|
+
throw new Error("Invalid PremintConfigVersion: " + premintConfigVersion);
|
|
6457
|
+
};
|
|
6458
|
+
var encodePremintConfig = ({
|
|
6459
|
+
premintConfig,
|
|
6460
|
+
premintConfigVersion
|
|
6461
|
+
}) => {
|
|
6462
|
+
const encodedTokenConfig = encodeTokenConfig({
|
|
6463
|
+
premintConfigVersion,
|
|
6464
|
+
tokenConfig: premintConfig.tokenConfig
|
|
6465
|
+
});
|
|
6466
|
+
return {
|
|
6467
|
+
deleted: premintConfig.deleted,
|
|
6468
|
+
uid: premintConfig.uid,
|
|
6469
|
+
version: premintConfig.version,
|
|
6470
|
+
premintConfigVersion: keccak256(toHex(premintConfigVersion)),
|
|
6471
|
+
tokenConfig: encodedTokenConfig
|
|
6472
|
+
};
|
|
6473
|
+
};
|
|
6224
6474
|
var premintV1TypedDataDefinition = ({
|
|
6225
6475
|
chainId,
|
|
6226
6476
|
creator1155Contract,
|
|
@@ -6230,7 +6480,7 @@ var premintV1TypedDataDefinition = ({
|
|
|
6230
6480
|
primaryType: "CreatorAttribution",
|
|
6231
6481
|
domain: premintTypedDataDomain({
|
|
6232
6482
|
chainId,
|
|
6233
|
-
version: "1"
|
|
6483
|
+
version: "1" /* V1 */,
|
|
6234
6484
|
creator1155Contract
|
|
6235
6485
|
}),
|
|
6236
6486
|
message
|
|
@@ -6268,11 +6518,32 @@ var premintV2TypedDataDefinition = ({
|
|
|
6268
6518
|
primaryType: "CreatorAttribution",
|
|
6269
6519
|
domain: premintTypedDataDomain({
|
|
6270
6520
|
chainId,
|
|
6271
|
-
version: "2"
|
|
6521
|
+
version: "2" /* V2 */,
|
|
6272
6522
|
creator1155Contract
|
|
6273
6523
|
}),
|
|
6274
6524
|
message
|
|
6275
6525
|
});
|
|
6526
|
+
var premintTypedDataDefinition = ({
|
|
6527
|
+
verifyingContract,
|
|
6528
|
+
chainId,
|
|
6529
|
+
premintConfigVersion: version,
|
|
6530
|
+
premintConfig
|
|
6531
|
+
}) => {
|
|
6532
|
+
if (version === "1" /* V1 */)
|
|
6533
|
+
return premintV1TypedDataDefinition({
|
|
6534
|
+
chainId,
|
|
6535
|
+
creator1155Contract: verifyingContract,
|
|
6536
|
+
message: premintConfig
|
|
6537
|
+
});
|
|
6538
|
+
if (version === "2" /* V2 */) {
|
|
6539
|
+
return premintV2TypedDataDefinition({
|
|
6540
|
+
chainId,
|
|
6541
|
+
creator1155Contract: verifyingContract,
|
|
6542
|
+
message: premintConfig
|
|
6543
|
+
});
|
|
6544
|
+
}
|
|
6545
|
+
throw new Error(`Invalid version ${version}`);
|
|
6546
|
+
};
|
|
6276
6547
|
var permitSafeTransferTypedDataType = {
|
|
6277
6548
|
PermitSafeTransfer: [
|
|
6278
6549
|
{ name: "owner", type: "address" },
|
|
@@ -6383,8 +6654,8 @@ var chainConfigs = {
|
|
|
6383
6654
|
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
6384
6655
|
},
|
|
6385
6656
|
84532: {
|
|
6386
|
-
FACTORY_OWNER: "
|
|
6387
|
-
MINT_FEE_RECIPIENT: "
|
|
6657
|
+
FACTORY_OWNER: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
6658
|
+
MINT_FEE_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
6388
6659
|
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
6389
6660
|
},
|
|
6390
6661
|
421614: {
|
|
@@ -6498,18 +6769,18 @@ var addresses = {
|
|
|
6498
6769
|
timestamp: 1709235955
|
|
6499
6770
|
},
|
|
6500
6771
|
84532: {
|
|
6501
|
-
CONTRACT_1155_IMPL: "
|
|
6502
|
-
CONTRACT_1155_IMPL_VERSION: "2.
|
|
6503
|
-
FACTORY_IMPL: "
|
|
6504
|
-
FACTORY_PROXY: "
|
|
6772
|
+
CONTRACT_1155_IMPL: "0x2C49E95303734eE3826307783d5fDD180B2131D3",
|
|
6773
|
+
CONTRACT_1155_IMPL_VERSION: "2.9.0",
|
|
6774
|
+
FACTORY_IMPL: "0xB2696570215c3158eB1D218FB1a3DF92a418B034",
|
|
6775
|
+
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
6505
6776
|
FIXED_PRICE_SALE_STRATEGY: "0xd34872BE0cdb6b09d45FCa067B07f04a1A9aE1aE",
|
|
6506
6777
|
MERKLE_MINT_SALE_STRATEGY: "0x3E8524770adD176bE381a0529E09f1c6c3502A5a",
|
|
6507
|
-
PREMINTER_IMPL: "",
|
|
6508
|
-
PREMINTER_PROXY: "",
|
|
6778
|
+
PREMINTER_IMPL: "0xD754417BDABFCc3a3997B9A15E9F6922a8131Ac1",
|
|
6779
|
+
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
6509
6780
|
REDEEM_MINTER_FACTORY: "0x805E0a08dE70f85C01F7848370d5e3fc08aAd0ea",
|
|
6510
|
-
UPGRADE_GATE: "
|
|
6781
|
+
UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
6511
6782
|
ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
6512
|
-
timestamp:
|
|
6783
|
+
timestamp: 1713468185
|
|
6513
6784
|
},
|
|
6514
6785
|
421614: {
|
|
6515
6786
|
CONTRACT_1155_IMPL: "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
|
|
@@ -6569,16 +6840,16 @@ var addresses = {
|
|
|
6569
6840
|
999999999: {
|
|
6570
6841
|
CONTRACT_1155_IMPL: "0xaDf7F654d8E416aaD85d4f06fDf4cA3D05BDA1A1",
|
|
6571
6842
|
CONTRACT_1155_IMPL_VERSION: "2.9.0",
|
|
6572
|
-
|
|
6843
|
+
ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
|
|
6844
|
+
FACTORY_IMPL: "0x7228C5BE6093cf57BC085aaFFB18D0b7886f0651",
|
|
6573
6845
|
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
6574
6846
|
FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
6575
6847
|
MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
6576
|
-
PREMINTER_IMPL: "
|
|
6848
|
+
PREMINTER_IMPL: "0xdABa152A152a14844E627444B55a543beF7c4365",
|
|
6577
6849
|
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
6578
6850
|
REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
6579
6851
|
UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
|
|
6580
|
-
|
|
6581
|
-
timestamp: 1712339316
|
|
6852
|
+
timestamp: 1715977010
|
|
6582
6853
|
}
|
|
6583
6854
|
};
|
|
6584
6855
|
|
|
@@ -6613,6 +6884,7 @@ var chainConfigs2 = {
|
|
|
6613
6884
|
PROXY_ADMIN: "0x02539E813cA450C2c7334e885423f4A899a063Fe",
|
|
6614
6885
|
MINTS_OWNER: "0x02539E813cA450C2c7334e885423f4A899a063Fe"
|
|
6615
6886
|
},
|
|
6887
|
+
84532: { PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420" },
|
|
6616
6888
|
7777777: {
|
|
6617
6889
|
PROXY_ADMIN: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
|
|
6618
6890
|
MINTS_OWNER: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
|
|
@@ -6627,6 +6899,11 @@ var chainConfigs2 = {
|
|
|
6627
6899
|
}
|
|
6628
6900
|
};
|
|
6629
6901
|
var addresses2 = {
|
|
6902
|
+
84532: {
|
|
6903
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
|
|
6904
|
+
MINTS_MANAGER_IMPL: "0x32C49770cC95F6A606Ae5a22A0a70e8F8ff64C75",
|
|
6905
|
+
MINTS_MANAGER_IMPL_VERSION: "0.1.3"
|
|
6906
|
+
},
|
|
6630
6907
|
7777777: {
|
|
6631
6908
|
MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
6632
6909
|
MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
|
|
@@ -6634,15 +6911,18 @@ var addresses2 = {
|
|
|
6634
6911
|
},
|
|
6635
6912
|
999999999: {
|
|
6636
6913
|
MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
6637
|
-
MINTS_MANAGER_IMPL: "
|
|
6638
|
-
MINTS_MANAGER_IMPL_VERSION: "0.1.
|
|
6914
|
+
MINTS_MANAGER_IMPL: "0x65690B699591aDE72b30aa10B0c34BB78cAc61c0",
|
|
6915
|
+
MINTS_MANAGER_IMPL_VERSION: "0.1.3"
|
|
6639
6916
|
}
|
|
6640
6917
|
};
|
|
6641
6918
|
export {
|
|
6919
|
+
PremintConfigVersion,
|
|
6642
6920
|
__exports as contracts1155,
|
|
6921
|
+
encodePremintConfig,
|
|
6643
6922
|
erc20MinterABI,
|
|
6644
6923
|
erc20MinterAddress,
|
|
6645
6924
|
erc20MinterConfig,
|
|
6925
|
+
iPremintDefinitionsABI,
|
|
6646
6926
|
iUnwrapAndForwardActionABI,
|
|
6647
6927
|
mints_exports as mints,
|
|
6648
6928
|
mintsEthUnwrapperAndCallerABI,
|
|
@@ -6650,6 +6930,7 @@ export {
|
|
|
6650
6930
|
mintsEthUnwrapperAndCallerConfig,
|
|
6651
6931
|
mintsSafeTransferBatchTypedDataDefinition,
|
|
6652
6932
|
mintsSafeTransferTypedDataDefinition,
|
|
6933
|
+
premintTypedDataDefinition,
|
|
6653
6934
|
premintV1TypedDataDefinition,
|
|
6654
6935
|
premintV2TypedDataDefinition,
|
|
6655
6936
|
protocolRewardsABI,
|