Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 42 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 20313555 | 96 days ago | IN | 0 ETH | 0.00168434 | ||||
Claim | 20155257 | 118 days ago | IN | 0 ETH | 0.00029979 | ||||
Claim | 20152373 | 118 days ago | IN | 0 ETH | 0.00029207 | ||||
Claim | 20141939 | 120 days ago | IN | 0 ETH | 0.00035649 | ||||
Claim | 20120254 | 123 days ago | IN | 0 ETH | 0.00045995 | ||||
Claim | 20097108 | 126 days ago | IN | 0 ETH | 0.00035354 | ||||
Claim | 20096633 | 126 days ago | IN | 0 ETH | 0.00030807 | ||||
Claim | 20096632 | 126 days ago | IN | 0 ETH | 0.00029789 | ||||
Claim | 20090334 | 127 days ago | IN | 0 ETH | 0.00025762 | ||||
Claim | 20090333 | 127 days ago | IN | 0 ETH | 0.00049055 | ||||
Claim | 20090328 | 127 days ago | IN | 0 ETH | 0.00070407 | ||||
Claim | 20089802 | 127 days ago | IN | 0 ETH | 0.00044453 | ||||
Claim | 20079642 | 129 days ago | IN | 0 ETH | 0.0005923 | ||||
Claim | 20079641 | 129 days ago | IN | 0 ETH | 0.00078262 | ||||
Claim | 20077444 | 129 days ago | IN | 0 ETH | 0.00101555 | ||||
Claim | 20077433 | 129 days ago | IN | 0 ETH | 0.00106291 | ||||
Claim | 20077123 | 129 days ago | IN | 0 ETH | 0.00095369 | ||||
Claim | 20070926 | 130 days ago | IN | 0 ETH | 0.00086686 | ||||
Claim | 20069287 | 130 days ago | IN | 0 ETH | 0.00127655 | ||||
Claim | 20069284 | 130 days ago | IN | 0 ETH | 0.00123367 | ||||
Claim | 20069191 | 130 days ago | IN | 0 ETH | 0.00123753 | ||||
Claim | 20067633 | 130 days ago | IN | 0 ETH | 0.00057821 | ||||
Claim | 20067062 | 130 days ago | IN | 0 ETH | 0.00038197 | ||||
Claim | 20064727 | 131 days ago | IN | 0 ETH | 0.00065138 | ||||
Claim | 20064727 | 131 days ago | IN | 0 ETH | 0.00065138 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TokenAirDrop
Compiler Version
v0.6.0+commit.26b70077
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; contract TokenAirDrop { using SafeMath for uint256; // This declares a state variable that would store the contract address ERC20 public tokenInstance; /// @notice A record of the user rewards for each lock time in months mapping(uint8 => mapping (address => uint256)) public rewards; address public admin; address public pendingAdmin; event RewardsClaimed(address indexed user, uint256 amount); /* constructor function to set token address */ constructor(address _tokenAddress) public { admin = msg.sender; tokenInstance = ERC20(_tokenAddress); } function addRewards( uint8 lockTime, address[] memory _users, uint256[] memory _amounts ) public onlyAdmin { mapping (address => uint256) storage rewardLevel = rewards[lockTime]; for (uint256 i = 0; i < _users.length; i++) { rewardLevel[_users[i]] = _amounts[i]; } } function claim(uint8 lockTime) public { uint rewardAmount = rewards[lockTime][msg.sender]; require(rewardAmount != 0, "No claimable tokens"); rewards[lockTime][msg.sender] = 0; require( tokenInstance.transfer(msg.sender, rewardAmount), "Error in transfer" ); emit RewardsClaimed(msg.sender, rewardAmount); } // function claimMultipleRewards(uint8[] memory lockTimes) public { // uint rewardAmount = rewards[lockTime][msg.sender]; // require(rewardAmount != 0, "No claimable tokens"); // rewards[lockTime][msg.sender] = 0; // require( // tokenInstance.transfer(msg.sender, rewardAmount), // "Error in transfer" // ); // emit RewardsClaimed(msg.sender, rewardAmount); // } /** * @notice Begins transfer of admin rights. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer. * @dev Admin function to begin change of admin. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer. * @param newPendingAdmin New pending admin. */ function _setPendingAdmin(address newPendingAdmin) public onlyAdmin() { // Store pendingAdmin with value newPendingAdmin pendingAdmin = newPendingAdmin; } /** * @notice Accepts transfer of admin rights. msg.sender must be pendingAdmin * @dev Admin function for pending admin to accept role and update admin */ function _acceptAdmin() public { // Check caller is pendingAdmin and pendingAdmin ≠ address(0) require(msg.sender == pendingAdmin && msg.sender != address(0)); // Store admin with value pendingAdmin admin = pendingAdmin; // Clear the pending value pendingAdmin = address(0); } modifier onlyAdmin() { require( msg.sender == admin, "Only admin is allowed to call this function" ); _; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../../utils/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.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.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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsClaimed","type":"event"},{"inputs":[],"name":"_acceptAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"_setPendingAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"lockTime","type":"uint8"},{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"addRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"lockTime","type":"uint8"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenInstance","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610f36380380610f36833981810160405261003291908101906100ce565b33600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610140565b6000815190506100c881610129565b92915050565b6000602082840312156100e057600080fd5b60006100ee848285016100b9565b91505092915050565b600061010282610109565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b610132816100f7565b811461013d57600080fd5b50565b610de78061014f6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b9df51a71161005b578063b9df51a714610101578063dc900ecc14610131578063e9c714f21461014d578063f851a4401461015757610088565b8063267822471461008d578063658030b3146100ab57806395d4063f146100c9578063b71d1a0c146100e5575b600080fd5b610095610175565b6040516100a29190610b3e565b60405180910390f35b6100b361019b565b6040516100c09190610b82565b60405180910390f35b6100e360048036036100de9190810190610938565b6101c0565b005b6100ff60048036036100fa91908101906108e6565b6103fa565b005b61011b60048036036101169190810190610961565b6104ce565b6040516101289190610bfd565b60405180910390f35b61014b6004803603610146919081019061099d565b6104f3565b005b61015561062c565b005b61015f610766565b60405161016c9190610b3e565b60405180910390f35b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008360ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081141561025f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025690610bdd565b60405180910390fd5b6000600160008460ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610317929190610b59565b602060405180830381600087803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610369919081019061090f565b6103a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039f90610b9d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe826040516103ee9190610bfd565b60405180910390a25050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461048a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048190610bbd565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6001602052816000526040600020602052806000526040600020600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a90610bbd565b60405180910390fd5b6000600160008560ff1660ff168152602001908152602001600020905060008090505b8351811015610625578281815181106105bb57fe5b60200260200101518260008684815181106105d257fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806001019150506105a6565b5050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480156106b65750600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b6106bf57600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008135905061079b81610d55565b92915050565b600082601f8301126107b257600080fd5b81356107c56107c082610c45565b610c18565b915081818352602084019350602081019050838560208402820111156107ea57600080fd5b60005b8381101561081a5781610800888261078c565b8452602084019350602083019250506001810190506107ed565b5050505092915050565b600082601f83011261083557600080fd5b813561084861084382610c6d565b610c18565b9150818183526020840193506020810190508385602084028201111561086d57600080fd5b60005b8381101561089d578161088388826108bc565b845260208401935060208301925050600181019050610870565b5050505092915050565b6000815190506108b681610d6c565b92915050565b6000813590506108cb81610d83565b92915050565b6000813590506108e081610d9a565b92915050565b6000602082840312156108f857600080fd5b60006109068482850161078c565b91505092915050565b60006020828403121561092157600080fd5b600061092f848285016108a7565b91505092915050565b60006020828403121561094a57600080fd5b6000610958848285016108d1565b91505092915050565b6000806040838503121561097457600080fd5b6000610982858286016108d1565b92505060206109938582860161078c565b9150509250929050565b6000806000606084860312156109b257600080fd5b60006109c0868287016108d1565b935050602084013567ffffffffffffffff8111156109dd57600080fd5b6109e9868287016107a1565b925050604084013567ffffffffffffffff811115610a0657600080fd5b610a1286828701610824565b9150509250925092565b610a2581610cfb565b82525050565b610a3481610ca6565b82525050565b610a4381610d0d565b82525050565b6000610a56601183610c95565b91507f4572726f7220696e207472616e736665720000000000000000000000000000006000830152602082019050919050565b6000610a96602b83610c95565b91507f4f6e6c792061646d696e20697320616c6c6f77656420746f2063616c6c20746860008301527f69732066756e6374696f6e0000000000000000000000000000000000000000006020830152604082019050919050565b6000610afc601383610c95565b91507f4e6f20636c61696d61626c6520746f6b656e73000000000000000000000000006000830152602082019050919050565b610b3881610ce4565b82525050565b6000602082019050610b536000830184610a2b565b92915050565b6000604082019050610b6e6000830185610a1c565b610b7b6020830184610b2f565b9392505050565b6000602082019050610b976000830184610a3a565b92915050565b60006020820190508181036000830152610bb681610a49565b9050919050565b60006020820190508181036000830152610bd681610a89565b9050919050565b60006020820190508181036000830152610bf681610aef565b9050919050565b6000602082019050610c126000830184610b2f565b92915050565b6000604051905081810181811067ffffffffffffffff82111715610c3b57600080fd5b8060405250919050565b600067ffffffffffffffff821115610c5c57600080fd5b602082029050602081019050919050565b600067ffffffffffffffff821115610c8457600080fd5b602082029050602081019050919050565b600082825260208201905092915050565b6000610cb182610cc4565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000610d0682610d31565b9050919050565b6000610d1882610d1f565b9050919050565b6000610d2a82610cc4565b9050919050565b6000610d3c82610d43565b9050919050565b6000610d4e82610cc4565b9050919050565b610d5e81610ca6565b8114610d6957600080fd5b50565b610d7581610cb8565b8114610d8057600080fd5b50565b610d8c81610ce4565b8114610d9757600080fd5b50565b610da381610cee565b8114610dae57600080fd5b5056fea2646970667358221220e4efaabbe6ecb648badeab6f797f4299e476fbe8230cdb58d66202960cc3149964736f6c634300060000330000000000000000000000008ec8a5627af6b89eb58a45d29e7e90c4aac3ee31
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063b9df51a71161005b578063b9df51a714610101578063dc900ecc14610131578063e9c714f21461014d578063f851a4401461015757610088565b8063267822471461008d578063658030b3146100ab57806395d4063f146100c9578063b71d1a0c146100e5575b600080fd5b610095610175565b6040516100a29190610b3e565b60405180910390f35b6100b361019b565b6040516100c09190610b82565b60405180910390f35b6100e360048036036100de9190810190610938565b6101c0565b005b6100ff60048036036100fa91908101906108e6565b6103fa565b005b61011b60048036036101169190810190610961565b6104ce565b6040516101289190610bfd565b60405180910390f35b61014b6004803603610146919081019061099d565b6104f3565b005b61015561062c565b005b61015f610766565b60405161016c9190610b3e565b60405180910390f35b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008360ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081141561025f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025690610bdd565b60405180910390fd5b6000600160008460ff1660ff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610317929190610b59565b602060405180830381600087803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610369919081019061090f565b6103a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039f90610b9d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe826040516103ee9190610bfd565b60405180910390a25050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461048a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048190610bbd565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6001602052816000526040600020602052806000526040600020600091509150505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a90610bbd565b60405180910390fd5b6000600160008560ff1660ff168152602001908152602001600020905060008090505b8351811015610625578281815181106105bb57fe5b60200260200101518260008684815181106105d257fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806001019150506105a6565b5050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480156106b65750600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b6106bf57600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008135905061079b81610d55565b92915050565b600082601f8301126107b257600080fd5b81356107c56107c082610c45565b610c18565b915081818352602084019350602081019050838560208402820111156107ea57600080fd5b60005b8381101561081a5781610800888261078c565b8452602084019350602083019250506001810190506107ed565b5050505092915050565b600082601f83011261083557600080fd5b813561084861084382610c6d565b610c18565b9150818183526020840193506020810190508385602084028201111561086d57600080fd5b60005b8381101561089d578161088388826108bc565b845260208401935060208301925050600181019050610870565b5050505092915050565b6000815190506108b681610d6c565b92915050565b6000813590506108cb81610d83565b92915050565b6000813590506108e081610d9a565b92915050565b6000602082840312156108f857600080fd5b60006109068482850161078c565b91505092915050565b60006020828403121561092157600080fd5b600061092f848285016108a7565b91505092915050565b60006020828403121561094a57600080fd5b6000610958848285016108d1565b91505092915050565b6000806040838503121561097457600080fd5b6000610982858286016108d1565b92505060206109938582860161078c565b9150509250929050565b6000806000606084860312156109b257600080fd5b60006109c0868287016108d1565b935050602084013567ffffffffffffffff8111156109dd57600080fd5b6109e9868287016107a1565b925050604084013567ffffffffffffffff811115610a0657600080fd5b610a1286828701610824565b9150509250925092565b610a2581610cfb565b82525050565b610a3481610ca6565b82525050565b610a4381610d0d565b82525050565b6000610a56601183610c95565b91507f4572726f7220696e207472616e736665720000000000000000000000000000006000830152602082019050919050565b6000610a96602b83610c95565b91507f4f6e6c792061646d696e20697320616c6c6f77656420746f2063616c6c20746860008301527f69732066756e6374696f6e0000000000000000000000000000000000000000006020830152604082019050919050565b6000610afc601383610c95565b91507f4e6f20636c61696d61626c6520746f6b656e73000000000000000000000000006000830152602082019050919050565b610b3881610ce4565b82525050565b6000602082019050610b536000830184610a2b565b92915050565b6000604082019050610b6e6000830185610a1c565b610b7b6020830184610b2f565b9392505050565b6000602082019050610b976000830184610a3a565b92915050565b60006020820190508181036000830152610bb681610a49565b9050919050565b60006020820190508181036000830152610bd681610a89565b9050919050565b60006020820190508181036000830152610bf681610aef565b9050919050565b6000602082019050610c126000830184610b2f565b92915050565b6000604051905081810181811067ffffffffffffffff82111715610c3b57600080fd5b8060405250919050565b600067ffffffffffffffff821115610c5c57600080fd5b602082029050602081019050919050565b600067ffffffffffffffff821115610c8457600080fd5b602082029050602081019050919050565b600082825260208201905092915050565b6000610cb182610cc4565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000610d0682610d31565b9050919050565b6000610d1882610d1f565b9050919050565b6000610d2a82610cc4565b9050919050565b6000610d3c82610d43565b9050919050565b6000610d4e82610cc4565b9050919050565b610d5e81610ca6565b8114610d6957600080fd5b50565b610d7581610cb8565b8114610d8057600080fd5b50565b610d8c81610ce4565b8114610d9757600080fd5b50565b610da381610cee565b8114610dae57600080fd5b5056fea2646970667358221220e4efaabbe6ecb648badeab6f797f4299e476fbe8230cdb58d66202960cc3149964736f6c63430006000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008ec8a5627af6b89eb58a45d29e7e90c4aac3ee31
-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x8EC8a5627aF6B89eb58a45D29E7E90C4Aac3EE31
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008ec8a5627af6b89eb58a45d29e7e90c4aac3ee31
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 29 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.