LibMeta
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
Name | Type | Description |
---|---|---|
_address | address | The address to convert. |
Returns
Name | Type | Description |
---|---|---|
<none> | string | The string representation of the address. |