CAddress

Git Source

Functions

toUint256

function toUint256(address val) internal pure returns (uint256);

toBytes32

function toBytes32(address val) internal pure returns (bytes32);

toBool

function toBool(address val) internal pure returns (bool converted);

k

This method should be used to convert an address to a uint256 when used as a key in a mapping.

function k(address val) internal pure returns (uint256);

v

This method should be used to convert an address to a uint256 when used as a value in a mapping.

function v(address val) internal pure returns (uint256);