@zoralabs/protocol-deployments 0.0.14-MINT.0 → 0.0.16

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.
@@ -1 +0,0 @@
1
- {"version":3,"file":"wagmiGenerated.d.ts","sourceRoot":"","sources":["../src/wagmiGenerated.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwdhC,CAAC;AAEX;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;CAapC,CAAC;AAEX;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvC,CAAC"}
@@ -1,62 +0,0 @@
1
- export const chainConfigs = {
2
- [1]: {
3
- FACTORY_OWNER: "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
4
- MINT_FEE_RECIPIENT: "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
5
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
6
- },
7
- [10]: {
8
- FACTORY_OWNER: "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
9
- MINT_FEE_RECIPIENT: "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
10
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
11
- },
12
- [11155111]: {
13
- FACTORY_OWNER: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
14
- MINT_FEE_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
15
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
16
- },
17
- [420]: {
18
- FACTORY_OWNER: "0xbb45052B2260707655Dfd916a416264f5981192c",
19
- MINT_FEE_RECIPIENT: "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2",
20
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
21
- },
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",
31
- },
32
- [5]: {
33
- FACTORY_OWNER: "0xDC498668B5e6CC518fD58A2ADBF614Fd3A13D3a0",
34
- MINT_FEE_RECIPIENT: "0x9444390c01Dd5b7249E53FAc31290F7dFF53450D",
35
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
36
- },
37
- [7777777]: {
38
- FACTORY_OWNER: "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
39
- MINT_FEE_RECIPIENT: "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
40
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
41
- },
42
- [8453]: {
43
- FACTORY_OWNER: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
44
- MINT_FEE_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
45
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
46
- },
47
- [84531]: {
48
- FACTORY_OWNER: "0x02539E813cA450C2c7334e885423f4A899a063Fe",
49
- MINT_FEE_RECIPIENT: "0x02539E813cA450C2c7334e885423f4A899a063Fe",
50
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
51
- },
52
- [999]: {
53
- FACTORY_OWNER: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
54
- MINT_FEE_RECIPIENT: "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
55
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
56
- },
57
- [999999999]: {
58
- FACTORY_OWNER: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
59
- MINT_FEE_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
60
- PROTOCOL_REWARDS: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
61
- },
62
- };
package/src/deployment.ts DELETED
@@ -1,94 +0,0 @@
1
- import { Address, LocalAccount, Hex } from "viem";
2
-
3
- export type ConfiguredSalt = `0x${string}`;
4
- // Load environment variables from `.env.local`
5
- export type DeterministicDeploymentConfig = {
6
- proxyDeployerAddress: Address;
7
- proxyShimSalt: ConfiguredSalt;
8
- proxySalt: ConfiguredSalt;
9
- proxyCreationCode: Hex;
10
- };
11
-
12
- export type GenericDeploymentConfiguration = {
13
- creationCode: Hex;
14
- salt: Hex;
15
- deployerAddress: Address;
16
- upgradeGateAddress: Address;
17
- proxyDeployerAddress: Address;
18
- };
19
-
20
- export type DeployedContracts = {
21
- factoryImplAddress: Address;
22
- };
23
-
24
- export const signDeployFactory = ({
25
- account,
26
- deterministicDeploymentConfig: config,
27
- implementationAddress,
28
- owner,
29
- chainId,
30
- }: {
31
- account: LocalAccount;
32
- deterministicDeploymentConfig: DeterministicDeploymentConfig;
33
- implementationAddress: Address;
34
- owner: Address;
35
- chainId: number;
36
- }) =>
37
- account.signTypedData({
38
- types: {
39
- createProxy: [
40
- { name: "proxyShimSalt", type: "bytes32" },
41
- { name: "proxySalt", type: "bytes32" },
42
- { name: "proxyCreationCode", type: "bytes" },
43
- { name: "implementationAddress", type: "address" },
44
- { name: "owner", type: "address" },
45
- ],
46
- },
47
- message: {
48
- proxyShimSalt: config.proxyShimSalt,
49
- implementationAddress,
50
- proxyCreationCode: config.proxyCreationCode,
51
- proxySalt: config.proxySalt,
52
- owner: owner,
53
- },
54
- primaryType: "createProxy",
55
- domain: {
56
- chainId,
57
- name: "DeterministicProxyDeployer",
58
- version: "1",
59
- verifyingContract: config.proxyDeployerAddress,
60
- },
61
- });
62
-
63
- export const signGenericDeploy = ({
64
- account,
65
- config,
66
- chainId,
67
- initCall,
68
- }: {
69
- account: LocalAccount;
70
- config: GenericDeploymentConfiguration;
71
- initCall: Hex;
72
- chainId: number;
73
- }) =>
74
- account.signTypedData({
75
- types: {
76
- createGenericContract: [
77
- { name: "salt", type: "bytes32" },
78
- { name: "creationCode", type: "bytes" },
79
- { name: "initCall", type: "bytes" },
80
- ],
81
- },
82
- message: {
83
- salt: config.salt,
84
- creationCode: config.creationCode,
85
- initCall,
86
- },
87
- primaryType: "createGenericContract",
88
- domain: {
89
- chainId,
90
- name: "DeterministicProxyDeployer",
91
- version: "1",
92
- verifyingContract: config.proxyDeployerAddress,
93
- },
94
- });