ISeedConsumer

Git Source

Author: fx(hash)

Interface for randomizers to interact with FxGenArt721 tokens

Functions

fulfillSeedRequest

Fullfills the random seed request on the FxGenArt721 token contract

function fulfillSeedRequest(uint256 _tokenId, bytes32 _seed) external;

Parameters

NameTypeDescription
_tokenIduint256ID of the token
_seedbytes32Hash of the random seed

Events

SeedFulfilled

Event emitted when a seed request is fulfilled for a specific token

event SeedFulfilled(address indexed _randomizer, uint256 indexed _tokenId, bytes32 _seed);

Parameters

NameTypeDescription
_randomizeraddressAddress of the randomizer contract
_tokenIduint256ID of the token
_seedbytes32Hash of the random seed