degenbot.contract.addresses¶
Deterministic contract address derivation.
Module Contents¶
- degenbot.contract.addresses.create2_address(deployer: str | bytes, salt: bytes | str, init_code_hash: bytes | str) degenbot._ffi.ChecksummedAddress¶
Generate the deterministic CREATE2 address.
Given a deployer, salt, and the keccak hash of the contract creation (init) bytecode. Delegating shell over
degenbot._ffi.create2_address— the derivation lives in the Rustdegenbot_uniswap::create2module.References
- Returns:
The computed value.