ISeedConsumer
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
Name | Type | Description |
---|---|---|
_tokenId | uint256 | ID of the token |
_seed | bytes32 | Hash 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
Name | Type | Description |
---|---|---|
_randomizer | address | Address of the randomizer contract |
_tokenId | uint256 | ID of the token |
_seed | bytes32 | Hash of the random seed |