You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @dev For SECURITY CONSIDERATIONS, you might also have look to: https://github.com/smartcontractkit/chainlink/blob/master/evm-contracts/src/v0.6/VRFConsumerBase.sol
28
26
*/
29
-
contractChainlinkRNGisRNG, VRFConsumerBase {
27
+
contractChainlinkRNGisVRFConsumerBase {
30
28
31
29
/* Storage */
32
30
@@ -96,17 +94,11 @@ contract ChainlinkRNG is RNG, VRFConsumerBase {
96
94
97
95
/**
98
96
* @dev Requests a random number.
99
-
* @dev The _seed parameter is vestigial, and is kept only for API
100
-
* @dev compatibility with older versions. It can't *hurt* to mix in some of
101
-
* @dev your own randomness, here, but it's not necessary because the VRF
102
-
* @dev oracle will mix the hash of the block containing your request into the
103
-
* @dev VRF seed it ultimately uses.
104
-
* @param _seed seed mixed into the input of the VRF.
105
97
* @return requestId unique ID for this request.
106
98
*/
107
-
function requestRN(uint_seed) external onlyByKleros returns (bytes32requestId) {
99
+
function requestRN() external onlyByKleros returns (bytes32requestId) {
108
100
require(LINK.balanceOf(address(this)) >= fee, "ChainlinkRNG: not enough LINK to pay the fee");
0 commit comments