Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 8 from a total of 8 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 19440105 | 230 days ago | IN | 0.25 ETH | 0.00082953 | ||||
Transfer Ownersh... | 19377241 | 239 days ago | IN | 0 ETH | 0.00305891 | ||||
Transfer Ownersh... | 19376731 | 239 days ago | IN | 0 ETH | 0.00452237 | ||||
Transfer | 19235905 | 259 days ago | IN | 0.3 ETH | 0.00082486 | ||||
Set Watch List | 19235716 | 259 days ago | IN | 0 ETH | 0.02058393 | ||||
Set Keeper Regis... | 19226401 | 260 days ago | IN | 0 ETH | 0.00085373 | ||||
Set Keeper Regis... | 19226399 | 260 days ago | IN | 0 ETH | 0.00086834 | ||||
0x60806040 | 19226270 | 260 days ago | IN | 0 ETH | 0.06331519 |
Latest 22 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
21079346 | 41 hrs ago | 0.25 ETH | ||||
20986809 | 14 days ago | 0.25 ETH | ||||
20963543 | 17 days ago | 0.25 ETH | ||||
20943088 | 20 days ago | 0.4 ETH | ||||
20836334 | 35 days ago | 0.25 ETH | ||||
20213373 | 122 days ago | 0.25 ETH | ||||
20139183 | 132 days ago | 0.4 ETH | ||||
20139182 | 132 days ago | 2 ETH | ||||
20137749 | 133 days ago | 0.4 ETH | ||||
20137742 | 133 days ago | 0.4 ETH | ||||
20089956 | 139 days ago | 0.25 ETH | ||||
20025273 | 148 days ago | 0.25 ETH | ||||
20025134 | 148 days ago | 0.4 ETH | ||||
20025133 | 148 days ago | 1.25 ETH | ||||
20025111 | 148 days ago | 1.25 ETH | ||||
19582205 | 210 days ago | 0.25 ETH | ||||
19492033 | 223 days ago | 0.65 ETH | ||||
19441293 | 230 days ago | 0.4 ETH | ||||
19440901 | 230 days ago | 0.25 ETH | ||||
19433439 | 231 days ago | 0.25 ETH | ||||
19433438 | 231 days ago | 1.45 ETH | ||||
19235906 | 259 days ago | 0.25 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x5e2f48E6...265D2392e The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
EthBalanceMonitor
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@chainlink/contracts/src/v0.8/ConfirmedOwner.sol"; import "@chainlink/contracts/src/v0.8/interfaces/KeeperCompatibleInterface.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; /** * @title The EthBalanceMonitor contract * @notice A keeper-compatible contract that monitors and funds eth addresses */ contract EthBalanceMonitor is ConfirmedOwner, Pausable, KeeperCompatibleInterface { // observed limit of 45K + 10k buffer uint256 private constant MIN_GAS_FOR_TRANSFER = 55_000; event FundsAdded(uint256 amountAdded, uint256 newBalance, address sender); event FundsWithdrawn(uint256 amountWithdrawn, address payee); event TopUpSucceeded(address indexed recipient); event TopUpFailed(address indexed recipient); event KeeperRegistryAddressUpdated(address oldAddress, address newAddress); event MinWaitPeriodUpdated( uint256 oldMinWaitPeriod, uint256 newMinWaitPeriod ); error InvalidWatchList(); error OnlyKeeperRegistry(); error DuplicateAddress(address duplicate); struct Target { bool isActive; uint96 minBalanceWei; uint96 topUpAmountWei; uint56 lastTopUpTimestamp; // enough space for 2 trillion years } address private s_keeperRegistryAddress; uint256 private s_minWaitPeriodSeconds; address[] private s_watchList; mapping(address => Target) internal s_targets; /** * @param keeperRegistryAddress The address of the keeper registry contract * @param minWaitPeriodSeconds The minimum wait period for addresses between funding */ constructor(address keeperRegistryAddress, uint256 minWaitPeriodSeconds) ConfirmedOwner(msg.sender) { setKeeperRegistryAddress(keeperRegistryAddress); setMinWaitPeriodSeconds(minWaitPeriodSeconds); } /** * @notice Sets the list of addresses to watch and their funding parameters * @param addresses the list of addresses to watch * @param minBalancesWei the minimum balances for each address * @param topUpAmountsWei the amount to top up each address */ function setWatchList( address[] calldata addresses, uint96[] calldata minBalancesWei, uint96[] calldata topUpAmountsWei ) external onlyOwner { if ( addresses.length != minBalancesWei.length || addresses.length != topUpAmountsWei.length ) { revert InvalidWatchList(); } address[] memory oldWatchList = s_watchList; for (uint256 idx = 0; idx < oldWatchList.length; idx++) { s_targets[oldWatchList[idx]].isActive = false; } for (uint256 idx = 0; idx < addresses.length; idx++) { if (s_targets[addresses[idx]].isActive) { revert DuplicateAddress(addresses[idx]); } if (addresses[idx] == address(0)) { revert InvalidWatchList(); } if (topUpAmountsWei[idx] == 0) { revert InvalidWatchList(); } s_targets[addresses[idx]] = Target({ isActive: true, minBalanceWei: minBalancesWei[idx], topUpAmountWei: topUpAmountsWei[idx], lastTopUpTimestamp: 0 }); } s_watchList = addresses; } /** * @notice Gets a list of addresses that are under funded * @return list of addresses that are underfunded */ function getUnderfundedAddresses() public view returns (address[] memory) { address[] memory watchList = s_watchList; address[] memory needsFunding = new address[](watchList.length); uint256 count = 0; uint256 minWaitPeriod = s_minWaitPeriodSeconds; uint256 balance = address(this).balance; Target memory target; for (uint256 idx = 0; idx < watchList.length; idx++) { target = s_targets[watchList[idx]]; if ( target.lastTopUpTimestamp + minWaitPeriod <= block.timestamp && balance >= target.topUpAmountWei && watchList[idx].balance < target.minBalanceWei ) { needsFunding[count] = watchList[idx]; count++; balance -= target.topUpAmountWei; } } if (count != watchList.length) { assembly { mstore(needsFunding, count) } } return needsFunding; } /** * @notice Send funds to the addresses provided * @param needsFunding the list of addresses to fund (addresses must be pre-approved) */ function topUp(address[] memory needsFunding) public whenNotPaused { uint256 minWaitPeriodSeconds = s_minWaitPeriodSeconds; Target memory target; for (uint256 idx = 0; idx < needsFunding.length; idx++) { target = s_targets[needsFunding[idx]]; if ( target.isActive && target.lastTopUpTimestamp + minWaitPeriodSeconds <= block.timestamp && needsFunding[idx].balance < target.minBalanceWei ) { bool success = payable(needsFunding[idx]).send( target.topUpAmountWei ); if (success) { s_targets[needsFunding[idx]].lastTopUpTimestamp = uint56( block.timestamp ); emit TopUpSucceeded(needsFunding[idx]); } else { emit TopUpFailed(needsFunding[idx]); } } if (gasleft() < MIN_GAS_FOR_TRANSFER) { return; } } } /** * @notice Get list of addresses that are underfunded and return keeper-compatible payload * @return upkeepNeeded signals if upkeep is needed, performData is an abi encoded list of addresses that need funds */ function checkUpkeep(bytes calldata) external view override whenNotPaused returns (bool upkeepNeeded, bytes memory performData) { address[] memory needsFunding = getUnderfundedAddresses(); upkeepNeeded = needsFunding.length > 0; performData = abi.encode(needsFunding); return (upkeepNeeded, performData); } /** * @notice Called by keeper to send funds to underfunded addresses * @param performData The abi encoded list of addresses to fund */ function performUpkeep(bytes calldata performData) external override onlyKeeperRegistry whenNotPaused { address[] memory needsFunding = abi.decode(performData, (address[])); topUp(needsFunding); } /** * @notice Withdraws the contract balance * @param amount The amount of eth (in wei) to withdraw * @param payee The address to pay */ function withdraw(uint256 amount, address payable payee) external onlyOwner { require(payee != address(0)); emit FundsWithdrawn(amount, payee); payee.transfer(amount); } /** * @notice Receive funds */ receive() external payable { emit FundsAdded(msg.value, address(this).balance, msg.sender); } /** * @notice Sets the keeper registry address */ function setKeeperRegistryAddress(address keeperRegistryAddress) public onlyOwner { require(keeperRegistryAddress != address(0)); emit KeeperRegistryAddressUpdated( s_keeperRegistryAddress, keeperRegistryAddress ); s_keeperRegistryAddress = keeperRegistryAddress; } /** * @notice Sets the minimum wait period (in seconds) for addresses between funding */ function setMinWaitPeriodSeconds(uint256 period) public onlyOwner { emit MinWaitPeriodUpdated(s_minWaitPeriodSeconds, period); s_minWaitPeriodSeconds = period; } /** * @notice Gets the keeper registry address */ function getKeeperRegistryAddress() external view returns (address keeperRegistryAddress) { return s_keeperRegistryAddress; } /** * @notice Gets the minimum wait period */ function getMinWaitPeriodSeconds() external view returns (uint256) { return s_minWaitPeriodSeconds; } /** * @notice Gets the list of addresses being watched */ function getWatchList() external view returns (address[] memory) { return s_watchList; } /** * @notice Gets configuration information for an address on the watchlist */ function getAccountInfo(address targetAddress) external view returns ( bool isActive, uint96 minBalanceWei, uint96 topUpAmountWei, uint56 lastTopUpTimestamp ) { Target memory target = s_targets[targetAddress]; return ( target.isActive, target.minBalanceWei, target.topUpAmountWei, target.lastTopUpTimestamp ); } /** * @notice Pauses the contract, which prevents executing performUpkeep */ function pause() external onlyOwner { _pause(); } /** * @notice Unpauses the contract */ function unpause() external onlyOwner { _unpause(); } modifier onlyKeeperRegistry() { if (msg.sender != s_keeperRegistryAddress) { revert OnlyKeeperRegistry(); } _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ConfirmedOwnerWithProposal.sol"; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwner is ConfirmedOwnerWithProposal { constructor(address newOwner) ConfirmedOwnerWithProposal(newOwner, address(0)) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface KeeperCompatibleInterface { /** * @notice method that is simulated by the keepers to see if any work actually * needs to be performed. This method does does not actually need to be * executable, and since it is only ever simulated it can consume lots of gas. * @dev To ensure that it is never called, you may want to add the * cannotExecute modifier from KeeperBase to your implementation of this * method. * @param checkData specified in the upkeep registration so it is always the * same for a registered upkeep. This can easily be broken down into specific * arguments using `abi.decode`, so multiple upkeeps can be registered on the * same contract and easily differentiated by the contract. * @return upkeepNeeded boolean to indicate whether the keeper should call * performUpkeep or not. * @return performData bytes that the keeper should call performUpkeep with, if * upkeep is needed. If you would like to encode data to decode later, try * `abi.encode`. */ function checkUpkeep(bytes calldata checkData) external returns (bool upkeepNeeded, bytes memory performData); /** * @notice method that is actually executed by the keepers, via the registry. * The data returned by the checkUpkeep simulation will be passed into * this method to actually be executed. * @dev The input to this method should not be trusted, and the caller of the * method should not even be restricted to any single registry. Anyone should * be able call it, and the input should be validated, there is no guarantee * that the data passed in is the performData returned from checkUpkeep. This * could happen due to malicious keepers, racing keepers, or simply a state * change while the performUpkeep transaction is waiting for confirmation. * Always validate the data passed in. * @param performData is the data which was passed back from the checkData * simulation. If it is encoded, it can easily be decoded into other types by * calling `abi.decode`. This data should not be trusted, and should be * validated against the contract's current state. */ function performUpkeep(bytes calldata performData) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/OwnableInterface.sol"; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwnerWithProposal is OwnableInterface { address private s_owner; address private s_pendingOwner; event OwnershipTransferRequested(address indexed from, address indexed to); event OwnershipTransferred(address indexed from, address indexed to); constructor(address newOwner, address pendingOwner) { require(newOwner != address(0), "Cannot set owner to zero"); s_owner = newOwner; if (pendingOwner != address(0)) { _transferOwnership(pendingOwner); } } /** * @notice Allows an owner to begin transferring ownership to a new address, * pending. */ function transferOwnership(address to) public override onlyOwner { _transferOwnership(to); } /** * @notice Allows an ownership transfer to be completed by the recipient. */ function acceptOwnership() external override { require(msg.sender == s_pendingOwner, "Must be proposed owner"); address oldOwner = s_owner; s_owner = msg.sender; s_pendingOwner = address(0); emit OwnershipTransferred(oldOwner, msg.sender); } /** * @notice Get the current owner */ function owner() public view override returns (address) { return s_owner; } /** * @notice validate, transfer ownership, and emit relevant events */ function _transferOwnership(address to) private { require(to != msg.sender, "Cannot transfer to self"); s_pendingOwner = to; emit OwnershipTransferRequested(s_owner, to); } /** * @notice validate access */ function _validateOwnership() internal view { require(msg.sender == s_owner, "Only callable by owner"); } /** * @notice Reverts if called by anyone other than the contract owner. */ modifier onlyOwner() { _validateOwnership(); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface OwnableInterface { function owner() external returns (address); function transferOwnership(address recipient) external; function acceptOwnership() external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"keeperRegistryAddress","type":"address"},{"internalType":"uint256","name":"minWaitPeriodSeconds","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"duplicate","type":"address"}],"name":"DuplicateAddress","type":"error"},{"inputs":[],"name":"InvalidWatchList","type":"error"},{"inputs":[],"name":"OnlyKeeperRegistry","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountAdded","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"FundsAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountWithdrawn","type":"uint256"},{"indexed":false,"internalType":"address","name":"payee","type":"address"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"KeeperRegistryAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldMinWaitPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMinWaitPeriod","type":"uint256"}],"name":"MinWaitPeriodUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"TopUpFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"TopUpSucceeded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"checkUpkeep","outputs":[{"internalType":"bool","name":"upkeepNeeded","type":"bool"},{"internalType":"bytes","name":"performData","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"targetAddress","type":"address"}],"name":"getAccountInfo","outputs":[{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint96","name":"minBalanceWei","type":"uint96"},{"internalType":"uint96","name":"topUpAmountWei","type":"uint96"},{"internalType":"uint56","name":"lastTopUpTimestamp","type":"uint56"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getKeeperRegistryAddress","outputs":[{"internalType":"address","name":"keeperRegistryAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinWaitPeriodSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnderfundedAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWatchList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"performData","type":"bytes"}],"name":"performUpkeep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"keeperRegistryAddress","type":"address"}],"name":"setKeeperRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"}],"name":"setMinWaitPeriodSeconds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint96[]","name":"minBalancesWei","type":"uint96[]"},{"internalType":"uint96[]","name":"topUpAmountsWei","type":"uint96[]"}],"name":"setWatchList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"needsFunding","type":"address[]"}],"name":"topUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"payee","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x60806040526004361061010c5760003560e01c8063728584b7116100955780638456cb59116100645780638456cb591461037a5780638da5cb5b1461039157806394555114146103bc578063b1d52fa0146103e5578063f2fde38b1461040e5761014e565b8063728584b7146102cd57806379ba5097146102f85780637b510fe81461030f578063810623e31461034f5761014e565b80633f85861f116100dc5780633f85861f146101e757806341d2052e146102105780634585e33b1461023b5780635c975abb146102645780636e04ff0d1461028f5761014e565b8062f714ce146101535780630b67ddce1461017c5780633e4ca677146101a75780633f4ba83a146101d05761014e565b3661014e577fc6f3fb0fec49e4877342d4625d77a632541f55b7aae0f9d0b34c69b3478706dc34473360405161014493929190612443565b60405180910390a1005b600080fd5b34801561015f57600080fd5b5061017a6004803603810190610175919061200c565b610437565b005b34801561018857600080fd5b506101916104fd565b60405161019e9190612284565b60405180910390f35b3480156101b357600080fd5b506101ce60048036038101906101c99190611f49565b610875565b005b3480156101dc57600080fd5b506101e5610c5a565b005b3480156101f357600080fd5b5061020e60048036038101906102099190611fdf565b610c6c565b005b34801561021c57600080fd5b50610225610cb9565b60405161023291906123d6565b60405180910390f35b34801561024757600080fd5b50610262600480360381019061025d9190611f92565b610cc3565b005b34801561027057600080fd5b50610279610db3565b60405161028691906122a6565b60405180910390f35b34801561029b57600080fd5b506102b660048036038101906102b19190611f92565b610dca565b6040516102c49291906122c1565b60405180910390f35b3480156102d957600080fd5b506102e2610e53565b6040516102ef9190612284565b60405180910390f35b34801561030457600080fd5b5061030d610ee1565b005b34801561031b57600080fd5b5061033660048036038101906103319190611e68565b611076565b60405161034694939291906122f1565b60405180910390f35b34801561035b57600080fd5b506103646111b4565b6040516103719190612240565b60405180910390f35b34801561038657600080fd5b5061038f6111de565b005b34801561039d57600080fd5b506103a66111f0565b6040516103b39190612240565b60405180910390f35b3480156103c857600080fd5b506103e360048036038101906103de9190611e68565b611219565b005b3480156103f157600080fd5b5061040c60048036038101906104079190611e95565b6112fa565b005b34801561041a57600080fd5b5061043560048036038101906104309190611e68565b61184b565b005b61043f61185f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561047957600080fd5b7f6141b54b56b8a52a8c6f5cd2a857f6117b18ffbf4d46bd3106f300a839cbf5ea82826040516104aa9291906123f1565b60405180910390a18073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156104f8573d6000803e3d6000fd5b505050565b60606000600480548060200260200160405190810160405280929190818152602001828054801561058357602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610539575b505050505090506000815167ffffffffffffffff8111156105a7576105a6612781565b5b6040519080825280602002602001820160405280156105d55781602001602082028036833780820191505090505b509050600080600354905060004790506105ed611b68565b60005b865181101561085c57600560008883815181106106105761060f612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600d9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016000820160199054906101000a900466ffffffffffffff1666ffffffffffffff1666ffffffffffffff168152505091504284836060015166ffffffffffffff1661073f9190612531565b1115801561075f575081604001516bffffffffffffffffffffffff168310155b80156107ad575081602001516bffffffffffffffffffffffff1687828151811061078c5761078b612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1631105b15610849578681815181106107c5576107c4612752565b5b60200260200101518686815181106107e0576107df612752565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508480610825906126da565b95505081604001516bffffffffffffffffffffffff16836108469190612587565b92505b8080610854906126da565b9150506105f0565b5085518414610869578385525b84965050505050505090565b61087d610db3565b156108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b490612396565b60405180910390fd5b600060035490506108cc611b68565b60005b8351811015610c5357600560008583815181106108ef576108ee612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600d9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016000820160199054906101000a900466ffffffffffffff1666ffffffffffffff1666ffffffffffffff1681525050915081600001518015610a2d57504283836060015166ffffffffffffff16610a2a9190612531565b11155b8015610a7b575081602001516bffffffffffffffffffffffff16848281518110610a5a57610a59612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1631105b15610c2e576000848281518110610a9557610a94612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166108fc84604001516bffffffffffffffffffffffff169081150290604051600060405180830381858888f1935050505090508015610bce574260056000878581518110610b0357610b02612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160196101000a81548166ffffffffffffff021916908366ffffffffffffff160217905550848281518110610b7f57610b7e612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f9eec55c371a49ce19e0a5792787c79b32dcf7d3490aa737436b49c0978ce9ce960405160405180910390a2610c2c565b848281518110610be157610be0612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167fa9ff7a9b96721b0e16adb7de9db0764fbfd6a4516d4d165f9564e8c3755eb10560405160405180910390a25b505b61d6d85a1015610c4057505050610c57565b8080610c4b906126da565b9150506108cf565b5050505b50565b610c6261185f565b610c6a6118ef565b565b610c7461185f565b7f04330086c73b1fe1e13cd47a61c692e7c4399b5de08ed94b7ab824684af0932360035482604051610ca792919061241a565b60405180910390a18060038190555050565b6000600354905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d4a576040517fd3a6803400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d52610db3565b15610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8990612396565b60405180910390fd5b60008282810190610da39190611f49565b9050610dae81610875565b505050565b6000600160149054906101000a900460ff16905090565b60006060610dd6610db3565b15610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d90612396565b60405180910390fd5b6000610e206104fd565b90506000815111925080604051602001610e3a9190612284565b6040516020818303038152906040529150509250929050565b60606004805480602002602001604051908101604052809291908181526020018280548015610ed757602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610e8d575b5050505050905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890612356565b60405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b6000806000806000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600d9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016000820160199054906101000a900466ffffffffffffff1666ffffffffffffff1666ffffffffffffff1681525050905080600001518160200151826040015183606001519450945094509450509193509193565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111e661185f565b6111ee611991565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61122161185f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561125b57600080fd5b7fb732223055abcde751d7a24272ffc8a3aa571cb72b443969a4199b7ecd59f8b9600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516112ae92919061225b565b60405180910390a180600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61130261185f565b838390508686905014158061131d5750818190508686905014155b15611354576040517f3869bbe600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060048054806020026020016040519081016040528092919081815260200182805480156113d857602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161138e575b5050505050905060005b81518110156114735760006005600084848151811061140457611403612752565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548160ff021916908315150217905550808061146b906126da565b9150506113e2565b5060005b8787905081101561182f576005600089898481811061149957611498612752565b5b90506020020160208101906114ae9190611e68565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900460ff16156115625787878281811061151157611510612752565b5b90506020020160208101906115269190611e68565b6040517f9f2277f30000000000000000000000000000000000000000000000000000000081526004016115599190612240565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1688888381811061158d5761158c612752565b5b90506020020160208101906115a29190611e68565b73ffffffffffffffffffffffffffffffffffffffff1614156115f0576040517f3869bbe600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084848381811061160557611604612752565b5b905060200201602081019061161a919061204c565b6bffffffffffffffffffffffff161415611660576040517f3869bbe600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051806080016040528060011515815260200187878481811061168757611686612752565b5b905060200201602081019061169c919061204c565b6bffffffffffffffffffffffff1681526020018585848181106116c2576116c1612752565b5b90506020020160208101906116d7919061204c565b6bffffffffffffffffffffffff168152602001600066ffffffffffffff16815250600560008a8a8581811061170f5761170e612752565b5b90506020020160208101906117249190611e68565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550604082015181600001600d6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060608201518160000160196101000a81548166ffffffffffffff021916908366ffffffffffffff1602179055509050508080611827906126da565b915050611477565b50868660049190611841929190611bb7565b5050505050505050565b61185361185f565b61185c81611a33565b50565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e490612376565b60405180910390fd5b565b6118f7610db3565b611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d90612336565b60405180910390fd5b6000600160146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61197a611b60565b6040516119879190612240565b60405180910390a1565b611999610db3565b156119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090612396565b60405180910390fd5b60018060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a1c611b60565b604051611a299190612240565b60405180910390a1565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a99906123b6565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127860405160405180910390a350565b600033905090565b604051806080016040528060001515815260200160006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600066ffffffffffffff1681525090565b828054828255906000526020600020908101928215611c46579160200282015b82811115611c4557823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190611bd7565b5b509050611c539190611c57565b5090565b5b80821115611c70576000816000905550600101611c58565b5090565b6000611c87611c828461249f565b61247a565b90508083825260208201905082856020860282011115611caa57611ca96127ba565b5b60005b85811015611cda5781611cc08882611ce4565b845260208401935060208301925050600181019050611cad565b5050509392505050565b600081359050611cf3816128a7565b92915050565b600081359050611d08816128be565b92915050565b60008083601f840112611d2457611d236127b5565b5b8235905067ffffffffffffffff811115611d4157611d406127b0565b5b602083019150836020820283011115611d5d57611d5c6127ba565b5b9250929050565b600082601f830112611d7957611d786127b5565b5b8135611d89848260208601611c74565b91505092915050565b60008083601f840112611da857611da76127b5565b5b8235905067ffffffffffffffff811115611dc557611dc46127b0565b5b602083019150836020820283011115611de157611de06127ba565b5b9250929050565b60008083601f840112611dfe57611dfd6127b5565b5b8235905067ffffffffffffffff811115611e1b57611e1a6127b0565b5b602083019150836001820283011115611e3757611e366127ba565b5b9250929050565b600081359050611e4d816128d5565b92915050565b600081359050611e62816128ec565b92915050565b600060208284031215611e7e57611e7d6127c4565b5b6000611e8c84828501611ce4565b91505092915050565b60008060008060008060608789031215611eb257611eb16127c4565b5b600087013567ffffffffffffffff811115611ed057611ecf6127bf565b5b611edc89828a01611d0e565b9650965050602087013567ffffffffffffffff811115611eff57611efe6127bf565b5b611f0b89828a01611d92565b9450945050604087013567ffffffffffffffff811115611f2e57611f2d6127bf565b5b611f3a89828a01611d92565b92509250509295509295509295565b600060208284031215611f5f57611f5e6127c4565b5b600082013567ffffffffffffffff811115611f7d57611f7c6127bf565b5b611f8984828501611d64565b91505092915050565b60008060208385031215611fa957611fa86127c4565b5b600083013567ffffffffffffffff811115611fc757611fc66127bf565b5b611fd385828601611de8565b92509250509250929050565b600060208284031215611ff557611ff46127c4565b5b600061200384828501611e3e565b91505092915050565b60008060408385031215612023576120226127c4565b5b600061203185828601611e3e565b925050602061204285828601611cf9565b9150509250929050565b600060208284031215612062576120616127c4565b5b600061207084828501611e53565b91505092915050565b600061208583836120a0565b60208301905092915050565b61209a81612640565b82525050565b6120a9816125bb565b82525050565b6120b8816125bb565b82525050565b60006120c9826124db565b6120d381856124fe565b93506120de836124cb565b8060005b8381101561210f5781516120f68882612079565b9750612101836124f1565b9250506001810190506120e2565b5085935050505092915050565b612125816125df565b82525050565b6000612136826124e6565b612140818561250f565b9350612150818560208601612676565b612159816127c9565b840191505092915050565b6000612171601483612520565b915061217c826127da565b602082019050919050565b6000612194601683612520565b915061219f82612803565b602082019050919050565b60006121b7601683612520565b91506121c28261282c565b602082019050919050565b60006121da601083612520565b91506121e582612855565b602082019050919050565b60006121fd601783612520565b91506122088261287e565b602082019050919050565b61221c8161260b565b82525050565b61222b81612615565b82525050565b61223a81612628565b82525050565b600060208201905061225560008301846120af565b92915050565b600060408201905061227060008301856120af565b61227d60208301846120af565b9392505050565b6000602082019050818103600083015261229e81846120be565b905092915050565b60006020820190506122bb600083018461211c565b92915050565b60006040820190506122d6600083018561211c565b81810360208301526122e8818461212b565b90509392505050565b6000608082019050612306600083018761211c565b6123136020830186612231565b6123206040830185612231565b61232d6060830184612222565b95945050505050565b6000602082019050818103600083015261234f81612164565b9050919050565b6000602082019050818103600083015261236f81612187565b9050919050565b6000602082019050818103600083015261238f816121aa565b9050919050565b600060208201905081810360008301526123af816121cd565b9050919050565b600060208201905081810360008301526123cf816121f0565b9050919050565b60006020820190506123eb6000830184612213565b92915050565b60006040820190506124066000830185612213565b6124136020830184612091565b9392505050565b600060408201905061242f6000830185612213565b61243c6020830184612213565b9392505050565b60006060820190506124586000830186612213565b6124656020830185612213565b61247260408301846120af565b949350505050565b6000612484612495565b905061249082826126a9565b919050565b6000604051905090565b600067ffffffffffffffff8211156124ba576124b9612781565b5b602082029050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061253c8261260b565b91506125478361260b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561257c5761257b612723565b5b828201905092915050565b60006125928261260b565b915061259d8361260b565b9250828210156125b0576125af612723565b5b828203905092915050565b60006125c6826125eb565b9050919050565b60006125d8826125eb565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600066ffffffffffffff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b600061264b82612652565b9050919050565b600061265d82612664565b9050919050565b600061266f826125eb565b9050919050565b60005b83811015612694578082015181840152602081019050612679565b838111156126a3576000848401525b50505050565b6126b2826127c9565b810181811067ffffffffffffffff821117156126d1576126d0612781565b5b80604052505050565b60006126e58261260b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561271857612717612723565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4d7573742062652070726f706f736564206f776e657200000000000000000000600082015250565b7f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000600082015250565b6128b0816125bb565b81146128bb57600080fd5b50565b6128c7816125cd565b81146128d257600080fd5b50565b6128de8161260b565b81146128e957600080fd5b50565b6128f581612628565b811461290057600080fd5b5056fea26469706673582212208411e2aa1a3fe49c218abefa3f993eee91a2445d11ab3d425fda83f01da888ab64736f6c63430008070033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.