@zoralabs/protocol-deployments 0.0.11 → 0.0.13
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 -26
- package/CHANGELOG.md +17 -0
- package/README.md +3 -9
- package/dist/{package/chainConfigs.d.ts → chainConfigs.d.ts} +5 -3
- package/dist/chainConfigs.d.ts.map +1 -0
- package/dist/deployment.d.ts.map +1 -0
- package/dist/index.cjs +68 -61
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +64 -57
- package/dist/index.js.map +1 -1
- package/dist/{package/wagmiGenerated.d.ts → wagmiGenerated.d.ts} +158 -68
- package/dist/{package/wagmiGenerated.d.ts.map → wagmiGenerated.d.ts.map} +1 -1
- package/package.json +18 -30
- package/{script → scripts}/bundle-chainConfigs.mjs +9 -7
- package/tsconfig.json +1 -1
- package/tsup.config.ts +5 -5
- package/wagmi.config.ts +31 -9
- package/.env.anvil +0 -2
- package/addresses/1.json +0 -14
- package/addresses/10.json +0 -14
- package/addresses/11155111.json +0 -9
- package/addresses/420.json +0 -14
- package/addresses/424.json +0 -11
- package/addresses/5.json +0 -14
- package/addresses/58008.json +0 -11
- package/addresses/7777777.json +0 -15
- package/addresses/8453.json +0 -14
- package/addresses/84531.json +0 -14
- package/addresses/999.json +0 -15
- package/addresses/999999999.json +0 -14
- package/chainConfigs/1.json +0 -5
- package/chainConfigs/10.json +0 -5
- package/chainConfigs/11155111.json +0 -4
- package/chainConfigs/420.json +0 -5
- package/chainConfigs/424.json +0 -5
- package/chainConfigs/5.json +0 -5
- package/chainConfigs/58008.json +0 -4
- package/chainConfigs/7777777.json +0 -5
- package/chainConfigs/8453.json +0 -5
- package/chainConfigs/84531.json +0 -5
- package/chainConfigs/999.json +0 -5
- package/chainConfigs/999999999.json +0 -5
- package/deterministicConfig/factoryProxy/params.json +0 -10
- package/deterministicConfig/factoryProxy/signatures.json +0 -14
- package/deterministicConfig/premintExecutorProxy/params.json +0 -10
- package/deterministicConfig/premintExecutorProxy/signatures.json +0 -11
- package/deterministicConfig/upgradeGate/params.json +0 -7
- package/deterministicConfig/upgradeGate/signatures.json +0 -14
- package/dist/package/batchPublish.test.d.ts +0 -451
- package/dist/package/batchPublish.test.d.ts.map +0 -1
- package/dist/package/chainConfigs.d.ts.map +0 -1
- package/dist/package/deployment.d.ts.map +0 -1
- package/dist/package/index.d.ts.map +0 -1
- package/dist/script/copy-deployed-contracts.d.ts +0 -2
- package/dist/script/copy-deployed-contracts.d.ts.map +0 -1
- package/dist/script/signDeploymentTransactions.d.ts +0 -2
- package/dist/script/signDeploymentTransactions.d.ts.map +0 -1
- package/foundry.toml +0 -41
- package/package/batchPublish.test.ts +0 -327
- package/package/chainConfigs.ts +0 -60
- package/package/wagmiGenerated.ts +0 -3640
- package/remappings.txt +0 -9
- package/script/CalculateDeterministicParams.s.sol +0 -84
- package/script/DeployMintersAndImplementations.s.sol +0 -31
- package/script/DeployNew1155Impl.s.sol +0 -24
- package/script/DeployNewImplementation.s.sol +0 -26
- package/script/DeployPreminterImpl.s.sol +0 -23
- package/script/DeployProxiesToNewChain.s.sol +0 -50
- package/script/DeployTestContracts.s.sol +0 -35
- package/script/DeployUpgradeGate.s.sol +0 -27
- package/script/Upgrade.s.sol +0 -83
- package/script/UpgradePreminter.s.sol +0 -34
- package/script/copy-deployed-contracts.ts +0 -66
- package/script/signDeploymentTransactions.ts +0 -277
- package/src/DeploymentConfig.sol +0 -124
- package/src/DeploymentTestingUtils.sol +0 -166
- package/src/DeterministicDeployerScript.sol +0 -249
- package/src/DeterministicProxyDeployer.sol +0 -139
- package/src/IImmutableCreate2Factory.sol +0 -59
- package/src/Zora1155PremintFixtures.sol +0 -75
- package/src/ZoraDeployerBase.sol +0 -145
- package/src/ZoraDeployerUtils.sol +0 -212
- package/test/NewFactoryProxyDeployer.t.sol +0 -127
- package/test/UpgradesTest.t.sol +0 -222
- package/test/ZoraCreator1155Factory_Fork.t.sol +0 -149
- package/test/ZoraCreator1155PremintExecutorForkTest.t.sol +0 -205
- /package/dist/{package/deployment.d.ts → deployment.d.ts} +0 -0
- /package/dist/{package/index.d.ts → index.d.ts} +0 -0
- /package/{package → src}/deployment.ts +0 -0
- /package/{package → src}/index.ts +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,29 +6,27 @@ $ wagmi generate
|
|
|
6
6
|
✔ Resolving contracts
|
|
7
7
|
- Running plugins
|
|
8
8
|
✔ Running plugins
|
|
9
|
-
- Writing to
|
|
10
|
-
✔ Writing to
|
|
11
|
-
$ node
|
|
12
|
-
$ prettier --write '
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m195.01 KB[39m
|
|
34
|
-
[32mESM[39m ⚡️ Build success in 42ms
|
|
9
|
+
- Writing to src/wagmiGenerated.ts
|
|
10
|
+
✔ Writing to src/wagmiGenerated.ts
|
|
11
|
+
$ node scripts/bundle-chainConfigs.mjs && yarn prettier
|
|
12
|
+
$ prettier --write 'src/**/*.ts' 'scripts/*' 'wagmi.config.ts'
|
|
13
|
+
src/chainConfigs.ts 97ms
|
|
14
|
+
src/deployment.ts 14ms (unchanged)
|
|
15
|
+
src/index.ts 1ms (unchanged)
|
|
16
|
+
src/wagmiGenerated.ts 131ms
|
|
17
|
+
scripts/bundle-chainConfigs.mjs 18ms (unchanged)
|
|
18
|
+
wagmi.config.ts 7ms (unchanged)
|
|
19
|
+
CLI Building entry: src/index.ts
|
|
20
|
+
CLI Using tsconfig: tsconfig.json
|
|
21
|
+
CLI tsup v7.3.0
|
|
22
|
+
CLI Using tsup config: /Users/danovedzora/source/zora-protocol/packages/protocol-deployments/tsup.config.ts
|
|
23
|
+
CLI Target: es2021
|
|
24
|
+
CLI Cleaning output folder
|
|
25
|
+
CJS Build start
|
|
26
|
+
ESM Build start
|
|
27
|
+
CJS dist/index.cjs 102.14 KB
|
|
28
|
+
CJS dist/index.cjs.map 203.14 KB
|
|
29
|
+
CJS ⚡️ Build success in 14ms
|
|
30
|
+
ESM dist/index.js 99.84 KB
|
|
31
|
+
ESM dist/index.js.map 202.74 KB
|
|
32
|
+
ESM ⚡️ Build success in 14ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @zoralabs/premint-sdk
|
|
2
2
|
|
|
3
|
+
## 0.0.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f3332ee: Remove pgn chain configs and addresses
|
|
8
|
+
- d2085fd: Deployed to Arbitrum One & Arbitrum Sepolia
|
|
9
|
+
- a51a0cb: Renamed protocol-deployments to 1155-deployments
|
|
10
|
+
- Updated dependencies [8107ffe]
|
|
11
|
+
- @zoralabs/zora-1155-contracts@2.7.1
|
|
12
|
+
|
|
13
|
+
## 0.0.12
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 3af77cf: Deploy 2.7.0 to mainnet, zora mainnet, zora sepolia, zora goerli, optimism, base
|
|
18
|
+
- 23dba1c: Deployed all contracts to sepolia
|
|
19
|
+
|
|
3
20
|
## 0.0.11
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Zora Protocol Deployments
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Published package containing a bundle of deployed addresses and versions for the Zora Protocol.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
* [Deployment scripts](./scripts/) for deployment Zora Protocol Contracts
|
|
8
|
-
* [Deployed addresses](./addresses/) containing deployed addresses and contract versions by chain.
|
|
9
|
-
* [Published npm package](https://www.npmjs.com/package/@zoralabs/protocol-deployments) containing [wagmi cli](https://wagmi.sh/cli/getting-started) generated typescript bundle of deployed contract abis and addresses.
|
|
10
|
-
|
|
11
|
-
## Npm package usage
|
|
5
|
+
## npm package usage
|
|
12
6
|
|
|
13
7
|
Import abis and addresses for a contract from the package:
|
|
14
8
|
|
|
15
9
|
```typescript
|
|
16
10
|
import { zoraCreator1155FactoryImplConfig } from "@zoralabs/protocol-deployments";
|
|
17
11
|
|
|
18
|
-
// get addresses and abi for zora creator 1155 factory:
|
|
12
|
+
// get addresses and abi for the zora creator 1155 factory:
|
|
19
13
|
const { addresses, abi } = zoraCreator1155FactoryImplConfig;
|
|
20
14
|
```
|
|
@@ -12,25 +12,27 @@ export declare const chainConfigs: {
|
|
|
12
12
|
11155111: {
|
|
13
13
|
FACTORY_OWNER: string;
|
|
14
14
|
MINT_FEE_RECIPIENT: string;
|
|
15
|
+
PROTOCOL_REWARDS: string;
|
|
15
16
|
};
|
|
16
17
|
420: {
|
|
17
18
|
FACTORY_OWNER: string;
|
|
18
19
|
MINT_FEE_RECIPIENT: string;
|
|
19
20
|
PROTOCOL_REWARDS: string;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
42161: {
|
|
22
23
|
FACTORY_OWNER: string;
|
|
23
24
|
MINT_FEE_RECIPIENT: string;
|
|
24
25
|
PROTOCOL_REWARDS: string;
|
|
25
26
|
};
|
|
26
|
-
|
|
27
|
+
421614: {
|
|
27
28
|
FACTORY_OWNER: string;
|
|
28
29
|
MINT_FEE_RECIPIENT: string;
|
|
29
30
|
PROTOCOL_REWARDS: string;
|
|
30
31
|
};
|
|
31
|
-
|
|
32
|
+
5: {
|
|
32
33
|
FACTORY_OWNER: string;
|
|
33
34
|
MINT_FEE_RECIPIENT: string;
|
|
35
|
+
PROTOCOL_REWARDS: string;
|
|
34
36
|
};
|
|
35
37
|
7777777: {
|
|
36
38
|
FACTORY_OWNER: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chainConfigs.d.ts","sourceRoot":"","sources":["../src/chainConfigs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../src/deployment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG,KAAK,MAAM,EAAE,CAAC;AAE3C,MAAM,MAAM,6BAA6B,GAAG;IAC1C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,EAAE,cAAc,CAAC;IAC9B,SAAS,EAAE,cAAc,CAAC;IAC1B,iBAAiB,EAAE,GAAG,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,YAAY,EAAE,GAAG,CAAC;IAClB,IAAI,EAAE,GAAG,CAAC;IACV,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,iBAAiB;aAOnB,YAAY;mCACU,6BAA6B;2BACrC,OAAO;WACvB,OAAO;aACL,MAAM;4BA0Bb,CAAC;AAEL,eAAO,MAAM,iBAAiB;aAMnB,YAAY;YACb,8BAA8B;cAC5B,GAAG;aACJ,MAAM;4BAsBb,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -17,9 +17,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
|
-
//
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
23
|
chainConfigs: () => chainConfigs,
|
|
24
24
|
zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
|
|
25
25
|
zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
|
|
@@ -38,9 +38,9 @@ __export(package_exports, {
|
|
|
38
38
|
zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
|
|
39
39
|
zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig
|
|
40
40
|
});
|
|
41
|
-
module.exports = __toCommonJS(
|
|
41
|
+
module.exports = __toCommonJS(src_exports);
|
|
42
42
|
|
|
43
|
-
//
|
|
43
|
+
// src/wagmiGenerated.ts
|
|
44
44
|
var zoraCreator1155FactoryImplABI = [
|
|
45
45
|
{
|
|
46
46
|
stateMutability: "nonpayable",
|
|
@@ -519,13 +519,13 @@ var zoraCreator1155FactoryImplAddress = {
|
|
|
519
519
|
5: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
520
520
|
10: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
521
521
|
420: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
522
|
-
424: "0x6E742921602a5195f6439c8b8b827E85902E1B2D",
|
|
523
522
|
999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
524
523
|
8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
525
|
-
|
|
524
|
+
42161: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
526
525
|
84531: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
526
|
+
421614: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
527
527
|
7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
528
|
-
11155111: "
|
|
528
|
+
11155111: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
529
529
|
999999999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021"
|
|
530
530
|
};
|
|
531
531
|
var zoraCreator1155FactoryImplConfig = {
|
|
@@ -539,7 +539,8 @@ var zoraCreator1155ImplABI = [
|
|
|
539
539
|
inputs: [
|
|
540
540
|
{ name: "_mintFeeRecipient", internalType: "address", type: "address" },
|
|
541
541
|
{ name: "_upgradeGate", internalType: "address", type: "address" },
|
|
542
|
-
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
542
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
543
|
+
{ name: "_mintsAdmin", internalType: "address", type: "address" }
|
|
543
544
|
]
|
|
544
545
|
},
|
|
545
546
|
{ stateMutability: "payable", type: "receive" },
|
|
@@ -585,13 +586,6 @@ var zoraCreator1155ImplABI = [
|
|
|
585
586
|
name: "PERMISSION_BIT_SALES",
|
|
586
587
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
587
588
|
},
|
|
588
|
-
{
|
|
589
|
-
stateMutability: "view",
|
|
590
|
-
type: "function",
|
|
591
|
-
inputs: [],
|
|
592
|
-
name: "PLATFORM_REFERRAL_REWARD_DEPOSIT_REASON",
|
|
593
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
594
|
-
},
|
|
595
589
|
{
|
|
596
590
|
stateMutability: "nonpayable",
|
|
597
591
|
type: "function",
|
|
@@ -695,7 +689,7 @@ var zoraCreator1155ImplABI = [
|
|
|
695
689
|
{
|
|
696
690
|
stateMutability: "pure",
|
|
697
691
|
type: "function",
|
|
698
|
-
inputs: [{ name: "
|
|
692
|
+
inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
|
|
699
693
|
name: "computeFreeMintRewards",
|
|
700
694
|
outputs: [
|
|
701
695
|
{
|
|
@@ -719,12 +713,7 @@ var zoraCreator1155ImplABI = [
|
|
|
719
713
|
internalType: "uint256",
|
|
720
714
|
type: "uint256"
|
|
721
715
|
},
|
|
722
|
-
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
723
|
-
{
|
|
724
|
-
name: "platformReferralReward",
|
|
725
|
-
internalType: "uint256",
|
|
726
|
-
type: "uint256"
|
|
727
|
-
}
|
|
716
|
+
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
728
717
|
]
|
|
729
718
|
}
|
|
730
719
|
]
|
|
@@ -732,7 +721,7 @@ var zoraCreator1155ImplABI = [
|
|
|
732
721
|
{
|
|
733
722
|
stateMutability: "pure",
|
|
734
723
|
type: "function",
|
|
735
|
-
inputs: [{ name: "
|
|
724
|
+
inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
|
|
736
725
|
name: "computePaidMintRewards",
|
|
737
726
|
outputs: [
|
|
738
727
|
{
|
|
@@ -756,12 +745,7 @@ var zoraCreator1155ImplABI = [
|
|
|
756
745
|
internalType: "uint256",
|
|
757
746
|
type: "uint256"
|
|
758
747
|
},
|
|
759
|
-
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
760
|
-
{
|
|
761
|
-
name: "platformReferralReward",
|
|
762
|
-
internalType: "uint256",
|
|
763
|
-
type: "uint256"
|
|
764
|
-
}
|
|
748
|
+
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
765
749
|
]
|
|
766
750
|
}
|
|
767
751
|
]
|
|
@@ -769,7 +753,20 @@ var zoraCreator1155ImplABI = [
|
|
|
769
753
|
{
|
|
770
754
|
stateMutability: "pure",
|
|
771
755
|
type: "function",
|
|
772
|
-
inputs: [
|
|
756
|
+
inputs: [
|
|
757
|
+
{ name: "totalReward", internalType: "uint256", type: "uint256" },
|
|
758
|
+
{ name: "rewardPct", internalType: "uint256", type: "uint256" }
|
|
759
|
+
],
|
|
760
|
+
name: "computeRewardsPct",
|
|
761
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
stateMutability: "pure",
|
|
765
|
+
type: "function",
|
|
766
|
+
inputs: [
|
|
767
|
+
{ name: "mintPrice", internalType: "uint256", type: "uint256" },
|
|
768
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" }
|
|
769
|
+
],
|
|
773
770
|
name: "computeTotalReward",
|
|
774
771
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
775
772
|
},
|
|
@@ -1002,7 +999,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1002
999
|
outputs: []
|
|
1003
1000
|
},
|
|
1004
1001
|
{
|
|
1005
|
-
stateMutability: "
|
|
1002
|
+
stateMutability: "view",
|
|
1006
1003
|
type: "function",
|
|
1007
1004
|
inputs: [],
|
|
1008
1005
|
name: "mintFee",
|
|
@@ -1042,6 +1039,19 @@ var zoraCreator1155ImplABI = [
|
|
|
1042
1039
|
name: "nextTokenId",
|
|
1043
1040
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1044
1041
|
},
|
|
1042
|
+
{
|
|
1043
|
+
stateMutability: "pure",
|
|
1044
|
+
type: "function",
|
|
1045
|
+
inputs: [
|
|
1046
|
+
{ name: "", internalType: "address", type: "address" },
|
|
1047
|
+
{ name: "", internalType: "address", type: "address" },
|
|
1048
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1049
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1050
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
1051
|
+
],
|
|
1052
|
+
name: "onERC1155Received",
|
|
1053
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
1054
|
+
},
|
|
1045
1055
|
{
|
|
1046
1056
|
stateMutability: "view",
|
|
1047
1057
|
type: "function",
|
|
@@ -1059,15 +1069,6 @@ var zoraCreator1155ImplABI = [
|
|
|
1059
1069
|
name: "permissions",
|
|
1060
1070
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1061
1071
|
},
|
|
1062
|
-
{
|
|
1063
|
-
stateMutability: "view",
|
|
1064
|
-
type: "function",
|
|
1065
|
-
inputs: [],
|
|
1066
|
-
name: "protocolRewards",
|
|
1067
|
-
outputs: [
|
|
1068
|
-
{ name: "", internalType: "contract IProtocolRewards", type: "address" }
|
|
1069
|
-
]
|
|
1070
|
-
},
|
|
1071
1072
|
{
|
|
1072
1073
|
stateMutability: "view",
|
|
1073
1074
|
type: "function",
|
|
@@ -2741,6 +2742,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2741
2742
|
inputs: [],
|
|
2742
2743
|
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
|
|
2743
2744
|
},
|
|
2745
|
+
{ type: "error", inputs: [], name: "INITIALIZABLE_CONTRACT_IS_INITIALIZING" },
|
|
2744
2746
|
{
|
|
2745
2747
|
type: "error",
|
|
2746
2748
|
inputs: [],
|
|
@@ -2839,8 +2841,11 @@ var zoraCreator1155PremintExecutorImplAddress = {
|
|
|
2839
2841
|
420: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2840
2842
|
999: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2841
2843
|
8453: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2844
|
+
42161: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2842
2845
|
84531: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2846
|
+
421614: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2843
2847
|
7777777: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2848
|
+
11155111: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2844
2849
|
999999999: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340"
|
|
2845
2850
|
};
|
|
2846
2851
|
var zoraCreator1155PremintExecutorImplConfig = {
|
|
@@ -3084,13 +3089,13 @@ var zoraCreatorFixedPriceSaleStrategyAddress = {
|
|
|
3084
3089
|
5: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3085
3090
|
10: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
|
|
3086
3091
|
420: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3087
|
-
424: "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
|
|
3088
3092
|
999: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3089
3093
|
8453: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3090
|
-
|
|
3094
|
+
42161: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
3091
3095
|
84531: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3096
|
+
421614: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
3092
3097
|
7777777: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3093
|
-
11155111: "
|
|
3098
|
+
11155111: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
3094
3099
|
999999999: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A"
|
|
3095
3100
|
};
|
|
3096
3101
|
var zoraCreatorFixedPriceSaleStrategyConfig = {
|
|
@@ -3298,13 +3303,13 @@ var zoraCreatorMerkleMinterStrategyAddress = {
|
|
|
3298
3303
|
5: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3299
3304
|
10: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
|
|
3300
3305
|
420: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3301
|
-
424: "0x314E552b55DFbDfD4d76623E1D45E5056723998B",
|
|
3302
3306
|
999: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3303
3307
|
8453: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3304
|
-
|
|
3308
|
+
42161: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
3305
3309
|
84531: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3310
|
+
421614: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
3306
3311
|
7777777: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3307
|
-
11155111: "
|
|
3312
|
+
11155111: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
3308
3313
|
999999999: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c"
|
|
3309
3314
|
};
|
|
3310
3315
|
var zoraCreatorMerkleMinterStrategyConfig = {
|
|
@@ -3464,13 +3469,13 @@ var zoraCreatorRedeemMinterFactoryAddress = {
|
|
|
3464
3469
|
5: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3465
3470
|
10: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
|
|
3466
3471
|
420: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3467
|
-
424: "0xC6899816663891D7493939d74d83cb7f2BBcBB16",
|
|
3468
3472
|
999: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3469
3473
|
8453: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3470
|
-
|
|
3474
|
+
42161: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3471
3475
|
84531: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3476
|
+
421614: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3472
3477
|
7777777: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3473
|
-
11155111: "
|
|
3478
|
+
11155111: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3474
3479
|
999999999: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6"
|
|
3475
3480
|
};
|
|
3476
3481
|
var zoraCreatorRedeemMinterFactoryConfig = {
|
|
@@ -3478,7 +3483,7 @@ var zoraCreatorRedeemMinterFactoryConfig = {
|
|
|
3478
3483
|
abi: zoraCreatorRedeemMinterFactoryABI
|
|
3479
3484
|
};
|
|
3480
3485
|
|
|
3481
|
-
//
|
|
3486
|
+
// src/chainConfigs.ts
|
|
3482
3487
|
var chainConfigs = {
|
|
3483
3488
|
[1]: {
|
|
3484
3489
|
FACTORY_OWNER: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
|
|
@@ -3491,28 +3496,30 @@ var chainConfigs = {
|
|
|
3491
3496
|
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3492
3497
|
},
|
|
3493
3498
|
[11155111]: {
|
|
3494
|
-
FACTORY_OWNER: "
|
|
3495
|
-
MINT_FEE_RECIPIENT: "
|
|
3499
|
+
FACTORY_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
3500
|
+
MINT_FEE_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
3501
|
+
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3496
3502
|
},
|
|
3497
3503
|
[420]: {
|
|
3498
3504
|
FACTORY_OWNER: "0xbb45052B2260707655Dfd916a416264f5981192c",
|
|
3499
3505
|
MINT_FEE_RECIPIENT: "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2",
|
|
3500
3506
|
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3501
3507
|
},
|
|
3502
|
-
[
|
|
3503
|
-
FACTORY_OWNER: "
|
|
3504
|
-
MINT_FEE_RECIPIENT: "
|
|
3505
|
-
PROTOCOL_REWARDS: "
|
|
3508
|
+
[42161]: {
|
|
3509
|
+
FACTORY_OWNER: "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
|
|
3510
|
+
MINT_FEE_RECIPIENT: "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
|
|
3511
|
+
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3512
|
+
},
|
|
3513
|
+
[421614]: {
|
|
3514
|
+
FACTORY_OWNER: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
|
|
3515
|
+
MINT_FEE_RECIPIENT: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
|
|
3516
|
+
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3506
3517
|
},
|
|
3507
3518
|
[5]: {
|
|
3508
3519
|
FACTORY_OWNER: "0xDC498668B5e6CC518fD58A2ADBF614Fd3A13D3a0",
|
|
3509
3520
|
MINT_FEE_RECIPIENT: "0x9444390c01Dd5b7249E53FAc31290F7dFF53450D",
|
|
3510
3521
|
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
3511
3522
|
},
|
|
3512
|
-
[58008]: {
|
|
3513
|
-
FACTORY_OWNER: "0xfAe426B462f4Bc9857ED28D8473Fb85192f23E9b",
|
|
3514
|
-
MINT_FEE_RECIPIENT: "0x917D86f1eBD1d9f59Dae1C00e5Af7f8689299EC4"
|
|
3515
|
-
},
|
|
3516
3523
|
[7777777]: {
|
|
3517
3524
|
FACTORY_OWNER: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
|
|
3518
3525
|
MINT_FEE_RECIPIENT: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
|