@zoralabs/protocol-deployments 0.1.5-DEV.7 → 0.1.5-DEV.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.1.5-DEV.7",
3
+ "version": "0.1.5-DEV.8",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -38,6 +38,8 @@ export const chainConfigs = {
38
38
  };
39
39
  export const addresses = {
40
40
  999999999: {
41
+ MINTS_ETH_UNWRAPPER_AND_CALLER:
42
+ "0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b",
41
43
  MINTS_MANAGER_IMPL: "0xCD252603Aa72DD6c14802D7F82cCaDfcB3a643C0",
42
44
  MINTS_MANAGER_IMPL_VERSION: "0.1.0-DEV.7",
43
45
  },
@@ -1,3 +1,98 @@
1
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
+ // IUnwrapAndForwardAction
3
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+
5
+ export const iUnwrapAndForwardActionABI = [
6
+ {
7
+ stateMutability: 'payable',
8
+ type: 'function',
9
+ inputs: [
10
+ { name: 'receiverAddress', internalType: 'address', type: 'address' },
11
+ { name: 'call', internalType: 'bytes', type: 'bytes' },
12
+ { name: 'valueToSend', internalType: 'uint256', type: 'uint256' },
13
+ ],
14
+ name: 'callWithEth',
15
+ outputs: [],
16
+ },
17
+ ] as const
18
+
19
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20
+ // MintsEthUnwrapperAndCaller
21
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
22
+
23
+ /**
24
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b)
25
+ */
26
+ export const mintsEthUnwrapperAndCallerABI = [
27
+ {
28
+ stateMutability: 'nonpayable',
29
+ type: 'constructor',
30
+ inputs: [
31
+ {
32
+ name: '_zoraMints1155',
33
+ internalType: 'contract IZoraMints1155',
34
+ type: 'address',
35
+ },
36
+ ],
37
+ },
38
+ { stateMutability: 'payable', type: 'receive' },
39
+ {
40
+ stateMutability: 'nonpayable',
41
+ type: 'function',
42
+ inputs: [
43
+ { name: '', internalType: 'address', type: 'address' },
44
+ { name: 'from', internalType: 'address', type: 'address' },
45
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
46
+ { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
47
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
48
+ ],
49
+ name: 'onERC1155BatchReceived',
50
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
51
+ },
52
+ {
53
+ stateMutability: 'nonpayable',
54
+ type: 'function',
55
+ inputs: [
56
+ { name: '', internalType: 'address', type: 'address' },
57
+ { name: 'from', internalType: 'address', type: 'address' },
58
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
59
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
60
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
61
+ ],
62
+ name: 'onERC1155Received',
63
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
64
+ },
65
+ {
66
+ type: 'error',
67
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
68
+ name: 'ERC20NotSupported',
69
+ },
70
+ { type: 'error', inputs: [], name: 'ETHTransferFailed' },
71
+ { type: 'error', inputs: [], name: 'NotExpectingReceive' },
72
+ { type: 'error', inputs: [], name: 'NotZoraMints1155' },
73
+ {
74
+ type: 'error',
75
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
76
+ name: 'TransferFailed',
77
+ },
78
+ { type: 'error', inputs: [], name: 'UnknownUserAction' },
79
+ ] as const
80
+
81
+ /**
82
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b)
83
+ */
84
+ export const mintsEthUnwrapperAndCallerAddress = {
85
+ 999999999: '0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b',
86
+ } as const
87
+
88
+ /**
89
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x0cA1f6829fA3B42480Ae363Cca5E95d1Fa52688b)
90
+ */
91
+ export const mintsEthUnwrapperAndCallerConfig = {
92
+ address: mintsEthUnwrapperAndCallerAddress,
93
+ abi: mintsEthUnwrapperAndCallerABI,
94
+ } as const
95
+
1
96
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
97
  // ZoraCreator1155FactoryImpl
3
98
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////