@alys-chain/verto-v2-core
Version:
Core Smart Contracts of Verto V2
60 lines (59 loc) • 3.04 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "Create2Deployer",
"sourceName": "contracts/Create2Deployer.sol",
"abi": [
{
"inputs": [
{
"internalType": "bytes",
"name": "bytecode",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "salt",
"type": "uint256"
}
],
"name": "computeAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "bytecode",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "salt",
"type": "uint256"
}
],
"name": "deploy",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561000f575f80fd5b506101ba8061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c806381176c20146100385780639c4ae2d0146100be575b5f80fd5b6100a26100463660046100fe565b8151602092830120604080516001600160f81b0319818601523060601b6bffffffffffffffffffffffff191660218201526035810193909352605580840192909252805180840390920182526075909201909152805191012090565b6040516001600160a01b03909116815260200160405180910390f35b6100a26100cc3660046100fe565b5f80828451602086015ff59050803b6100e3575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f806040838503121561010f575f80fd5b823567ffffffffffffffff80821115610126575f80fd5b818501915085601f830112610139575f80fd5b81358181111561014b5761014b6100ea565b604051601f8201601f19908116603f01168101908382118183101715610173576101736100ea565b8160405282815288602084870101111561018b575f80fd5b826020860160208301375f60209382018401529896909101359650505050505056fea164736f6c6343000814000a",
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610034575f3560e01c806381176c20146100385780639c4ae2d0146100be575b5f80fd5b6100a26100463660046100fe565b8151602092830120604080516001600160f81b0319818601523060601b6bffffffffffffffffffffffff191660218201526035810193909352605580840192909252805180840390920182526075909201909152805191012090565b6040516001600160a01b03909116815260200160405180910390f35b6100a26100cc3660046100fe565b5f80828451602086015ff59050803b6100e3575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f806040838503121561010f575f80fd5b823567ffffffffffffffff80821115610126575f80fd5b818501915085601f830112610139575f80fd5b81358181111561014b5761014b6100ea565b604051601f8201601f19908116603f01168101908382118183101715610173576101736100ea565b8160405282815288602084870101111561018b575f80fd5b826020860160208301375f60209382018401529896909101359650505050505056fea164736f6c6343000814000a",
"linkReferences": {},
"deployedLinkReferences": {}
}