Sepolia Testnet

Contract

0xa8D6015e862293cd3884b8143D9D805Ba080D7a9
Source Code Source Code

Overview

ETH Balance

0 ETH

Token Holdings

More Info

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Amount

There are no matching entries

1 Internal Transaction and 3 Token Transfers found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
Amount
0x60e0604071294112024-11-22 12:41:48566 days ago1732279308  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading

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 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":false,"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"}]
60e060405234801561000f575f80fd5b50604051610b6e380380610b6e83398101604081905261002e91610222565b806001600160a01b03166331b8c9466040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008e9190610222565b6001600160a01b03166080816001600160a01b031681525050806001600160a01b03166377553ad46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101079190610222565b6001600160a01b031660a0816001600160a01b031681525050806001600160a01b0316633d83908a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561015c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101809190610222565b6001600160a01b0390811660c05260a051604051911681527f3ca631ffcd2a9b5d9ae18543fc82f58eb4ca33af9e6ab01b7a8e95331e6ed9859060200160405180910390a160c0516040516001600160a01b0390911681527f143219c9e69b09e07e095fcc889b43d8f46ca892bba65f08dc3a0050869a56789060200160405180910390a150610244565b6001600160a01b038116811461021f575f80fd5b50565b5f60208284031215610232575f80fd5b815161023d8161020b565b9392505050565b60805160a05160c0516108ed6102815f395f818160f801526103bc01525f8181610195015261044a01525f818160a4015261038601526108ed5ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c80639b56d6c9116100585780639b56d6c91461011a578063a3f4df7e14610142578063b32beb5b1461017d578063b7f8cf9b14610190575f80fd5b80630367b3021461008957806331b8c9461461009f5780633f10abab146100de5780635a4d28bb146100f3575b5f80fd5b5f545b6040519081526020015b60405180910390f35b6100c67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610096565b6100f16100ec3660046107a1565b6101b7565b005b6100c67f000000000000000000000000000000000000000000000000000000000000000081565b61008c6101283660046107c9565b6001600160a01b03165f9081526001602052604090205490565b6101706040518060400160405280600f81526020016e10dbdb1b14dd5c9c1b1d5cd41bdbdb608a1b81525081565b604051610096919061080b565b6100f161018b3660046107c9565b610250565b6100c67f000000000000000000000000000000000000000000000000000000000000000081565b6101bf6103b1565b6001600160a01b0382165f908152600160205260408120546101e2908390610851565b6001600160a01b0384165f9081526001602052604081208290555490915061020b908390610851565b5f556040518181526001600160a01b038416907ff0393a34d05e6567686ad4e097f9d9d2781565957394f1f0d984e5d8e6378f209060200160405180910390a2505050565b61025861043f565b6001600160a01b0381165f90815260016020526040902054806102dc5760405162461bcd60e51b815260206004820152603160248201527f436f6c6c537572706c7573506f6f6c3a204e6f20636f6c6c61746572616c20616044820152707661696c61626c6520746f20636c61696d60781b60648201526084015b60405180910390fd5b6001600160a01b0382165f818152600160209081526040808320839055519182527ff0393a34d05e6567686ad4e097f9d9d2781565957394f1f0d984e5d8e6378f20910160405180910390a2805f54610335919061086a565b5f55604080516001600160a01b0384168152602081018390527fd9ef88f073f4d2c68cdd01f32b61017d8f9e3937dfd5c1962104ec48951ea99d910160405180910390a16103ad6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001683836104d2565b5050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461043d5760405162461bcd60e51b815260206004820152602b60248201527f436f6c6c537572706c7573506f6f6c3a2043616c6c6572206973206e6f74205460448201526a3937bb32a6b0b730b3b2b960a91b60648201526084016102d3565b565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461043d5760405162461bcd60e51b815260206004820152603260248201527f436f6c6c537572706c7573506f6f6c3a2043616c6c6572206973206e6f7420426044820152716f72726f776572204f7065726174696f6e7360701b60648201526084016102d3565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610524908490610529565b505050565b5f61057d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166105fc9092919063ffffffff16565b905080515f148061059d57508080602001905181019061059d919061087d565b6105245760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102d3565b606061060a84845f85610612565b949350505050565b6060824710156106735760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102d3565b5f80866001600160a01b0316858760405161068e919061089c565b5f6040518083038185875af1925050503d805f81146106c8576040519150601f19603f3d011682016040523d82523d5f602084013e6106cd565b606091505b50915091506106de878383876106e9565b979650505050505050565b606083156107575782515f03610750576001600160a01b0385163b6107505760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102d3565b508161060a565b61060a838381511561076c5781518083602001fd5b8060405162461bcd60e51b81526004016102d3919061080b565b80356001600160a01b038116811461079c575f80fd5b919050565b5f80604083850312156107b2575f80fd5b6107bb83610786565b946020939093013593505050565b5f602082840312156107d9575f80fd5b6107e282610786565b9392505050565b5f5b838110156108035781810151838201526020016107eb565b50505f910152565b602081525f82518060208401526108298160408501602087016107e9565b601f01601f19169190910160400192915050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156108645761086461083d565b92915050565b818103818111156108645761086461083d565b5f6020828403121561088d575f80fd5b815180151581146107e2575f80fd5b5f82516108ad8184602087016107e9565b919091019291505056fea2646970667358221220c608339a5f4d6d2a4c6b41ade267e5227776b4c7ce2da5470df5c0a8b1caebc364736f6c63430008180033000000000000000000000000062a494967b691682b18f42854c990f97fe789a8
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610085575f3560e01c80639b56d6c9116100585780639b56d6c91461011a578063a3f4df7e14610142578063b32beb5b1461017d578063b7f8cf9b14610190575f80fd5b80630367b3021461008957806331b8c9461461009f5780633f10abab146100de5780635a4d28bb146100f3575b5f80fd5b5f545b6040519081526020015b60405180910390f35b6100c67f00000000000000000000000010f8d8422a36ba75ae3381815ea72638dda0088c81565b6040516001600160a01b039091168152602001610096565b6100f16100ec3660046107a1565b6101b7565b005b6100c67f000000000000000000000000a8a2446696d9f3f49c39f020a5d6d34cbf3d81f481565b61008c6101283660046107c9565b6001600160a01b03165f9081526001602052604090205490565b6101706040518060400160405280600f81526020016e10dbdb1b14dd5c9c1b1d5cd41bdbdb608a1b81525081565b604051610096919061080b565b6100f161018b3660046107c9565b610250565b6100c67f000000000000000000000000cd251e282c0ee7c8e3e687303f14c0facf8487c781565b6101bf6103b1565b6001600160a01b0382165f908152600160205260408120546101e2908390610851565b6001600160a01b0384165f9081526001602052604081208290555490915061020b908390610851565b5f556040518181526001600160a01b038416907ff0393a34d05e6567686ad4e097f9d9d2781565957394f1f0d984e5d8e6378f209060200160405180910390a2505050565b61025861043f565b6001600160a01b0381165f90815260016020526040902054806102dc5760405162461bcd60e51b815260206004820152603160248201527f436f6c6c537572706c7573506f6f6c3a204e6f20636f6c6c61746572616c20616044820152707661696c61626c6520746f20636c61696d60781b60648201526084015b60405180910390fd5b6001600160a01b0382165f818152600160209081526040808320839055519182527ff0393a34d05e6567686ad4e097f9d9d2781565957394f1f0d984e5d8e6378f20910160405180910390a2805f54610335919061086a565b5f55604080516001600160a01b0384168152602081018390527fd9ef88f073f4d2c68cdd01f32b61017d8f9e3937dfd5c1962104ec48951ea99d910160405180910390a16103ad6001600160a01b037f00000000000000000000000010f8d8422a36ba75ae3381815ea72638dda0088c1683836104d2565b5050565b336001600160a01b037f000000000000000000000000a8a2446696d9f3f49c39f020a5d6d34cbf3d81f4161461043d5760405162461bcd60e51b815260206004820152602b60248201527f436f6c6c537572706c7573506f6f6c3a2043616c6c6572206973206e6f74205460448201526a3937bb32a6b0b730b3b2b960a91b60648201526084016102d3565b565b336001600160a01b037f000000000000000000000000cd251e282c0ee7c8e3e687303f14c0facf8487c7161461043d5760405162461bcd60e51b815260206004820152603260248201527f436f6c6c537572706c7573506f6f6c3a2043616c6c6572206973206e6f7420426044820152716f72726f776572204f7065726174696f6e7360701b60648201526084016102d3565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610524908490610529565b505050565b5f61057d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166105fc9092919063ffffffff16565b905080515f148061059d57508080602001905181019061059d919061087d565b6105245760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102d3565b606061060a84845f85610612565b949350505050565b6060824710156106735760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102d3565b5f80866001600160a01b0316858760405161068e919061089c565b5f6040518083038185875af1925050503d805f81146106c8576040519150601f19603f3d011682016040523d82523d5f602084013e6106cd565b606091505b50915091506106de878383876106e9565b979650505050505050565b606083156107575782515f03610750576001600160a01b0385163b6107505760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102d3565b508161060a565b61060a838381511561076c5781518083602001fd5b8060405162461bcd60e51b81526004016102d3919061080b565b80356001600160a01b038116811461079c575f80fd5b919050565b5f80604083850312156107b2575f80fd5b6107bb83610786565b946020939093013593505050565b5f602082840312156107d9575f80fd5b6107e282610786565b9392505050565b5f5b838110156108035781810151838201526020016107eb565b50505f910152565b602081525f82518060208401526108298160408501602087016107e9565b601f01601f19169190910160400192915050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156108645761086461083d565b92915050565b818103818111156108645761086461083d565b5f6020828403121561088d575f80fd5b815180151581146107e2575f80fd5b5f82516108ad8184602087016107e9565b919091019291505056fea2646970667358221220c608339a5f4d6d2a4c6b41ade267e5227776b4c7ce2da5470df5c0a8b1caebc364736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000062a494967b691682b18f42854c990f97fe789a8

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000062a494967b691682b18f42854c990f97fe789a8

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
0xa8D6015e862293cd3884b8143D9D805Ba080D7a9
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.