CuEVM
|
Functions | |
__host__ __device__ int32_t | get_contract_address_create_word (ArithEnv &arith, evm_word_t *contract_address, evm_word_t *sender_address, evm_word_t *sender_nonce) |
__host__ __device__ int32_t | get_contract_address_create (ArithEnv &arith, bn_t &contract_address, const bn_t &sender_address, const bn_t &sender_nonce) |
__host__ __device__ int32_t | get_contract_address_create2 (ArithEnv &arith, bn_t &contract_address, const bn_t &sender_address, const bn_t &salt, const CuEVM::byte_array_t &init_code) |
__host__ __device__ int32_t | is_hex (const char hex) |
__host__ __device__ char | hex_from_nibble (const uint8_t nibble) |
__host__ __device__ uint8_t | nibble_from_hex (const char hex) |
__host__ __device__ uint8_t | byte_from_nibbles (const uint8_t high, const uint8_t low) |
__host__ __device__ void | hex_from_byte (char *dst, const uint8_t byte) |
__host__ __device__ uint8_t | byte_from_two_hex_char (const char high, const char low) |
__host__ __device__ int32_t | hex_string_length (const char *hex_string) |
__host__ __device__ int32_t | clean_hex_string (char **hex_string) |
__host__ __device__ int32_t | hex_string_without_leading_zeros (char *hex_string) |
__host__ cJSON * | get_json_from_file (const char *filepath) |
__host__ __device__ uint8_t CuEVM::utils::byte_from_nibbles | ( | const uint8_t | high, |
const uint8_t | low | ||
) |
__host__ __device__ uint8_t CuEVM::utils::byte_from_two_hex_char | ( | const char | high, |
const char | low | ||
) |
__host__ __device__ int32_t CuEVM::utils::clean_hex_string | ( | char ** | hex_string | ) |
__host__ __device__ int32_t CuEVM::utils::get_contract_address_create | ( | ArithEnv & | arith, |
bn_t & | contract_address, | ||
const bn_t & | sender_address, | ||
const bn_t & | sender_nonce | ||
) |
__host__ __device__ int32_t CuEVM::utils::get_contract_address_create2 | ( | ArithEnv & | arith, |
bn_t & | contract_address, | ||
const bn_t & | sender_address, | ||
const bn_t & | salt, | ||
const CuEVM::byte_array_t & | init_code | ||
) |
__host__ __device__ int32_t CuEVM::utils::get_contract_address_create_word | ( | ArithEnv & | arith, |
evm_word_t * | contract_address, | ||
evm_word_t * | sender_address, | ||
evm_word_t * | sender_nonce | ||
) |
__host__ cJSON* CuEVM::utils::get_json_from_file | ( | const char * | filepath | ) |
__host__ __device__ void CuEVM::utils::hex_from_byte | ( | char * | dst, |
const uint8_t | byte | ||
) |
__host__ __device__ char CuEVM::utils::hex_from_nibble | ( | const uint8_t | nibble | ) |
__host__ __device__ int32_t CuEVM::utils::hex_string_length | ( | const char * | hex_string | ) |
__host__ __device__ int32_t CuEVM::utils::hex_string_without_leading_zeros | ( | char * | hex_string | ) |
__host__ __device__ int32_t CuEVM::utils::is_hex | ( | const char | hex | ) |
__host__ __device__ uint8_t CuEVM::utils::nibble_from_hex | ( | const char | hex | ) |