{
  "contractName": "Gas",
  "abi": [],
  "metadata": "{\"compiler\":{\"version\":\"0.5.17+commit.d19bba13\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/circleci/repo/contracts/utils/Gas.sol\":\"Gas\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":2000000},\"remappings\":[]},\"sources\":{\"/home/circleci/repo/contracts/utils/Gas.sol\":{\"keccak256\":\"0xe92a1f2be436a34bac9370abc2c85a1e170005555968d9be92aa885bdf03a38b\",\"urls\":[\"bzz-raw://20c2bac3042e4fe0b41bbf6e7bb8513d838b6a464a663b6db535fff620129ca1\",\"dweb:/ipfs/QmXirymgvvjHbQhoQ7c5dRhFgV7twCdUdaroZgkmTufwsP\"]}},\"version\":1}",
  "bytecode": "0x60556023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a72315820970b5ea2d179cea5b73bd23f3c9bfff4703fbeda106313db6d4c47d84c62b3c864736f6c63430005110032",
  "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a72315820970b5ea2d179cea5b73bd23f3c9bfff4703fbeda106313db6d4c47d84c62b3c864736f6c63430005110032",
  "sourceMap": "26:349:23:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
  "deployedSourceMap": "26:349:23:-;;;;;;;;",
  "source": "pragma solidity ^0.5.0;\n\n\nlibrary Gas\n{\n  function gasPrice(\n  ) internal view\n    returns (uint _gasPrice)\n  {\n    // solium-disable-next-line\n    assembly\n    {\n      _gasPrice := gasprice()\n    }\n  }\n\n  function gasRemaining(\n  ) internal view\n    returns (uint _gasRemaining)\n  {\n    // solium-disable-next-line\n    assembly\n    {\n      _gasRemaining := gas()\n    }\n  }\n}",
  "sourcePath": "/home/circleci/repo/contracts/utils/Gas.sol",
  "ast": {
    "absolutePath": "/home/circleci/repo/contracts/utils/Gas.sol",
    "exportedSymbols": {
      "Gas": [
        1842
      ]
    },
    "id": 1843,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1827,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:23"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "library",
        "documentation": null,
        "fullyImplemented": true,
        "id": 1842,
        "linearizedBaseContracts": [
          1842
        ],
        "name": "Gas",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 1833,
              "nodeType": "Block",
              "src": "110:92:23",
              "statements": [
                {
                  "externalReferences": [
                    {
                      "_gasPrice": {
                        "declaration": 1830,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "169:9:23",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 1832,
                  "nodeType": "InlineAssembly",
                  "operations": "{ _gasPrice := gasprice() }",
                  "src": "148:50:23"
                }
              ]
            },
            "documentation": null,
            "id": 1834,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "gasPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1828,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "59:5:23"
            },
            "returnParameters": {
              "id": 1831,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1830,
                  "name": "_gasPrice",
                  "nodeType": "VariableDeclaration",
                  "scope": 1834,
                  "src": "92:14:23",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1829,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "92:4:23",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "91:16:23"
            },
            "scope": 1842,
            "src": "42:160:23",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 1840,
              "nodeType": "Block",
              "src": "282:91:23",
              "statements": [
                {
                  "externalReferences": [
                    {
                      "_gasRemaining": {
                        "declaration": 1837,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "341:13:23",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 1839,
                  "nodeType": "InlineAssembly",
                  "operations": "{ _gasRemaining := gas() }",
                  "src": "320:49:23"
                }
              ]
            },
            "documentation": null,
            "id": 1841,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "gasRemaining",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1835,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "227:5:23"
            },
            "returnParameters": {
              "id": 1838,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1837,
                  "name": "_gasRemaining",
                  "nodeType": "VariableDeclaration",
                  "scope": 1841,
                  "src": "260:18:23",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1836,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "260:4:23",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "259:20:23"
            },
            "scope": 1842,
            "src": "206:167:23",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 1843,
        "src": "26:349:23"
      }
    ],
    "src": "0:375:23"
  },
  "legacyAST": {
    "absolutePath": "/home/circleci/repo/contracts/utils/Gas.sol",
    "exportedSymbols": {
      "Gas": [
        1842
      ]
    },
    "id": 1843,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1827,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:23"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "library",
        "documentation": null,
        "fullyImplemented": true,
        "id": 1842,
        "linearizedBaseContracts": [
          1842
        ],
        "name": "Gas",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 1833,
              "nodeType": "Block",
              "src": "110:92:23",
              "statements": [
                {
                  "externalReferences": [
                    {
                      "_gasPrice": {
                        "declaration": 1830,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "169:9:23",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 1832,
                  "nodeType": "InlineAssembly",
                  "operations": "{ _gasPrice := gasprice() }",
                  "src": "148:50:23"
                }
              ]
            },
            "documentation": null,
            "id": 1834,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "gasPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1828,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "59:5:23"
            },
            "returnParameters": {
              "id": 1831,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1830,
                  "name": "_gasPrice",
                  "nodeType": "VariableDeclaration",
                  "scope": 1834,
                  "src": "92:14:23",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1829,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "92:4:23",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "91:16:23"
            },
            "scope": 1842,
            "src": "42:160:23",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 1840,
              "nodeType": "Block",
              "src": "282:91:23",
              "statements": [
                {
                  "externalReferences": [
                    {
                      "_gasRemaining": {
                        "declaration": 1837,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "341:13:23",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 1839,
                  "nodeType": "InlineAssembly",
                  "operations": "{ _gasRemaining := gas() }",
                  "src": "320:49:23"
                }
              ]
            },
            "documentation": null,
            "id": 1841,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "gasRemaining",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1835,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "227:5:23"
            },
            "returnParameters": {
              "id": 1838,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1837,
                  "name": "_gasRemaining",
                  "nodeType": "VariableDeclaration",
                  "scope": 1841,
                  "src": "260:18:23",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1836,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "260:4:23",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "259:20:23"
            },
            "scope": 1842,
            "src": "206:167:23",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 1843,
        "src": "26:349:23"
      }
    ],
    "src": "0:375:23"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.17+commit.d19bba13.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.23",
  "updatedAt": "2020-04-07T20:17:34.964Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}