@zoralabs/protocol-deployments 0.0.11 → 0.0.14-MINT.0
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 +18 -20
- package/CHANGELOG.md +26 -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/{package → src}/chainConfigs.ts +12 -10
- package/{package → src}/wagmiGenerated.ts +107 -54
- 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/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/package.json
CHANGED
|
@@ -1,45 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoralabs/protocol-deployments",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14-MINT.0",
|
|
4
4
|
"repository": "https://github.com/ourzora/zora-protocol",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"dev": "FOUNDRY_PROFILE=dev forge test --watch -vvv",
|
|
11
|
-
"test": "FORK_TEST_CHAINS=mainnet,goerli,optimism,optimism_goerli,base_goerli,base forge test -vvv",
|
|
12
10
|
"build": "yarn wagmi && yarn bundle-configs && tsup",
|
|
13
|
-
"bundle-configs": "node
|
|
14
|
-
"prettier": "prettier --write '
|
|
15
|
-
"lint": "prettier --check '
|
|
16
|
-
"
|
|
17
|
-
"wagmi": "wagmi generate",
|
|
18
|
-
"unlink-protocol-rewards": "rm -rf ../../node_modules/@zoralabs/protocol-rewards && cp -r ../protocol-rewards ../../node_modules/@zoralabs/protocol-rewards",
|
|
19
|
-
"unlink-1155": "rm -rf ../../node_modules/@zoralabs/zora-1155-contracts && cp -r ../1155-contracts ../../node_modules/@zoralabs/zora-1155-contracts",
|
|
20
|
-
"unlink-contracts": "yarn unlink-protocol-rewards && yarn unlink-1155",
|
|
21
|
-
"link-contracts": "cd ../../ && rm -rf ./node_modules && yarn"
|
|
11
|
+
"bundle-configs": "node scripts/bundle-chainConfigs.mjs && yarn prettier",
|
|
12
|
+
"prettier": "prettier --write 'src/**/*.ts' 'scripts/*' 'wagmi.config.ts'",
|
|
13
|
+
"lint": "prettier --check 'src/**/*.ts' 'scripts/*' 'wagmi.config.ts'",
|
|
14
|
+
"wagmi": "wagmi generate"
|
|
22
15
|
},
|
|
23
16
|
"dependencies": {
|
|
24
|
-
"@zoralabs/
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
17
|
+
"@zoralabs/mints-contracts": "*",
|
|
18
|
+
"@zoralabs/mints-deployments": "*",
|
|
19
|
+
"@zoralabs/1155-deployments": "0.0.2-MINT.0",
|
|
20
|
+
"@zoralabs/zora-1155-contracts": "2.8.0-MINT.0"
|
|
28
21
|
},
|
|
29
22
|
"devDependencies": {
|
|
30
|
-
"@turnkey/api-key-stamper": "^0.1.1",
|
|
31
|
-
"@turnkey/http": "^1.2.0",
|
|
32
|
-
"@turnkey/viem": "^0.2.4",
|
|
33
|
-
"@types/node": "^20.1.2",
|
|
34
|
-
"@wagmi/cli": "^1.0.1",
|
|
35
|
-
"es-main": "^1.2.0",
|
|
36
|
-
"glob": "^10.2.2",
|
|
37
|
-
"prettier": "^2.8.8",
|
|
38
|
-
"prettier-plugin-solidity": "^1.1.3",
|
|
39
|
-
"solady": "^0.0.132",
|
|
40
|
-
"tsup": "^7.2.0",
|
|
41
|
-
"tsx": "^3.13.0",
|
|
42
23
|
"zoralabs-tsconfig": "*",
|
|
43
|
-
"typescript": "^5.2.2"
|
|
24
|
+
"typescript": "^5.2.2",
|
|
25
|
+
"tsx": "^3.13.0",
|
|
26
|
+
"tsup": "^7.2.0",
|
|
27
|
+
"glob": "^10.2.2",
|
|
28
|
+
"es-main": "^1.2.0",
|
|
29
|
+
"@wagmi/cli": "^1.0.1",
|
|
30
|
+
"@types/node": "^20.1.2",
|
|
31
|
+
"@lavamoat/preinstall-always-fail": "2.0.0"
|
|
44
32
|
}
|
|
45
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { readdirSync, readFileSync, writeFileSync } from
|
|
1
|
+
import { readdirSync, readFileSync, writeFileSync } from "fs";
|
|
2
2
|
|
|
3
|
-
// Reads all the chain configs in ./chainConfigs folder, and bundles them into a typescript
|
|
3
|
+
// Reads all the chain configs in ./chainConfigs folder, and bundles them into a typescript
|
|
4
4
|
// definition that looks like:
|
|
5
5
|
// export const chainConfigs = {
|
|
6
6
|
// [chainId]: {
|
|
@@ -9,18 +9,20 @@ import { readdirSync, readFileSync, writeFileSync } from 'fs';
|
|
|
9
9
|
//}
|
|
10
10
|
function makeConfig() {
|
|
11
11
|
// read all files in the chainConfigs folder
|
|
12
|
-
const files = readdirSync(
|
|
12
|
+
const files = readdirSync("../1155-deployments/chainConfigs");
|
|
13
13
|
|
|
14
14
|
// combine them into a single mapping
|
|
15
15
|
const chainConfigsInner = files
|
|
16
16
|
.map((fileName) => {
|
|
17
|
-
const chainId = fileName.split(
|
|
17
|
+
const chainId = fileName.split(".")[0];
|
|
18
18
|
|
|
19
|
-
const fileContents = JSON.parse(
|
|
19
|
+
const fileContents = JSON.parse(
|
|
20
|
+
readFileSync(`../1155-deployments/chainConfigs/${fileName}`),
|
|
21
|
+
);
|
|
20
22
|
|
|
21
23
|
return `[${chainId}]: ${JSON.stringify(fileContents, null, 2)}`;
|
|
22
24
|
})
|
|
23
|
-
.join(
|
|
25
|
+
.join(", ");
|
|
24
26
|
|
|
25
27
|
return `export const chainConfigs = {
|
|
26
28
|
${chainConfigsInner}
|
|
@@ -30,7 +32,7 @@ function makeConfig() {
|
|
|
30
32
|
async function bundleChainConfigs() {
|
|
31
33
|
const configString = makeConfig();
|
|
32
34
|
|
|
33
|
-
writeFileSync(
|
|
35
|
+
writeFileSync("./src/chainConfigs.ts", configString);
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
await bundleChainConfigs();
|
|
@@ -10,28 +10,30 @@ export const chainConfigs = {
|
|
|
10
10
|
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
|
|
11
11
|
},
|
|
12
12
|
[11155111]: {
|
|
13
|
-
FACTORY_OWNER: "
|
|
14
|
-
MINT_FEE_RECIPIENT: "
|
|
13
|
+
FACTORY_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
14
|
+
MINT_FEE_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
15
|
+
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
|
|
15
16
|
},
|
|
16
17
|
[420]: {
|
|
17
18
|
FACTORY_OWNER: "0xbb45052B2260707655Dfd916a416264f5981192c",
|
|
18
19
|
MINT_FEE_RECIPIENT: "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2",
|
|
19
20
|
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
|
|
20
21
|
},
|
|
21
|
-
[
|
|
22
|
-
FACTORY_OWNER: "
|
|
23
|
-
MINT_FEE_RECIPIENT: "
|
|
24
|
-
PROTOCOL_REWARDS: "
|
|
22
|
+
[42161]: {
|
|
23
|
+
FACTORY_OWNER: "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
|
|
24
|
+
MINT_FEE_RECIPIENT: "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
|
|
25
|
+
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
|
|
26
|
+
},
|
|
27
|
+
[421614]: {
|
|
28
|
+
FACTORY_OWNER: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
|
|
29
|
+
MINT_FEE_RECIPIENT: "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
|
|
30
|
+
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
|
|
25
31
|
},
|
|
26
32
|
[5]: {
|
|
27
33
|
FACTORY_OWNER: "0xDC498668B5e6CC518fD58A2ADBF614Fd3A13D3a0",
|
|
28
34
|
MINT_FEE_RECIPIENT: "0x9444390c01Dd5b7249E53FAc31290F7dFF53450D",
|
|
29
35
|
PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
|
|
30
36
|
},
|
|
31
|
-
[58008]: {
|
|
32
|
-
FACTORY_OWNER: "0xfAe426B462f4Bc9857ED28D8473Fb85192f23E9b",
|
|
33
|
-
MINT_FEE_RECIPIENT: "0x917D86f1eBD1d9f59Dae1C00e5Af7f8689299EC4",
|
|
34
|
-
},
|
|
35
37
|
[7777777]: {
|
|
36
38
|
FACTORY_OWNER: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
|
|
37
39
|
MINT_FEE_RECIPIENT: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
|
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
10
10
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
11
11
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
12
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
12
13
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
14
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
13
15
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
14
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
16
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
17
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
15
18
|
*/
|
|
16
19
|
export const zoraCreator1155FactoryImplABI = [
|
|
17
20
|
{
|
|
@@ -494,22 +497,25 @@ export const zoraCreator1155FactoryImplABI = [
|
|
|
494
497
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
495
498
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
496
499
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
500
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
497
501
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
502
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
498
503
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
499
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
504
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
505
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
500
506
|
*/
|
|
501
507
|
export const zoraCreator1155FactoryImplAddress = {
|
|
502
508
|
1: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
503
509
|
5: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
504
510
|
10: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
505
511
|
420: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
506
|
-
424: "0x6E742921602a5195f6439c8b8b827E85902E1B2D",
|
|
507
512
|
999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
508
513
|
8453: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
509
|
-
|
|
514
|
+
42161: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
510
515
|
84531: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
516
|
+
421614: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
511
517
|
7777777: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
512
|
-
11155111: "
|
|
518
|
+
11155111: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
513
519
|
999999999: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
514
520
|
} as const;
|
|
515
521
|
|
|
@@ -520,9 +526,12 @@ export const zoraCreator1155FactoryImplAddress = {
|
|
|
520
526
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
521
527
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
522
528
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
529
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
523
530
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
531
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
524
532
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
525
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
533
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
534
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777C338d93e2C7adf08D102d45CA7CC4Ed021)
|
|
526
535
|
*/
|
|
527
536
|
export const zoraCreator1155FactoryImplConfig = {
|
|
528
537
|
address: zoraCreator1155FactoryImplAddress,
|
|
@@ -541,6 +550,7 @@ export const zoraCreator1155ImplABI = [
|
|
|
541
550
|
{ name: "_mintFeeRecipient", internalType: "address", type: "address" },
|
|
542
551
|
{ name: "_upgradeGate", internalType: "address", type: "address" },
|
|
543
552
|
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
553
|
+
{ name: "_mintsAdmin", internalType: "address", type: "address" },
|
|
544
554
|
],
|
|
545
555
|
},
|
|
546
556
|
{ stateMutability: "payable", type: "receive" },
|
|
@@ -586,13 +596,6 @@ export const zoraCreator1155ImplABI = [
|
|
|
586
596
|
name: "PERMISSION_BIT_SALES",
|
|
587
597
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
588
598
|
},
|
|
589
|
-
{
|
|
590
|
-
stateMutability: "view",
|
|
591
|
-
type: "function",
|
|
592
|
-
inputs: [],
|
|
593
|
-
name: "PLATFORM_REFERRAL_REWARD_DEPOSIT_REASON",
|
|
594
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
595
|
-
},
|
|
596
599
|
{
|
|
597
600
|
stateMutability: "nonpayable",
|
|
598
601
|
type: "function",
|
|
@@ -696,7 +699,7 @@ export const zoraCreator1155ImplABI = [
|
|
|
696
699
|
{
|
|
697
700
|
stateMutability: "pure",
|
|
698
701
|
type: "function",
|
|
699
|
-
inputs: [{ name: "
|
|
702
|
+
inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
|
|
700
703
|
name: "computeFreeMintRewards",
|
|
701
704
|
outputs: [
|
|
702
705
|
{
|
|
@@ -721,11 +724,6 @@ export const zoraCreator1155ImplABI = [
|
|
|
721
724
|
type: "uint256",
|
|
722
725
|
},
|
|
723
726
|
{ name: "zoraReward", internalType: "uint256", type: "uint256" },
|
|
724
|
-
{
|
|
725
|
-
name: "platformReferralReward",
|
|
726
|
-
internalType: "uint256",
|
|
727
|
-
type: "uint256",
|
|
728
|
-
},
|
|
729
727
|
],
|
|
730
728
|
},
|
|
731
729
|
],
|
|
@@ -733,7 +731,7 @@ export const zoraCreator1155ImplABI = [
|
|
|
733
731
|
{
|
|
734
732
|
stateMutability: "pure",
|
|
735
733
|
type: "function",
|
|
736
|
-
inputs: [{ name: "
|
|
734
|
+
inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
|
|
737
735
|
name: "computePaidMintRewards",
|
|
738
736
|
outputs: [
|
|
739
737
|
{
|
|
@@ -758,11 +756,6 @@ export const zoraCreator1155ImplABI = [
|
|
|
758
756
|
type: "uint256",
|
|
759
757
|
},
|
|
760
758
|
{ name: "zoraReward", internalType: "uint256", type: "uint256" },
|
|
761
|
-
{
|
|
762
|
-
name: "platformReferralReward",
|
|
763
|
-
internalType: "uint256",
|
|
764
|
-
type: "uint256",
|
|
765
|
-
},
|
|
766
759
|
],
|
|
767
760
|
},
|
|
768
761
|
],
|
|
@@ -770,7 +763,20 @@ export const zoraCreator1155ImplABI = [
|
|
|
770
763
|
{
|
|
771
764
|
stateMutability: "pure",
|
|
772
765
|
type: "function",
|
|
773
|
-
inputs: [
|
|
766
|
+
inputs: [
|
|
767
|
+
{ name: "totalReward", internalType: "uint256", type: "uint256" },
|
|
768
|
+
{ name: "rewardPct", internalType: "uint256", type: "uint256" },
|
|
769
|
+
],
|
|
770
|
+
name: "computeRewardsPct",
|
|
771
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
stateMutability: "pure",
|
|
775
|
+
type: "function",
|
|
776
|
+
inputs: [
|
|
777
|
+
{ name: "mintPrice", internalType: "uint256", type: "uint256" },
|
|
778
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
779
|
+
],
|
|
774
780
|
name: "computeTotalReward",
|
|
775
781
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
776
782
|
},
|
|
@@ -1003,7 +1009,7 @@ export const zoraCreator1155ImplABI = [
|
|
|
1003
1009
|
outputs: [],
|
|
1004
1010
|
},
|
|
1005
1011
|
{
|
|
1006
|
-
stateMutability: "
|
|
1012
|
+
stateMutability: "view",
|
|
1007
1013
|
type: "function",
|
|
1008
1014
|
inputs: [],
|
|
1009
1015
|
name: "mintFee",
|
|
@@ -1043,6 +1049,19 @@ export const zoraCreator1155ImplABI = [
|
|
|
1043
1049
|
name: "nextTokenId",
|
|
1044
1050
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1045
1051
|
},
|
|
1052
|
+
{
|
|
1053
|
+
stateMutability: "pure",
|
|
1054
|
+
type: "function",
|
|
1055
|
+
inputs: [
|
|
1056
|
+
{ name: "", internalType: "address", type: "address" },
|
|
1057
|
+
{ name: "", internalType: "address", type: "address" },
|
|
1058
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1059
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1060
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
1061
|
+
],
|
|
1062
|
+
name: "onERC1155Received",
|
|
1063
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
1064
|
+
},
|
|
1046
1065
|
{
|
|
1047
1066
|
stateMutability: "view",
|
|
1048
1067
|
type: "function",
|
|
@@ -1060,15 +1079,6 @@ export const zoraCreator1155ImplABI = [
|
|
|
1060
1079
|
name: "permissions",
|
|
1061
1080
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1062
1081
|
},
|
|
1063
|
-
{
|
|
1064
|
-
stateMutability: "view",
|
|
1065
|
-
type: "function",
|
|
1066
|
-
inputs: [],
|
|
1067
|
-
name: "protocolRewards",
|
|
1068
|
-
outputs: [
|
|
1069
|
-
{ name: "", internalType: "contract IProtocolRewards", type: "address" },
|
|
1070
|
-
],
|
|
1071
|
-
},
|
|
1072
1082
|
{
|
|
1073
1083
|
stateMutability: "view",
|
|
1074
1084
|
type: "function",
|
|
@@ -1960,8 +1970,12 @@ export const zoraCreator1155ImplABI = [
|
|
|
1960
1970
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1961
1971
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1962
1972
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1973
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1963
1974
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1975
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1964
1976
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1977
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1978
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
1965
1979
|
*/
|
|
1966
1980
|
export const zoraCreator1155PremintExecutorImplABI = [
|
|
1967
1981
|
{
|
|
@@ -2757,6 +2771,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2757
2771
|
inputs: [],
|
|
2758
2772
|
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED",
|
|
2759
2773
|
},
|
|
2774
|
+
{ type: "error", inputs: [], name: "INITIALIZABLE_CONTRACT_IS_INITIALIZING" },
|
|
2760
2775
|
{
|
|
2761
2776
|
type: "error",
|
|
2762
2777
|
inputs: [],
|
|
@@ -2856,8 +2871,12 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2856
2871
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2857
2872
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2858
2873
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2874
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2859
2875
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2876
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2860
2877
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2878
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2879
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2861
2880
|
*/
|
|
2862
2881
|
export const zoraCreator1155PremintExecutorImplAddress = {
|
|
2863
2882
|
1: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
@@ -2866,8 +2885,11 @@ export const zoraCreator1155PremintExecutorImplAddress = {
|
|
|
2866
2885
|
420: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2867
2886
|
999: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2868
2887
|
8453: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2888
|
+
42161: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2869
2889
|
84531: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2890
|
+
421614: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2870
2891
|
7777777: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2892
|
+
11155111: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2871
2893
|
999999999: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
2872
2894
|
} as const;
|
|
2873
2895
|
|
|
@@ -2878,8 +2900,12 @@ export const zoraCreator1155PremintExecutorImplAddress = {
|
|
|
2878
2900
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2879
2901
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2880
2902
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2903
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2881
2904
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2905
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2882
2906
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2907
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2908
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777773606e7e46C8Ba8B98C08f5cD218e31d340)
|
|
2883
2909
|
*/
|
|
2884
2910
|
export const zoraCreator1155PremintExecutorImplConfig = {
|
|
2885
2911
|
address: zoraCreator1155PremintExecutorImplAddress,
|
|
@@ -2897,9 +2923,12 @@ export const zoraCreator1155PremintExecutorImplConfig = {
|
|
|
2897
2923
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
2898
2924
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
2899
2925
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
2926
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
2900
2927
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
2928
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
2901
2929
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
2902
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
2930
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
2931
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A)
|
|
2903
2932
|
*/
|
|
2904
2933
|
export const zoraCreatorFixedPriceSaleStrategyABI = [
|
|
2905
2934
|
{
|
|
@@ -3141,22 +3170,25 @@ export const zoraCreatorFixedPriceSaleStrategyABI = [
|
|
|
3141
3170
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3142
3171
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3143
3172
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3173
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
3144
3174
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3175
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
3145
3176
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3146
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
3177
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
3178
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A)
|
|
3147
3179
|
*/
|
|
3148
3180
|
export const zoraCreatorFixedPriceSaleStrategyAddress = {
|
|
3149
3181
|
1: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3150
3182
|
5: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3151
3183
|
10: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
|
|
3152
3184
|
420: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3153
|
-
424: "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
|
|
3154
3185
|
999: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3155
3186
|
8453: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3156
|
-
|
|
3187
|
+
42161: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
3157
3188
|
84531: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3189
|
+
421614: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
3158
3190
|
7777777: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
3159
|
-
11155111: "
|
|
3191
|
+
11155111: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
3160
3192
|
999999999: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
3161
3193
|
} as const;
|
|
3162
3194
|
|
|
@@ -3167,9 +3199,12 @@ export const zoraCreatorFixedPriceSaleStrategyAddress = {
|
|
|
3167
3199
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3168
3200
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3169
3201
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3202
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
3170
3203
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3204
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
3171
3205
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x04E2516A2c207E84a1839755675dfd8eF6302F0a)
|
|
3172
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
3206
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21)
|
|
3207
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A)
|
|
3173
3208
|
*/
|
|
3174
3209
|
export const zoraCreatorFixedPriceSaleStrategyConfig = {
|
|
3175
3210
|
address: zoraCreatorFixedPriceSaleStrategyAddress,
|
|
@@ -3187,9 +3222,12 @@ export const zoraCreatorFixedPriceSaleStrategyConfig = {
|
|
|
3187
3222
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3188
3223
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3189
3224
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3225
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3190
3226
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3227
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3191
3228
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3192
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
3229
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3230
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x5e5fD4b758076BAD940db0284b711A67E8a3B88c)
|
|
3193
3231
|
*/
|
|
3194
3232
|
export const zoraCreatorMerkleMinterStrategyABI = [
|
|
3195
3233
|
{
|
|
@@ -3398,22 +3436,25 @@ export const zoraCreatorMerkleMinterStrategyABI = [
|
|
|
3398
3436
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3399
3437
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3400
3438
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3439
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3401
3440
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3441
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3402
3442
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3403
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
3443
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3444
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x5e5fD4b758076BAD940db0284b711A67E8a3B88c)
|
|
3404
3445
|
*/
|
|
3405
3446
|
export const zoraCreatorMerkleMinterStrategyAddress = {
|
|
3406
3447
|
1: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3407
3448
|
5: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3408
3449
|
10: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
|
|
3409
3450
|
420: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3410
|
-
424: "0x314E552b55DFbDfD4d76623E1D45E5056723998B",
|
|
3411
3451
|
999: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3412
3452
|
8453: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3413
|
-
|
|
3453
|
+
42161: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
3414
3454
|
84531: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3455
|
+
421614: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
3415
3456
|
7777777: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
3416
|
-
11155111: "
|
|
3457
|
+
11155111: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
3417
3458
|
999999999: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
3418
3459
|
} as const;
|
|
3419
3460
|
|
|
@@ -3424,9 +3465,12 @@ export const zoraCreatorMerkleMinterStrategyAddress = {
|
|
|
3424
3465
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3425
3466
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3426
3467
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3468
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3427
3469
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3470
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3428
3471
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7)
|
|
3429
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
3472
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xe770E6f19aecF8ef3145A50087999b5556aB3610)
|
|
3473
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x5e5fD4b758076BAD940db0284b711A67E8a3B88c)
|
|
3430
3474
|
*/
|
|
3431
3475
|
export const zoraCreatorMerkleMinterStrategyConfig = {
|
|
3432
3476
|
address: zoraCreatorMerkleMinterStrategyAddress,
|
|
@@ -3444,9 +3488,12 @@ export const zoraCreatorMerkleMinterStrategyConfig = {
|
|
|
3444
3488
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3445
3489
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3446
3490
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3491
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3447
3492
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3493
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3448
3494
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3449
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
3495
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3496
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6)
|
|
3450
3497
|
*/
|
|
3451
3498
|
export const zoraCreatorRedeemMinterFactoryABI = [
|
|
3452
3499
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
@@ -3604,22 +3651,25 @@ export const zoraCreatorRedeemMinterFactoryABI = [
|
|
|
3604
3651
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3605
3652
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3606
3653
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3654
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3607
3655
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3656
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3608
3657
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3609
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
3658
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3659
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6)
|
|
3610
3660
|
*/
|
|
3611
3661
|
export const zoraCreatorRedeemMinterFactoryAddress = {
|
|
3612
3662
|
1: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3613
3663
|
5: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3614
3664
|
10: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
|
|
3615
3665
|
420: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3616
|
-
424: "0xC6899816663891D7493939d74d83cb7f2BBcBB16",
|
|
3617
3666
|
999: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3618
3667
|
8453: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3619
|
-
|
|
3668
|
+
42161: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3620
3669
|
84531: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3670
|
+
421614: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3621
3671
|
7777777: "0x78964965cF77850224513a367f899435C5B69174",
|
|
3622
|
-
11155111: "
|
|
3672
|
+
11155111: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3623
3673
|
999999999: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
3624
3674
|
} as const;
|
|
3625
3675
|
|
|
@@ -3630,9 +3680,12 @@ export const zoraCreatorRedeemMinterFactoryAddress = {
|
|
|
3630
3680
|
* - [__View Contract on Optimism Goerli Etherscan__](https://goerli-optimism.etherscan.io/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3631
3681
|
* - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3632
3682
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3683
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3633
3684
|
* - [__View Contract on Base Goerli Basescan__](https://goerli.basescan.org/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3685
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3634
3686
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x78964965cF77850224513a367f899435C5B69174)
|
|
3635
|
-
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/
|
|
3687
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D)
|
|
3688
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6)
|
|
3636
3689
|
*/
|
|
3637
3690
|
export const zoraCreatorRedeemMinterFactoryConfig = {
|
|
3638
3691
|
address: zoraCreatorRedeemMinterFactoryAddress,
|
package/tsconfig.json
CHANGED
package/tsup.config.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineConfig } from
|
|
1
|
+
import { defineConfig } from "tsup";
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
|
-
entry: [
|
|
4
|
+
entry: ["src/index.ts"],
|
|
5
5
|
sourcemap: true,
|
|
6
6
|
clean: true,
|
|
7
7
|
dts: false,
|
|
8
|
-
format: [
|
|
9
|
-
onSuccess:
|
|
10
|
-
})
|
|
8
|
+
format: ["cjs", "esm"],
|
|
9
|
+
onSuccess: "tsc --emitDeclarationOnly --declaration --declarationMap",
|
|
10
|
+
});
|