VRFFacet.sol
Documentation for VRFFacet.sol

‌Draws a random number for the current batchId.

‌Returns various information about the current VRF batch.

Starts VRF for portals to open them. ‌Sets the status of the given Portals to STATUS_VRF_PENDING.

‌Sets the random number generated by Chainlink VRG for each portal. Only callable by the VRFCoordinator. Sets the status of a portal to STATUS_VRF_OPEN.

‌Change the fee amount that is paid for VRF random numbers.

Remove the LINK tokens from this contract that are used to pay for VRF random number fees.
Copy link
On this page
function drawRandomNumber() external
function vrfInfo() external
function openPortals(uint256[]) external
function rawFulfillRandomness(bytes32, uint256) external
function changeVRFFee(uint256, bytes32) external
function removeLinkTokens(address, uint256) external