pub struct ContractCreationData {
pub contract_address: Address,
pub contract_creator: Address,
pub transaction_hash: B256,
}
Expand description
Contract creation data.
Fields§
§contract_address: Address
The contract’s address.
contract_creator: Address
The contract’s deployer address. NOTE: This field contains the address of an EOA that initiated the creation transaction. For contracts deployed by other contracts, the direct deployer address may vary.
transaction_hash: B256
The hash of the contract creation transaction.
Trait Implementations§
source§impl Clone for ContractCreationData
impl Clone for ContractCreationData
source§fn clone(&self) -> ContractCreationData
fn clone(&self) -> ContractCreationData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContractCreationData
impl Debug for ContractCreationData
source§impl<'de> Deserialize<'de> for ContractCreationData
impl<'de> Deserialize<'de> for ContractCreationData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ContractCreationData
impl Serialize for ContractCreationData
impl Copy for ContractCreationData
Auto Trait Implementations§
impl RefUnwindSafe for ContractCreationData
impl Send for ContractCreationData
impl Sync for ContractCreationData
impl Unpin for ContractCreationData
impl UnwindSafe for ContractCreationData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more