UNPKG

@dolomite-exchange/dolomite-margin

Version:

Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol

373 lines 13.3 kB
{ "contractName": "IChainlinkAccessControlAggregator", "abi": [ { "constant": true, "inputs": [], "name": "minAnswer", "outputs": [ { "internalType": "int192", "name": "", "type": "int192" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "maxAnswer", "outputs": [ { "internalType": "int192", "name": "", "type": "int192" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"maxAnswer\",\"outputs\":[{\"internalType\":\"int192\",\"name\":\"\",\"type\":\"int192\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minAnswer\",\"outputs\":[{\"internalType\":\"int192\",\"name\":\"\",\"type\":\"int192\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Dolomite * Gets configuration for an aggregator proxy\",\"methods\":{},\"title\":\"IChainlinkAccessControlAggregator\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/external/interfaces/IChainlinkAccessControlAggregator.sol\":\"IChainlinkAccessControlAggregator\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"/home/cdc218/projects/dolomite-protocol-v2/contracts/external/interfaces/IChainlinkAccessControlAggregator.sol\":{\"keccak256\":\"0xbb94dc91633d6fb20e1d7e2b5ce1f11346e89a6bfc8c3ac5d163c35a3e4ad60a\",\"urls\":[\"bzz-raw://264c7c039caf44b1866769feb237010651730d546b54bb6f2b7bc77cf3b6c9c9\",\"dweb:/ipfs/QmX8TTF8E2G8TT1yig6qHC8amWDwaq1GG6iaKYTTHsYsjo\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "/*\n\n Copyright 2020 Dolomite.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.5.7;\npragma experimental ABIEncoderV2;\n\n\n/**\n * @title IChainlinkAccessControlAggregator\n * @author Dolomite\n *\n * Gets configuration for an aggregator proxy\n */\ncontract IChainlinkAccessControlAggregator {\n\n function minAnswer() external view returns (int192);\n\n function maxAnswer() external view returns (int192);\n}\n", "sourcePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/external/interfaces/IChainlinkAccessControlAggregator.sol", "ast": { "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/external/interfaces/IChainlinkAccessControlAggregator.sol", "exportedSymbols": { "IChainlinkAccessControlAggregator": [ 4161 ] }, "id": 4162, "nodeType": "SourceUnit", "nodes": [ { "id": 4149, "literals": [ "solidity", "^", "0.5", ".7" ], "nodeType": "PragmaDirective", "src": "595:23:18" }, { "id": 4150, "literals": [ "experimental", "ABIEncoderV2" ], "nodeType": "PragmaDirective", "src": "619:33:18" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title IChainlinkAccessControlAggregator\n@author Dolomite\n * Gets configuration for an aggregator proxy", "fullyImplemented": false, "id": 4161, "linearizedBaseContracts": [ 4161 ], "name": "IChainlinkAccessControlAggregator", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 4155, "implemented": false, "kind": "function", "modifiers": [], "name": "minAnswer", "nodeType": "FunctionDefinition", "parameters": { "id": 4151, "nodeType": "ParameterList", "parameters": [], "src": "844:2:18" }, "returnParameters": { "id": 4154, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4153, "name": "", "nodeType": "VariableDeclaration", "scope": 4155, "src": "870:6:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" }, "typeName": { "id": 4152, "name": "int192", "nodeType": "ElementaryTypeName", "src": "870:6:18", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" } }, "value": null, "visibility": "internal" } ], "src": "869:8:18" }, "scope": 4161, "src": "826:52:18", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 4160, "implemented": false, "kind": "function", "modifiers": [], "name": "maxAnswer", "nodeType": "FunctionDefinition", "parameters": { "id": 4156, "nodeType": "ParameterList", "parameters": [], "src": "902:2:18" }, "returnParameters": { "id": 4159, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4158, "name": "", "nodeType": "VariableDeclaration", "scope": 4160, "src": "928:6:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" }, "typeName": { "id": 4157, "name": "int192", "nodeType": "ElementaryTypeName", "src": "928:6:18", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" } }, "value": null, "visibility": "internal" } ], "src": "927:8:18" }, "scope": 4161, "src": "884:52:18", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 4162, "src": "776:162:18" } ], "src": "595:344:18" }, "legacyAST": { "absolutePath": "/home/cdc218/projects/dolomite-protocol-v2/contracts/external/interfaces/IChainlinkAccessControlAggregator.sol", "exportedSymbols": { "IChainlinkAccessControlAggregator": [ 4161 ] }, "id": 4162, "nodeType": "SourceUnit", "nodes": [ { "id": 4149, "literals": [ "solidity", "^", "0.5", ".7" ], "nodeType": "PragmaDirective", "src": "595:23:18" }, { "id": 4150, "literals": [ "experimental", "ABIEncoderV2" ], "nodeType": "PragmaDirective", "src": "619:33:18" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title IChainlinkAccessControlAggregator\n@author Dolomite\n * Gets configuration for an aggregator proxy", "fullyImplemented": false, "id": 4161, "linearizedBaseContracts": [ 4161 ], "name": "IChainlinkAccessControlAggregator", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 4155, "implemented": false, "kind": "function", "modifiers": [], "name": "minAnswer", "nodeType": "FunctionDefinition", "parameters": { "id": 4151, "nodeType": "ParameterList", "parameters": [], "src": "844:2:18" }, "returnParameters": { "id": 4154, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4153, "name": "", "nodeType": "VariableDeclaration", "scope": 4155, "src": "870:6:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" }, "typeName": { "id": 4152, "name": "int192", "nodeType": "ElementaryTypeName", "src": "870:6:18", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" } }, "value": null, "visibility": "internal" } ], "src": "869:8:18" }, "scope": 4161, "src": "826:52:18", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 4160, "implemented": false, "kind": "function", "modifiers": [], "name": "maxAnswer", "nodeType": "FunctionDefinition", "parameters": { "id": 4156, "nodeType": "ParameterList", "parameters": [], "src": "902:2:18" }, "returnParameters": { "id": 4159, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4158, "name": "", "nodeType": "VariableDeclaration", "scope": 4160, "src": "928:6:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" }, "typeName": { "id": 4157, "name": "int192", "nodeType": "ElementaryTypeName", "src": "928:6:18", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" } }, "value": null, "visibility": "internal" } ], "src": "927:8:18" }, "scope": 4161, "src": "884:52:18", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 4162, "src": "776:162:18" } ], "src": "595:344:18" }, "compiler": { "name": "solc", "version": "0.5.16+commit.9c3226ce.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.0.23", "updatedAt": "2025-06-22T04:01:53.516Z", "devdoc": { "author": "Dolomite * Gets configuration for an aggregator proxy", "methods": {}, "title": "IChainlinkAccessControlAggregator" }, "userdoc": { "methods": {} } }