You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

46 lines
580 B

#pragma once
#include "Utils.h"
namespace dev
{
namespace eth
{
namespace jit
{
struct RuntimeData
{
enum Index
{
Address,
Caller,
Origin,
CallValue,
GasPrice,
CoinBase,
Difficulty,
GasLimit,
_size,
SuicideDestAddress = Address, ///< Suicide balance destination address
};
i256 elems[_size] = {};
byte const* callData = nullptr;
byte const* code = nullptr;
uint64_t codeSize = 0;
uint64_t callDataSize = 0;
int64_t gas = 0;
uint64_t blockNumber = 0;
uint64_t blockTimestamp = 0;
};
/// VM Environment (ExtVM) opaque type
struct Env;
}
}
}