{
  "contractName": "IRebasedStakedCelo",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "stCeloAmount",
          "type": "uint256"
        }
      ],
      "name": "deposit",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "stCeloAmount",
          "type": "uint256"
        }
      ],
      "name": "withdraw",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "rstCeloAmount",
          "type": "uint256"
        }
      ],
      "name": "toStakedCelo",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "stCeloAmount",
          "type": "uint256"
        }
      ],
      "name": "toRebasedStakedCelo",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.6.8+commit.0bbfe453\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stCeloAmount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stCeloAmount\",\"type\":\"uint256\"}],\"name\":\"toRebasedStakedCelo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"rstCeloAmount\",\"type\":\"uint256\"}],\"name\":\"toStakedCelo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stCeloAmount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/stCelo/IRebasedStakedCelo.sol\":\"IRebasedStakedCelo\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/stCelo/IRebasedStakedCelo.sol\":{\"keccak256\":\"0xcc0f157480f740c466756bf2760d41e2ef3c6556079f1d1c72c0623dc280b1ba\",\"urls\":[\"bzz-raw://a5adceca46f9862053803d50a29d44b565b601d769d5c24ea6c03aa75d0f3463\",\"dweb:/ipfs/QmfWyBH7xWbVzMXGJVyAaiuyeay7FSN7vKeA2iSvYMvWVL\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity 0.6.8;\n\ninterface IRebasedStakedCelo {\n    function deposit(uint256 stCeloAmount) external;\n    function withdraw(uint256 stCeloAmount) external;\n\n    function toStakedCelo(uint256 rstCeloAmount) external view returns (uint256);\n    function toRebasedStakedCelo(uint256 stCeloAmount) external view returns (uint256); \n}",
  "sourcePath": "/home/thezviad_gmail_com/src/swappa/contracts/interfaces/stCelo/IRebasedStakedCelo.sol",
  "ast": {
    "absolutePath": "project:/contracts/interfaces/stCelo/IRebasedStakedCelo.sol",
    "exportedSymbols": {
      "IRebasedStakedCelo": [
        1765
      ]
    },
    "id": 1766,
    "license": null,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1740,
        "literals": [
          "solidity",
          "0.6",
          ".8"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:22:18"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 1765,
        "linearizedBaseContracts": [
          1765
        ],
        "name": "IRebasedStakedCelo",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "functionSelector": "b6b55f25",
            "id": 1745,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "deposit",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 1743,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1742,
                  "mutability": "mutable",
                  "name": "stCeloAmount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 1745,
                  "src": "76:20:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1741,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "76:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "75:22:18"
            },
            "returnParameters": {
              "id": 1744,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "106:0:18"
            },
            "scope": 1765,
            "src": "59:48:18",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "2e1a7d4d",
            "id": 1750,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "withdraw",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 1748,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1747,
                  "mutability": "mutable",
                  "name": "stCeloAmount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 1750,
                  "src": "130:20:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1746,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "130:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "129:22:18"
            },
            "returnParameters": {
              "id": 1749,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "160:0:18"
            },
            "scope": 1765,
            "src": "112:49:18",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "c494ec1e",
            "id": 1757,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "toStakedCelo",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 1753,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1752,
                  "mutability": "mutable",
                  "name": "rstCeloAmount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 1757,
                  "src": "189:21:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1751,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "189:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "188:23:18"
            },
            "returnParameters": {
              "id": 1756,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1755,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 1757,
                  "src": "235:7:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1754,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "235:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "234:9:18"
            },
            "scope": 1765,
            "src": "167:77:18",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "db7168a9",
            "id": 1764,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "toRebasedStakedCelo",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 1760,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1759,
                  "mutability": "mutable",
                  "name": "stCeloAmount",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 1764,
                  "src": "278:20:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1758,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "278:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "277:22:18"
            },
            "returnParameters": {
              "id": 1763,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1762,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 1764,
                  "src": "323:7:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1761,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "323:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "322:9:18"
            },
            "scope": 1765,
            "src": "249:83:18",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 1766,
        "src": "24:311:18"
      }
    ],
    "src": "0:335:18"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "project:/contracts/interfaces/stCelo/IRebasedStakedCelo.sol",
      "exportedSymbols": {
        "IRebasedStakedCelo": [
          1765
        ]
      },
      "license": null
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "0.6",
            ".8"
          ]
        },
        "id": 1740,
        "name": "PragmaDirective",
        "src": "0:22:18"
      },
      {
        "attributes": {
          "abstract": false,
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "interface",
          "documentation": null,
          "fullyImplemented": false,
          "linearizedBaseContracts": [
            1765
          ],
          "name": "IRebasedStakedCelo",
          "scope": 1766
        },
        "children": [
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "b6b55f25",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "deposit",
              "overrides": null,
              "scope": 1765,
              "stateMutability": "nonpayable",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "stCeloAmount",
                      "overrides": null,
                      "scope": 1745,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 1741,
                        "name": "ElementaryTypeName",
                        "src": "76:7:18"
                      }
                    ],
                    "id": 1742,
                    "name": "VariableDeclaration",
                    "src": "76:20:18"
                  }
                ],
                "id": 1743,
                "name": "ParameterList",
                "src": "75:22:18"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 1744,
                "name": "ParameterList",
                "src": "106:0:18"
              }
            ],
            "id": 1745,
            "name": "FunctionDefinition",
            "src": "59:48:18"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "2e1a7d4d",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "withdraw",
              "overrides": null,
              "scope": 1765,
              "stateMutability": "nonpayable",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "stCeloAmount",
                      "overrides": null,
                      "scope": 1750,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 1746,
                        "name": "ElementaryTypeName",
                        "src": "130:7:18"
                      }
                    ],
                    "id": 1747,
                    "name": "VariableDeclaration",
                    "src": "130:20:18"
                  }
                ],
                "id": 1748,
                "name": "ParameterList",
                "src": "129:22:18"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 1749,
                "name": "ParameterList",
                "src": "160:0:18"
              }
            ],
            "id": 1750,
            "name": "FunctionDefinition",
            "src": "112:49:18"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "c494ec1e",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "toStakedCelo",
              "overrides": null,
              "scope": 1765,
              "stateMutability": "view",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "rstCeloAmount",
                      "overrides": null,
                      "scope": 1757,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 1751,
                        "name": "ElementaryTypeName",
                        "src": "189:7:18"
                      }
                    ],
                    "id": 1752,
                    "name": "VariableDeclaration",
                    "src": "189:21:18"
                  }
                ],
                "id": 1753,
                "name": "ParameterList",
                "src": "188:23:18"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "",
                      "overrides": null,
                      "scope": 1757,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 1754,
                        "name": "ElementaryTypeName",
                        "src": "235:7:18"
                      }
                    ],
                    "id": 1755,
                    "name": "VariableDeclaration",
                    "src": "235:7:18"
                  }
                ],
                "id": 1756,
                "name": "ParameterList",
                "src": "234:9:18"
              }
            ],
            "id": 1757,
            "name": "FunctionDefinition",
            "src": "167:77:18"
          },
          {
            "attributes": {
              "body": null,
              "documentation": null,
              "functionSelector": "db7168a9",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "toRebasedStakedCelo",
              "overrides": null,
              "scope": 1765,
              "stateMutability": "view",
              "virtual": false,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "stCeloAmount",
                      "overrides": null,
                      "scope": 1764,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 1758,
                        "name": "ElementaryTypeName",
                        "src": "278:7:18"
                      }
                    ],
                    "id": 1759,
                    "name": "VariableDeclaration",
                    "src": "278:20:18"
                  }
                ],
                "id": 1760,
                "name": "ParameterList",
                "src": "277:22:18"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "mutability": "mutable",
                      "name": "",
                      "overrides": null,
                      "scope": 1764,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 1761,
                        "name": "ElementaryTypeName",
                        "src": "323:7:18"
                      }
                    ],
                    "id": 1762,
                    "name": "VariableDeclaration",
                    "src": "323:7:18"
                  }
                ],
                "id": 1763,
                "name": "ParameterList",
                "src": "322:9:18"
              }
            ],
            "id": 1764,
            "name": "FunctionDefinition",
            "src": "249:83:18"
          }
        ],
        "id": 1765,
        "name": "ContractDefinition",
        "src": "24:311:18"
      }
    ],
    "id": 1766,
    "name": "SourceUnit",
    "src": "0:335:18"
  },
  "compiler": {
    "name": "solc",
    "version": "0.6.8+commit.0bbfe453.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.16",
  "updatedAt": "2025-02-07T17:50:42.772Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}