CuEVM
|
Functions | |
__host__ __device__ int32_t | operation_IDENTITY (ArithEnv &arith, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
__host__ __device__ int32_t | operation_SHA256 (ArithEnv &arith, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
__host__ __device__ int32_t | operation_RIPEMD160 (ArithEnv &arith, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
__host__ __device__ int32_t | operation_MODEXP (ArithEnv &arith, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
__host__ __device__ int32_t | operation_BLAKE2 (ArithEnv &arith, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
__host__ __device__ int32_t | operation_ecRecover (ArithEnv &arith, CuEVM::EccConstants *constants, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
__host__ __device__ int32_t | operation_ecAdd (ArithEnv &arith, CuEVM::EccConstants *constants, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
__host__ __device__ int32_t | operation_ecMul (ArithEnv &arith, CuEVM::EccConstants *constants, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
__host__ __device__ int32_t | operation_ecPairing (ArithEnv &arith, CuEVM::EccConstants *constants, bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_return_data_t *return_data, CuEVM::evm_message_call_t *message) |
The precompile contracts 0x00 Invalid 0x01 ecRecover 0x02 SHA-256 0x03 RIPEMD-160 0x04 Identity 0x05 Modexp 0x06 ecAdd 0x07 ecMul 0x08 ecPairing 0x09 Blake2
__host__ __device__ int32_t CuEVM::precompile_operations::operation_BLAKE2 | ( | ArithEnv & | arith, |
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
__host__ __device__ int32_t CuEVM::precompile_operations::operation_ecAdd | ( | ArithEnv & | arith, |
CuEVM::EccConstants * | constants, | ||
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
__host__ __device__ int32_t CuEVM::precompile_operations::operation_ecMul | ( | ArithEnv & | arith, |
CuEVM::EccConstants * | constants, | ||
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
__host__ __device__ int32_t CuEVM::precompile_operations::operation_ecPairing | ( | ArithEnv & | arith, |
CuEVM::EccConstants * | constants, | ||
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
__host__ __device__ int32_t CuEVM::precompile_operations::operation_ecRecover | ( | ArithEnv & | arith, |
CuEVM::EccConstants * | constants, | ||
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
__host__ __device__ int32_t CuEVM::precompile_operations::operation_IDENTITY | ( | ArithEnv & | arith, |
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
The Identity precompile contract MEMCPY through the message data and return data
[in] | arith | The arithmetic environment |
[in] | gas_limit | The gas limit |
[out] | gas_used | The gas used |
[out] | error_code | The error code |
[out] | return_data | The return data |
[in] | message | The message |
__host__ __device__ int32_t CuEVM::precompile_operations::operation_MODEXP | ( | ArithEnv & | arith, |
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
__host__ __device__ int32_t CuEVM::precompile_operations::operation_RIPEMD160 | ( | ArithEnv & | arith, |
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
__host__ __device__ int32_t CuEVM::precompile_operations::operation_SHA256 | ( | ArithEnv & | arith, |
bn_t & | gas_limit, | ||
bn_t & | gas_used, | ||
CuEVM::evm_return_data_t * | return_data, | ||
CuEVM::evm_message_call_t * | message | ||
) |
The SHA2-256 precompile contract SHA2 through the message data and return data
[in] | arith | The arithmetic environment |
[in] | gas_limit | The gas limit |
[out] | gas_used | The gas used |
[out] | error_code | The error code |
[out] | return_data | The return data |
[in] | message | The message |