Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
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":"uint256","name":"baseRatePerYear","type":"uint256"},{"internalType":"uint256","name":"multiplierPerYear","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"baseRatePerBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"multiplierPerBlock","type":"uint256"}],"name":"NewInterestParams","type":"event"},{"inputs":[],"name":"baseRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blocksPerYear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"cash","type":"uint256"},{"internalType":"uint256","name":"borrows","type":"uint256"},{"internalType":"uint256","name":"reserves","type":"uint256"}],"name":"getBorrowRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"cash","type":"uint256"},{"internalType":"uint256","name":"borrows","type":"uint256"},{"internalType":"uint256","name":"reserves","type":"uint256"},{"internalType":"uint256","name":"reserveFactorMantissa","type":"uint256"}],"name":"getSupplyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isInterestRateModel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiplierPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"cash","type":"uint256"},{"internalType":"uint256","name":"borrows","type":"uint256"},{"internalType":"uint256","name":"reserves","type":"uint256"}],"name":"utilizationRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506040516106ab3803806106ab8339818101604052604081101561003357600080fd5b5080516020918201519091610056908390622014809061025c6100bc821b17901c565b60015561007181622014806100bc602090811b61025c17901c565b600081905560015460408051918252602082019290925281517ff35fa19c15e9ba782633a5df62a98b20217151addc68e3ff2cd623a48d37ec27929181900390910190a150506101ad565b600061010483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061010b60201b60201c565b9392505050565b600081836101975760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561015c578181015183820152602001610144565b50505050905090810190601f1680156101895780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816101a357fe5b0495945050505050565b6104ef806101bc6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638726bb891161005b5780638726bb8914610102578063a385fb961461010a578063b816881614610112578063f14039de146101415761007d565b806315f24053146100825780632191f92a146100bd5780636e71e2d8146100d9575b600080fd5b6100ab6004803603606081101561009857600080fd5b5080359060208101359060400135610149565b60408051918252519081900360200190f35b6100c5610197565b604080519115158252519081900360200190f35b6100ab600480360360608110156100ef57600080fd5b508035906020810135906040013561019c565b6100ab6101dc565b6100ab6101e2565b6100ab6004803603608081101561012857600080fd5b50803590602081013590604081013590606001356101e9565b6100ab610256565b60008061015785858561019c565b905061018c600154610186670de0b6b3a7640000610180600054866102a790919063ffffffff16565b9061025c565b90610300565b9150505b9392505050565b600181565b6000826101ab57506000610190565b6101d46101c2836101bc8787610300565b9061035a565b61018085670de0b6b3a76400006102a7565b949350505050565b60005481565b6220148081565b6000806101fe670de0b6b3a76400008461035a565b9050600061020d878787610149565b90506000610227670de0b6b3a764000061018084866102a7565b905061024a670de0b6b3a7640000610180836102448c8c8c61019c565b906102a7565b98975050505050505050565b60015481565b600061029e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061039c565b90505b92915050565b6000826102b6575060006102a1565b828202828482816102c357fe5b041461029e5760405162461bcd60e51b81526004018080602001828103825260218152602001806104996021913960400191505060405180910390fd5b60008282018381101561029e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061029e83836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f770081525061043e565b600081836104285760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156103ed5781810151838201526020016103d5565b50505050905090810190601f16801561041a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161043457fe5b0495945050505050565b600081848411156104905760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156103ed5781810151838201526020016103d5565b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212207a1ef2e49e8562094665ef92eefd4f38e289c28bfd7317acfbc99c31fde3182364736f6c6343000704003300000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000bcbce7f1b150000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638726bb891161005b5780638726bb8914610102578063a385fb961461010a578063b816881614610112578063f14039de146101415761007d565b806315f24053146100825780632191f92a146100bd5780636e71e2d8146100d9575b600080fd5b6100ab6004803603606081101561009857600080fd5b5080359060208101359060400135610149565b60408051918252519081900360200190f35b6100c5610197565b604080519115158252519081900360200190f35b6100ab600480360360608110156100ef57600080fd5b508035906020810135906040013561019c565b6100ab6101dc565b6100ab6101e2565b6100ab6004803603608081101561012857600080fd5b50803590602081013590604081013590606001356101e9565b6100ab610256565b60008061015785858561019c565b905061018c600154610186670de0b6b3a7640000610180600054866102a790919063ffffffff16565b9061025c565b90610300565b9150505b9392505050565b600181565b6000826101ab57506000610190565b6101d46101c2836101bc8787610300565b9061035a565b61018085670de0b6b3a76400006102a7565b949350505050565b60005481565b6220148081565b6000806101fe670de0b6b3a76400008461035a565b9050600061020d878787610149565b90506000610227670de0b6b3a764000061018084866102a7565b905061024a670de0b6b3a7640000610180836102448c8c8c61019c565b906102a7565b98975050505050505050565b60015481565b600061029e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061039c565b90505b92915050565b6000826102b6575060006102a1565b828202828482816102c357fe5b041461029e5760405162461bcd60e51b81526004018080602001828103825260218152602001806104996021913960400191505060405180910390fd5b60008282018381101561029e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061029e83836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f770081525061043e565b600081836104285760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156103ed5781810151838201526020016103d5565b50505050905090810190601f16801561041a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161043457fe5b0495945050505050565b600081848411156104905760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156103ed5781810151838201526020016103d5565b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212207a1ef2e49e8562094665ef92eefd4f38e289c28bfd7317acfbc99c31fde3182364736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000bcbce7f1b150000
-----Decoded View---------------
Arg [0] : baseRatePerYear (uint256): 20000000000000000
Arg [1] : multiplierPerYear (uint256): 850000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [1] : 0000000000000000000000000000000000000000000000000bcbce7f1b150000
🤖 Code Reader
Generate instant answers for your smart contract questions using AI Models. Read more.
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 30 Chains
Tokens
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.


