Skip to content

Commit

Permalink
update request with callback coment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfirefist committed Mar 8, 2024
1 parent 1623c2d commit 6f3ffc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ abstract contract Entropy is IEntropy, EntropyState {
emit Requested(req);
}

// As a protocol, request a random number from a provider. The protocol will also pass a secret random number
// in the arguments. This method will return a sequence number.
// Request a random number. The method expects the provider address and a secret random number
// in the arguments. It returns a sequence number.
//
// The address calling this function should be a contract that inherits from the IEntropyConsumer interface.
// The `entropyCallback` method on that interface will receive a callback with the generated random number.
Expand Down
4 changes: 2 additions & 2 deletions target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ interface IEntropy is EntropyEvents {
bool useBlockHash
) external payable returns (uint64 assignedSequenceNumber);

// As a protocol, request a random number from a provider. The protocol will also pass a secret random number
// in the arguments. This method will return a sequence number.
// Request a random number. The method expects the provider address and a secret random number
// in the arguments. It returns a sequence number.
//
// The address calling this function should be a contract that inherits from the IEntropyConsumer interface.
// The `entropyCallback` method on that interface will receive a callback with the generated random number.
Expand Down

0 comments on commit 6f3ffc1

Please sign in to comment.