Expand description
CREATE3 deployment-address derivation.
CREATE3 makes a contract’s deployed address depend only on the deploying
factory and a salt, independent of the contract’s init code. This module
reproduces that derivation off-chain: it computes the CREATE2 proxy address
the factory would create from (deployer, salt), then the CREATE address
the proxy deploys to. This lets callers predict an address before a
transaction is sent.
Constants§
- UNIVERSAL_
CREAT E3_ FACTORY - Address of the widely deployed
CREATE3Factory(the ZeframLou / Solmate-style implementation, deterministically deployed cross-chain — e.g. by LiFi).
Functions§
- derive_
create3_ address - Derive CREATE3 deployment address for the universal factory implementation.
- derive_
universal_ create3_ address - Derive CREATE3 deployment address via the universal factory.