Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| 0x61016060 | 18798140 | 909 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint16","name":"U_1","type":"uint16"},{"internalType":"uint16","name":"U_2","type":"uint16"},{"internalType":"uint16","name":"R_base","type":"uint16"},{"internalType":"uint16","name":"R_slope1","type":"uint16"},{"internalType":"uint16","name":"R_slope2","type":"uint16"},{"internalType":"uint16","name":"R_slope3","type":"uint16"},{"internalType":"bool","name":"_isBorrowingMoreU2Forbidden","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BorrowingMoreThanU2ForbiddenException","type":"error"},{"inputs":[],"name":"IncorrectParameterException","type":"error"},{"inputs":[],"name":"R_base_RAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"R_slope1_RAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"R_slope2_RAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"R_slope3_RAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"U_1_WAD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"U_2_WAD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"expectedLiquidity","type":"uint256"},{"internalType":"uint256","name":"availableLiquidity","type":"uint256"}],"name":"availableToBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"expectedLiquidity","type":"uint256"},{"internalType":"uint256","name":"availableLiquidity","type":"uint256"},{"internalType":"bool","name":"checkOptimalBorrowing","type":"bool"}],"name":"calcBorrowRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"expectedLiquidity","type":"uint256"},{"internalType":"uint256","name":"availableLiquidity","type":"uint256"}],"name":"calcBorrowRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getModelParameters","outputs":[{"internalType":"uint16","name":"U_1","type":"uint16"},{"internalType":"uint16","name":"U_2","type":"uint16"},{"internalType":"uint16","name":"R_base","type":"uint16"},{"internalType":"uint16","name":"R_slope1","type":"uint16"},{"internalType":"uint16","name":"R_slope2","type":"uint16"},{"internalType":"uint16","name":"R_slope3","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBorrowingMoreU2Forbidden","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80636e55f77e1161008157806381ec4ab71161005b57806381ec4ab714610240578063be3c37cd14610263578063c8284e6d1461028a57600080fd5b80636e55f77e146101b7578063762dbdb8146101de5780637f681d541461021957600080fd5b806342568d44116100b257806342568d441461016457806354fd4d50146101875780636cdc90fd1461019057600080fd5b806301967344146100d95780631a40526514610112578063306ea06714610139575b600080fd5b6101007f000000000000000000000000000000000000000000108b2a2c2802909400000081565b60408051918252519081900360200190f35b6101007f000000000000000000000000000000000000000001f04ef12cb04cf15800000081565b6101006004803603606081101561014f57600080fd5b508035906020810135906040013515156102d0565b6101006004803603604081101561017a57600080fd5b5080359060200135610679565b61010061012c81565b6101007f000000000000000000000000000000000000000000000000000000000000000081565b6101007f00000000000000000000000000000000000000000014adf4b7320334b900000081565b6102057f000000000000000000000000000000000000000000000000000000000000000181565b604080519115158252519081900360200190f35b6101007f0000000000000000000000000000000000000000000000000c7d713b49da000081565b6101006004803603604081101561025657600080fd5b5080359060200135610690565b6101007f00000000000000000000000000000000000000000000000009b6e64a8ec6000081565b61029261077f565b6040805161ffff978816815295871660208701529386168585015291851660608501528416608084015290921660a082015290519081900360c00190f35b600082841161030057507f0000000000000000000000000000000000000000000000000000000000000000610672565b60008461030d8582610934565b61031f90670de0b6b3a7640000610947565b610329919061095e565b90507f00000000000000000000000000000000000000000000000009b6e64a8ec600008110156103da577f00000000000000000000000000000000000000000000000009b6e64a8ec6000061039e827f000000000000000000000000000000000000000000108b2a2c28029094000000610947565b6103a8919061095e565b6103d2907f0000000000000000000000000000000000000000000000000000000000000000610980565b915050610672565b7f0000000000000000000000000000000000000000000000000c7d713b49da00008110156104fe5761044c7f00000000000000000000000000000000000000000000000009b6e64a8ec600007f0000000000000000000000000000000000000000000000000c7d713b49da0000610934565b6104767f00000000000000000000000000000000000000000000000009b6e64a8ec6000083610934565b6104a0907f00000000000000000000000000000000000000000014adf4b7320334b9000000610947565b6104aa919061095e565b6104f47f000000000000000000000000000000000000000000108b2a2c280290940000007f0000000000000000000000000000000000000000000000000000000000000000610980565b6103d29190610980565b82801561052857507f00000000000000000000000000000000000000000000000000000000000000015b1561055f576040517f351f03e300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105917f0000000000000000000000000000000000000000000000000c7d713b49da0000670de0b6b3a7640000610934565b6105bb7f0000000000000000000000000000000000000000000000000c7d713b49da000083610934565b6105e5907f000000000000000000000000000000000000000001f04ef12cb04cf158000000610947565b6105ef919061095e565b7f00000000000000000000000000000000000000000014adf4b7320334b900000061065a7f000000000000000000000000000000000000000000108b2a2c280290940000007f0000000000000000000000000000000000000000000000000000000000000000610980565b6106649190610980565b61066e9190610980565b9150505b9392505050565b6000610687838360006102d0565b90505b92915050565b60007f000000000000000000000000000000000000000000000000000000000000000180156106bf5750818310155b80156106ca57508215155b15610778576000836106dc8482610934565b6106ee90670de0b6b3a7640000610947565b6106f8919061095e565b90507f0000000000000000000000000000000000000000000000000c7d713b49da00008110610728576000610770565b670de0b6b3a76400008461075c837f0000000000000000000000000000000000000000000000000c7d713b49da0000610934565b6107669190610947565b610770919061095e565b91505061068a565b508061068a565b6000808080808061079a612710670de0b6b3a764000061095e565b6107c4907f00000000000000000000000000000000000000000000000009b6e64a8ec6000061095e565b95506107da612710670de0b6b3a764000061095e565b610804907f0000000000000000000000000000000000000000000000000c7d713b49da000061095e565b945061081e6127106b033b2e3c9fd0803ce800000061095e565b610848907f000000000000000000000000000000000000000000000000000000000000000061095e565b93506108626127106b033b2e3c9fd0803ce800000061095e565b61088c907f000000000000000000000000000000000000000000108b2a2c2802909400000061095e565b92506108a66127106b033b2e3c9fd0803ce800000061095e565b6108d0907f00000000000000000000000000000000000000000014adf4b7320334b900000061095e565b91506108ea6127106b033b2e3c9fd0803ce800000061095e565b610914907f000000000000000000000000000000000000000001f04ef12cb04cf15800000061095e565b9050909192939495565b634e487b7160e01b600052601160045260246000fd5b8181038181111561068a5761068a61091e565b808202811582820484141761068a5761068a61091e565b60008261097b57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561068a5761068a61091e56fea26469706673582212205ae1a1a33c8bb975c879fb250a8ab5a230bb55a5f6f11ae547e6d7e6b79ec79264736f6c63430008110033
🤖 Code Reader
Generate instant answers for your smart contract questions using Al Models. Read more.
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.