ETH Price: $2,387.01 (-3.53%)

Contract

0xC8E5BdA2EFC25F04D5fEB56eee80e3D8aF74cb7F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Loading...
Loading
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction and 5 Token Transfers found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method
Block
From
To
0x60e06040216862432025-01-23 9:17:59637 days ago1737623879  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
Source Code Verified Exact Match

Contract Name

CollSurplusPool

Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled
Yes with 200 runs
Other Settings
cancun EvmVersion
License
-NA-
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API
[{"inputs":[{"internalType":"contract IAddressesRegistry","name":"_addressesRegistry","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newBorrowerOperationsAddress","type":"address"}],"name":"BorrowerOperationsAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":false,"internalType":"uint256","name":"_newBalance","type":"uint256"}],"name":"CollBalanceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"CollSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newTroveManagerAddress","type":"address"}],"name":"TroveManagerAddressChanged","type":"event"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"accountSurplus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"borrowerOperationsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"claimColl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getCollateral","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"troveManagerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
60e060405234801561000f575f80fd5b50604051610b6a380380610b6a83398101604081905261002e91610222565b806001600160a01b03166331b8c9466040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008e9190610222565b6001600160a01b03166080816001600160a01b031681525050806001600160a01b03166377553ad46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101079190610222565b6001600160a01b031660a0816001600160a01b031681525050806001600160a01b0316633d83908a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561015c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101809190610222565b6001600160a01b0390811660c05260a051604051911681527f3ca631ffcd2a9b5d9ae18543fc82f58eb4ca33af9e6ab01b7a8e95331e6ed9859060200160405180910390a160c0516040516001600160a01b0390911681527f143219c9e69b09e07e095fcc889b43d8f46ca892bba65f08dc3a0050869a56789060200160405180910390a150610244565b6001600160a01b038116811461021f575f80fd5b50565b5f60208284031215610232575f80fd5b815161023d8161020b565b9392505050565b60805160a05160c0516108e96102815f395f818160f801526103b801525f8181610195015261044601525f818160a4015261038201526108e95ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c80639b56d6c9116100585780639b56d6c91461011a578063a3f4df7e14610142578063b32beb5b1461017d578063b7f8cf9b14610190575f80fd5b80630367b3021461008957806331b8c9461461009f5780633f10abab146100de5780635a4d28bb146100f3575b5f80fd5b5f545b6040519081526020015b60405180910390f35b6100c67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610096565b6100f16100ec36600461079d565b6101b7565b005b6100c67f000000000000000000000000000000000000000000000000000000000000000081565b61008c6101283660046107c5565b6001600160a01b03165f9081526001602052604090205490565b6101706040518060400160405280600f81526020016e10dbdb1b14dd5c9c1b1d5cd41bdbdb608a1b81525081565b6040516100969190610807565b6100f161018b3660046107c5565b610250565b6100c67f000000000000000000000000000000000000000000000000000000000000000081565b6101bf6103ad565b6001600160a01b0382165f908152600160205260408120546101e290839061084d565b6001600160a01b0384165f9081526001602052604081208290555490915061020b90839061084d565b5f556040518181526001600160a01b038416907ff0393a34d05e6567686ad4e097f9d9d2781565957394f1f0d984e5d8e6378f209060200160405180910390a2505050565b61025861043b565b6001600160a01b0381165f90815260016020526040902054806102dc5760405162461bcd60e51b815260206004820152603160248201527f436f6c6c537572706c7573506f6f6c3a204e6f20636f6c6c61746572616c20616044820152707661696c61626c6520746f20636c61696d60781b60648201526084015b60405180910390fd5b6001600160a01b0382165f818152600160209081526040808320839055519182527ff0393a34d05e6567686ad4e097f9d9d2781565957394f1f0d984e5d8e6378f20910160405180910390a2805f546103359190610866565b5f556040518181526001600160a01b038316907fd9ef88f073f4d2c68cdd01f32b61017d8f9e3937dfd5c1962104ec48951ea99d9060200160405180910390a26103a96001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001683836104ce565b5050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104395760405162461bcd60e51b815260206004820152602b60248201527f436f6c6c537572706c7573506f6f6c3a2043616c6c6572206973206e6f74205460448201526a3937bb32a6b0b730b3b2b960a91b60648201526084016102d3565b565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104395760405162461bcd60e51b815260206004820152603260248201527f436f6c6c537572706c7573506f6f6c3a2043616c6c6572206973206e6f7420426044820152716f72726f776572204f7065726174696f6e7360701b60648201526084016102d3565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610520908490610525565b505050565b5f610579826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166105f89092919063ffffffff16565b905080515f14806105995750808060200190518101906105999190610879565b6105205760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102d3565b606061060684845f8561060e565b949350505050565b60608247101561066f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102d3565b5f80866001600160a01b0316858760405161068a9190610898565b5f6040518083038185875af1925050503d805f81146106c4576040519150601f19603f3d011682016040523d82523d5f602084013e6106c9565b606091505b50915091506106da878383876106e5565b979650505050505050565b606083156107535782515f0361074c576001600160a01b0385163b61074c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102d3565b5081610606565b61060683838151156107685781518083602001fd5b8060405162461bcd60e51b81526004016102d39190610807565b80356001600160a01b0381168114610798575f80fd5b919050565b5f80604083850312156107ae575f80fd5b6107b783610782565b946020939093013593505050565b5f602082840312156107d5575f80fd5b6107de82610782565b9392505050565b5f5b838110156107ff5781810151838201526020016107e7565b50505f910152565b602081525f82518060208401526108258160408501602087016107e5565b601f01601f19169190910160400192915050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561086057610860610839565b92915050565b8181038181111561086057610860610839565b5f60208284031215610889575f80fd5b815180151581146107de575f80fd5b5f82516108a98184602087016107e5565b919091019291505056fea264697066735822122016f8e2a7eebed502cbeb323149b5c1cc903c8ca596b8f02a8c1f66c81d7dc97164736f6c634300081800330000000000000000000000002d4ef56cb626e9a4c90c156018ba9ce269573c61
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610085575f3560e01c80639b56d6c9116100585780639b56d6c91461011a578063a3f4df7e14610142578063b32beb5b1461017d578063b7f8cf9b14610190575f80fd5b80630367b3021461008957806331b8c9461461009f5780633f10abab146100de5780635a4d28bb146100f3575b5f80fd5b5f545b6040519081526020015b60405180910390f35b6100c67f0000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca081565b6040516001600160a01b039091168152602001610096565b6100f16100ec36600461079d565b6101b7565b005b6100c67f000000000000000000000000b47ef60132deabc89580fd40e49c062d9307004681565b61008c6101283660046107c5565b6001600160a01b03165f9081526001602052604090205490565b6101706040518060400160405280600f81526020016e10dbdb1b14dd5c9c1b1d5cd41bdbdb608a1b81525081565b6040516100969190610807565b6100f161018b3660046107c5565b610250565b6100c67f00000000000000000000000094c1610a7373919bd9cfb09ded19894601f4a1be81565b6101bf6103ad565b6001600160a01b0382165f908152600160205260408120546101e290839061084d565b6001600160a01b0384165f9081526001602052604081208290555490915061020b90839061084d565b5f556040518181526001600160a01b038416907ff0393a34d05e6567686ad4e097f9d9d2781565957394f1f0d984e5d8e6378f209060200160405180910390a2505050565b61025861043b565b6001600160a01b0381165f90815260016020526040902054806102dc5760405162461bcd60e51b815260206004820152603160248201527f436f6c6c537572706c7573506f6f6c3a204e6f20636f6c6c61746572616c20616044820152707661696c61626c6520746f20636c61696d60781b60648201526084015b60405180910390fd5b6001600160a01b0382165f818152600160209081526040808320839055519182527ff0393a34d05e6567686ad4e097f9d9d2781565957394f1f0d984e5d8e6378f20910160405180910390a2805f546103359190610866565b5f556040518181526001600160a01b038316907fd9ef88f073f4d2c68cdd01f32b61017d8f9e3937dfd5c1962104ec48951ea99d9060200160405180910390a26103a96001600160a01b037f0000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca01683836104ce565b5050565b336001600160a01b037f000000000000000000000000b47ef60132deabc89580fd40e49c062d9307004616146104395760405162461bcd60e51b815260206004820152602b60248201527f436f6c6c537572706c7573506f6f6c3a2043616c6c6572206973206e6f74205460448201526a3937bb32a6b0b730b3b2b960a91b60648201526084016102d3565b565b336001600160a01b037f00000000000000000000000094c1610a7373919bd9cfb09ded19894601f4a1be16146104395760405162461bcd60e51b815260206004820152603260248201527f436f6c6c537572706c7573506f6f6c3a2043616c6c6572206973206e6f7420426044820152716f72726f776572204f7065726174696f6e7360701b60648201526084016102d3565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610520908490610525565b505050565b5f610579826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166105f89092919063ffffffff16565b905080515f14806105995750808060200190518101906105999190610879565b6105205760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102d3565b606061060684845f8561060e565b949350505050565b60608247101561066f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102d3565b5f80866001600160a01b0316858760405161068a9190610898565b5f6040518083038185875af1925050503d805f81146106c4576040519150601f19603f3d011682016040523d82523d5f602084013e6106c9565b606091505b50915091506106da878383876106e5565b979650505050505050565b606083156107535782515f0361074c576001600160a01b0385163b61074c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102d3565b5081610606565b61060683838151156107685781518083602001fd5b8060405162461bcd60e51b81526004016102d39190610807565b80356001600160a01b0381168114610798575f80fd5b919050565b5f80604083850312156107ae575f80fd5b6107b783610782565b946020939093013593505050565b5f602082840312156107d5575f80fd5b6107de82610782565b9392505050565b5f5b838110156107ff5781810151838201526020016107e7565b50505f910152565b602081525f82518060208401526108258160408501602087016107e5565b601f01601f19169190910160400192915050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561086057610860610839565b92915050565b8181038181111561086057610860610839565b5f60208284031215610889575f80fd5b815180151581146107de575f80fd5b5f82516108a98184602087016107e5565b919091019291505056fea264697066735822122016f8e2a7eebed502cbeb323149b5c1cc903c8ca596b8f02a8c1f66c81d7dc97164736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002d4ef56cb626e9a4c90c156018ba9ce269573c61

-----Decoded View---------------
Arg [0] : _addressesRegistry (address): 0x2D4ef56cb626E9a4C90c156018BA9CE269573c61

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002d4ef56cb626e9a4c90c156018ba9ce269573c61

🤖 Code Reader

Generate instant answers for your smart contract questions using AI Models. Read more.

Custom Contract ABI

                            

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
0xC8E5BdA2EFC25F04D5fEB56eee80e3D8aF74cb7F

DeFi

0 Protocols
Loading...
Loading
Protocol Positions Portfolio % Value

There are no matching entries

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.