More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 18,359 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 119626376 | 353 days ago | IN | 0 ETH | 0.00000047279 | ||||
Claim | 115424075 | 451 days ago | IN | 0 ETH | 0.000016611247 | ||||
Claim | 115390764 | 451 days ago | IN | 0 ETH | 0.000021584381 | ||||
Claim | 115353760 | 452 days ago | IN | 0 ETH | 0.000018521589 | ||||
Claim | 114578239 | 470 days ago | IN | 0 ETH | 0.000027701351 | ||||
Claim | 114494300 | 472 days ago | IN | 0 ETH | 0.000025509698 | ||||
Claim | 114467284 | 473 days ago | IN | 0 ETH | 0.000015917774 | ||||
Claim | 114343606 | 476 days ago | IN | 0 ETH | 0.000194801696 | ||||
Claim | 114337538 | 476 days ago | IN | 0 ETH | 0.000021791808 | ||||
Claim | 114047154 | 482 days ago | IN | 0 ETH | 0.000070671242 | ||||
Claim | 113897006 | 486 days ago | IN | 0 ETH | 0.000028487837 | ||||
Claim | 113794102 | 488 days ago | IN | 0 ETH | 0.000052421263 | ||||
Claim | 113588307 | 493 days ago | IN | 0 ETH | 0.000042648251 | ||||
Claim | 113572313 | 493 days ago | IN | 0 ETH | 0.000121597504 | ||||
Claim | 112775916 | 512 days ago | IN | 0 ETH | 0.000041647131 | ||||
Claim | 112475727 | 519 days ago | IN | 0 ETH | 0.000044531828 | ||||
Claim | 111068000 | 551 days ago | IN | 0 ETH | 0.000017797727 | ||||
Claim | 110839247 | 557 days ago | IN | 0 ETH | 0.000008091388 | ||||
Claim | 110591201 | 562 days ago | IN | 0 ETH | 0.000016469949 | ||||
Claim | 110439449 | 566 days ago | IN | 0 ETH | 0.00001648571 | ||||
Claim | 110391461 | 567 days ago | IN | 0 ETH | 0.000014675455 | ||||
Claim | 110060597 | 575 days ago | IN | 0 ETH | 0.000075492529 | ||||
Claim | 109894221 | 579 days ago | IN | 0 ETH | 0.000021351751 | ||||
Claim | 109799411 | 581 days ago | IN | 0 ETH | 0.000016302049 | ||||
Claim | 109722013 | 583 days ago | IN | 0 ETH | 0.000028140198 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
106897666 | 648 days ago | 0 ETH | ||||
106293213 | 662 days ago | 0 ETH | ||||
105704140 | 676 days ago | 0 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH | ||||
1105776 | 1227 days ago | 0.011 ETH |
Loading...
Loading
Contract Name:
LyraDistributor
Compiler Version
v0.7.5+commit.eb77ed08
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: ISC pragma solidity 0.7.5; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; contract LyraDistributor is Ownable { mapping(address => uint256) public claimableBalances; mapping(address => uint256) public totalClaimed; uint256 public claimTimestamp; IERC20 public token; event Claimed(uint256 amount, address indexed claimer); event ClaimAdded(uint256 amount, address indexed claimer); event ClaimRemoved(uint256 amount, address indexed claimer); constructor(IERC20 _token) Ownable() { token = _token; } fallback() external payable {} function setClaimTimestamp(uint256 newClaimTimestamp) external onlyOwner { claimTimestamp = newClaimTimestamp; } function addToClaims(address[] memory addresses, uint256[] memory claimAmounts) external onlyOwner { require(addresses.length == claimAmounts.length, "length mismatch"); for (uint256 i = 0; i < addresses.length; i++) { claimableBalances[addresses[i]] += claimAmounts[i]; require(claimableBalances[addresses[i]] >= claimAmounts[i], "Addition overflow for balance"); emit ClaimAdded(claimAmounts[i], addresses[i]); } } function removeClaims(address[] memory addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { uint256 balanceToClaim = claimableBalances[addresses[i]]; claimableBalances[addresses[i]] = 0; emit ClaimRemoved(balanceToClaim, addresses[i]); } } function sendEth(address payable[] memory addresses, uint256[] memory ethAmounts) external onlyOwner { require(addresses.length == ethAmounts.length, "length mismatch"); for (uint256 i = 0; i < addresses.length; i++) { (bool success, ) = payable(addresses[i]).call{ value: ethAmounts[i] }(""); require(success, "Transfer failed."); } } function claim() external { uint256 balanceToClaim = claimableBalances[msg.sender]; require(balanceToClaim > 0, "No balance to claim"); require(block.timestamp > claimTimestamp, "Cannot claim yet"); claimableBalances[msg.sender] = 0; token.transfer(msg.sender, balanceToClaim); totalClaimed[msg.sender] += balanceToClaim; emit Claimed(balanceToClaim, msg.sender); } function getClaimableForAddresses(address[] memory addresses) external view returns (uint[] memory claimed, uint[] memory claimable) { claimable = new uint[](addresses.length); claimed = new uint[](addresses.length); for (uint256 i = 0; i < addresses.length; i++) { claimed[i] = totalClaimed[addresses[i]]; claimable[i] = claimableBalances[addresses[i]]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"claimer","type":"address"}],"name":"ClaimAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"claimer","type":"address"}],"name":"ClaimRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"claimer","type":"address"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"claimAmounts","type":"uint256[]"}],"name":"addToClaims","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimableBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"getClaimableForAddresses","outputs":[{"internalType":"uint256[]","name":"claimed","type":"uint256[]"},{"internalType":"uint256[]","name":"claimable","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeClaims","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"ethAmounts","type":"uint256[]"}],"name":"sendEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimTimestamp","type":"uint256"}],"name":"setClaimTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516111c33803806111c38339818101604052602081101561003357600080fd5b5051600061003f6100ae565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b0319166001600160a01b03929092169190911790556100b2565b3390565b611102806100c16000396000f3fe6080604052600436106100c25760003560e01c80638da5cb5b1161007f578063e5a76a6211610059578063e5a76a62146104b1578063ef5d9ae8146105f8578063f2fde38b1461062b578063fc0c546a1461065e576100c2565b80638da5cb5b146102a257806390d228f2146102d3578063a84e843314610403576100c2565b8063022e3468146100c457806325245b26146100eb5780634e71d92d1461021b57806368c8278f14610230578063715018a614610263578063894f849814610278575b005b3480156100d057600080fd5b506100d9610673565b60408051918252519081900360200190f35b3480156100f757600080fd5b506100c26004803603604081101561010e57600080fd5b810190602081018135600160201b81111561012857600080fd5b82018360208201111561013a57600080fd5b803590602001918460208302840111600160201b8311171561015b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156101aa57600080fd5b8201836020820111156101bc57600080fd5b803590602001918460208302840111600160201b831117156101dd57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610679945050505050565b34801561022757600080fd5b506100c26107fd565b34801561023c57600080fd5b506100d96004803603602081101561025357600080fd5b50356001600160a01b031661097b565b34801561026f57600080fd5b506100c261098d565b34801561028457600080fd5b506100c26004803603602081101561029b57600080fd5b5035610a39565b3480156102ae57600080fd5b506102b7610aa0565b604080516001600160a01b039092168252519081900360200190f35b3480156102df57600080fd5b506100c2600480360360408110156102f657600080fd5b810190602081018135600160201b81111561031057600080fd5b82018360208201111561032257600080fd5b803590602001918460208302840111600160201b8311171561034357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561039257600080fd5b8201836020820111156103a457600080fd5b803590602001918460208302840111600160201b831117156103c557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610aaf945050505050565b34801561040f57600080fd5b506100c26004803603602081101561042657600080fd5b810190602081018135600160201b81111561044057600080fd5b82018360208201111561045257600080fd5b803590602001918460208302840111600160201b8311171561047357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610ccd945050505050565b3480156104bd57600080fd5b5061055f600480360360208110156104d457600080fd5b810190602081018135600160201b8111156104ee57600080fd5b82018360208201111561050057600080fd5b803590602001918460208302840111600160201b8311171561052157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610e17945050505050565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156105a357818101518382015260200161058b565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156105e25781810151838201526020016105ca565b5050505090500194505050505060405180910390f35b34801561060457600080fd5b506100d96004803603602081101561061b57600080fd5b50356001600160a01b0316610f5f565b34801561063757600080fd5b506100c26004803603602081101561064e57600080fd5b50356001600160a01b0316610f71565b34801561066a57600080fd5b506102b7611073565b60035481565b610681611082565b6001600160a01b0316610692610aa0565b6001600160a01b0316146106db576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b8051825114610723576040805162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b604482015290519081900360640190fd5b60005b82518110156107f857600083828151811061073d57fe5b60200260200101516001600160a01b031683838151811061075a57fe5b6020908102919091010151604051600081818185875af1925050503d80600081146107a1576040519150601f19603f3d011682016040523d82523d6000602084013e6107a6565b606091505b50509050806107ef576040805162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015290519081900360640190fd5b50600101610726565b505050565b3360009081526001602052604090205480610855576040805162461bcd60e51b81526020600482015260136024820152724e6f2062616c616e636520746f20636c61696d60681b604482015290519081900360640190fd5b600354421161089e576040805162461bcd60e51b815260206004820152601060248201526f10d85b9b9bdd0818db185a5b481e595d60821b604482015290519081900360640190fd5b33600081815260016020908152604080832083905560048054825163a9059cbb60e01b8152918201959095526024810186905290516001600160a01b039094169363a9059cbb93604480840194938390030190829087803b15801561090257600080fd5b505af1158015610916573d6000803e3d6000fd5b505050506040513d602081101561092c57600080fd5b505033600081815260026020908152604091829020805485019055815184815291517f6aa3eac93d079e5e100b1029be716caa33586c96aa4baac390669fb5c2a212129281900390910190a250565b60016020526000908152604090205481565b610995611082565b6001600160a01b03166109a6610aa0565b6001600160a01b0316146109ef576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610a41611082565b6001600160a01b0316610a52610aa0565b6001600160a01b031614610a9b576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b600355565b6000546001600160a01b031690565b610ab7611082565b6001600160a01b0316610ac8610aa0565b6001600160a01b031614610b11576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b8051825114610b59576040805162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b604482015290519081900360640190fd5b60005b82518110156107f857818181518110610b7157fe5b602002602001015160016000858481518110610b8957fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282540192505081905550818181518110610bca57fe5b602002602001015160016000858481518110610be257fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020541015610c5e576040805162461bcd60e51b815260206004820152601d60248201527f4164646974696f6e206f766572666c6f7720666f722062616c616e6365000000604482015290519081900360640190fd5b828181518110610c6a57fe5b60200260200101516001600160a01b03167fa816dd0cff1d33e7e2b9f32e51049088ef7b62b994a50ed53e249932517aab2b838381518110610ca857fe5b60200260200101516040518082815260200191505060405180910390a2600101610b5c565b610cd5611082565b6001600160a01b0316610ce6610aa0565b6001600160a01b031614610d2f576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b60005b8151811015610e1357600060016000848481518110610d4d57fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020549050600060016000858581518110610d8a57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002081905550828281518110610dc257fe5b60200260200101516001600160a01b03167faff9c51ec88c8ec057348e214050fe508139413df247c5a9af577965e9678747826040518082815260200191505060405180910390a250600101610d32565b5050565b606080825167ffffffffffffffff81118015610e3257600080fd5b50604051908082528060200260200182016040528015610e5c578160200160208202803683370190505b509050825167ffffffffffffffff81118015610e7757600080fd5b50604051908082528060200260200182016040528015610ea1578160200160208202803683370190505b50915060005b8351811015610f595760026000858381518110610ec057fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054838281518110610ef557fe5b60200260200101818152505060016000858381518110610f1157fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054828281518110610f4657fe5b6020908102919091010152600101610ea7565b50915091565b60026020526000908152604090205481565b610f79611082565b6001600160a01b0316610f8a610aa0565b6001600160a01b031614610fd3576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b6001600160a01b0381166110185760405162461bcd60e51b81526004018080602001828103825260268152602001806110876026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e5652e019f875a81a964f235a138cf0863766e62fd014fc44009d895851192b964736f6c6343000705003300000000000000000000000050c5725949a6f0c72e6c4a641f24049a917db0cb
Deployed Bytecode
0x6080604052600436106100c25760003560e01c80638da5cb5b1161007f578063e5a76a6211610059578063e5a76a62146104b1578063ef5d9ae8146105f8578063f2fde38b1461062b578063fc0c546a1461065e576100c2565b80638da5cb5b146102a257806390d228f2146102d3578063a84e843314610403576100c2565b8063022e3468146100c457806325245b26146100eb5780634e71d92d1461021b57806368c8278f14610230578063715018a614610263578063894f849814610278575b005b3480156100d057600080fd5b506100d9610673565b60408051918252519081900360200190f35b3480156100f757600080fd5b506100c26004803603604081101561010e57600080fd5b810190602081018135600160201b81111561012857600080fd5b82018360208201111561013a57600080fd5b803590602001918460208302840111600160201b8311171561015b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156101aa57600080fd5b8201836020820111156101bc57600080fd5b803590602001918460208302840111600160201b831117156101dd57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610679945050505050565b34801561022757600080fd5b506100c26107fd565b34801561023c57600080fd5b506100d96004803603602081101561025357600080fd5b50356001600160a01b031661097b565b34801561026f57600080fd5b506100c261098d565b34801561028457600080fd5b506100c26004803603602081101561029b57600080fd5b5035610a39565b3480156102ae57600080fd5b506102b7610aa0565b604080516001600160a01b039092168252519081900360200190f35b3480156102df57600080fd5b506100c2600480360360408110156102f657600080fd5b810190602081018135600160201b81111561031057600080fd5b82018360208201111561032257600080fd5b803590602001918460208302840111600160201b8311171561034357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561039257600080fd5b8201836020820111156103a457600080fd5b803590602001918460208302840111600160201b831117156103c557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610aaf945050505050565b34801561040f57600080fd5b506100c26004803603602081101561042657600080fd5b810190602081018135600160201b81111561044057600080fd5b82018360208201111561045257600080fd5b803590602001918460208302840111600160201b8311171561047357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610ccd945050505050565b3480156104bd57600080fd5b5061055f600480360360208110156104d457600080fd5b810190602081018135600160201b8111156104ee57600080fd5b82018360208201111561050057600080fd5b803590602001918460208302840111600160201b8311171561052157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610e17945050505050565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156105a357818101518382015260200161058b565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156105e25781810151838201526020016105ca565b5050505090500194505050505060405180910390f35b34801561060457600080fd5b506100d96004803603602081101561061b57600080fd5b50356001600160a01b0316610f5f565b34801561063757600080fd5b506100c26004803603602081101561064e57600080fd5b50356001600160a01b0316610f71565b34801561066a57600080fd5b506102b7611073565b60035481565b610681611082565b6001600160a01b0316610692610aa0565b6001600160a01b0316146106db576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b8051825114610723576040805162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b604482015290519081900360640190fd5b60005b82518110156107f857600083828151811061073d57fe5b60200260200101516001600160a01b031683838151811061075a57fe5b6020908102919091010151604051600081818185875af1925050503d80600081146107a1576040519150601f19603f3d011682016040523d82523d6000602084013e6107a6565b606091505b50509050806107ef576040805162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015290519081900360640190fd5b50600101610726565b505050565b3360009081526001602052604090205480610855576040805162461bcd60e51b81526020600482015260136024820152724e6f2062616c616e636520746f20636c61696d60681b604482015290519081900360640190fd5b600354421161089e576040805162461bcd60e51b815260206004820152601060248201526f10d85b9b9bdd0818db185a5b481e595d60821b604482015290519081900360640190fd5b33600081815260016020908152604080832083905560048054825163a9059cbb60e01b8152918201959095526024810186905290516001600160a01b039094169363a9059cbb93604480840194938390030190829087803b15801561090257600080fd5b505af1158015610916573d6000803e3d6000fd5b505050506040513d602081101561092c57600080fd5b505033600081815260026020908152604091829020805485019055815184815291517f6aa3eac93d079e5e100b1029be716caa33586c96aa4baac390669fb5c2a212129281900390910190a250565b60016020526000908152604090205481565b610995611082565b6001600160a01b03166109a6610aa0565b6001600160a01b0316146109ef576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610a41611082565b6001600160a01b0316610a52610aa0565b6001600160a01b031614610a9b576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b600355565b6000546001600160a01b031690565b610ab7611082565b6001600160a01b0316610ac8610aa0565b6001600160a01b031614610b11576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b8051825114610b59576040805162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b604482015290519081900360640190fd5b60005b82518110156107f857818181518110610b7157fe5b602002602001015160016000858481518110610b8957fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282540192505081905550818181518110610bca57fe5b602002602001015160016000858481518110610be257fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020541015610c5e576040805162461bcd60e51b815260206004820152601d60248201527f4164646974696f6e206f766572666c6f7720666f722062616c616e6365000000604482015290519081900360640190fd5b828181518110610c6a57fe5b60200260200101516001600160a01b03167fa816dd0cff1d33e7e2b9f32e51049088ef7b62b994a50ed53e249932517aab2b838381518110610ca857fe5b60200260200101516040518082815260200191505060405180910390a2600101610b5c565b610cd5611082565b6001600160a01b0316610ce6610aa0565b6001600160a01b031614610d2f576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b60005b8151811015610e1357600060016000848481518110610d4d57fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020549050600060016000858581518110610d8a57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002081905550828281518110610dc257fe5b60200260200101516001600160a01b03167faff9c51ec88c8ec057348e214050fe508139413df247c5a9af577965e9678747826040518082815260200191505060405180910390a250600101610d32565b5050565b606080825167ffffffffffffffff81118015610e3257600080fd5b50604051908082528060200260200182016040528015610e5c578160200160208202803683370190505b509050825167ffffffffffffffff81118015610e7757600080fd5b50604051908082528060200260200182016040528015610ea1578160200160208202803683370190505b50915060005b8351811015610f595760026000858381518110610ec057fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054838281518110610ef557fe5b60200260200101818152505060016000858381518110610f1157fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054828281518110610f4657fe5b6020908102919091010152600101610ea7565b50915091565b60026020526000908152604090205481565b610f79611082565b6001600160a01b0316610f8a610aa0565b6001600160a01b031614610fd3576040805162461bcd60e51b815260206004820181905260248201526000805160206110ad833981519152604482015290519081900360640190fd5b6001600160a01b0381166110185760405162461bcd60e51b81526004018080602001828103825260268152602001806110876026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e5652e019f875a81a964f235a138cf0863766e62fd014fc44009d895851192b964736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000050c5725949a6f0c72e6c4a641f24049a917db0cb
-----Decoded View---------------
Arg [0] : _token (address): 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000050c5725949a6f0c72e6c4a641f24049a917db0cb
Loading...
Loading
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.