LibMeta

Git Source

State Variables

EIP712_DOMAIN_TYPEHASH

bytes32 internal constant EIP712_DOMAIN_TYPEHASH =
    keccak256(bytes("EIP712Domain(string name,string version,uint256 salt,address verifyingContract)"));

Functions

domainSeparator

function domainSeparator(string memory name, string memory version) internal view returns (bytes32 domainSeparator_);

getChainID

function getChainID() internal view returns (uint256 id);

msgSender

function msgSender() internal view returns (address sender_);

addressToString

Converts an address to a string representation.

function addressToString(address _address) internal pure returns (string memory);

Parameters

NameTypeDescription
_addressaddressThe address to convert.

Returns

NameTypeDescription
<none>stringThe string representation of the address.