SourceRandom
SourceRandom
Sources different levels of randomness
getRandomDebug
function getRandomDebug() internal view returns (uint256)
Not truly random. Use for debugging only
Returns a random uint256 sourced from the current time
| Name | Type | Description |
|---|---|---|
| [0] | uint256 | uint256 random value |
getSeededRandom
function getSeededRandom(uint256 seed, uint256 nonce) internal pure returns (uint256)
Returns a random uint256 sourced from a seed
| Name | Type | Description |
|---|---|---|
| [0] | uint256 | uint256 random value |