diff --git a/README.md b/README.md index b4458d7e..83132e5b 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,16 @@ If you don't see a network, feel free to open an issue. MIT ## Addresses +
+v3.3 +| Name | Address | +| -------------------- | ------------------------------------------ | +| Meta Factory | [0xd703aaE79538628d27099B8c4f621bE4CCd142d5](https://contractscan.xyz/contract/0xd703aae79538628d27099b8c4f621be4ccd142d5) | +| Factory | [0x2577507b78c2008Ff367261CB6285d44ba5eF2E9](https://contractscan.xyz/contract/0x2577507b78c2008Ff367261CB6285d44ba5eF2E9) | +| Kernel | [0xd6CEDDe84be40893d153Be9d467CD6aD37875b28](https://contractscan.xyz/contract/0xd6CEDDe84be40893d153Be9d467CD6aD37875b28) | +
+ +
v3.2 diff --git a/src/factory/KernelFactory.sol b/src/factory/KernelFactory.sol index d0ee899c..b7bf9449 100644 --- a/src/factory/KernelFactory.sol +++ b/src/factory/KernelFactory.sol @@ -6,11 +6,13 @@ import {LibClone} from "solady/utils/LibClone.sol"; contract KernelFactory { error InitializeError(); + error ImplementationNotDeployed(); address public immutable implementation; constructor(address _impl) { implementation = _impl; + require(_impl.code.length > 0, ImplementationNotDeployed()); } function createAccount(bytes calldata data, bytes32 salt) public payable returns (address) {