UNPKG

witnet-solidity-bridge

Version:

Witnet Solidity Bridge contracts for EVM-compatible chains

60 lines 1.51 kB
{ "_format": "hh3-artifact-1", "contractName": "IWitRandomnessConsumer", "sourceName": "contracts/interfaces/IWitRandomnessConsumer.sol", "abi": [ { "inputs": [ { "internalType": "bytes32", "name": "randomness", "type": "bytes32" }, { "internalType": "uint256", "name": "evmRandomizeBlock", "type": "uint256" }, { "internalType": "uint256", "name": "evmFinalityBlock", "type": "uint256" }, { "internalType": "Witnet.Timestamp", "name": "witnetTimestamp", "type": "uint64" }, { "internalType": "Witnet.TransactionHash", "name": "witnetDrTxHash", "type": "bytes32" } ], "name": "reportRandomness", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "witRandomness", "outputs": [ { "internalType": "contract IWitRandomness", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {}, "immutableReferences": {}, "inputSourceName": "project/contracts/interfaces/IWitRandomnessConsumer.sol", "buildInfoId": "solc-0_8_30-47301052af11a5aa5062e9b98ca44d5e142950cf" }