Struct sputnikvm_precompiled_bn128::Bn128MulPrecompiled [−][src]
pub struct Bn128MulPrecompiled;
Trait Implementations
impl Precompiled for Bn128MulPrecompiled
[src]
impl Precompiled for Bn128MulPrecompiled
fn gas_and_step(
&self,
data: &[u8],
gas_limit: Gas
) -> Result<(Gas, Rc<Vec<u8>>), RuntimeError>
[src]
fn gas_and_step(
&self,
data: &[u8],
gas_limit: Gas
) -> Result<(Gas, Rc<Vec<u8>>), RuntimeError>
Combine step and gas together, given the gas limit.
fn step(&self, &[u8]) -> Rc<Vec<u8>>
[src]
fn step(&self, &[u8]) -> Rc<Vec<u8>>
Step a precompiled contract based on the gas required.
fn gas(&self, &[u8]) -> Gas
[src]
fn gas(&self, &[u8]) -> Gas
Gas needed for a given computation.
Auto Trait Implementations
impl Send for Bn128MulPrecompiled
impl Send for Bn128MulPrecompiled
impl Sync for Bn128MulPrecompiled
impl Sync for Bn128MulPrecompiled