More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 494 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 16897731 | 555 days ago | IN | 0 ETH | 0.00580768 | ||||
Claim | 16860687 | 561 days ago | IN | 0 ETH | 0.00260497 | ||||
Claim | 16860573 | 561 days ago | IN | 0 ETH | 0.00270176 | ||||
Claim | 16724241 | 580 days ago | IN | 0 ETH | 0.00370308 | ||||
Claim | 16668703 | 588 days ago | IN | 0 ETH | 0.00368002 | ||||
Claim | 16645068 | 591 days ago | IN | 0 ETH | 0.00462 | ||||
Claim | 16556992 | 603 days ago | IN | 0 ETH | 0.0055674 | ||||
Claim | 16526230 | 608 days ago | IN | 0 ETH | 0.00244281 | ||||
Claim | 16520967 | 608 days ago | IN | 0 ETH | 0.0034198 | ||||
Claim | 16498391 | 611 days ago | IN | 0 ETH | 0.00255906 | ||||
Claim | 16469905 | 615 days ago | IN | 0 ETH | 0.00294282 | ||||
Claim | 16458175 | 617 days ago | IN | 0 ETH | 0.00333519 | ||||
Claim | 16430997 | 621 days ago | IN | 0 ETH | 0.00307556 | ||||
Claim | 16407711 | 624 days ago | IN | 0 ETH | 0.00377059 | ||||
Claim | 16407202 | 624 days ago | IN | 0 ETH | 0.00288457 | ||||
Claim | 16390193 | 627 days ago | IN | 0 ETH | 0.00283163 | ||||
Claim | 16379499 | 628 days ago | IN | 0 ETH | 0.00644993 | ||||
Claim | 16362446 | 630 days ago | IN | 0 ETH | 0.0028498 | ||||
Claim | 16362445 | 630 days ago | IN | 0 ETH | 0.00269078 | ||||
Claim | 16362441 | 630 days ago | IN | 0 ETH | 0.00259668 | ||||
Claim | 16347515 | 632 days ago | IN | 0 ETH | 0.00342139 | ||||
Claim | 16343893 | 633 days ago | IN | 0 ETH | 0.00406432 | ||||
Claim | 16343877 | 633 days ago | IN | 0 ETH | 0.00426673 | ||||
Claim | 16343863 | 633 days ago | IN | 0 ETH | 0.00377675 | ||||
Claim | 16343787 | 633 days ago | IN | 0 ETH | 0.00458603 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TokenSwap
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-23 */ // File @openzeppelin/contracts/utils/[email protected] // 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; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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 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 { _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); } } // 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); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @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 Contracts guidelines: functions revert * instead 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, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * 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 override returns (uint8) { return 18; } /** * @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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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: * * - `account` 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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File contracts/TokenSwap.sol pragma solidity ^0.8.0; contract TokenSwap is Ownable { ERC20 public immutable token; mapping(address => uint256) public allocations; mapping(address => uint256) public claimed; uint256 public start; uint256 public vestingPeriod = 15552000; // 180 days bool public started; constructor(address _token) { token = ERC20(_token); } function setAllocations( address[] memory _users, uint256[] memory _allocations ) external onlyOwner { require(_users.length == _allocations.length, "!Length"); for (uint256 i = 0; i < _users.length; i++) { allocations[_users[i]] = _allocations[i]; } } function startSwap() external onlyOwner { require(!started, "Started"); started = true; start = block.timestamp; } function claim() external { require(started, "!Started"); uint256 _claimable = claimable(msg.sender); require(_claimable > 0, "Nothing to claim"); claimed[msg.sender] += _claimable; token.transfer(msg.sender, _claimable); } function claimable(address _user) public view returns (uint256) { if (!started) return 0; if (block.timestamp - start > vestingPeriod) return allocations[_user] - claimed[_user]; return (allocations[_user] * (block.timestamp - start)) / vestingPeriod - claimed[_user]; } function pull() external onlyOwner { token.transfer(owner(), token.balanceOf(address(this))); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"allocations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"claimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pull","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256[]","name":"_allocations","type":"uint256[]"}],"name":"setAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vestingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a060405262ed4e0060045534801561001757600080fd5b50604051610c34380380610c34833981016040819052610036916100a0565b61003f33610050565b6001600160a01b03166080526100d0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100b257600080fd5b81516001600160a01b03811681146100c957600080fd5b9392505050565b608051610b34610100600039600081816101f6015281816103320152818161038601526105f80152610b346000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80637313ee5a1161008c578063c884ef8311610066578063c884ef83146101b6578063c992b5b2146101d6578063f2fde38b146101de578063fc0c546a146101f157600080fd5b80637313ee5a1461017f5780638da5cb5b14610188578063be9a6555146101ad57600080fd5b8063402914f5116100c8578063402914f51461012e5780634e71d92d1461014f57806352a9039c14610157578063715018a61461017757600080fd5b80631f2698ab146100ef5780631ff64acd14610111578063329eb83914610126575b600080fd5b6005546100fc9060ff1681565b60405190151581526020015b60405180910390f35b61012461011f3660046108f7565b610218565b005b610124610306565b61014161013c3660046109b7565b61046b565b604051908152602001610108565b61012461052b565b6101416101653660046109b7565b60016020526000908152604090205481565b610124610671565b61014160045481565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610108565b61014160035481565b6101416101c43660046109b7565b60026020526000908152604090205481565b6101246106a7565b6101246101ec3660046109b7565b610721565b6101957f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316331461024b5760405162461bcd60e51b8152600401610242906109d9565b60405180910390fd5b80518251146102865760405162461bcd60e51b815260206004820152600760248201526604298cadccee8d60cb1b6044820152606401610242565b60005b8251811015610301578181815181106102a4576102a4610a0e565b6020026020010151600160008584815181106102c2576102c2610a0e565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080806102f990610a3a565b915050610289565b505050565b6000546001600160a01b031633146103305760405162461bcd60e51b8152600401610242906109d9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb6103716000546001600160a01b031690565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156103d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f99190610a53565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104689190610a6c565b50565b60055460009060ff1661048057506000919050565b6004546003546104909042610a8e565b11156104cb576001600160a01b0382166000908152600260209081526040808320546001909252909120546104c59190610a8e565b92915050565b6001600160a01b0382166000908152600260205260409020546004546003546104f49042610a8e565b6001600160a01b0385166000908152600160205260409020546105179190610aa5565b6105219190610ac4565b6104c59190610a8e565b60055460ff166105685760405162461bcd60e51b81526020600482015260086024820152670854dd185c9d195960c21b6044820152606401610242565b60006105733361046b565b9050600081116105b85760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b6044820152606401610242565b33600090815260026020526040812080548392906105d7908490610ae6565b909155505060405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066d9190610a6c565b5050565b6000546001600160a01b0316331461069b5760405162461bcd60e51b8152600401610242906109d9565b6106a560006107b5565b565b6000546001600160a01b031633146106d15760405162461bcd60e51b8152600401610242906109d9565b60055460ff161561070e5760405162461bcd60e51b815260206004820152600760248201526614dd185c9d195960ca1b6044820152606401610242565b6005805460ff1916600117905542600355565b6000546001600160a01b0316331461074b5760405162461bcd60e51b8152600401610242906109d9565b6001600160a01b0381166107b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610242565b610468815b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561084457610844610805565b604052919050565b600067ffffffffffffffff82111561086657610866610805565b5060051b60200190565b80356001600160a01b038116811461088757600080fd5b919050565b600082601f83011261089d57600080fd5b813560206108b26108ad8361084c565b61081b565b82815260059290921b840181019181810190868411156108d157600080fd5b8286015b848110156108ec57803583529183019183016108d5565b509695505050505050565b6000806040838503121561090a57600080fd5b823567ffffffffffffffff8082111561092257600080fd5b818501915085601f83011261093657600080fd5b813560206109466108ad8361084c565b82815260059290921b8401810191818101908984111561096557600080fd5b948201945b8386101561098a5761097b86610870565b8252948201949082019061096a565b965050860135925050808211156109a057600080fd5b506109ad8582860161088c565b9150509250929050565b6000602082840312156109c957600080fd5b6109d282610870565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201610a4c57610a4c610a24565b5060010190565b600060208284031215610a6557600080fd5b5051919050565b600060208284031215610a7e57600080fd5b815180151581146109d257600080fd5b600082821015610aa057610aa0610a24565b500390565b6000816000190483118215151615610abf57610abf610a24565b500290565b600082610ae157634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115610af957610af9610a24565b50019056fea2646970667358221220ddaf7826a79ddd55fdf0216803c509a05d38e10bb5594cb54bdc02ad330db74c64736f6c634300080f003300000000000000000000000034769d3e122c93547836addd3eb298035d68f1c3
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80637313ee5a1161008c578063c884ef8311610066578063c884ef83146101b6578063c992b5b2146101d6578063f2fde38b146101de578063fc0c546a146101f157600080fd5b80637313ee5a1461017f5780638da5cb5b14610188578063be9a6555146101ad57600080fd5b8063402914f5116100c8578063402914f51461012e5780634e71d92d1461014f57806352a9039c14610157578063715018a61461017757600080fd5b80631f2698ab146100ef5780631ff64acd14610111578063329eb83914610126575b600080fd5b6005546100fc9060ff1681565b60405190151581526020015b60405180910390f35b61012461011f3660046108f7565b610218565b005b610124610306565b61014161013c3660046109b7565b61046b565b604051908152602001610108565b61012461052b565b6101416101653660046109b7565b60016020526000908152604090205481565b610124610671565b61014160045481565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610108565b61014160035481565b6101416101c43660046109b7565b60026020526000908152604090205481565b6101246106a7565b6101246101ec3660046109b7565b610721565b6101957f00000000000000000000000034769d3e122c93547836addd3eb298035d68f1c381565b6000546001600160a01b0316331461024b5760405162461bcd60e51b8152600401610242906109d9565b60405180910390fd5b80518251146102865760405162461bcd60e51b815260206004820152600760248201526604298cadccee8d60cb1b6044820152606401610242565b60005b8251811015610301578181815181106102a4576102a4610a0e565b6020026020010151600160008584815181106102c2576102c2610a0e565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080806102f990610a3a565b915050610289565b505050565b6000546001600160a01b031633146103305760405162461bcd60e51b8152600401610242906109d9565b7f00000000000000000000000034769d3e122c93547836addd3eb298035d68f1c36001600160a01b031663a9059cbb6103716000546001600160a01b031690565b6040516370a0823160e01b81523060048201527f00000000000000000000000034769d3e122c93547836addd3eb298035d68f1c36001600160a01b0316906370a0823190602401602060405180830381865afa1580156103d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f99190610a53565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104689190610a6c565b50565b60055460009060ff1661048057506000919050565b6004546003546104909042610a8e565b11156104cb576001600160a01b0382166000908152600260209081526040808320546001909252909120546104c59190610a8e565b92915050565b6001600160a01b0382166000908152600260205260409020546004546003546104f49042610a8e565b6001600160a01b0385166000908152600160205260409020546105179190610aa5565b6105219190610ac4565b6104c59190610a8e565b60055460ff166105685760405162461bcd60e51b81526020600482015260086024820152670854dd185c9d195960c21b6044820152606401610242565b60006105733361046b565b9050600081116105b85760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b6044820152606401610242565b33600090815260026020526040812080548392906105d7908490610ae6565b909155505060405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000034769d3e122c93547836addd3eb298035d68f1c36001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066d9190610a6c565b5050565b6000546001600160a01b0316331461069b5760405162461bcd60e51b8152600401610242906109d9565b6106a560006107b5565b565b6000546001600160a01b031633146106d15760405162461bcd60e51b8152600401610242906109d9565b60055460ff161561070e5760405162461bcd60e51b815260206004820152600760248201526614dd185c9d195960ca1b6044820152606401610242565b6005805460ff1916600117905542600355565b6000546001600160a01b0316331461074b5760405162461bcd60e51b8152600401610242906109d9565b6001600160a01b0381166107b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610242565b610468815b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561084457610844610805565b604052919050565b600067ffffffffffffffff82111561086657610866610805565b5060051b60200190565b80356001600160a01b038116811461088757600080fd5b919050565b600082601f83011261089d57600080fd5b813560206108b26108ad8361084c565b61081b565b82815260059290921b840181019181810190868411156108d157600080fd5b8286015b848110156108ec57803583529183019183016108d5565b509695505050505050565b6000806040838503121561090a57600080fd5b823567ffffffffffffffff8082111561092257600080fd5b818501915085601f83011261093657600080fd5b813560206109466108ad8361084c565b82815260059290921b8401810191818101908984111561096557600080fd5b948201945b8386101561098a5761097b86610870565b8252948201949082019061096a565b965050860135925050808211156109a057600080fd5b506109ad8582860161088c565b9150509250929050565b6000602082840312156109c957600080fd5b6109d282610870565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201610a4c57610a4c610a24565b5060010190565b600060208284031215610a6557600080fd5b5051919050565b600060208284031215610a7e57600080fd5b815180151581146109d257600080fd5b600082821015610aa057610aa0610a24565b500390565b6000816000190483118215151615610abf57610abf610a24565b500290565b600082610ae157634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115610af957610af9610a24565b50019056fea2646970667358221220ddaf7826a79ddd55fdf0216803c509a05d38e10bb5594cb54bdc02ad330db74c64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000034769d3e122c93547836addd3eb298035d68f1c3
-----Decoded View---------------
Arg [0] : _token (address): 0x34769D3e122C93547836AdDD3eb298035D68F1C3
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000034769d3e122c93547836addd3eb298035d68f1c3
Deployed Bytecode Sourcemap
20030:1600:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20289:19;;;;;;;;;;;;179:14:1;;172:22;154:41;;142:2;127:18;20289:19:0;;;;;;;;20393:320;;;;;;:::i;:::-;;:::i;:::-;;21518:109;;;:::i;21156:354::-;;;;;;:::i;:::-;;:::i;:::-;;;3139:25:1;;;3127:2;3112:18;21156:354:0;2993:177:1;20875:273:0;;;:::i;20102:46::-;;;;;;:::i;:::-;;;;;;;;;;;;;;2645:103;;;:::i;20231:39::-;;;;;;1994:87;2040:7;2067:6;-1:-1:-1;;;;;2067:6:0;1994:87;;;-1:-1:-1;;;;;3339:32:1;;;3321:51;;3309:2;3294:18;1994:87:0;3175:203:1;20204:20:0;;;;;;20155:42;;;;;;:::i;:::-;;;;;;;;;;;;;;20721:146;;;:::i;2903:201::-;;;;;;:::i;:::-;;:::i;20067:28::-;;;;;20393:320;2040:7;2067:6;-1:-1:-1;;;;;2067:6:0;796:10;2214:23;2206:68;;;;-1:-1:-1;;;2206:68:0;;;;;;;:::i;:::-;;;;;;;;;20553:12:::1;:19;20536:6;:13;:36;20528:56;;;::::0;-1:-1:-1;;;20528:56:0;;4167:2:1;20528:56:0::1;::::0;::::1;4149:21:1::0;4206:1;4186:18;;;4179:29;-1:-1:-1;;;4224:18:1;;;4217:37;4271:18;;20528:56:0::1;3965:330:1::0;20528:56:0::1;20600:9;20595:111;20619:6;:13;20615:1;:17;20595:111;;;20679:12;20692:1;20679:15;;;;;;;;:::i;:::-;;;;;;;20654:11;:22;20666:6;20673:1;20666:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;20654:22:0::1;-1:-1:-1::0;;;;;20654:22:0::1;;;;;;;;;;;;:40;;;;20634:3;;;;;:::i;:::-;;;;20595:111;;;;20393:320:::0;;:::o;21518:109::-;2040:7;2067:6;-1:-1:-1;;;;;2067:6:0;796:10;2214:23;2206:68;;;;-1:-1:-1;;;2206:68:0;;;;;;;:::i;:::-;21564:5:::1;-1:-1:-1::0;;;;;21564:14:0::1;;21579:7;2040::::0;2067:6;-1:-1:-1;;;;;2067:6:0;;1994:87;21579:7:::1;21588:30;::::0;-1:-1:-1;;;21588:30:0;;21612:4:::1;21588:30;::::0;::::1;3321:51:1::0;21588:5:0::1;-1:-1:-1::0;;;;;21588:15:0::1;::::0;::::1;::::0;3294:18:1;;21588:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21564:55;::::0;-1:-1:-1;;;;;;21564:55:0::1;::::0;;;;;;-1:-1:-1;;;;;5085:32:1;;;21564:55:0::1;::::0;::::1;5067:51:1::0;5134:18;;;5127:34;5040:18;;21564:55:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21518:109::o:0;21156:354::-;21236:7;;21211;;21236;;21231:22;;-1:-1:-1;21252:1:0;;21156:354;-1:-1:-1;21156:354:0:o;21231:22::-;21294:13;;21286:5;;21268:23;;:15;:23;:::i;:::-;:39;21264:100;;;-1:-1:-1;;;;;21350:14:0;;;;;;:7;:14;;;;;;;;;21329:11;:18;;;;;;;:35;;21350:14;21329:35;:::i;:::-;21322:42;21156:354;-1:-1:-1;;21156:354:0:o;21264:100::-;-1:-1:-1;;;;;21488:14:0;;;;;;:7;:14;;;;;;21459:13;;21436:5;;21418:23;;:15;:23;:::i;:::-;-1:-1:-1;;;;;21396:18:0;;;;;;:11;:18;;;;;;:46;;;;:::i;:::-;21395:77;;;;:::i;:::-;:107;;;;:::i;20875:273::-;20920:7;;;;20912:28;;;;-1:-1:-1;;;20912:28:0;;6181:2:1;20912:28:0;;;6163:21:1;6220:1;6200:18;;;6193:29;-1:-1:-1;;;6238:18:1;;;6231:38;6286:18;;20912:28:0;5979:331:1;20912:28:0;20951:18;20972:21;20982:10;20972:9;:21::i;:::-;20951:42;;21025:1;21012:10;:14;21004:43;;;;-1:-1:-1;;;21004:43:0;;6517:2:1;21004:43:0;;;6499:21:1;6556:2;6536:18;;;6529:30;-1:-1:-1;;;6575:18:1;;;6568:46;6631:18;;21004:43:0;6315:340:1;21004:43:0;21066:10;21058:19;;;;:7;:19;;;;;:33;;21081:10;;21058:19;:33;;21081:10;;21058:33;:::i;:::-;;;;-1:-1:-1;;21102:38:0;;-1:-1:-1;;;21102:38:0;;21117:10;21102:38;;;5067:51:1;5134:18;;;5127:34;;;21102:5:0;-1:-1:-1;;;;;21102:14:0;;;;5040:18:1;;21102:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20901:247;20875:273::o;2645:103::-;2040:7;2067:6;-1:-1:-1;;;;;2067:6:0;796:10;2214:23;2206:68;;;;-1:-1:-1;;;2206:68:0;;;;;;;:::i;:::-;2710:30:::1;2737:1;2710:18;:30::i;:::-;2645:103::o:0;20721:146::-;2040:7;2067:6;-1:-1:-1;;;;;2067:6:0;796:10;2214:23;2206:68;;;;-1:-1:-1;;;2206:68:0;;;;;;;:::i;:::-;20781:7:::1;::::0;::::1;;20780:8;20772:28;;;::::0;-1:-1:-1;;;20772:28:0;;6995:2:1;20772:28:0::1;::::0;::::1;6977:21:1::0;7034:1;7014:18;;;7007:29;-1:-1:-1;;;7052:18:1;;;7045:37;7099:18;;20772:28:0::1;6793:330:1::0;20772:28:0::1;20811:7;:14:::0;;-1:-1:-1;;20811:14:0::1;20821:4;20811:14;::::0;;20844:15:::1;20836:5;:23:::0;20721:146::o;2903:201::-;2040:7;2067:6;-1:-1:-1;;;;;2067:6:0;796:10;2214:23;2206:68;;;;-1:-1:-1;;;2206:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2992:22:0;::::1;2984:73;;;::::0;-1:-1:-1;;;2984:73:0;;7330:2:1;2984:73:0::1;::::0;::::1;7312:21:1::0;7369:2;7349:18;;;7342:30;7408:34;7388:18;;;7381:62;-1:-1:-1;;;7459:18:1;;;7452:36;7505:19;;2984:73:0::1;7128:402:1::0;2984:73:0::1;3068:28;3087:8;3264:191:::0;3338:16;3357:6;;-1:-1:-1;;;;;3374:17:0;;;-1:-1:-1;;;;;;3374:17:0;;;;;;3407:40;;3357:6;;;;;;;3407:40;;3338:16;3407:40;3327:128;3264:191;:::o;206:127:1:-;267:10;262:3;258:20;255:1;248:31;298:4;295:1;288:15;322:4;319:1;312:15;338:275;409:2;403:9;474:2;455:13;;-1:-1:-1;;451:27:1;439:40;;509:18;494:34;;530:22;;;491:62;488:88;;;556:18;;:::i;:::-;592:2;585:22;338:275;;-1:-1:-1;338:275:1:o;618:183::-;678:4;711:18;703:6;700:30;697:56;;;733:18;;:::i;:::-;-1:-1:-1;778:1:1;774:14;790:4;770:25;;618:183::o;806:173::-;874:20;;-1:-1:-1;;;;;923:31:1;;913:42;;903:70;;969:1;966;959:12;903:70;806:173;;;:::o;984:662::-;1038:5;1091:3;1084:4;1076:6;1072:17;1068:27;1058:55;;1109:1;1106;1099:12;1058:55;1145:6;1132:20;1171:4;1195:60;1211:43;1251:2;1211:43;:::i;:::-;1195:60;:::i;:::-;1289:15;;;1375:1;1371:10;;;;1359:23;;1355:32;;;1320:12;;;;1399:15;;;1396:35;;;1427:1;1424;1417:12;1396:35;1463:2;1455:6;1451:15;1475:142;1491:6;1486:3;1483:15;1475:142;;;1557:17;;1545:30;;1595:12;;;;1508;;1475:142;;;-1:-1:-1;1635:5:1;984:662;-1:-1:-1;;;;;;984:662:1:o;1651:1146::-;1769:6;1777;1830:2;1818:9;1809:7;1805:23;1801:32;1798:52;;;1846:1;1843;1836:12;1798:52;1886:9;1873:23;1915:18;1956:2;1948:6;1945:14;1942:34;;;1972:1;1969;1962:12;1942:34;2010:6;1999:9;1995:22;1985:32;;2055:7;2048:4;2044:2;2040:13;2036:27;2026:55;;2077:1;2074;2067:12;2026:55;2113:2;2100:16;2135:4;2159:60;2175:43;2215:2;2175:43;:::i;2159:60::-;2253:15;;;2335:1;2331:10;;;;2323:19;;2319:28;;;2284:12;;;;2359:19;;;2356:39;;;2391:1;2388;2381:12;2356:39;2415:11;;;;2435:148;2451:6;2446:3;2443:15;2435:148;;;2517:23;2536:3;2517:23;:::i;:::-;2505:36;;2468:12;;;;2561;;;;2435:148;;;2602:5;-1:-1:-1;;2645:18:1;;2632:32;;-1:-1:-1;;2676:16:1;;;2673:36;;;2705:1;2702;2695:12;2673:36;;2728:63;2783:7;2772:8;2761:9;2757:24;2728:63;:::i;:::-;2718:73;;;1651:1146;;;;;:::o;2802:186::-;2861:6;2914:2;2902:9;2893:7;2889:23;2885:32;2882:52;;;2930:1;2927;2920:12;2882:52;2953:29;2972:9;2953:29;:::i;:::-;2943:39;2802:186;-1:-1:-1;;;2802:186:1:o;3604:356::-;3806:2;3788:21;;;3825:18;;;3818:30;3884:34;3879:2;3864:18;;3857:62;3951:2;3936:18;;3604:356::o;4300:127::-;4361:10;4356:3;4352:20;4349:1;4342:31;4392:4;4389:1;4382:15;4416:4;4413:1;4406:15;4432:127;4493:10;4488:3;4484:20;4481:1;4474:31;4524:4;4521:1;4514:15;4548:4;4545:1;4538:15;4564:135;4603:3;4624:17;;;4621:43;;4644:18;;:::i;:::-;-1:-1:-1;4691:1:1;4680:13;;4564:135::o;4704:184::-;4774:6;4827:2;4815:9;4806:7;4802:23;4798:32;4795:52;;;4843:1;4840;4833:12;4795:52;-1:-1:-1;4866:16:1;;4704:184;-1:-1:-1;4704:184:1:o;5172:277::-;5239:6;5292:2;5280:9;5271:7;5267:23;5263:32;5260:52;;;5308:1;5305;5298:12;5260:52;5340:9;5334:16;5393:5;5386:13;5379:21;5372:5;5369:32;5359:60;;5415:1;5412;5405:12;5454:125;5494:4;5522:1;5519;5516:8;5513:34;;;5527:18;;:::i;:::-;-1:-1:-1;5564:9:1;;5454:125::o;5584:168::-;5624:7;5690:1;5686;5682:6;5678:14;5675:1;5672:21;5667:1;5660:9;5653:17;5649:45;5646:71;;;5697:18;;:::i;:::-;-1:-1:-1;5737:9:1;;5584:168::o;5757:217::-;5797:1;5823;5813:132;;5867:10;5862:3;5858:20;5855:1;5848:31;5902:4;5899:1;5892:15;5930:4;5927:1;5920:15;5813:132;-1:-1:-1;5959:9:1;;5757:217::o;6660:128::-;6700:3;6731:1;6727:6;6724:1;6721:13;6718:39;;;6737:18;;:::i;:::-;-1:-1:-1;6773:9:1;;6660:128::o
Swarm Source
ipfs://ddaf7826a79ddd55fdf0216803c509a05d38e10bb5594cb54bdc02ad330db74c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 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.