pub struct keylessDeployCall {
pub keylessDeploymentTransaction: Bytes,
pub gasLimitOverride: U256,
}Expand description
@notice Deploys a contract using a pre-EIP-155 signed transaction with a custom gas limit.
@dev The keyless deployment transaction must be a valid RLP-encoded legacy transaction:
- nonce: any value
- gasPrice: any value (typically 100 gwei for Nick’s Method)
- gasLimit: any value (must be <= gasLimitOverride)
- to: must be empty (contract creation)
- value: any value (typically 0)
- data: contract creation bytecode
- v: must be 27 or 28 (pre-EIP-155, no chain ID)
- r: signature component
- s: signature component
@param keylessDeploymentTransaction The RLP-encoded pre-EIP-155 signed transaction.
@param gasLimitOverride The gas limit for the inner deployment transaction.
Must be >= the gas limit in the keyless transaction.
@return gasUsed The amount of gas used by the deployment transaction execution.
Uses uint64 to match the EVM’s native gas accounting type (max ~18 exagas).
@return deployedAddress The address of the deployed contract (zero if execution failed).
@return errorData ABI-encoded error if execution failed, empty bytes on success.
Execution errors (ExecutionReverted, ExecutionHalted, EmptyCodeDeployed) return
success with errorData populated. Validation errors revert the entire call.
Function with signature keylessDeploy(bytes,uint256) and selector 0x846365d5.
function keylessDeploy(bytes calldata keylessDeploymentTransaction, uint256 gasLimitOverride) external returns (uint64 gasUsed, address deployedAddress, bytes memory errorData);Fields§
§keylessDeploymentTransaction: Bytes§gasLimitOverride: U256Trait Implementations§
Source§impl Clone for keylessDeployCall
impl Clone for keylessDeployCall
Source§fn clone(&self) -> keylessDeployCall
fn clone(&self) -> keylessDeployCall
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more