UNPKG

witnet-solidity-bridge

Version:

Witnet Solidity Bridge contracts for EVM-compatible chains

323 lines 7.45 kB
{ "_format": "hh3-artifact-1", "contractName": "IWitPriceFeedsAdmin", "sourceName": "contracts/interfaces/IWitPriceFeedsAdmin.sol", "abi": [ { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "", "type": "string" }, { "internalType": "bool", "name": "", "type": "bool" } ], "name": "removePriceFeed", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "settleConsumer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint24", "name": "callbackGas", "type": "uint24" }, { "internalType": "bool", "name": "computeEma", "type": "bool" }, { "internalType": "uint24", "name": "cooldownSecs", "type": "uint24" }, { "internalType": "uint24", "name": "heartbeatSecs", "type": "uint24" }, { "internalType": "uint16", "name": "maxDeviation1000", "type": "uint16" }, { "internalType": "uint16", "name": "minWitnesses", "type": "uint16" } ], "internalType": "struct IWitPriceFeedsTypes.UpdateConditions", "name": "", "type": "tuple" } ], "name": "settleDefaultUpdateConditions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "internalType": "int8", "name": "exponent", "type": "int8" }, { "internalType": "enum IWitPriceFeedsTypes.Mappers", "name": "mapper", "type": "uint8" }, { "internalType": "string[]", "name": "deps", "type": "string[]" } ], "name": "settlePriceFeedMapper", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "internalType": "int8", "name": "exponent", "type": "int8" }, { "internalType": "enum IWitPriceFeedsTypes.Oracles", "name": "oracle", "type": "uint8" }, { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes32", "name": "sources", "type": "bytes32" } ], "name": "settlePriceFeedOracle", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "internalType": "int8", "name": "exponent", "type": "int8" }, { "internalType": "bytes", "name": "radonBytecode", "type": "bytes" } ], "name": "settlePriceFeedRadonBytecode", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "internalType": "int8", "name": "exponent", "type": "int8" }, { "internalType": "Witnet.RadonHash", "name": "radonHash", "type": "bytes32" } ], "name": "settlePriceFeedRadonHash", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "caption", "type": "string" }, { "components": [ { "internalType": "uint24", "name": "callbackGas", "type": "uint24" }, { "internalType": "bool", "name": "computeEma", "type": "bool" }, { "internalType": "uint24", "name": "cooldownSecs", "type": "uint24" }, { "internalType": "uint24", "name": "heartbeatSecs", "type": "uint24" }, { "internalType": "uint16", "name": "maxDeviation1000", "type": "uint16" }, { "internalType": "uint16", "name": "minWitnesses", "type": "uint16" } ], "internalType": "struct IWitPriceFeedsTypes.UpdateConditions", "name": "conditions", "type": "tuple" } ], "name": "settlePriceFeedUpdateConditions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {}, "immutableReferences": {}, "inputSourceName": "project/contracts/interfaces/IWitPriceFeedsAdmin.sol", "buildInfoId": "solc-0_8_30-47301052af11a5aa5062e9b98ca44d5e142950cf" }