github.com/hashgraph/hedera-sdk-go/v2@v2.48.0/examples/precompile_example/IPrngSystemContract.sol (about) 1 // SPDX-License-Identifier: Apache-2.0 2 pragma solidity >=0.4.9 <0.9.0; 3 4 // This file was copied from github.com/hashgraph/hedera-smart-contracts on Aug 31 2022 5 6 interface IPrngSystemContract { 7 // Generates a 256-bit pseudorandom seed using the first 256-bits of running hash of n-3 transaction record. 8 // Users can generate a pseudorandom number in a specified range using the seed by (integer value of seed % range) 9 function getPseudorandomSeed() external returns (bytes32); 10 }