pub trait FoundryReceiptResponse {
// Required method
fn set_contract_address(&mut self, contract_address: Address);
}Expand description
Helper trait providing contract_address setter for generic ReceiptResponse
Required Methods§
Sourcefn set_contract_address(&mut self, contract_address: Address)
fn set_contract_address(&mut self, contract_address: Address)
Sets address of the created contract, or None if the transaction was not a deployment.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl FoundryReceiptResponse for OpTransactionReceipt
Available on crate feature optimism only.
impl FoundryReceiptResponse for OpTransactionReceipt
Available on crate feature
optimism only.