PseudoRandomizer

Git Source

Inherits: IPseudoRandomizer

Author: fx(hash)

See the documentation in {IPseudoRandomizer}

Functions

requestRandomness

function requestRandomness(uint256 _tokenId) external;

generateSeed

Generates random seed for token using entropy

function generateSeed(uint256 _tokenId) public view returns (bytes32);

Parameters

NameTypeDescription
_tokenIduint256ID of the token

Returns

NameTypeDescription
<none>bytes32Hash of the seed