More Info
Private Name Tags
ContractCreator
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18691006 | 276 days ago | 0.0223399 ETH | ||||
18691006 | 276 days ago | 0.0446798 ETH | ||||
18060373 | 365 days ago | 1 wei | ||||
18060168 | 365 days ago | 0.02251988 ETH | ||||
18060168 | 365 days ago | 0.01125994 ETH | ||||
18060168 | 365 days ago | 0.00375331 ETH | ||||
18059981 | 365 days ago | 0.03753314 ETH | ||||
18059981 | 365 days ago | 0.07506628 ETH | ||||
18058075 | 365 days ago | 1 wei | ||||
18058034 | 365 days ago | 0.04082088 ETH | ||||
18058034 | 365 days ago | 0.02041044 ETH | ||||
18058034 | 365 days ago | 0.00680348 ETH | ||||
18055598 | 365 days ago | 0.04565777 ETH | ||||
18055598 | 365 days ago | 0.09131555 ETH | ||||
18054758 | 366 days ago | 0.02237703 ETH | ||||
18054758 | 366 days ago | 0.04475406 ETH | ||||
18052794 | 366 days ago | 0.03951981 ETH | ||||
18052794 | 366 days ago | 0.0197599 ETH | ||||
18052794 | 366 days ago | 0.00658663 ETH | ||||
18052404 | 366 days ago | 0.06100227 ETH | ||||
18052404 | 366 days ago | 0.12200455 ETH | ||||
18052394 | 366 days ago | 0.00486407 ETH | ||||
18052394 | 366 days ago | 0.00972815 ETH | ||||
18052245 | 366 days ago | 0.00305553 ETH | ||||
18052245 | 366 days ago | 0.00152776 ETH |
Loading...
Loading
Contract Name:
Staker
Compiler Version
v0.8.1+commit.df193b15
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.1; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract Staker is Ownable, ReentrancyGuard { IERC20 public lp; uint public startTime; address private immutable taxWallet; uint public totalETH; uint public depositNb; address[] public receivers; mapping(address => uint) public receiverToPercentage; uint private constant PRECISION = 10000; constructor() { taxWallet = msg.sender; } receive() external payable { uint taxAmount = msg.value / 2; if (taxAmount > 0) Address.sendValue(payable(taxWallet), taxAmount); totalETH += msg.value - taxAmount; } function distribute() external nonReentrant { address[] memory receiversCached = receivers; uint length = receiversCached.length; require(length != 0, "not started yet"); uint startBalance = address(this).balance; for (uint i; i < length; ++i) { uint amount = startBalance * receiverToPercentage[receiversCached[i]] / PRECISION; if (amount > 0) Address.sendValue(payable(receiversCached[i]), amount); } } function increaseDepositNb() external { require(receiverToPercentage[msg.sender] > 0, "unauthorized"); depositNb++; } function decreaseDepositNb() external { require(receiverToPercentage[msg.sender] > 0, "unauthorized"); depositNb--; } function withdraw(address to, uint amount) external { require(receiverToPercentage[msg.sender] > 0, "unauthorized"); lp.transfer(to, amount); } function pending(address who) external view returns (uint) { uint total = address(this).balance; return total * receiverToPercentage[who] / PRECISION; } function start(address lp_, address[] calldata receivers_, uint[] calldata percentages_) external onlyOwner { lp = IERC20(lp_); startTime = block.timestamp; uint sum; for (uint i; i < receivers_.length; ++i) { receiverToPercentage[receivers_[i]] = percentages_[i]; sum += percentages_[i]; } require(sum == PRECISION, "sum"); receivers = receivers_; super.renounceOwnership(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// 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": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"decreaseDepositNb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositNb","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"increaseDepositNb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lp","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"pending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"receiverToPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"receivers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lp_","type":"address"},{"internalType":"address[]","name":"receivers_","type":"address[]"},{"internalType":"uint256[]","name":"percentages_","type":"uint256[]"}],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a060405234801561001057600080fd5b5061002161001c610031565b610035565b600180553360601b608052610085565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805160601c610dbe6100a3600039600061010b0152610dbe6000f3fe6080604052600436106100ec5760003560e01c806378e979251161008a578063bfd772fc11610059578063bfd772fc14610285578063e4fc6b6d146102a5578063f2fde38b146102ba578063f3fef3a3146102da57610153565b806378e97925146102265780637fc2f50d1461023b5780638bc323a61461025b5780638da5cb5b1461027057610153565b80635eebea20116100c65780635eebea20146101c55780636855e9fd146101e5578063715018a6146101fa57806372dc885c1461021157610153565b80630e6e1afd14610158578063313c06a01461018e57806336bdee74146101b057610153565b366101535760006100fe600234610cea565b90508015610130576101307f0000000000000000000000000000000000000000000000000000000000000000826102fa565b61013a8134610d29565b6004600082825461014b9190610cd2565b909155505050005b600080fd5b34801561016457600080fd5b506101786101733660046109e7565b6103a4565b6040516101859190610cc9565b60405180910390f35b34801561019a57600080fd5b506101a36103b6565b6040516101859190610aea565b3480156101bc57600080fd5b506101786103c5565b3480156101d157600080fd5b506101786101e03660046109e7565b6103cb565b3480156101f157600080fd5b50610178610407565b34801561020657600080fd5b5061020f61040d565b005b34801561021d57600080fd5b5061020f610421565b34801561023257600080fd5b50610178610464565b34801561024757600080fd5b5061020f610256366004610a08565b61046a565b34801561026757600080fd5b5061020f61059a565b34801561027c57600080fd5b506101a36105d6565b34801561029157600080fd5b506101a36102a0366004610acf565b6105e5565b3480156102b157600080fd5b5061020f61060f565b3480156102c657600080fd5b5061020f6102d53660046109e7565b610762565b3480156102e657600080fd5b5061020f6102f5366004610a86565b61079c565b804710156103235760405162461bcd60e51b815260040161031a90610bd7565b60405180910390fd5b6000826001600160a01b03168260405161033c90610ae7565b60006040518083038185875af1925050503d8060008114610379576040519150601f19603f3d011682016040523d82523d6000602084013e61037e565b606091505b505090508061039f5760405162461bcd60e51b815260040161031a90610b7a565b505050565b60076020526000908152604090205481565b6002546001600160a01b031681565b60045481565b6001600160a01b0381166000908152600760205260408120544790612710906103f49083610d0a565b6103fe9190610cea565b9150505b919050565b60055481565b61041561084c565b61041f600061088b565b565b3360009081526007602052604090205461044d5760405162461bcd60e51b815260040161031a90610c0e565b6005805490600061045d83610d40565b9190505550565b60035481565b61047261084c565b600280546001600160a01b0319166001600160a01b038716179055426003556000805b8481101561055b578383828181106104bd57634e487b7160e01b600052603260045260246000fd5b90506020020135600760008888858181106104e857634e487b7160e01b600052603260045260246000fd5b90506020020160208101906104fd91906109e7565b6001600160a01b0316815260208101919091526040016000205583838281811061053757634e487b7160e01b600052603260045260246000fd5b90506020020135826105499190610cd2565b915061055481610d57565b9050610495565b50612710811461057d5760405162461bcd60e51b815260040161031a90610b17565b6105896006868661090f565b5061059261040d565b505050505050565b336000908152600760205260409020546105c65760405162461bcd60e51b815260040161031a90610c0e565b6005805490600061045d83610d57565b6000546001600160a01b031690565b600681815481106105f557600080fd5b6000918252602090912001546001600160a01b0316905081565b6106176108db565b6000600680548060200260200160405190810160405280929190818152602001828054801561066f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610651575b50508351939450505081151590506106995760405162461bcd60e51b815260040161031a90610c69565b4760005b82811015610756576000612710600760008785815181106106ce57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054846107029190610d0a565b61070c9190610cea565b905080156107455761074585838151811061073757634e487b7160e01b600052603260045260246000fd5b6020026020010151826102fa565b5061074f81610d57565b905061069d565b5050505061041f610905565b61076a61084c565b6001600160a01b0381166107905760405162461bcd60e51b815260040161031a90610b34565b6107998161088b565b50565b336000908152600760205260409020546107c85760405162461bcd60e51b815260040161031a90610c0e565b60025460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906107fa9085908590600401610afe565b602060405180830381600087803b15801561081457600080fd5b505af1158015610828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039f9190610aaf565b61085461090b565b6001600160a01b03166108656105d6565b6001600160a01b03161461041f5760405162461bcd60e51b815260040161031a90610c34565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600260015414156108fe5760405162461bcd60e51b815260040161031a90610c92565b6002600155565b60018055565b3390565b828054828255906000526020600020908101928215610962579160200282015b828111156109625781546001600160a01b0319166001600160a01b0384351617825560209092019160019091019061092f565b5061096e929150610972565b5090565b5b8082111561096e5760008155600101610973565b80356001600160a01b038116811461040257600080fd5b60008083601f8401126109af578182fd5b50813567ffffffffffffffff8111156109c6578182fd5b60208301915083602080830285010111156109e057600080fd5b9250929050565b6000602082840312156109f8578081fd5b610a0182610987565b9392505050565b600080600080600060608688031215610a1f578081fd5b610a2886610987565b9450602086013567ffffffffffffffff80821115610a44578283fd5b610a5089838a0161099e565b90965094506040880135915080821115610a68578283fd5b50610a758882890161099e565b969995985093965092949392505050565b60008060408385031215610a98578182fd5b610aa183610987565b946020939093013593505050565b600060208284031215610ac0578081fd5b81518015158114610a01578182fd5b600060208284031215610ae0578081fd5b5035919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b60208082526003908201526273756d60e81b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252600c908201526b1d5b985d5d1a1bdc9a5e995960a21b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600f908201526e1b9bdd081cdd185c9d1959081e595d608a1b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b60008219821115610ce557610ce5610d72565b500190565b600082610d0557634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610d2457610d24610d72565b500290565b600082821015610d3b57610d3b610d72565b500390565b600081610d4f57610d4f610d72565b506000190190565b6000600019821415610d6b57610d6b610d72565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212201f16993d1c2c793b2787a625dfb4dfb9f18ef2b29900c0f2657c2b2e0e23ec8c64736f6c63430008010033
Deployed Bytecode
0x6080604052600436106100ec5760003560e01c806378e979251161008a578063bfd772fc11610059578063bfd772fc14610285578063e4fc6b6d146102a5578063f2fde38b146102ba578063f3fef3a3146102da57610153565b806378e97925146102265780637fc2f50d1461023b5780638bc323a61461025b5780638da5cb5b1461027057610153565b80635eebea20116100c65780635eebea20146101c55780636855e9fd146101e5578063715018a6146101fa57806372dc885c1461021157610153565b80630e6e1afd14610158578063313c06a01461018e57806336bdee74146101b057610153565b366101535760006100fe600234610cea565b90508015610130576101307f000000000000000000000000a04ed189da52d42ea440567074cd5e21256143f4826102fa565b61013a8134610d29565b6004600082825461014b9190610cd2565b909155505050005b600080fd5b34801561016457600080fd5b506101786101733660046109e7565b6103a4565b6040516101859190610cc9565b60405180910390f35b34801561019a57600080fd5b506101a36103b6565b6040516101859190610aea565b3480156101bc57600080fd5b506101786103c5565b3480156101d157600080fd5b506101786101e03660046109e7565b6103cb565b3480156101f157600080fd5b50610178610407565b34801561020657600080fd5b5061020f61040d565b005b34801561021d57600080fd5b5061020f610421565b34801561023257600080fd5b50610178610464565b34801561024757600080fd5b5061020f610256366004610a08565b61046a565b34801561026757600080fd5b5061020f61059a565b34801561027c57600080fd5b506101a36105d6565b34801561029157600080fd5b506101a36102a0366004610acf565b6105e5565b3480156102b157600080fd5b5061020f61060f565b3480156102c657600080fd5b5061020f6102d53660046109e7565b610762565b3480156102e657600080fd5b5061020f6102f5366004610a86565b61079c565b804710156103235760405162461bcd60e51b815260040161031a90610bd7565b60405180910390fd5b6000826001600160a01b03168260405161033c90610ae7565b60006040518083038185875af1925050503d8060008114610379576040519150601f19603f3d011682016040523d82523d6000602084013e61037e565b606091505b505090508061039f5760405162461bcd60e51b815260040161031a90610b7a565b505050565b60076020526000908152604090205481565b6002546001600160a01b031681565b60045481565b6001600160a01b0381166000908152600760205260408120544790612710906103f49083610d0a565b6103fe9190610cea565b9150505b919050565b60055481565b61041561084c565b61041f600061088b565b565b3360009081526007602052604090205461044d5760405162461bcd60e51b815260040161031a90610c0e565b6005805490600061045d83610d40565b9190505550565b60035481565b61047261084c565b600280546001600160a01b0319166001600160a01b038716179055426003556000805b8481101561055b578383828181106104bd57634e487b7160e01b600052603260045260246000fd5b90506020020135600760008888858181106104e857634e487b7160e01b600052603260045260246000fd5b90506020020160208101906104fd91906109e7565b6001600160a01b0316815260208101919091526040016000205583838281811061053757634e487b7160e01b600052603260045260246000fd5b90506020020135826105499190610cd2565b915061055481610d57565b9050610495565b50612710811461057d5760405162461bcd60e51b815260040161031a90610b17565b6105896006868661090f565b5061059261040d565b505050505050565b336000908152600760205260409020546105c65760405162461bcd60e51b815260040161031a90610c0e565b6005805490600061045d83610d57565b6000546001600160a01b031690565b600681815481106105f557600080fd5b6000918252602090912001546001600160a01b0316905081565b6106176108db565b6000600680548060200260200160405190810160405280929190818152602001828054801561066f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610651575b50508351939450505081151590506106995760405162461bcd60e51b815260040161031a90610c69565b4760005b82811015610756576000612710600760008785815181106106ce57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054846107029190610d0a565b61070c9190610cea565b905080156107455761074585838151811061073757634e487b7160e01b600052603260045260246000fd5b6020026020010151826102fa565b5061074f81610d57565b905061069d565b5050505061041f610905565b61076a61084c565b6001600160a01b0381166107905760405162461bcd60e51b815260040161031a90610b34565b6107998161088b565b50565b336000908152600760205260409020546107c85760405162461bcd60e51b815260040161031a90610c0e565b60025460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906107fa9085908590600401610afe565b602060405180830381600087803b15801561081457600080fd5b505af1158015610828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039f9190610aaf565b61085461090b565b6001600160a01b03166108656105d6565b6001600160a01b03161461041f5760405162461bcd60e51b815260040161031a90610c34565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600260015414156108fe5760405162461bcd60e51b815260040161031a90610c92565b6002600155565b60018055565b3390565b828054828255906000526020600020908101928215610962579160200282015b828111156109625781546001600160a01b0319166001600160a01b0384351617825560209092019160019091019061092f565b5061096e929150610972565b5090565b5b8082111561096e5760008155600101610973565b80356001600160a01b038116811461040257600080fd5b60008083601f8401126109af578182fd5b50813567ffffffffffffffff8111156109c6578182fd5b60208301915083602080830285010111156109e057600080fd5b9250929050565b6000602082840312156109f8578081fd5b610a0182610987565b9392505050565b600080600080600060608688031215610a1f578081fd5b610a2886610987565b9450602086013567ffffffffffffffff80821115610a44578283fd5b610a5089838a0161099e565b90965094506040880135915080821115610a68578283fd5b50610a758882890161099e565b969995985093965092949392505050565b60008060408385031215610a98578182fd5b610aa183610987565b946020939093013593505050565b600060208284031215610ac0578081fd5b81518015158114610a01578182fd5b600060208284031215610ae0578081fd5b5035919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b60208082526003908201526273756d60e81b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252600c908201526b1d5b985d5d1a1bdc9a5e995960a21b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600f908201526e1b9bdd081cdd185c9d1959081e595d608a1b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b60008219821115610ce557610ce5610d72565b500190565b600082610d0557634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610d2457610d24610d72565b500290565b600082821015610d3b57610d3b610d72565b500390565b600081610d4f57610d4f610d72565b506000190190565b6000600019821415610d6b57610d6b610d72565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212201f16993d1c2c793b2787a625dfb4dfb9f18ef2b29900c0f2657c2b2e0e23ec8c64736f6c63430008010033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,502.06 | 0.0223 | $55.9 |
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.