pub struct Accessed {
pub accessed_addresses: BTreeSet<H160>,
pub accessed_storage: BTreeSet<(H160, H256)>,
pub authority: BTreeMap<H160, H160>,
}Fields§
§accessed_addresses: BTreeSet<H160>§accessed_storage: BTreeSet<(H160, H256)>Implementations§
Source§impl Accessed
impl Accessed
pub fn access_address(&mut self, address: H160)
pub fn access_addresses<I>(&mut self, addresses: I)
pub fn access_storages<I>(&mut self, storages: I)
Add authority to the accessed authority list (EIP-7702).
Remove authority from the accessed authority list (EIP-7702).
Get authority from the accessed authority list (EIP-7702).
Check if authority is in the accessed authority list (EIP-7702).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Accessed
impl RefUnwindSafe for Accessed
impl Send for Accessed
impl Sync for Accessed
impl Unpin for Accessed
impl UnwindSafe for Accessed
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