#include <encoding_solidity.hpp>
◆ getFunction()
static bytes taraxa::util::EncodingSolidity::getFunction |
( |
const std::string & |
function | ) |
|
|
inlinestatic |
◆ pack()
template<typename... Params>
static bytes taraxa::util::EncodingSolidity::pack |
( |
const Params &... |
args | ) |
|
|
inlinestatic |
◆ packElemement() [1/4]
static bytes taraxa::util::EncodingSolidity::packElemement |
( |
bool |
flag | ) |
|
|
inlinestatic |
◆ packElemement() [2/4]
static bytes taraxa::util::EncodingSolidity::packElemement |
( |
const bytes & |
value | ) |
|
|
inlinestatic |
◆ packElemement() [3/4]
template<unsigned N, std::enable_if_t<(N<=32)> * = nullptr>
◆ packElemement() [4/4]
template<typename T , std::enable_if_t< std::numeric_limits< T >::is_integer > * = nullptr>
static bytes taraxa::util::EncodingSolidity::packElemement |
( |
T |
num | ) |
|
|
inlinestatic |
◆ packFunctionCall()
template<typename... Params>
static bytes taraxa::util::EncodingSolidity::packFunctionCall |
( |
const std::string & |
function, |
|
|
const Params &... |
args |
|
) |
| |
|
inlinestatic |
◆ staticUnpack()
template<typename... Params>
static void taraxa::util::EncodingSolidity::staticUnpack |
( |
const bytes & |
input, |
|
|
Params &... |
args |
|
) |
| |
|
inlinestatic |
PACKING ///.
UNPACKING ///
◆ unpackElement() [1/3]
template<unsigned N, std::enable_if_t<(N<=32)> * = nullptr>
static void taraxa::util::EncodingSolidity::unpackElement |
( |
const bytes & |
input, |
|
|
dev::FixedHash< N > & |
hash |
|
) |
| |
|
inlinestatic |
◆ unpackElement() [2/3]
template<typename T , std::enable_if_t< std::numeric_limits< T >::is_integer > * = nullptr>
static void taraxa::util::EncodingSolidity::unpackElement |
( |
const bytes & |
input, |
|
|
T & |
out |
|
) |
| |
|
inlinestatic |
◆ unpackElement() [3/3]
static void taraxa::util::EncodingSolidity::unpackElement |
( |
const bytes & |
input, |
|
|
u256 & |
out |
|
) |
| |
|
inlinestatic |
◆ kStartPrefix
constexpr uint8_t taraxa::util::EncodingSolidity::kStartPrefix = 32 |
|
staticconstexpr |
◆ kStartPrefixSize
constexpr uint8_t taraxa::util::EncodingSolidity::kStartPrefixSize = 1 |
|
staticconstexpr |
◆ kWordSize
const size_t taraxa::util::EncodingSolidity::kWordSize = 32 |
|
static |
The documentation for this class was generated from the following file: