pub struct RIPEMD160;Expand description
RIPEMD160 precompile.
Implementations§
Trait Implementations§
Source§impl Precompile for RIPEMD160
impl Precompile for RIPEMD160
Source§fn run(
&self,
input: &[u8],
target_gas: Option<EthGas>,
_context: &Context,
_is_static: bool,
) -> Result<PrecompileOutput, ExitError>
fn run( &self, input: &[u8], target_gas: Option<EthGas>, _context: &Context, _is_static: bool, ) -> Result<PrecompileOutput, ExitError>
See: https://ethereum.github.io/yellowpaper/paper.pdf
See: https://docs.soliditylang.org/en/develop/units-and-global-variables.html#mathematical-and-cryptographic-functions
See: https://etherscan.io/address/0000000000000000000000000000000000000003
Auto Trait Implementations§
impl Freeze for RIPEMD160
impl RefUnwindSafe for RIPEMD160
impl Send for RIPEMD160
impl Sync for RIPEMD160
impl Unpin for RIPEMD160
impl UnwindSafe for RIPEMD160
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