@layerzerolabs/create3-factory 3.0.48 → 3.0.50
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/CHANGELOG.md +12 -0
- package/deployments/bahamut-mainnet/.chainId +1 -0
- package/deployments/bahamut-mainnet/CREATE3Factory.json +120 -0
- package/deployments/cronosevm-mainnet/.chainId +1 -0
- package/deployments/cronosevm-mainnet/CREATE3Factory.json +120 -0
- package/deployments/cronoszkevm-mainnet/.chainId +1 -0
- package/deployments/cronoszkevm-mainnet/CREATE3Factory.json +213 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @layerzerolabs/create3-factory
|
|
2
2
|
|
|
3
|
+
## 3.0.50
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 887332f: cronos evm, zkevm, bahamut mainnets
|
|
8
|
+
|
|
9
|
+
## 3.0.49
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 3bd6551: Publish new TON packages at Jan 22
|
|
14
|
+
|
|
3
15
|
## 3.0.48
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5165
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "bytes32",
|
|
8
|
+
"name": "salt",
|
|
9
|
+
"type": "bytes32"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"internalType": "bytes",
|
|
13
|
+
"name": "creationCode",
|
|
14
|
+
"type": "bytes"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"name": "deploy",
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"internalType": "address",
|
|
21
|
+
"name": "deployed",
|
|
22
|
+
"type": "address"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"stateMutability": "payable",
|
|
26
|
+
"type": "function"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"internalType": "address",
|
|
32
|
+
"name": "deployer",
|
|
33
|
+
"type": "address"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"internalType": "bytes32",
|
|
37
|
+
"name": "salt",
|
|
38
|
+
"type": "bytes32"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "getDeployed",
|
|
42
|
+
"outputs": [
|
|
43
|
+
{
|
|
44
|
+
"internalType": "address",
|
|
45
|
+
"name": "deployed",
|
|
46
|
+
"type": "address"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"stateMutability": "view",
|
|
50
|
+
"type": "function"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"transactionHash": "0x9520c5e175ecfbc832b77c3c3268bdb004b4c6e7531ec630579af540bfffce48",
|
|
54
|
+
"receipt": {
|
|
55
|
+
"to": null,
|
|
56
|
+
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
57
|
+
"contractAddress": "0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1",
|
|
58
|
+
"transactionIndex": 0,
|
|
59
|
+
"gasUsed": "400278",
|
|
60
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
61
|
+
"blockHash": "0x7a299669bfdc19b89f1047aadc5135f3a8e6a25a4d78dd81444ed521ad24ba10",
|
|
62
|
+
"transactionHash": "0x9520c5e175ecfbc832b77c3c3268bdb004b4c6e7531ec630579af540bfffce48",
|
|
63
|
+
"logs": [],
|
|
64
|
+
"blockNumber": 4571834,
|
|
65
|
+
"cumulativeGasUsed": "400278",
|
|
66
|
+
"status": 1,
|
|
67
|
+
"byzantium": true
|
|
68
|
+
},
|
|
69
|
+
"args": [],
|
|
70
|
+
"numDeployments": 1,
|
|
71
|
+
"solcInputHash": "38b0c9933807d1cf29142f846a11b5fb",
|
|
72
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"creationCode\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployed\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"getDeployed\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployed\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"zefram.eth\",\"kind\":\"dev\",\"methods\":{\"deploy(bytes32,bytes)\":{\"details\":\"The provided salt is hashed together with msg.sender to generate the final salt\",\"params\":{\"creationCode\":\"The creation code of the contract to deploy\",\"salt\":\"The deployer-specific salt for determining the deployed contract's address\"},\"returns\":{\"deployed\":\"The address of the deployed contract\"}},\"getDeployed(address,bytes32)\":{\"details\":\"The provided salt is hashed together with the deployer address to generate the final salt\",\"params\":{\"deployer\":\"The deployer account that will call deploy()\",\"salt\":\"The deployer-specific salt for determining the deployed contract's address\"},\"returns\":{\"deployed\":\"The address of the contract that will be deployed\"}}},\"title\":\"Factory for deploying contracts to deterministic addresses via CREATE3\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"deploy(bytes32,bytes)\":{\"notice\":\"Deploys a contract using CREATE3\"},\"getDeployed(address,bytes32)\":{\"notice\":\"Predicts the address of a deployed contract\"}},\"notice\":\"Enables deploying contracts using CREATE3. Each deployer (msg.sender) has its own namespace for deployed addresses.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/CREATE3Factory.sol\":\"CREATE3Factory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":30000},\"remappings\":[]},\"sources\":{\"contracts/Bytes32AddressLib.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity >=0.8.0;\\n\\n/// @notice Library for converting between addresses and bytes32 values.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/Bytes32AddressLib.sol)\\nlibrary Bytes32AddressLib {\\n function fromLast20Bytes(bytes32 bytesValue) internal pure returns (address) {\\n return address(uint160(uint256(bytesValue)));\\n }\\n\\n function fillLast12Bytes(address addressValue) internal pure returns (bytes32) {\\n return bytes32(bytes20(addressValue));\\n }\\n}\\n\",\"keccak256\":\"0x1fef64595d11ea4363319297e8d0e751968b6f0cd23cfd9a1046cfe80fa3c1a1\",\"license\":\"AGPL-3.0\"},\"contracts/CREATE3.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity >=0.8.0;\\n\\nimport { Bytes32AddressLib } from \\\"./Bytes32AddressLib.sol\\\";\\n\\n/// @notice Deploy to deterministic addresses without an initcode factor.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/CREATE3.sol)\\n/// @author Modified from 0xSequence (https://github.com/0xSequence/create3/blob/master/contracts/Create3.sol)\\nlibrary CREATE3 {\\n using Bytes32AddressLib for bytes32;\\n\\n //--------------------------------------------------------------------------------//\\n // Opcode | Opcode + Arguments | Description | Stack View //\\n //--------------------------------------------------------------------------------//\\n // 0x36 | 0x36 | CALLDATASIZE | size //\\n // 0x3d | 0x3d | RETURNDATASIZE | 0 size //\\n // 0x3d | 0x3d | RETURNDATASIZE | 0 0 size //\\n // 0x37 | 0x37 | CALLDATACOPY | //\\n // 0x36 | 0x36 | CALLDATASIZE | size //\\n // 0x3d | 0x3d | RETURNDATASIZE | 0 size //\\n // 0x34 | 0x34 | CALLVALUE | value 0 size //\\n // 0xf0 | 0xf0 | CREATE | newContract //\\n //--------------------------------------------------------------------------------//\\n // Opcode | Opcode + Arguments | Description | Stack View //\\n //--------------------------------------------------------------------------------//\\n // 0x67 | 0x67XXXXXXXXXXXXXXXX | PUSH8 bytecode | bytecode //\\n // 0x3d | 0x3d | RETURNDATASIZE | 0 bytecode //\\n // 0x52 | 0x52 | MSTORE | //\\n // 0x60 | 0x6008 | PUSH1 08 | 8 //\\n // 0x60 | 0x6018 | PUSH1 18 | 24 8 //\\n // 0xf3 | 0xf3 | RETURN | //\\n //--------------------------------------------------------------------------------//\\n bytes internal constant PROXY_BYTECODE = hex\\\"67_36_3d_3d_37_36_3d_34_f0_3d_52_60_08_60_18_f3\\\";\\n\\n bytes32 internal constant PROXY_BYTECODE_HASH = keccak256(PROXY_BYTECODE);\\n\\n function deploy(bytes32 salt, bytes memory creationCode, uint256 value) internal returns (address deployed) {\\n bytes memory proxyChildBytecode = PROXY_BYTECODE;\\n\\n address proxy;\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Deploy a new contract with our pre-made bytecode via CREATE2.\\n // We start 32 bytes into the code to avoid copying the byte length.\\n proxy := create2(0, add(proxyChildBytecode, 32), mload(proxyChildBytecode), salt)\\n }\\n require(proxy != address(0), \\\"DEPLOYMENT_FAILED\\\");\\n\\n deployed = getDeployed(salt);\\n (bool success, ) = proxy.call{ value: value }(creationCode);\\n require(success && deployed.code.length != 0, \\\"INITIALIZATION_FAILED\\\");\\n }\\n\\n function getDeployed(bytes32 salt) internal view returns (address) {\\n return getDeployed(salt, address(this));\\n }\\n\\n function getDeployed(bytes32 salt, address creator) internal pure returns (address) {\\n address proxy = keccak256(\\n abi.encodePacked(\\n // Prefix:\\n bytes1(0xFF),\\n // Creator:\\n creator,\\n // Salt:\\n salt,\\n // Bytecode hash:\\n PROXY_BYTECODE_HASH\\n )\\n ).fromLast20Bytes();\\n\\n return\\n keccak256(\\n abi.encodePacked(\\n // 0xd6 = 0xc0 (short RLP prefix) + 0x16 (length of: 0x94 ++ proxy ++ 0x01)\\n // 0x94 = 0x80 + 0x14 (0x14 = the length of an address, 20 bytes, in hex)\\n hex\\\"d6_94\\\",\\n proxy,\\n hex\\\"01\\\" // Nonce of the proxy contract (1)\\n )\\n ).fromLast20Bytes();\\n }\\n}\\n\",\"keccak256\":\"0xf39b6e7200f8debc79f7e17317d38416d915fa555de667867c2649497991dd4c\",\"license\":\"AGPL-3.0\"},\"contracts/CREATE3Factory.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity ^0.8.13;\\n\\nimport { CREATE3 } from \\\"./CREATE3.sol\\\";\\n\\nimport { ICREATE3Factory } from \\\"./ICREATE3Factory.sol\\\";\\n\\n/// @title Factory for deploying contracts to deterministic addresses via CREATE3\\n/// @author zefram.eth\\n/// @notice Enables deploying contracts using CREATE3. Each deployer (msg.sender) has\\n/// its own namespace for deployed addresses.\\ncontract CREATE3Factory is ICREATE3Factory {\\n /// @inheritdoc\\tICREATE3Factory\\n function deploy(bytes32 salt, bytes memory creationCode) external payable override returns (address deployed) {\\n // hash salt with the deployer address to give each deployer its own namespace\\n salt = keccak256(abi.encodePacked(msg.sender, salt));\\n return CREATE3.deploy(salt, creationCode, msg.value);\\n }\\n\\n /// @inheritdoc\\tICREATE3Factory\\n function getDeployed(address deployer, bytes32 salt) external view override returns (address deployed) {\\n // hash salt with the deployer address to give each deployer its own namespace\\n salt = keccak256(abi.encodePacked(deployer, salt));\\n return CREATE3.getDeployed(salt);\\n }\\n}\\n\",\"keccak256\":\"0xcd8982e1f03dc675e0730899ae03a6dd57784305fb58b0be29bcd43b3f63aea9\",\"license\":\"AGPL-3.0\"},\"contracts/ICREATE3Factory.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity >=0.6.0;\\n\\n/// @title Factory for deploying contracts to deterministic addresses via CREATE3\\n/// @author zefram.eth\\n/// @notice Enables deploying contracts using CREATE3. Each deployer (msg.sender) has\\n/// its own namespace for deployed addresses.\\ninterface ICREATE3Factory {\\n /// @notice Deploys a contract using CREATE3\\n /// @dev The provided salt is hashed together with msg.sender to generate the final salt\\n /// @param salt The deployer-specific salt for determining the deployed contract's address\\n /// @param creationCode The creation code of the contract to deploy\\n /// @return deployed The address of the deployed contract\\n function deploy(bytes32 salt, bytes memory creationCode) external payable returns (address deployed);\\n\\n /// @notice Predicts the address of a deployed contract\\n /// @dev The provided salt is hashed together with the deployer address to generate the final salt\\n /// @param deployer The deployer account that will call deploy()\\n /// @param salt The deployer-specific salt for determining the deployed contract's address\\n /// @return deployed The address of the contract that will be deployed\\n function getDeployed(address deployer, bytes32 salt) external view returns (address deployed);\\n}\\n\",\"keccak256\":\"0x562e0200ed0c86ccaea5f7f0b948281ed4baa82ad278f7a53060dcdc63acc11a\",\"license\":\"AGPL-3.0\"}},\"version\":1}",
|
|
73
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610656806100206000396000f3fe6080604052600436106100295760003560e01c806350f1c4641461002e578063cdcb760a14610077575b600080fd5b34801561003a57600080fd5b5061004e6100493660046104a4565b61008a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61004e610085366004610518565b6100ee565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084901b166020820152603481018290526000906054016040516020818303038152906040528051906020012091506100e78261014c565b9392505050565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018390526000906054016040516020818303038152906040528051906020012092506100e783833461015e565b60006101588230610335565b92915050565b6000806040518060400160405280601081526020017f67363d3d37363d34f03d5260086018f30000000000000000000000000000000081525090506000858251602084016000f5905073ffffffffffffffffffffffffffffffffffffffff8116610229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4445504c4f594d454e545f4641494c454400000000000000000000000000000060448201526064015b60405180910390fd5b6102328661014c565b925060008173ffffffffffffffffffffffffffffffffffffffff16858760405161025c91906105f1565b60006040518083038185875af1925050503d8060008114610299576040519150601f19603f3d011682016040523d82523d6000602084013e61029e565b606091505b505090508080156102c5575073ffffffffffffffffffffffffffffffffffffffff84163b15155b61032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f494e495449414c495a4154494f4e5f4641494c454400000000000000000000006044820152606401610220565b5050509392505050565b604080518082018252601081527f67363d3d37363d34f03d5260086018f30000000000000000000000000000000060209182015290517fff00000000000000000000000000000000000000000000000000000000000000918101919091527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b166021820152603581018390527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526000908190610412906075015b6040516020818303038152906040528051906020012090565b6040517fd69400000000000000000000000000000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b1660228201527f0100000000000000000000000000000000000000000000000000000000000000603682015290915061049c906037016103f9565b949350505050565b600080604083850312156104b757600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104db57600080fd5b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806040838503121561052b57600080fd5b82359150602083013567ffffffffffffffff8082111561054a57600080fd5b818501915085601f83011261055e57600080fd5b813581811115610570576105706104e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105b6576105b66104e9565b816040528281528860208487010111156105cf57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b8181101561061257602081860181015185830152016105f8565b50600092019182525091905056fea26469706673582212206b6380cfdb8c09de9f5e19deecf088d43d289d060eeea9f3deea2b54d96f56d264736f6c63430008120033",
|
|
74
|
+
"deployedBytecode": "0x6080604052600436106100295760003560e01c806350f1c4641461002e578063cdcb760a14610077575b600080fd5b34801561003a57600080fd5b5061004e6100493660046104a4565b61008a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61004e610085366004610518565b6100ee565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084901b166020820152603481018290526000906054016040516020818303038152906040528051906020012091506100e78261014c565b9392505050565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018390526000906054016040516020818303038152906040528051906020012092506100e783833461015e565b60006101588230610335565b92915050565b6000806040518060400160405280601081526020017f67363d3d37363d34f03d5260086018f30000000000000000000000000000000081525090506000858251602084016000f5905073ffffffffffffffffffffffffffffffffffffffff8116610229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4445504c4f594d454e545f4641494c454400000000000000000000000000000060448201526064015b60405180910390fd5b6102328661014c565b925060008173ffffffffffffffffffffffffffffffffffffffff16858760405161025c91906105f1565b60006040518083038185875af1925050503d8060008114610299576040519150601f19603f3d011682016040523d82523d6000602084013e61029e565b606091505b505090508080156102c5575073ffffffffffffffffffffffffffffffffffffffff84163b15155b61032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f494e495449414c495a4154494f4e5f4641494c454400000000000000000000006044820152606401610220565b5050509392505050565b604080518082018252601081527f67363d3d37363d34f03d5260086018f30000000000000000000000000000000060209182015290517fff00000000000000000000000000000000000000000000000000000000000000918101919091527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b166021820152603581018390527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526000908190610412906075015b6040516020818303038152906040528051906020012090565b6040517fd69400000000000000000000000000000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b1660228201527f0100000000000000000000000000000000000000000000000000000000000000603682015290915061049c906037016103f9565b949350505050565b600080604083850312156104b757600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104db57600080fd5b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806040838503121561052b57600080fd5b82359150602083013567ffffffffffffffff8082111561054a57600080fd5b818501915085601f83011261055e57600080fd5b813581811115610570576105706104e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105b6576105b66104e9565b816040528281528860208487010111156105cf57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b8181101561061257602081860181015185830152016105f8565b50600092019182525091905056fea26469706673582212206b6380cfdb8c09de9f5e19deecf088d43d289d060eeea9f3deea2b54d96f56d264736f6c63430008120033",
|
|
75
|
+
"devdoc": {
|
|
76
|
+
"author": "zefram.eth",
|
|
77
|
+
"kind": "dev",
|
|
78
|
+
"methods": {
|
|
79
|
+
"deploy(bytes32,bytes)": {
|
|
80
|
+
"details": "The provided salt is hashed together with msg.sender to generate the final salt",
|
|
81
|
+
"params": {
|
|
82
|
+
"creationCode": "The creation code of the contract to deploy",
|
|
83
|
+
"salt": "The deployer-specific salt for determining the deployed contract's address"
|
|
84
|
+
},
|
|
85
|
+
"returns": {
|
|
86
|
+
"deployed": "The address of the deployed contract"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"getDeployed(address,bytes32)": {
|
|
90
|
+
"details": "The provided salt is hashed together with the deployer address to generate the final salt",
|
|
91
|
+
"params": {
|
|
92
|
+
"deployer": "The deployer account that will call deploy()",
|
|
93
|
+
"salt": "The deployer-specific salt for determining the deployed contract's address"
|
|
94
|
+
},
|
|
95
|
+
"returns": {
|
|
96
|
+
"deployed": "The address of the contract that will be deployed"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"title": "Factory for deploying contracts to deterministic addresses via CREATE3",
|
|
101
|
+
"version": 1
|
|
102
|
+
},
|
|
103
|
+
"userdoc": {
|
|
104
|
+
"kind": "user",
|
|
105
|
+
"methods": {
|
|
106
|
+
"deploy(bytes32,bytes)": {
|
|
107
|
+
"notice": "Deploys a contract using CREATE3"
|
|
108
|
+
},
|
|
109
|
+
"getDeployed(address,bytes32)": {
|
|
110
|
+
"notice": "Predicts the address of a deployed contract"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"notice": "Enables deploying contracts using CREATE3. Each deployer (msg.sender) has its own namespace for deployed addresses.",
|
|
114
|
+
"version": 1
|
|
115
|
+
},
|
|
116
|
+
"storageLayout": {
|
|
117
|
+
"storage": [],
|
|
118
|
+
"types": null
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
25
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "bytes32",
|
|
8
|
+
"name": "salt",
|
|
9
|
+
"type": "bytes32"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"internalType": "bytes",
|
|
13
|
+
"name": "creationCode",
|
|
14
|
+
"type": "bytes"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"name": "deploy",
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"internalType": "address",
|
|
21
|
+
"name": "deployed",
|
|
22
|
+
"type": "address"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"stateMutability": "payable",
|
|
26
|
+
"type": "function"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"internalType": "address",
|
|
32
|
+
"name": "deployer",
|
|
33
|
+
"type": "address"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"internalType": "bytes32",
|
|
37
|
+
"name": "salt",
|
|
38
|
+
"type": "bytes32"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "getDeployed",
|
|
42
|
+
"outputs": [
|
|
43
|
+
{
|
|
44
|
+
"internalType": "address",
|
|
45
|
+
"name": "deployed",
|
|
46
|
+
"type": "address"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"stateMutability": "view",
|
|
50
|
+
"type": "function"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"transactionHash": "0x2d772e67ba52ac3a2a9401ea2a729c0d6ed5b48ef09fa17034d880f4af83c3df",
|
|
54
|
+
"receipt": {
|
|
55
|
+
"to": null,
|
|
56
|
+
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
57
|
+
"contractAddress": "0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1",
|
|
58
|
+
"transactionIndex": 1,
|
|
59
|
+
"gasUsed": "400382",
|
|
60
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
61
|
+
"blockHash": "0x9e43c43a871e93cb14df19c313f0d3ca36fe66b1a3beb695f01dac244ef2fc54",
|
|
62
|
+
"transactionHash": "0x2d772e67ba52ac3a2a9401ea2a729c0d6ed5b48ef09fa17034d880f4af83c3df",
|
|
63
|
+
"logs": [],
|
|
64
|
+
"blockNumber": 17787496,
|
|
65
|
+
"cumulativeGasUsed": "575382",
|
|
66
|
+
"status": 1,
|
|
67
|
+
"byzantium": true
|
|
68
|
+
},
|
|
69
|
+
"args": [],
|
|
70
|
+
"numDeployments": 1,
|
|
71
|
+
"solcInputHash": "38b0c9933807d1cf29142f846a11b5fb",
|
|
72
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"creationCode\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployed\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"getDeployed\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployed\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"zefram.eth\",\"kind\":\"dev\",\"methods\":{\"deploy(bytes32,bytes)\":{\"details\":\"The provided salt is hashed together with msg.sender to generate the final salt\",\"params\":{\"creationCode\":\"The creation code of the contract to deploy\",\"salt\":\"The deployer-specific salt for determining the deployed contract's address\"},\"returns\":{\"deployed\":\"The address of the deployed contract\"}},\"getDeployed(address,bytes32)\":{\"details\":\"The provided salt is hashed together with the deployer address to generate the final salt\",\"params\":{\"deployer\":\"The deployer account that will call deploy()\",\"salt\":\"The deployer-specific salt for determining the deployed contract's address\"},\"returns\":{\"deployed\":\"The address of the contract that will be deployed\"}}},\"title\":\"Factory for deploying contracts to deterministic addresses via CREATE3\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"deploy(bytes32,bytes)\":{\"notice\":\"Deploys a contract using CREATE3\"},\"getDeployed(address,bytes32)\":{\"notice\":\"Predicts the address of a deployed contract\"}},\"notice\":\"Enables deploying contracts using CREATE3. Each deployer (msg.sender) has its own namespace for deployed addresses.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/CREATE3Factory.sol\":\"CREATE3Factory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":30000},\"remappings\":[]},\"sources\":{\"contracts/Bytes32AddressLib.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity >=0.8.0;\\n\\n/// @notice Library for converting between addresses and bytes32 values.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/Bytes32AddressLib.sol)\\nlibrary Bytes32AddressLib {\\n function fromLast20Bytes(bytes32 bytesValue) internal pure returns (address) {\\n return address(uint160(uint256(bytesValue)));\\n }\\n\\n function fillLast12Bytes(address addressValue) internal pure returns (bytes32) {\\n return bytes32(bytes20(addressValue));\\n }\\n}\\n\",\"keccak256\":\"0x1fef64595d11ea4363319297e8d0e751968b6f0cd23cfd9a1046cfe80fa3c1a1\",\"license\":\"AGPL-3.0\"},\"contracts/CREATE3.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity >=0.8.0;\\n\\nimport { Bytes32AddressLib } from \\\"./Bytes32AddressLib.sol\\\";\\n\\n/// @notice Deploy to deterministic addresses without an initcode factor.\\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/CREATE3.sol)\\n/// @author Modified from 0xSequence (https://github.com/0xSequence/create3/blob/master/contracts/Create3.sol)\\nlibrary CREATE3 {\\n using Bytes32AddressLib for bytes32;\\n\\n //--------------------------------------------------------------------------------//\\n // Opcode | Opcode + Arguments | Description | Stack View //\\n //--------------------------------------------------------------------------------//\\n // 0x36 | 0x36 | CALLDATASIZE | size //\\n // 0x3d | 0x3d | RETURNDATASIZE | 0 size //\\n // 0x3d | 0x3d | RETURNDATASIZE | 0 0 size //\\n // 0x37 | 0x37 | CALLDATACOPY | //\\n // 0x36 | 0x36 | CALLDATASIZE | size //\\n // 0x3d | 0x3d | RETURNDATASIZE | 0 size //\\n // 0x34 | 0x34 | CALLVALUE | value 0 size //\\n // 0xf0 | 0xf0 | CREATE | newContract //\\n //--------------------------------------------------------------------------------//\\n // Opcode | Opcode + Arguments | Description | Stack View //\\n //--------------------------------------------------------------------------------//\\n // 0x67 | 0x67XXXXXXXXXXXXXXXX | PUSH8 bytecode | bytecode //\\n // 0x3d | 0x3d | RETURNDATASIZE | 0 bytecode //\\n // 0x52 | 0x52 | MSTORE | //\\n // 0x60 | 0x6008 | PUSH1 08 | 8 //\\n // 0x60 | 0x6018 | PUSH1 18 | 24 8 //\\n // 0xf3 | 0xf3 | RETURN | //\\n //--------------------------------------------------------------------------------//\\n bytes internal constant PROXY_BYTECODE = hex\\\"67_36_3d_3d_37_36_3d_34_f0_3d_52_60_08_60_18_f3\\\";\\n\\n bytes32 internal constant PROXY_BYTECODE_HASH = keccak256(PROXY_BYTECODE);\\n\\n function deploy(bytes32 salt, bytes memory creationCode, uint256 value) internal returns (address deployed) {\\n bytes memory proxyChildBytecode = PROXY_BYTECODE;\\n\\n address proxy;\\n /// @solidity memory-safe-assembly\\n assembly {\\n // Deploy a new contract with our pre-made bytecode via CREATE2.\\n // We start 32 bytes into the code to avoid copying the byte length.\\n proxy := create2(0, add(proxyChildBytecode, 32), mload(proxyChildBytecode), salt)\\n }\\n require(proxy != address(0), \\\"DEPLOYMENT_FAILED\\\");\\n\\n deployed = getDeployed(salt);\\n (bool success, ) = proxy.call{ value: value }(creationCode);\\n require(success && deployed.code.length != 0, \\\"INITIALIZATION_FAILED\\\");\\n }\\n\\n function getDeployed(bytes32 salt) internal view returns (address) {\\n return getDeployed(salt, address(this));\\n }\\n\\n function getDeployed(bytes32 salt, address creator) internal pure returns (address) {\\n address proxy = keccak256(\\n abi.encodePacked(\\n // Prefix:\\n bytes1(0xFF),\\n // Creator:\\n creator,\\n // Salt:\\n salt,\\n // Bytecode hash:\\n PROXY_BYTECODE_HASH\\n )\\n ).fromLast20Bytes();\\n\\n return\\n keccak256(\\n abi.encodePacked(\\n // 0xd6 = 0xc0 (short RLP prefix) + 0x16 (length of: 0x94 ++ proxy ++ 0x01)\\n // 0x94 = 0x80 + 0x14 (0x14 = the length of an address, 20 bytes, in hex)\\n hex\\\"d6_94\\\",\\n proxy,\\n hex\\\"01\\\" // Nonce of the proxy contract (1)\\n )\\n ).fromLast20Bytes();\\n }\\n}\\n\",\"keccak256\":\"0xf39b6e7200f8debc79f7e17317d38416d915fa555de667867c2649497991dd4c\",\"license\":\"AGPL-3.0\"},\"contracts/CREATE3Factory.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity ^0.8.13;\\n\\nimport { CREATE3 } from \\\"./CREATE3.sol\\\";\\n\\nimport { ICREATE3Factory } from \\\"./ICREATE3Factory.sol\\\";\\n\\n/// @title Factory for deploying contracts to deterministic addresses via CREATE3\\n/// @author zefram.eth\\n/// @notice Enables deploying contracts using CREATE3. Each deployer (msg.sender) has\\n/// its own namespace for deployed addresses.\\ncontract CREATE3Factory is ICREATE3Factory {\\n /// @inheritdoc\\tICREATE3Factory\\n function deploy(bytes32 salt, bytes memory creationCode) external payable override returns (address deployed) {\\n // hash salt with the deployer address to give each deployer its own namespace\\n salt = keccak256(abi.encodePacked(msg.sender, salt));\\n return CREATE3.deploy(salt, creationCode, msg.value);\\n }\\n\\n /// @inheritdoc\\tICREATE3Factory\\n function getDeployed(address deployer, bytes32 salt) external view override returns (address deployed) {\\n // hash salt with the deployer address to give each deployer its own namespace\\n salt = keccak256(abi.encodePacked(deployer, salt));\\n return CREATE3.getDeployed(salt);\\n }\\n}\\n\",\"keccak256\":\"0xcd8982e1f03dc675e0730899ae03a6dd57784305fb58b0be29bcd43b3f63aea9\",\"license\":\"AGPL-3.0\"},\"contracts/ICREATE3Factory.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity >=0.6.0;\\n\\n/// @title Factory for deploying contracts to deterministic addresses via CREATE3\\n/// @author zefram.eth\\n/// @notice Enables deploying contracts using CREATE3. Each deployer (msg.sender) has\\n/// its own namespace for deployed addresses.\\ninterface ICREATE3Factory {\\n /// @notice Deploys a contract using CREATE3\\n /// @dev The provided salt is hashed together with msg.sender to generate the final salt\\n /// @param salt The deployer-specific salt for determining the deployed contract's address\\n /// @param creationCode The creation code of the contract to deploy\\n /// @return deployed The address of the deployed contract\\n function deploy(bytes32 salt, bytes memory creationCode) external payable returns (address deployed);\\n\\n /// @notice Predicts the address of a deployed contract\\n /// @dev The provided salt is hashed together with the deployer address to generate the final salt\\n /// @param deployer The deployer account that will call deploy()\\n /// @param salt The deployer-specific salt for determining the deployed contract's address\\n /// @return deployed The address of the contract that will be deployed\\n function getDeployed(address deployer, bytes32 salt) external view returns (address deployed);\\n}\\n\",\"keccak256\":\"0x562e0200ed0c86ccaea5f7f0b948281ed4baa82ad278f7a53060dcdc63acc11a\",\"license\":\"AGPL-3.0\"}},\"version\":1}",
|
|
73
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610656806100206000396000f3fe6080604052600436106100295760003560e01c806350f1c4641461002e578063cdcb760a14610077575b600080fd5b34801561003a57600080fd5b5061004e6100493660046104a4565b61008a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61004e610085366004610518565b6100ee565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084901b166020820152603481018290526000906054016040516020818303038152906040528051906020012091506100e78261014c565b9392505050565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018390526000906054016040516020818303038152906040528051906020012092506100e783833461015e565b60006101588230610335565b92915050565b6000806040518060400160405280601081526020017f67363d3d37363d34f03d5260086018f30000000000000000000000000000000081525090506000858251602084016000f5905073ffffffffffffffffffffffffffffffffffffffff8116610229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4445504c4f594d454e545f4641494c454400000000000000000000000000000060448201526064015b60405180910390fd5b6102328661014c565b925060008173ffffffffffffffffffffffffffffffffffffffff16858760405161025c91906105f1565b60006040518083038185875af1925050503d8060008114610299576040519150601f19603f3d011682016040523d82523d6000602084013e61029e565b606091505b505090508080156102c5575073ffffffffffffffffffffffffffffffffffffffff84163b15155b61032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f494e495449414c495a4154494f4e5f4641494c454400000000000000000000006044820152606401610220565b5050509392505050565b604080518082018252601081527f67363d3d37363d34f03d5260086018f30000000000000000000000000000000060209182015290517fff00000000000000000000000000000000000000000000000000000000000000918101919091527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b166021820152603581018390527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526000908190610412906075015b6040516020818303038152906040528051906020012090565b6040517fd69400000000000000000000000000000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b1660228201527f0100000000000000000000000000000000000000000000000000000000000000603682015290915061049c906037016103f9565b949350505050565b600080604083850312156104b757600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104db57600080fd5b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806040838503121561052b57600080fd5b82359150602083013567ffffffffffffffff8082111561054a57600080fd5b818501915085601f83011261055e57600080fd5b813581811115610570576105706104e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105b6576105b66104e9565b816040528281528860208487010111156105cf57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b8181101561061257602081860181015185830152016105f8565b50600092019182525091905056fea26469706673582212206b6380cfdb8c09de9f5e19deecf088d43d289d060eeea9f3deea2b54d96f56d264736f6c63430008120033",
|
|
74
|
+
"deployedBytecode": "0x6080604052600436106100295760003560e01c806350f1c4641461002e578063cdcb760a14610077575b600080fd5b34801561003a57600080fd5b5061004e6100493660046104a4565b61008a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61004e610085366004610518565b6100ee565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084901b166020820152603481018290526000906054016040516020818303038152906040528051906020012091506100e78261014c565b9392505050565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018390526000906054016040516020818303038152906040528051906020012092506100e783833461015e565b60006101588230610335565b92915050565b6000806040518060400160405280601081526020017f67363d3d37363d34f03d5260086018f30000000000000000000000000000000081525090506000858251602084016000f5905073ffffffffffffffffffffffffffffffffffffffff8116610229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4445504c4f594d454e545f4641494c454400000000000000000000000000000060448201526064015b60405180910390fd5b6102328661014c565b925060008173ffffffffffffffffffffffffffffffffffffffff16858760405161025c91906105f1565b60006040518083038185875af1925050503d8060008114610299576040519150601f19603f3d011682016040523d82523d6000602084013e61029e565b606091505b505090508080156102c5575073ffffffffffffffffffffffffffffffffffffffff84163b15155b61032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f494e495449414c495a4154494f4e5f4641494c454400000000000000000000006044820152606401610220565b5050509392505050565b604080518082018252601081527f67363d3d37363d34f03d5260086018f30000000000000000000000000000000060209182015290517fff00000000000000000000000000000000000000000000000000000000000000918101919091527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b166021820152603581018390527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f60558201526000908190610412906075015b6040516020818303038152906040528051906020012090565b6040517fd69400000000000000000000000000000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b1660228201527f0100000000000000000000000000000000000000000000000000000000000000603682015290915061049c906037016103f9565b949350505050565b600080604083850312156104b757600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104db57600080fd5b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806040838503121561052b57600080fd5b82359150602083013567ffffffffffffffff8082111561054a57600080fd5b818501915085601f83011261055e57600080fd5b813581811115610570576105706104e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105b6576105b66104e9565b816040528281528860208487010111156105cf57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b8181101561061257602081860181015185830152016105f8565b50600092019182525091905056fea26469706673582212206b6380cfdb8c09de9f5e19deecf088d43d289d060eeea9f3deea2b54d96f56d264736f6c63430008120033",
|
|
75
|
+
"devdoc": {
|
|
76
|
+
"author": "zefram.eth",
|
|
77
|
+
"kind": "dev",
|
|
78
|
+
"methods": {
|
|
79
|
+
"deploy(bytes32,bytes)": {
|
|
80
|
+
"details": "The provided salt is hashed together with msg.sender to generate the final salt",
|
|
81
|
+
"params": {
|
|
82
|
+
"creationCode": "The creation code of the contract to deploy",
|
|
83
|
+
"salt": "The deployer-specific salt for determining the deployed contract's address"
|
|
84
|
+
},
|
|
85
|
+
"returns": {
|
|
86
|
+
"deployed": "The address of the deployed contract"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"getDeployed(address,bytes32)": {
|
|
90
|
+
"details": "The provided salt is hashed together with the deployer address to generate the final salt",
|
|
91
|
+
"params": {
|
|
92
|
+
"deployer": "The deployer account that will call deploy()",
|
|
93
|
+
"salt": "The deployer-specific salt for determining the deployed contract's address"
|
|
94
|
+
},
|
|
95
|
+
"returns": {
|
|
96
|
+
"deployed": "The address of the contract that will be deployed"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"title": "Factory for deploying contracts to deterministic addresses via CREATE3",
|
|
101
|
+
"version": 1
|
|
102
|
+
},
|
|
103
|
+
"userdoc": {
|
|
104
|
+
"kind": "user",
|
|
105
|
+
"methods": {
|
|
106
|
+
"deploy(bytes32,bytes)": {
|
|
107
|
+
"notice": "Deploys a contract using CREATE3"
|
|
108
|
+
},
|
|
109
|
+
"getDeployed(address,bytes32)": {
|
|
110
|
+
"notice": "Predicts the address of a deployed contract"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"notice": "Enables deploying contracts using CREATE3. Each deployer (msg.sender) has its own namespace for deployed addresses.",
|
|
114
|
+
"version": 1
|
|
115
|
+
},
|
|
116
|
+
"storageLayout": {
|
|
117
|
+
"storage": [],
|
|
118
|
+
"types": null
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
388
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x99b6359ce8E0eBdC27eBeDb76FE28F29303E78fF",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "bytes32",
|
|
8
|
+
"name": "salt",
|
|
9
|
+
"type": "bytes32"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"internalType": "bytes",
|
|
13
|
+
"name": "creationCode",
|
|
14
|
+
"type": "bytes"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"name": "deploy",
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"internalType": "address",
|
|
21
|
+
"name": "deployed",
|
|
22
|
+
"type": "address"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"stateMutability": "payable",
|
|
26
|
+
"type": "function"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"internalType": "address",
|
|
32
|
+
"name": "deployer",
|
|
33
|
+
"type": "address"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"internalType": "bytes32",
|
|
37
|
+
"name": "salt",
|
|
38
|
+
"type": "bytes32"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "getDeployed",
|
|
42
|
+
"outputs": [
|
|
43
|
+
{
|
|
44
|
+
"internalType": "address",
|
|
45
|
+
"name": "deployed",
|
|
46
|
+
"type": "address"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"stateMutability": "view",
|
|
50
|
+
"type": "function"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"transactionHash": "0x37149a3ece6657e63b3fbd393e3816c3358980ae53403decb68afea442192a83",
|
|
54
|
+
"receipt": {
|
|
55
|
+
"to": "0x0000000000000000000000000000000000008006",
|
|
56
|
+
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
57
|
+
"contractAddress": "0x99b6359ce8E0eBdC27eBeDb76FE28F29303E78fF",
|
|
58
|
+
"transactionIndex": 0,
|
|
59
|
+
"gasUsed": "577927",
|
|
60
|
+
"logsBloom": "0x00000000000400080000010000000000000000000000400000000000000000000000000000000000000000000001000000000000000000000000020000000000000500000000040000000028000040000400000000000000000000000000080000000000030100000000000000000800000001001000400000000010000004000000001100000000000004000100010000000100000000000000000000000080800000000000100000000000800100002000000000000000012000010000000000000002008000000000000000000000000010000100000000000000000020000000000000000000000000000000000000100050000000000000000080000000",
|
|
61
|
+
"blockHash": "0x073b5d68adaa3813251eacb8c4f5dca889f489039c15e799ce7d555e10120b5e",
|
|
62
|
+
"transactionHash": "0x37149a3ece6657e63b3fbd393e3816c3358980ae53403decb68afea442192a83",
|
|
63
|
+
"logs": [
|
|
64
|
+
{
|
|
65
|
+
"transactionIndex": 0,
|
|
66
|
+
"blockNumber": 1089722,
|
|
67
|
+
"transactionHash": "0x37149a3ece6657e63b3fbd393e3816c3358980ae53403decb68afea442192a83",
|
|
68
|
+
"address": "0x000000000000000000000000000000000000800A",
|
|
69
|
+
"topics": [
|
|
70
|
+
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
|
|
71
|
+
"0x000000000000000000000000c13b65f7c53cd6db2ea205a4b574b4a0858720a6",
|
|
72
|
+
"0x0000000000000000000000000000000000000000000000000000000000008001"
|
|
73
|
+
],
|
|
74
|
+
"data": "0x0000000000000000000000000000000000000000000000000cfcde8866553800",
|
|
75
|
+
"logIndex": 0,
|
|
76
|
+
"blockHash": "0x073b5d68adaa3813251eacb8c4f5dca889f489039c15e799ce7d555e10120b5e"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"transactionIndex": 0,
|
|
80
|
+
"blockNumber": 1089722,
|
|
81
|
+
"transactionHash": "0x37149a3ece6657e63b3fbd393e3816c3358980ae53403decb68afea442192a83",
|
|
82
|
+
"address": "0x0000000000000000000000000000000000008008",
|
|
83
|
+
"topics": [
|
|
84
|
+
"0x27fe8c0b49f49507b9d4fe5968c9f49edfe5c9df277d433a07a0717ede97638d"
|
|
85
|
+
],
|
|
86
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000b7b0000000000000000000000000000000000000000000000000000000000008008000000000000000000000000000000000000000000000000000000000000800ec4561614681f93fdbb00d2cb4d716bb01d0cc0f7a8b7f13b13aec6178dc316b7",
|
|
87
|
+
"logIndex": 1,
|
|
88
|
+
"blockHash": "0x073b5d68adaa3813251eacb8c4f5dca889f489039c15e799ce7d555e10120b5e"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"transactionIndex": 0,
|
|
92
|
+
"blockNumber": 1089722,
|
|
93
|
+
"transactionHash": "0x37149a3ece6657e63b3fbd393e3816c3358980ae53403decb68afea442192a83",
|
|
94
|
+
"address": "0x0000000000000000000000000000000000008008",
|
|
95
|
+
"topics": [
|
|
96
|
+
"0x3a36e47291f4201faf137fab081d92295bce2d53be2c6ca68ba82c7faa9ce241",
|
|
97
|
+
"0x000000000000000000000000000000000000000000000000000000000000800e",
|
|
98
|
+
"0xc4561614681f93fdbb00d2cb4d716bb01d0cc0f7a8b7f13b13aec6178dc316b7"
|
|
99
|
+
],
|
|
100
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000104a016e000000000000000000000000003204350000000102200190000001ea00010430000000000001042d01e801e30000040f00000000030280190000007b0430009c00000040011002100000801002000039000000000112019f0000000000310435000000400100043d000000000101043b00000000010280190000007b02000041000000400020043f00000083011001c7000000000121019f00000000020380190000007b0420009c000000a30000213d0000006002200210000000a90000c13d0200000000000000ffffffffffffffff0000006003300210000001c50000613d000000c00230021000000000030004140000007b0310009c00000001020000390000000201000029000000000100001900000000020004140000007b0410009c0000000006000019000001e90001042e00000000020180190000007b0320009c0000007b01000041000000a90000213d000000000201043b000000a90000413d000000240000000000000000000000a000000000ffffffff0000000002000019000000000113019f0000000003050433000001bf0000213d00000000002504350000000000230435000100000002001d000000000001042f00000000050000190000000000210435000000240210003900000044021000390000007b0010019d00000060011002700001000000010355000200000001001d01e801de0000040f00000087011001c7000000000053043500000040021000390000009301000041000000040010043f000000410100003900000000001004350000009201000041000000c00220021000000000010380190000007b03000041000000400030043f0000000000340435000000200210003900000001066000390000000507600210000000000101004b0000004001200210000000880110019701e801540000040f0000000002000410000000800020043f000000000202043b000000400220008c000000040230008a0002000000000002a497e81f0752caa936b824a5b6b11afabe1931ddad70f6b3a9e4ac4cc7e24e0cffffffffffffff3f0100000000000000d694000000000000ffffffffffffff7fff00000000000000ffffffffffffffc04e487b710000000044000000000000004e545f4641494c454445504c4f594d45000000640000000008c379a00000000041494c45440000005a4154494f4e5f46494e495449414c4900000020000000000200000200000000023a8d90e8508b8302500962caba6a1568e884a7374b41e01806aa1896bbf26500000010000000009b89c0d60f4f9f5762e1cd30555d1665431b1770c5bc0ddd3cda33511d41a8a5f03d5260086018f367363d3d37363d34ffffffffffffffbfffffffffffffff9f000000000000000180000000000000000000000050f1c46400000000cdcb760a00000040000001000000000200000000000001e800000432000001e600210423000001e100210421000001dc0000613d000000c002400039000000990240009c000000010500002900000017020000390000009803000041000000b602400039000000a2034000390000009703000041000000a0014000390000000204000029000200000005001d0000008002500039000000960250009c00000055020000390000000203000029000000350250003900000055035000390000002104500039000000010300002900000095030000410000002001500039000000400500043d000000850200004100000000012104360000001002000039000001bf0000813d000000940210009c000000290000013d0000010a0000013d000000000343019f00000000033501cf000000000535022f0000010003300089000000000505043b000000000434022f00000000043401cf000000000401043300000003033002100000000001140019000000000515034f00000005011002100000010a0000613d000000000603004b000001390000413d000000000716004b0000000000780435000000000707043b000000000775034f0000000008740019000001410000613d0000000501100272000000010500036700000000041404360000001f0310018f000000a30000c13d00000001055001900000007f0630009c0000000105004039000000000543004b0000000003340019000000400400043d000000000343016f0000003f0310003900000003040000290000007f0310009c000000e60000013d00000015030000390000008e03000041000001520000c13d000001510000613d00008002020000390000008c011001c7000000c001200210000000040010044300000000001004390000008b010000410000011d0000613d0000000101200190000001240000c13d000000000301004b0000007b011001970000000004060019000080090200003900000089011001c7000001030000013d00000000020600190000008a011001c7000000ff0000c13d000000000203004b000000c00110021000000000020480190000007b0520009c00000000010480190000007b0510009c0000007b0400004100000090011001c7000000200300003900000004021000390000008f0200004100000011030000390000009103000041000001080000013d0000000001000031000000f20000c13d000000040440008c0000000006040019000000010400002900000000010004140000000003000416000000800200043d000000e00000613d0000008801100198000100000001001d000000dd0000613d0000800602000039000000c00240021000000000040180190000007b0340009c0000000000610435000200000006001d0000002401100039000000860300004100000060050000390000006403100039000000740500008a0000000004000414000000840310003900000010030000390000008503000041000000ab0000a13d000000840210009c000000000601043b000000a90000613d000300000009001d0000006001100210000000000101043300000040022002100000006003100039000000820310009c00000034030000390000003404100039000000000042043500000060041002100000000001000411000000000301043b00000004011003700000000000020435000000a0022000390000000000350435000000000363019f00000000034301cf000000000343022f0000010004400089000000000303043b000000000646022f00000000064601cf0000000006050433000000a0055000390000000304400210000000000353034f00000005055002100000007a0000613d000000000604004b000000630000413d000000000756004b0000000000870435000000a007700039000000000808043b000000000873034f0000006b0000613d00000005052002720000001f0420018f000000000331034f0000002003500039000000000334004b00000024044000390000000004240019000000400060043f0000007f0760009c000000000696016f000000200900008a000000bf06200039000000a30000813d000000810620009c000000000251034f0000000405400039000000000205004b000000000506c019000000800220009c0000000005008019000000000702004b00000080022001970000000006058019000000000632004b000000800500004100000023024000390000007f0240009c000000000402043b00000024021003700000007c0100004100000120000004430000010000100443000000200100003900000000010004160000008d011001c70000000000120435000000400200043d01e801c80000040f000000a001000039000000400010043f000000e0010000390000003402000039000000b40010043f000000a00020043f0000002401100370000000880320009c0000000402100370000000000202004b00000000020004160000007e0220009c0000003a0000613d0000007d0420009c000000e002200270000000040230008c000000320000c13d000000400040043f000000800400003900010000003103550000007b033001970000006003300270000000000301001900030000000000020059016d016c016b016a016901680167000201660165002b002a016401630162016100170160015f001700580057002b015e0056015d0029015c000d0016015b015a015900550158015701560155005400530052015401530028002700260051015200250151005000170150014f014e014d002500580057002b014c014b014a0029014901480147002401460145014401430142014101400017013f013e0056013d013c013b013a0139013800150137005501360135013400290133013201310130012f0024004f012e012d012c012b004e012a0129012801270126012501240123012201210120011f011e011d011c011b011a011901180117011601150114000c004d01130112004c0111000b01100015010f004b004a00140013010e010d00230049010c00120022001400130048000a00110009010b00050002010a0109000c010801070047004600450044004300030021000300420010004d010600010105000b010401030102004101010100004100ff000100fe00fd00fc002800fb00fa00270026005100f90012004000f8003f000200f7000d00f600f500f400540020005300f3003e00f200f100f000ef00ee00ed001f00ec00eb003d003c003b000c003a00ea0001003900e9000100e8003800e700e60001000f001e000e000800e5000300e400e300e200e100e0001600df001200de00dd00dc00db00da00d900d800d70037003f003d003c003b00d600d500d400d300d200d100d0002000cf002800220027002600ce00cd00cc0005000200cb000d005000ca000c003a00c90001003900c800c700c600c5001500c400c300c200c100c0003700bf00be001500bd00bc004b00bb00ba00b900b800b70024004f00b600b500b400b3004e00b200b100b000af00ae00ad00ac00ab00aa00a900a800a700a600a500a400a3000b00a20036002000a100590035003e000c00a0009f00420010009e009d009c0038000f001d000700060023000e0008001c00120040000900050002001b002a009b009a0099000b0098001a0097004c009600340095009400010093003300920032009100350010000f001e000e00080090003100070006001a0030001d00070006001c000a0011000900050002001b002a008f008e008d000b0016008c0034008b008a00010089008800330087003200860010000f001e000e0008003100070006001a0030001d00070006001c000a0011000900050002001b000d00520004004700460045004400430003002100030036004a002300490008001400130016000a0022001400130048000a00110009000500020085000d0004002100030084001f0004002f00040083001f0004002f00040082002500030000000000000000002e0081000000800000000000000000007f000000000000007e0000000000000019007d00000000000000000000007c0000000000000000007b0018000000000000000000000000007a0079007800000000007700760075007400180000007300000000002e0019001900180000002d000000000000002d0000007200710070006f006e0000002c000000000000006d0000006c006b006a0000006900000000000000000000006800000067006600650000006400000000000000000000002c00000000000000000063006200000000000000000000000000610060000000000000005f000000000000000000000000005e005d005c005b005a00000000000000000000000000000000000000000000",
|
|
101
|
+
"logIndex": 2,
|
|
102
|
+
"blockHash": "0x073b5d68adaa3813251eacb8c4f5dca889f489039c15e799ce7d555e10120b5e"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"transactionIndex": 0,
|
|
106
|
+
"blockNumber": 1089722,
|
|
107
|
+
"transactionHash": "0x37149a3ece6657e63b3fbd393e3816c3358980ae53403decb68afea442192a83",
|
|
108
|
+
"address": "0x0000000000000000000000000000000000008004",
|
|
109
|
+
"topics": [
|
|
110
|
+
"0xc94722ff13eacf53547c4741dab5228353a05938ffcdd5d4a2d533ae0e618287",
|
|
111
|
+
"0x0100009b83c102c5a468b7d2152240c2655417259fb0b2bcbd5b0fef31ea4f15",
|
|
112
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
113
|
+
],
|
|
114
|
+
"data": "0x",
|
|
115
|
+
"logIndex": 3,
|
|
116
|
+
"blockHash": "0x073b5d68adaa3813251eacb8c4f5dca889f489039c15e799ce7d555e10120b5e"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"transactionIndex": 0,
|
|
120
|
+
"blockNumber": 1089722,
|
|
121
|
+
"transactionHash": "0x37149a3ece6657e63b3fbd393e3816c3358980ae53403decb68afea442192a83",
|
|
122
|
+
"address": "0x0000000000000000000000000000000000008006",
|
|
123
|
+
"topics": [
|
|
124
|
+
"0x290afdae231a3fc0bbae8b1af63698b0a1d79b21ad17df0342dfb952fe74f8e5",
|
|
125
|
+
"0x000000000000000000000000c13b65f7c53cd6db2ea205a4b574b4a0858720a6",
|
|
126
|
+
"0x0100009b83c102c5a468b7d2152240c2655417259fb0b2bcbd5b0fef31ea4f15",
|
|
127
|
+
"0x00000000000000000000000099b6359ce8e0ebdc27ebedb76fe28f29303e78ff"
|
|
128
|
+
],
|
|
129
|
+
"data": "0x",
|
|
130
|
+
"logIndex": 4,
|
|
131
|
+
"blockHash": "0x073b5d68adaa3813251eacb8c4f5dca889f489039c15e799ce7d555e10120b5e"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"transactionIndex": 0,
|
|
135
|
+
"blockNumber": 1089722,
|
|
136
|
+
"transactionHash": "0x37149a3ece6657e63b3fbd393e3816c3358980ae53403decb68afea442192a83",
|
|
137
|
+
"address": "0x000000000000000000000000000000000000800A",
|
|
138
|
+
"topics": [
|
|
139
|
+
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
|
|
140
|
+
"0x0000000000000000000000000000000000000000000000000000000000008001",
|
|
141
|
+
"0x000000000000000000000000c13b65f7c53cd6db2ea205a4b574b4a0858720a6"
|
|
142
|
+
],
|
|
143
|
+
"data": "0x00000000000000000000000000000000000000000000000002f65b9a27f2ec00",
|
|
144
|
+
"logIndex": 5,
|
|
145
|
+
"blockHash": "0x073b5d68adaa3813251eacb8c4f5dca889f489039c15e799ce7d555e10120b5e"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"blockNumber": 1089722,
|
|
149
|
+
"cumulativeGasUsed": "0",
|
|
150
|
+
"status": 1,
|
|
151
|
+
"byzantium": true
|
|
152
|
+
},
|
|
153
|
+
"args": [],
|
|
154
|
+
"numDeployments": 1,
|
|
155
|
+
"solcInputHash": "c2b9f05a60b5e5599daadd494dc214db",
|
|
156
|
+
"metadata": {
|
|
157
|
+
"optimizer_settings": "M3B3",
|
|
158
|
+
"solc_metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"creationCode\",\"type\":\"bytes\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployed\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"getDeployed\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deployed\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"zefram.eth\",\"kind\":\"dev\",\"methods\":{\"deploy(bytes32,bytes)\":{\"details\":\"The provided salt is hashed together with msg.sender to generate the final salt\",\"params\":{\"creationCode\":\"The creation code of the contract to deploy\",\"salt\":\"The deployer-specific salt for determining the deployed contract's address\"},\"returns\":{\"deployed\":\"The address of the deployed contract\"}},\"getDeployed(address,bytes32)\":{\"details\":\"The provided salt is hashed together with the deployer address to generate the final salt\",\"params\":{\"deployer\":\"The deployer account that will call deploy()\",\"salt\":\"The deployer-specific salt for determining the deployed contract's address\"},\"returns\":{\"deployed\":\"The address of the contract that will be deployed\"}}},\"title\":\"Factory for deploying contracts to deterministic addresses via CREATE3\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"deploy(bytes32,bytes)\":{\"notice\":\"Deploys a contract using CREATE3\"},\"getDeployed(address,bytes32)\":{\"notice\":\"Predicts the address of a deployed contract\"}},\"notice\":\"Enables deploying contracts using CREATE3. Each deployer (msg.sender) has its own namespace for deployed addresses.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/CREATE3Factory.sol\":\"CREATE3Factory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"details\":{\"constantOptimizer\":false,\"cse\":false,\"deduplicate\":false,\"inliner\":false,\"jumpdestRemover\":false,\"orderLiterals\":false,\"peephole\":false,\"yul\":true,\"yulDetails\":{\"optimizerSteps\":\"dhfoDgvulfnTUtnIf[xa[r]EscLMcCTUtTOntnfDIulLculVcul [j]Tpeulxa[rul]xa[r]cLgvifCTUca[r]LSsTFOtfDnca[r]Iulc]jmul[jul] VcTOcul jmul:fDnTOc\",\"stackAllocation\":true}},\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/Bytes32AddressLib.sol\":{\"keccak256\":\"0x1fef64595d11ea4363319297e8d0e751968b6f0cd23cfd9a1046cfe80fa3c1a1\",\"license\":\"AGPL-3.0\",\"urls\":[\"bzz-raw://d6fb576f04ace24521637c63de0a13ad29c9bd839a3024f40d0a2912477aaba2\",\"dweb:/ipfs/QmfWGoQ3HmSPbUj217EroLYT7jeSj2pYh8MonKPY2gCpqu\"]},\"contracts/CREATE3.sol\":{\"keccak256\":\"0xf39b6e7200f8debc79f7e17317d38416d915fa555de667867c2649497991dd4c\",\"license\":\"AGPL-3.0\",\"urls\":[\"bzz-raw://67c35133abb4ebcbd55f46899c9efd09c44e691d9462ac8f88f70ce29352861f\",\"dweb:/ipfs/QmfFWifzUdSAyMjgYXvqwzE3ixh6nXFgr7uLokhrM7Zfi8\"]},\"contracts/CREATE3Factory.sol\":{\"keccak256\":\"0xcd8982e1f03dc675e0730899ae03a6dd57784305fb58b0be29bcd43b3f63aea9\",\"license\":\"AGPL-3.0\",\"urls\":[\"bzz-raw://486032992d5928abe5f85bc9af3bcfe97147f9fa750a2def9234234350a78371\",\"dweb:/ipfs/QmdWxHAkmSGLMhR23UehiUrDB8uT8tjQvNX8p1LAf5Ma7C\"]},\"contracts/ICREATE3Factory.sol\":{\"keccak256\":\"0x562e0200ed0c86ccaea5f7f0b948281ed4baa82ad278f7a53060dcdc63acc11a\",\"license\":\"AGPL-3.0\",\"urls\":[\"bzz-raw://c3d8dc740dc8ecfea43f962a8a3d006c4b69a81285301b4bd6c54c32661be1be\",\"dweb:/ipfs/QmNUTfWhQVwbFi5vBaBUWzsHYpUzBF5MAuJaZg2n6Xx4tf\"]}},\"version\":1}",
|
|
159
|
+
"solc_version": "0.8.18",
|
|
160
|
+
"solc_zkvm_edition": null,
|
|
161
|
+
"zk_version": "1.3.22"
|
|
162
|
+
},
|
|
163
|
+
"bytecode": "0x00020000000000020003000000000002000000000301001900000060033002700000007b0330019700010000003103550000008004000039000000400040043f0000000102200190000000320000c13d000000040230008c000000a90000413d000000000201043b000000e0022002700000007d0420009c0000003a0000613d0000007e0220009c000000a90000c13d0000000002000416000000000202004b000000a90000c13d000000040230008a000000400220008c000000a90000413d0000000402100370000000000202043b000000880320009c000000a90000213d0000002401100370000000000101043b0000006002200210000000a00020043f000000b40010043f0000003402000039000000800020043f000000e001000039000000400010043f000000a00100003901e801c80000040f000000000200041001e801540000040f0000008801100197000000400200043d00000000001204350000007b010000410000007b0320009c000000000201801900000040012002100000008d011001c7000001e90001042e0000000001000416000000000101004b000000a90000c13d0000002001000039000001000010044300000120000004430000007c01000041000001e90001042e000000040230008a000000400220008c000000a90000413d0000002402100370000000000402043b0000007f0240009c000000a90000213d00000023024000390000008005000041000000000632004b000000000600001900000000060580190000008002200197000000000702004b0000000005008019000000800220009c000000000506c019000000000205004b000000a90000c13d0000000405400039000000000251034f000000000202043b000000810620009c000000a30000813d000000bf06200039000000200900008a000000000696016f0000007f0760009c000000a30000213d000000400060043f000000800020043f00000000042400190000002404400039000000000334004b000000a90000213d0000002003500039000000000331034f0000001f0420018f00000005052002720000006b0000613d00000000060000190000000507600210000000000873034f000000000808043b000000a00770003900000000008704350000000106600039000000000756004b000000630000413d000000000604004b0000007a0000613d0000000505500210000000000353034f0000000304400210000000a005500039000000000605043300000000064601cf000000000646022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000363019f0000000000350435000000a00220003900000000000204350000000401100370000000000301043b00000000010004110000006004100210000000400100043d000000200210003900000000004204350000003404100039000000000034043500000034030000390000000000310435000000820310009c000000a30000213d0000006003100039000000400030043f0000007b030000410000007b0420009c0000000002038019000000400220021000000000010104330000007b0410009c00000000010380190000006001100210000000000121019f00000000020004140000007b0420009c0000000002038019000000c002200210000000000112019f00000083011001c70000801002000039000300000009001d01e801e30000040f0000000102200190000000a90000613d000000000601043b000000400100043d000000840210009c000000ab0000a13d000000920100004100000000001004350000004101000039000000040010043f0000009301000041000001ea000104300000000001000019000001ea000104300000004002100039000000400020043f0000002002100039000000850300004100000000003204350000001003000039000000000031043500000084031000390000000004000414000000740500008a0000000000530435000000640310003900000060050000390000000000530435000000860300004100000000003204350000002401100039000200000006001d00000000006104350000007b010000410000007b0340009c00000000040180190000007b0320009c00000000020180190000004001200210000000c002400210000000000121019f00000087011001c7000080060200003901e801de0000040f0000000102200190000000dd0000613d000000000101043b000100000001001d0000008801100198000000e00000613d0000000002000410000000020100002901e801540000040f000000800200043d000200000001001d0000000003000416000000000100041400000001040000290000000006040019000000040440008c000000f20000c13d00000001020000390000000001000031000001080000013d000100000001035500000060011002700000007b0010019d000000400100043d0000004402100039000000910300004100000000003204350000002402100039000000110300003900000000003204350000008f0200004100000000002104350000000402100039000000200300003900000000003204350000007b020000410000007b0310009c0000000001028019000000400110021000000090011001c7000001ea000104300000007b040000410000007b0510009c00000000010480190000007b0520009c00000000020480190000006002200210000000c001100210000000000121019f000000000203004b000000ff0000c13d0000008a011001c70000000002060019000001030000013d00000089011001c700008009020000390000000004060019000000000500001901e801de0000040f000100000001035500000060011002700000007b0010019d0000007b01100197000000000301004b000001240000c13d00000001012001900000011d0000613d0000008b010000410000000000100439000000020100002900000004001004430000007b0100004100000000020004140000007b0320009c0000000002018019000000c0012002100000008c011001c7000080020200003901e801e30000040f0000000102200190000001510000613d000000000101043b000000000101004b000001520000c13d000000400100043d00000044021000390000008e03000041000000000032043500000024021000390000001503000039000000e60000013d0000007f0310009c0000000304000029000000a30000213d0000003f03100039000000000343016f000000400400043d0000000003340019000000000543004b000000000500001900000001050040390000007f0630009c000000a30000213d0000000105500190000000a30000c13d000000400030043f0000001f0310018f000000000414043600000001050003670000000501100272000001410000613d000000000600001900000005076002100000000008740019000000000775034f000000000707043b00000000007804350000000106600039000000000716004b000001390000413d000000000603004b0000010a0000613d0000000501100210000000000515034f00000000011400190000000303300210000000000401043300000000043401cf000000000434022f000000000505043b0000010003300089000000000535022f00000000033501cf000000000343019f00000000003104350000010a0000013d000000000001042f0000000201000029000000290000013d0002000000000002000100000002001d000200000001001d000000400100043d000000940210009c000001bf0000813d0000004002100039000000400020043f00000010020000390000000001210436000000850200004100000000002104350000007b0200004100000000030004140000007b0430009c00000000030280190000007b0410009c00000000010280190000004001100210000000c002300210000000000121019f00000087011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000201043b000000400500043d00000020015000390000009503000041000000000031043500000001030000290000006003300210000000210450003900000000003404350000005503500039000000000023043500000035025000390000000203000029000000000032043500000055020000390000000000250435000000960250009c000001bf0000213d0000008002500039000100000002001d000000400020043f0000007b020000410000007b0310009c00000000010280190000004001100210000200000005001d00000000030504330000007b0430009c00000000030280190000006003300210000000000113019f00000000030004140000007b0430009c0000000003028019000000c002300210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000201043b0000000204000029000000a001400039000000970300004100000000003104350000006002200210000000a2034000390000000000230435000000b60240003900000098030000410000000000320435000000170200003900000001050000290000000000250435000000990240009c000001bf0000213d000000c002400039000000400020043f0000007b020000410000007b0310009c0000000001028019000000400110021000000000030504330000007b0430009c00000000030280190000006003300210000000000113019f00000000030004140000007b0430009c0000000003028019000000c002300210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000101043b0000008801100197000000000001042d000000920100004100000000001004350000004101000039000000040010043f0000009301000041000001ea000104300000000001000019000001ea00010430000000000001042f0000007b030000410000007b0410009c000000000103801900000040011002100000007b0420009c00000000020380190000006002200210000000000112019f00000000020004140000007b0420009c0000000002038019000000c002200210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001dc0000613d000000000101043b000000000001042d0000000001000019000001ea00010430000001e1002104210000000102000039000000000001042d0000000002000019000000000001042d000001e6002104230000000102000039000000000001042d0000000002000019000000000001042d000001e800000432000001e90001042e000001ea00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000cdcb760a0000000000000000000000000000000000000000000000000000000050f1c464000000000000000000000000000000000000000000000000ffffffffffffffff80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000ffffffffffffff9f0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffbf67363d3d37363d34f03d5260086018f3000000000000000000000000000000003cda33511d41a8a5431b1770c5bc0ddd62e1cd30555d16659b89c0d60f4f9f570200000000000000000000000000000000000010000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff0200000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000001806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b8302000002000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000020000000000000000000000000494e495449414c495a4154494f4e5f4641494c4544000000000000000000000008c379a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000004445504c4f594d454e545f4641494c45440000000000000000000000000000004e487b71000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffc0ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7fd6940000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff3fa9e4ac4cc7e24e0cbe1931ddad70f6b336b824a5b6b11afaa497e81f0752caa9",
|
|
164
|
+
"deployedBytecode": "0x00020000000000020003000000000002000000000301001900000060033002700000007b0330019700010000003103550000008004000039000000400040043f0000000102200190000000320000c13d000000040230008c000000a90000413d000000000201043b000000e0022002700000007d0420009c0000003a0000613d0000007e0220009c000000a90000c13d0000000002000416000000000202004b000000a90000c13d000000040230008a000000400220008c000000a90000413d0000000402100370000000000202043b000000880320009c000000a90000213d0000002401100370000000000101043b0000006002200210000000a00020043f000000b40010043f0000003402000039000000800020043f000000e001000039000000400010043f000000a00100003901e801c80000040f000000000200041001e801540000040f0000008801100197000000400200043d00000000001204350000007b010000410000007b0320009c000000000201801900000040012002100000008d011001c7000001e90001042e0000000001000416000000000101004b000000a90000c13d0000002001000039000001000010044300000120000004430000007c01000041000001e90001042e000000040230008a000000400220008c000000a90000413d0000002402100370000000000402043b0000007f0240009c000000a90000213d00000023024000390000008005000041000000000632004b000000000600001900000000060580190000008002200197000000000702004b0000000005008019000000800220009c000000000506c019000000000205004b000000a90000c13d0000000405400039000000000251034f000000000202043b000000810620009c000000a30000813d000000bf06200039000000200900008a000000000696016f0000007f0760009c000000a30000213d000000400060043f000000800020043f00000000042400190000002404400039000000000334004b000000a90000213d0000002003500039000000000331034f0000001f0420018f00000005052002720000006b0000613d00000000060000190000000507600210000000000873034f000000000808043b000000a00770003900000000008704350000000106600039000000000756004b000000630000413d000000000604004b0000007a0000613d0000000505500210000000000353034f0000000304400210000000a005500039000000000605043300000000064601cf000000000646022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000363019f0000000000350435000000a00220003900000000000204350000000401100370000000000301043b00000000010004110000006004100210000000400100043d000000200210003900000000004204350000003404100039000000000034043500000034030000390000000000310435000000820310009c000000a30000213d0000006003100039000000400030043f0000007b030000410000007b0420009c0000000002038019000000400220021000000000010104330000007b0410009c00000000010380190000006001100210000000000121019f00000000020004140000007b0420009c0000000002038019000000c002200210000000000112019f00000083011001c70000801002000039000300000009001d01e801e30000040f0000000102200190000000a90000613d000000000601043b000000400100043d000000840210009c000000ab0000a13d000000920100004100000000001004350000004101000039000000040010043f0000009301000041000001ea000104300000000001000019000001ea000104300000004002100039000000400020043f0000002002100039000000850300004100000000003204350000001003000039000000000031043500000084031000390000000004000414000000740500008a0000000000530435000000640310003900000060050000390000000000530435000000860300004100000000003204350000002401100039000200000006001d00000000006104350000007b010000410000007b0340009c00000000040180190000007b0320009c00000000020180190000004001200210000000c002400210000000000121019f00000087011001c7000080060200003901e801de0000040f0000000102200190000000dd0000613d000000000101043b000100000001001d0000008801100198000000e00000613d0000000002000410000000020100002901e801540000040f000000800200043d000200000001001d0000000003000416000000000100041400000001040000290000000006040019000000040440008c000000f20000c13d00000001020000390000000001000031000001080000013d000100000001035500000060011002700000007b0010019d000000400100043d0000004402100039000000910300004100000000003204350000002402100039000000110300003900000000003204350000008f0200004100000000002104350000000402100039000000200300003900000000003204350000007b020000410000007b0310009c0000000001028019000000400110021000000090011001c7000001ea000104300000007b040000410000007b0510009c00000000010480190000007b0520009c00000000020480190000006002200210000000c001100210000000000121019f000000000203004b000000ff0000c13d0000008a011001c70000000002060019000001030000013d00000089011001c700008009020000390000000004060019000000000500001901e801de0000040f000100000001035500000060011002700000007b0010019d0000007b01100197000000000301004b000001240000c13d00000001012001900000011d0000613d0000008b010000410000000000100439000000020100002900000004001004430000007b0100004100000000020004140000007b0320009c0000000002018019000000c0012002100000008c011001c7000080020200003901e801e30000040f0000000102200190000001510000613d000000000101043b000000000101004b000001520000c13d000000400100043d00000044021000390000008e03000041000000000032043500000024021000390000001503000039000000e60000013d0000007f0310009c0000000304000029000000a30000213d0000003f03100039000000000343016f000000400400043d0000000003340019000000000543004b000000000500001900000001050040390000007f0630009c000000a30000213d0000000105500190000000a30000c13d000000400030043f0000001f0310018f000000000414043600000001050003670000000501100272000001410000613d000000000600001900000005076002100000000008740019000000000775034f000000000707043b00000000007804350000000106600039000000000716004b000001390000413d000000000603004b0000010a0000613d0000000501100210000000000515034f00000000011400190000000303300210000000000401043300000000043401cf000000000434022f000000000505043b0000010003300089000000000535022f00000000033501cf000000000343019f00000000003104350000010a0000013d000000000001042f0000000201000029000000290000013d0002000000000002000100000002001d000200000001001d000000400100043d000000940210009c000001bf0000813d0000004002100039000000400020043f00000010020000390000000001210436000000850200004100000000002104350000007b0200004100000000030004140000007b0430009c00000000030280190000007b0410009c00000000010280190000004001100210000000c002300210000000000121019f00000087011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000201043b000000400500043d00000020015000390000009503000041000000000031043500000001030000290000006003300210000000210450003900000000003404350000005503500039000000000023043500000035025000390000000203000029000000000032043500000055020000390000000000250435000000960250009c000001bf0000213d0000008002500039000100000002001d000000400020043f0000007b020000410000007b0310009c00000000010280190000004001100210000200000005001d00000000030504330000007b0430009c00000000030280190000006003300210000000000113019f00000000030004140000007b0430009c0000000003028019000000c002300210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000201043b0000000204000029000000a001400039000000970300004100000000003104350000006002200210000000a2034000390000000000230435000000b60240003900000098030000410000000000320435000000170200003900000001050000290000000000250435000000990240009c000001bf0000213d000000c002400039000000400020043f0000007b020000410000007b0310009c0000000001028019000000400110021000000000030504330000007b0430009c00000000030280190000006003300210000000000113019f00000000030004140000007b0430009c0000000003028019000000c002300210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000101043b0000008801100197000000000001042d000000920100004100000000001004350000004101000039000000040010043f0000009301000041000001ea000104300000000001000019000001ea00010430000000000001042f0000007b030000410000007b0410009c000000000103801900000040011002100000007b0420009c00000000020380190000006002200210000000000112019f00000000020004140000007b0420009c0000000002038019000000c002200210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001dc0000613d000000000101043b000000000001042d0000000001000019000001ea00010430000001e1002104210000000102000039000000000001042d0000000002000019000000000001042d000001e6002104230000000102000039000000000001042d0000000002000019000000000001042d000001e800000432000001e90001042e000001ea00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000cdcb760a0000000000000000000000000000000000000000000000000000000050f1c464000000000000000000000000000000000000000000000000ffffffffffffffff80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000ffffffffffffff9f0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffbf67363d3d37363d34f03d5260086018f3000000000000000000000000000000003cda33511d41a8a5431b1770c5bc0ddd62e1cd30555d16659b89c0d60f4f9f570200000000000000000000000000000000000010000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff0200000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000001806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b8302000002000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000020000000000000000000000000494e495449414c495a4154494f4e5f4641494c4544000000000000000000000008c379a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000004445504c4f594d454e545f4641494c45440000000000000000000000000000004e487b71000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffc0ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7fd6940000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff3fa9e4ac4cc7e24e0cbe1931ddad70f6b336b824a5b6b11afaa497e81f0752caa9",
|
|
165
|
+
"devdoc": {
|
|
166
|
+
"author": "zefram.eth",
|
|
167
|
+
"kind": "dev",
|
|
168
|
+
"methods": {
|
|
169
|
+
"deploy(bytes32,bytes)": {
|
|
170
|
+
"details": "The provided salt is hashed together with msg.sender to generate the final salt",
|
|
171
|
+
"params": {
|
|
172
|
+
"creationCode": "The creation code of the contract to deploy",
|
|
173
|
+
"salt": "The deployer-specific salt for determining the deployed contract's address"
|
|
174
|
+
},
|
|
175
|
+
"returns": {
|
|
176
|
+
"deployed": "The address of the deployed contract"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"getDeployed(address,bytes32)": {
|
|
180
|
+
"details": "The provided salt is hashed together with the deployer address to generate the final salt",
|
|
181
|
+
"params": {
|
|
182
|
+
"deployer": "The deployer account that will call deploy()",
|
|
183
|
+
"salt": "The deployer-specific salt for determining the deployed contract's address"
|
|
184
|
+
},
|
|
185
|
+
"returns": {
|
|
186
|
+
"deployed": "The address of the contract that will be deployed"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"title": "Factory for deploying contracts to deterministic addresses via CREATE3",
|
|
191
|
+
"version": 1
|
|
192
|
+
},
|
|
193
|
+
"userdoc": {
|
|
194
|
+
"kind": "user",
|
|
195
|
+
"methods": {
|
|
196
|
+
"deploy(bytes32,bytes)": {
|
|
197
|
+
"notice": "Deploys a contract using CREATE3"
|
|
198
|
+
},
|
|
199
|
+
"getDeployed(address,bytes32)": {
|
|
200
|
+
"notice": "Predicts the address of a deployed contract"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"notice": "Enables deploying contracts using CREATE3. Each deployer (msg.sender) has its own namespace for deployed addresses.",
|
|
204
|
+
"version": 1
|
|
205
|
+
},
|
|
206
|
+
"storageLayout": {
|
|
207
|
+
"storage": [],
|
|
208
|
+
"types": null
|
|
209
|
+
},
|
|
210
|
+
"factoryDeps": [
|
|
211
|
+
"0x00020000000000020003000000000002000000000301001900000060033002700000007b0330019700010000003103550000008004000039000000400040043f0000000102200190000000320000c13d000000040230008c000000a90000413d000000000201043b000000e0022002700000007d0420009c0000003a0000613d0000007e0220009c000000a90000c13d0000000002000416000000000202004b000000a90000c13d000000040230008a000000400220008c000000a90000413d0000000402100370000000000202043b000000880320009c000000a90000213d0000002401100370000000000101043b0000006002200210000000a00020043f000000b40010043f0000003402000039000000800020043f000000e001000039000000400010043f000000a00100003901e801c80000040f000000000200041001e801540000040f0000008801100197000000400200043d00000000001204350000007b010000410000007b0320009c000000000201801900000040012002100000008d011001c7000001e90001042e0000000001000416000000000101004b000000a90000c13d0000002001000039000001000010044300000120000004430000007c01000041000001e90001042e000000040230008a000000400220008c000000a90000413d0000002402100370000000000402043b0000007f0240009c000000a90000213d00000023024000390000008005000041000000000632004b000000000600001900000000060580190000008002200197000000000702004b0000000005008019000000800220009c000000000506c019000000000205004b000000a90000c13d0000000405400039000000000251034f000000000202043b000000810620009c000000a30000813d000000bf06200039000000200900008a000000000696016f0000007f0760009c000000a30000213d000000400060043f000000800020043f00000000042400190000002404400039000000000334004b000000a90000213d0000002003500039000000000331034f0000001f0420018f00000005052002720000006b0000613d00000000060000190000000507600210000000000873034f000000000808043b000000a00770003900000000008704350000000106600039000000000756004b000000630000413d000000000604004b0000007a0000613d0000000505500210000000000353034f0000000304400210000000a005500039000000000605043300000000064601cf000000000646022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000363019f0000000000350435000000a00220003900000000000204350000000401100370000000000301043b00000000010004110000006004100210000000400100043d000000200210003900000000004204350000003404100039000000000034043500000034030000390000000000310435000000820310009c000000a30000213d0000006003100039000000400030043f0000007b030000410000007b0420009c0000000002038019000000400220021000000000010104330000007b0410009c00000000010380190000006001100210000000000121019f00000000020004140000007b0420009c0000000002038019000000c002200210000000000112019f00000083011001c70000801002000039000300000009001d01e801e30000040f0000000102200190000000a90000613d000000000601043b000000400100043d000000840210009c000000ab0000a13d000000920100004100000000001004350000004101000039000000040010043f0000009301000041000001ea000104300000000001000019000001ea000104300000004002100039000000400020043f0000002002100039000000850300004100000000003204350000001003000039000000000031043500000084031000390000000004000414000000740500008a0000000000530435000000640310003900000060050000390000000000530435000000860300004100000000003204350000002401100039000200000006001d00000000006104350000007b010000410000007b0340009c00000000040180190000007b0320009c00000000020180190000004001200210000000c002400210000000000121019f00000087011001c7000080060200003901e801de0000040f0000000102200190000000dd0000613d000000000101043b000100000001001d0000008801100198000000e00000613d0000000002000410000000020100002901e801540000040f000000800200043d000200000001001d0000000003000416000000000100041400000001040000290000000006040019000000040440008c000000f20000c13d00000001020000390000000001000031000001080000013d000100000001035500000060011002700000007b0010019d000000400100043d0000004402100039000000910300004100000000003204350000002402100039000000110300003900000000003204350000008f0200004100000000002104350000000402100039000000200300003900000000003204350000007b020000410000007b0310009c0000000001028019000000400110021000000090011001c7000001ea000104300000007b040000410000007b0510009c00000000010480190000007b0520009c00000000020480190000006002200210000000c001100210000000000121019f000000000203004b000000ff0000c13d0000008a011001c70000000002060019000001030000013d00000089011001c700008009020000390000000004060019000000000500001901e801de0000040f000100000001035500000060011002700000007b0010019d0000007b01100197000000000301004b000001240000c13d00000001012001900000011d0000613d0000008b010000410000000000100439000000020100002900000004001004430000007b0100004100000000020004140000007b0320009c0000000002018019000000c0012002100000008c011001c7000080020200003901e801e30000040f0000000102200190000001510000613d000000000101043b000000000101004b000001520000c13d000000400100043d00000044021000390000008e03000041000000000032043500000024021000390000001503000039000000e60000013d0000007f0310009c0000000304000029000000a30000213d0000003f03100039000000000343016f000000400400043d0000000003340019000000000543004b000000000500001900000001050040390000007f0630009c000000a30000213d0000000105500190000000a30000c13d000000400030043f0000001f0310018f000000000414043600000001050003670000000501100272000001410000613d000000000600001900000005076002100000000008740019000000000775034f000000000707043b00000000007804350000000106600039000000000716004b000001390000413d000000000603004b0000010a0000613d0000000501100210000000000515034f00000000011400190000000303300210000000000401043300000000043401cf000000000434022f000000000505043b0000010003300089000000000535022f00000000033501cf000000000343019f00000000003104350000010a0000013d000000000001042f0000000201000029000000290000013d0002000000000002000100000002001d000200000001001d000000400100043d000000940210009c000001bf0000813d0000004002100039000000400020043f00000010020000390000000001210436000000850200004100000000002104350000007b0200004100000000030004140000007b0430009c00000000030280190000007b0410009c00000000010280190000004001100210000000c002300210000000000121019f00000087011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000201043b000000400500043d00000020015000390000009503000041000000000031043500000001030000290000006003300210000000210450003900000000003404350000005503500039000000000023043500000035025000390000000203000029000000000032043500000055020000390000000000250435000000960250009c000001bf0000213d0000008002500039000100000002001d000000400020043f0000007b020000410000007b0310009c00000000010280190000004001100210000200000005001d00000000030504330000007b0430009c00000000030280190000006003300210000000000113019f00000000030004140000007b0430009c0000000003028019000000c002300210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000201043b0000000204000029000000a001400039000000970300004100000000003104350000006002200210000000a2034000390000000000230435000000b60240003900000098030000410000000000320435000000170200003900000001050000290000000000250435000000990240009c000001bf0000213d000000c002400039000000400020043f0000007b020000410000007b0310009c0000000001028019000000400110021000000000030504330000007b0430009c00000000030280190000006003300210000000000113019f00000000030004140000007b0430009c0000000003028019000000c002300210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001c50000613d000000000101043b0000008801100197000000000001042d000000920100004100000000001004350000004101000039000000040010043f0000009301000041000001ea000104300000000001000019000001ea00010430000000000001042f0000007b030000410000007b0410009c000000000103801900000040011002100000007b0420009c00000000020380190000006002200210000000000112019f00000000020004140000007b0420009c0000000002038019000000c002200210000000000112019f00000083011001c7000080100200003901e801e30000040f0000000102200190000001dc0000613d000000000101043b000000000001042d0000000001000019000001ea00010430000001e1002104210000000102000039000000000001042d0000000002000019000000000001042d000001e6002104230000000102000039000000000001042d0000000002000019000000000001042d000001e800000432000001e90001042e000001ea00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000cdcb760a0000000000000000000000000000000000000000000000000000000050f1c464000000000000000000000000000000000000000000000000ffffffffffffffff80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000ffffffffffffff9f0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffbf67363d3d37363d34f03d5260086018f3000000000000000000000000000000003cda33511d41a8a5431b1770c5bc0ddd62e1cd30555d16659b89c0d60f4f9f570200000000000000000000000000000000000010000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff0200000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000001806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b8302000002000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000020000000000000000000000000494e495449414c495a4154494f4e5f4641494c4544000000000000000000000008c379a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000004445504c4f594d454e545f4641494c45440000000000000000000000000000004e487b71000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffc0ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7fd6940000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff3fa9e4ac4cc7e24e0cbe1931ddad70f6b336b824a5b6b11afaa497e81f0752caa9"
|
|
212
|
+
]
|
|
213
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/create3-factory",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.50",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"@ethersproject/abi": "^5.7.0",
|
|
38
38
|
"@ethersproject/providers": "^5.7.0",
|
|
39
39
|
"@layerzerolabs/hardhat-config": "^0.0.0",
|
|
40
|
-
"@layerzerolabs/hardhat-tron": "^3.0.
|
|
41
|
-
"@layerzerolabs/lz-definitions": "^3.0.
|
|
42
|
-
"@layerzerolabs/lz-utilities": "^3.0.
|
|
43
|
-
"@layerzerolabs/ops-cli": "^3.0.
|
|
44
|
-
"@layerzerolabs/ops-core": "^3.0.
|
|
45
|
-
"@layerzerolabs/ops-plugin-core": "^3.0.
|
|
46
|
-
"@layerzerolabs/ops-utilities": "^3.0.
|
|
47
|
-
"@layerzerolabs/tsup-config-next": "^3.0.
|
|
48
|
-
"@layerzerolabs/typescript-config-next": "^3.0.
|
|
40
|
+
"@layerzerolabs/hardhat-tron": "^3.0.50",
|
|
41
|
+
"@layerzerolabs/lz-definitions": "^3.0.50",
|
|
42
|
+
"@layerzerolabs/lz-utilities": "^3.0.50",
|
|
43
|
+
"@layerzerolabs/ops-cli": "^3.0.50",
|
|
44
|
+
"@layerzerolabs/ops-core": "^3.0.50",
|
|
45
|
+
"@layerzerolabs/ops-plugin-core": "^3.0.50",
|
|
46
|
+
"@layerzerolabs/ops-utilities": "^3.0.50",
|
|
47
|
+
"@layerzerolabs/tsup-config-next": "^3.0.50",
|
|
48
|
+
"@layerzerolabs/typescript-config-next": "^3.0.50",
|
|
49
49
|
"@matterlabs/hardhat-zksync-deploy": "^0.6.5",
|
|
50
50
|
"@matterlabs/hardhat-zksync-solc": "~1.0.3",
|
|
51
51
|
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
|