Ethereum
0xca039bdc583156d6b1b6c9602e98e562b7ec2fe3
Decompiled Solidity recovered from this contract's runtime bytecode. Best-effort reconstruction — confirm behaviour against on-chain state.
Decompilation outputEthereum · 0xca039bdc…b7ec2fe323.3 KB83.4 s
This result is permanently available athttps://decompiler.exvul.com/ethereum/0xca039bdc583156d6b1b6c9602e98e562b7ec2fe3
427 lines · Click a variable or keyword to highlight its references · Click a line number to copy its link; Shift-click to copy a block link
[ { "type": "function", "name": "LABEL", "inputs": [], "outputs": [ { "name": "", "type": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "ROUTES", "inputs": [], "outputs": [ { "name": "", "type": "bytes" } ], "stateMutability": "pure" }, { "type": "function", "name": "Unknown_5ed534d9", "inputs": [ { "name": "arg0", "type": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "Unknown_a5b11eb5", "inputs": [], "outputs": [], "stateMutability": "payable" }, { "type": "function", "name": "Unknown_ea38158a", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "VERSION", "inputs": [], "outputs": [ { "name": "", "type": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "createBToken", "inputs": [ { "name": "arg0", "type": "string" }, { "name": "arg1", "type": "string" }, { "name": "amount", "type": "uint256" }, { "name": "arg3", "type": "bytes32" } ], "outputs": [ { "name": "", "type": "address" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "precomputeBTokenAddress", "inputs": [ { "name": "arg0", "type": "string" }, { "name": "arg1", "type": "string" }, { "name": "arg2", "type": "uint256" }, { "name": "arg3", "type": "bytes32" }, { "name": "arg4", "type": "address" } ], "outputs": [ { "name": "", "type": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "supportsInterface", "inputs": [ { "name": "interfaceId", "type": "bytes4" } ], "outputs": [ { "name": "", "type": "bool" } ], "stateMutability": "pure" }, { "type": "event", "name": "BTokenCreated", "inputs": [ { "name": "arg0", "type": "address", "indexed": false }, { "name": "arg1", "type": "string", "indexed": false }, { "name": "arg2", "type": "string", "indexed": false }, { "name": "arg3", "type": "uint8", "indexed": false }, { "name": "arg4", "type": "uint256", "indexed": false }, { "name": "arg5", "type": "address", "indexed": false } ], "anonymous": false }, { "type": "event", "name": "Initialized", "inputs": [ { "name": "arg0", "type": "address", "indexed": false }, { "name": "arg1", "type": "uint256", "indexed": false }, { "name": "arg2", "type": "uint256", "indexed": false }, { "name": "arg3", "type": "uint256", "indexed": false } ], "anonymous": false }, { "type": "event", "name": "PoolCreated", "inputs": [ { "name": "arg0", "type": "address", "indexed": false }, { "name": "arg1", "type": "address", "indexed": false }, { "name": "arg2", "type": "address", "indexed": false }, { "name": "arg3", "type": "address", "indexed": false }, { "name": "arg4", "type": "uint256", "indexed": false }, { "name": "arg5", "type": "uint256", "indexed": false }, { "name": "arg6", "type": "uint256", "indexed": false }, { "name": "arg7", "type": "uint256", "indexed": false }, { "name": "arg8", "type": "uint256", "indexed": false }, { "name": "arg9", "type": "uint256", "indexed": false }, { "name": "arg10", "type": "uint256", "indexed": false }, { "name": "arg11", "type": "bytes32", "indexed": false } ], "anonymous": false }, { "type": "error", "name": "AlreadyInitialized", "inputs": [] }, { "type": "error", "name": "CustomError_0000000000000000000000000000000000000000000000000000000000499602", "inputs": [] }, { "type": "error", "name": "CustomError_0000000000000000000000000000000000000000000000000000000073aa73fe", "inputs": [] }, { "type": "error", "name": "FullMulDivFailed", "inputs": [] }, { "type": "error", "name": "GuardLib_Paused", "inputs": [] }, { "type": "error", "name": "GuardLib_Reentrant", "inputs": [] }, { "type": "error", "name": "GuardLib_ReserveAccountingMismatch", "inputs": [] }, { "type": "error", "name": "InvalidCreator", "inputs": [] }, { "type": "error", "name": "InvalidDecimals", "inputs": [] }, { "type": "error", "name": "InvalidFeeRecipient", "inputs": [] }, { "type": "error", "name": "InvalidInitialCollateralOrDebt", "inputs": [] }, { "type": "error", "name": "InvalidName", "inputs": [] }, { "type": "error", "name": "InvalidParameters", "inputs": [] }, { "type": "error", "name": "InvalidPoolSupply", "inputs": [] }, { "type": "error", "name": "InvalidSalt", "inputs": [] }, { "type": "error", "name": "InvalidSwapFeePct", "inputs": [] }, { "type": "error", "name": "InvalidSymbol", "inputs": [] }, { "type": "error", "name": "InvalidTick", "inputs": [ { "name": "arg0", "type": "int24" } ] }, { "type": "error", "name": "MulWadFailed", "inputs": [] }, { "type": "error", "name": "NotApprovedReserve", "inputs": [] }, { "type": "error", "name": "NotDeployer", "inputs": [] }, { "type": "error", "name": "Overflow", "inputs": [] }, { "type": "error", "name": "PoolAlreadyInitialized", "inputs": [] }, { "type": "error", "name": "TotalSupplyTooHigh", "inputs": [] }, { "type": "error", "name": "TotalSupplyTooLow", "inputs": [] }, { "type": "error", "name": "UnauthorizedCreditPositionCreation", "inputs": [] }, { "type": "error", "name": "hammerPlayer", "inputs": [ { "name": "arg0", "type": "address" }, { "name": "arg1", "type": "uint256" }, { "name": "arg2", "type": "bool" } ] }]