SafeCast¶
Description¶
Source: contracts/SafeCast.sol
Internal Functions¶
toInt256
¶
Details
Signature
toInt256(uint256 value) pure returns (int256)
Visibility
internal
State Mutability
pure
Requires
toUint128
¶
Details
Signature
toUint128(uint256 value) pure returns (uint128)
Visibility
internal
State Mutability
pure
Requires
toUint16
¶
Details
Signature
toUint16(uint256 value) pure returns (uint16)
Visibility
internal
State Mutability
pure
Requires
toUint256
¶
Details
Signature
toUint256(int256 value) pure returns (uint256)
Visibility
internal
State Mutability
pure
Requires
toUint32
¶
Details
Signature
toUint32(uint256 value) pure returns (uint32)
Visibility
internal
State Mutability
pure
Requires
toUint64
¶
Details
Signature
toUint64(uint256 value) pure returns (uint64)
Visibility
internal
State Mutability
pure
Requires
toUint8
¶
Details
Signature
toUint8(uint256 value) pure returns (uint8)
Visibility
internal
State Mutability
pure
Requires