39 ReturnData = CallData,
40 ReturnDataSize = CallDataSize,
43 static size_t const numElements = CodeSize + 1;
47 byte const* callData =
nullptr;
48 uint64_t callDataSize = 0;
51 uint64_t codeSize = 0;
57 typedef std::integral_constant<uint64_t, 1024>
stackLimit;
58 typedef std::integral_constant<uint64_t, 0>
stepGas0;
59 typedef std::integral_constant<uint64_t, 2>
stepGas1;
60 typedef std::integral_constant<uint64_t, 3>
stepGas2;
61 typedef std::integral_constant<uint64_t, 5>
stepGas3;
62 typedef std::integral_constant<uint64_t, 8>
stepGas4;
63 typedef std::integral_constant<uint64_t, 10>
stepGas5;
64 typedef std::integral_constant<uint64_t, 20>
stepGas6;
65 typedef std::integral_constant<uint64_t, 0>
stepGas7;
67 typedef std::integral_constant<uint64_t, 30>
sha3Gas;
69 typedef std::integral_constant<uint64_t, 50>
sloadGas;
74 typedef std::integral_constant<uint64_t, 375>
logGas;
77 typedef std::integral_constant<uint64_t, 32000>
createGas;
78 typedef std::integral_constant<uint64_t, 40>
callGas;
79 typedef std::integral_constant<uint64_t, 3>
memoryGas;
80 typedef std::integral_constant<uint64_t, 3>
copyGas;
113 uint64_t
codeSize()
const {
return m_data->codeSize; }
119 evm_env* m_env =
nullptr;
121 uint64_t m_memSize = 0;
122 uint64_t m_memCap = 0;
std::integral_constant< uint64_t, 10 > stepGas5
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
std::integral_constant< uint64_t, 0 > stepGas0
std::integral_constant< uint64_t, 2300 > callStipend
std::integral_constant< uint64_t, 0 > stepGas7
byte const * code() const
std::integral_constant< uint64_t, 3 > memoryGas
std::integral_constant< uint64_t, 3 > stepGas2
std::integral_constant< uint64_t, 8 > logDataGas
std::integral_constant< uint64_t, 375 > logTopicGas
std::integral_constant< uint64_t, 5 > stepGas3
std::integral_constant< uint64_t, 50 > sloadGas
std::integral_constant< uint64_t, 30 > sha3Gas
std::integral_constant< uint64_t, 1 > jumpdestGas
bytes_ref returnData
Reference to returned data (RETURN opcode used)
void init(RuntimeData &_data, evm_env *_env)
std::integral_constant< uint64_t, 8 > stepGas4
std::integral_constant< uint64_t, 3 > copyGas
std::integral_constant< uint64_t, 40 > callGas
std::integral_constant< uint64_t, 9000 > valueTransferGas
std::integral_constant< uint64_t, 1024 > stackLimit
std::integral_constant< uint64_t, 25000 > callNewAccount
std::integral_constant< uint64_t, 20 > stepGas6
std::integral_constant< uint64_t, 375 > logGas
ExecutionContext(RuntimeData &_data, evm_env *_env)
std::tuple< byte const *, size_t > bytes_ref
std::integral_constant< uint64_t, 6 > sha3WordGas
uint64_t codeSize() const
Representation of 256-bit value binary compatible with LLVM i256.
std::integral_constant< uint64_t, 5000 > sstoreResetGas
std::integral_constant< uint64_t, 5000 > sstoreClearGas
std::integral_constant< uint64_t, 32000 > createGas
std::integral_constant< uint64_t, 2 > stepGas1
std::integral_constant< uint64_t, 10 > expByteGas
std::integral_constant< uint64_t, 20000 > sstoreSetGas