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
Copy file name to clipboardExpand all lines: contracts/src/rng/ChainlinkRNG.sol
+18-18
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ contract ChainlinkRNG is RNG, VRFConsumerBaseV2Plus {
15
15
// ************************************* //
16
16
17
17
addresspublic governor; // The address that can withdraw funds.
18
-
addresspublicsortitionModule; // The address of the SortitionModule.
18
+
addresspublicconsumer; // The address that can request random numbers.
19
19
bytes32public keyHash; // The gas lane key hash value - Defines the maximum gas price you are willing to pay for a request in wei (ID of the off-chain VRF job).
20
20
uint256public subscriptionId; // The unique identifier of the subscription used for funding requests.
21
21
uint16public requestConfirmations; // How many confirmations the Chainlink node should wait before responding.
@@ -29,13 +29,13 @@ contract ChainlinkRNG is RNG, VRFConsumerBaseV2Plus {
29
29
// ************************************* //
30
30
31
31
/// @dev Emitted when a request is sent to the VRF Coordinator
32
-
/// @param requestId The ID of the request
33
-
event RequestSent(uint256indexedrequestId);
32
+
/// @param _requestId The ID of the request
33
+
event RequestSent(uint256indexed_requestId);
34
34
35
35
/// Emitted when a request has been fulfilled.
36
-
/// @param requestId The ID of the request
37
-
/// @param randomWord The random value answering the request.
@@ -57,7 +57,7 @@ contract ChainlinkRNG is RNG, VRFConsumerBaseV2Plus {
57
57
58
58
/// @dev Constructor, initializing the implementation to reduce attack surface.
59
59
/// @param _governor The Governor of the contract.
60
-
/// @param _sortitionModule The address of the SortitionModule contract.
60
+
/// @param _consumer The address that can request random numbers.
61
61
/// @param _vrfCoordinator The address of the VRFCoordinator contract.
62
62
/// @param _keyHash The gas lane key hash value - Defines the maximum gas price you are willing to pay for a request in wei (ID of the off-chain VRF job).
63
63
/// @param _subscriptionId The unique identifier of the subscription used for funding requests.
@@ -66,15 +66,15 @@ contract ChainlinkRNG is RNG, VRFConsumerBaseV2Plus {
0 commit comments