Skip to content

Commit

Permalink
add agent to getRequestData
Browse files Browse the repository at this point in the history
  • Loading branch information
defi-dev committed Jul 31, 2024
1 parent 854d89a commit 891858f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/VRFAgentConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ contract VRFAgentConsumer is VRFAgentConsumerInterface, Ownable {
}

function getRequestData() external view returns (
address agent,
uint256 subscriptionId,
uint256 requestAtBlock,
bytes32 requestAtBlockHash,
Expand All @@ -173,6 +174,7 @@ contract VRFAgentConsumer is VRFAgentConsumerInterface, Ownable {
uint32 callbackGasLimit
) {
return (
address(this),
vrfSubscriptionId,
lastVrfRequestAtBlock,
blockhash(lastVrfRequestAtBlock),
Expand Down

0 comments on commit 891858f

Please # to comment.