Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
213,564,048.25 v1INCH
Holders
163 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
861,236 v1INCHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VestedToken
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; pragma abicoder v1; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./interfaces/IStepVesting.sol"; contract VestedToken is Ownable { using EnumerableSet for EnumerableSet.AddressSet; event Transfer(address indexed from, address indexed to, uint256 value); event VestingRegistered(address indexed vesting, address indexed receiver); event VestingDeregistered(address indexed vesting, address indexed receiver); IERC20 public immutable inchToken; mapping (address => EnumerableSet.AddressSet) private _vestingsByReceiver; EnumerableSet.AddressSet private _receivers; mapping(address => uint256) private _vestingBalances; constructor(IERC20 _inchToken) { inchToken = _inchToken; } function name() external pure returns(string memory) { return "1INCH Token (Vested)"; } function symbol() external pure returns(string memory) { return "v1INCH"; } function decimals() external pure returns(uint8) { return 18; } function totalSupply() external view returns (uint256) { uint256 len = _receivers.length(); uint256 _totalSupply; for (uint256 i = 0; i < len; i++) { _totalSupply += balanceOf(_receivers.at(i)); } return _totalSupply; } function balanceOf(address account) public view returns (uint256) { EnumerableSet.AddressSet storage vestings = _vestingsByReceiver[account]; uint256 len = vestings.length(); uint256 balance; for (uint256 i = 0; i < len; i++) { balance += inchToken.balanceOf(vestings.at(i)); } return balance; } function registerVestings(address[] calldata vestings) external onlyOwner { uint256 len = vestings.length; for (uint256 i = 0; i < len; i++) { address vesting = vestings[i]; address receiver = IStepVesting(vesting).receiver(); require(_vestingsByReceiver[receiver].add(vesting), "Vesting is already registered"); _receivers.add(receiver); emit VestingRegistered(vesting, receiver); uint256 actualBalance = inchToken.balanceOf(vesting); require(actualBalance > 0, "Vesting is empty"); _vestingBalances[vesting] = actualBalance; emit Transfer(address(0), receiver, actualBalance); } } function deregisterVestings(address[] calldata vestings) external onlyOwner { uint256 len = vestings.length; for (uint256 i = 0; i < len; i++) { address vesting = vestings[i]; address receiver = IStepVesting(vesting).receiver(); EnumerableSet.AddressSet storage receiverVestings = _vestingsByReceiver[receiver]; require(receiverVestings.remove(vesting), "Vesting is not registered"); if (receiverVestings.length() == 0) { require(_receivers.remove(receiver), "Receiver is already removed"); } emit VestingDeregistered(vesting, receiver); uint256 storedBalance = _vestingBalances[vesting]; if (storedBalance > 0) { emit Transfer(receiver, address(0), storedBalance); _vestingBalances[vesting] = 0; } } } function updateAllBalances() external { address[] memory receivers = _receivers.values(); uint256 len = receivers.length; for(uint256 i = 0; i < len; i++) { updateBalances(_vestingsByReceiver[receivers[i]].values()); } } function updateBalances(address[] memory vestings) public { uint256 len = vestings.length; for (uint256 i = 0; i < len; i++) { address vesting = vestings[i]; address receiver = IStepVesting(vesting).receiver(); uint256 actualBalance = inchToken.balanceOf(vesting); uint256 storedBalance = _vestingBalances[vesting]; if (actualBalance < storedBalance) { _vestingBalances[vesting] = actualBalance; unchecked { emit Transfer(receiver, address(0), storedBalance - actualBalance); } } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^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.8.9; interface IStepVesting { function receiver() external returns (address); function claim() external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 1000000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_inchToken","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"vesting","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"}],"name":"VestingDeregistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"vesting","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"}],"name":"VestingRegistered","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"vestings","type":"address[]"}],"name":"deregisterVestings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"inchToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"vestings","type":"address[]"}],"name":"registerVestings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateAllBalances","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"vestings","type":"address[]"}],"name":"updateBalances","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234801561001057600080fd5b5060405161162d38038061162d8339818101604052602081101561003357600080fd5b505161003e3361004f565b6001600160a01b031660805261009f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805161155e6100cf600039600081816104090152818161087801528181610ac00152610e25015261155e6000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c80638da5cb5b1161008c578063d9165e1911610066578063d9165e191461038c578063dfa811ba146103fc578063ec95459414610404578063f2fde38b1461042b57600080fd5b80638da5cb5b1461026d57806395d89b41146102b0578063ab42d066146102e957600080fd5b80634ca66f1a116100bd5780634ca66f1a146101c057806370a0823114610232578063715018a61461026557600080fd5b806306fdde03146100e457806318160ddd1461018e578063313ce567146101a8575b600080fd5b60408051808201909152601481527f31494e434820546f6b656e20285665737465642900000000000000000000000060208201525b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015357818101518382015260200161013b565b50505050905090810190601f1680156101805780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61019661045e565b60408051918252519081900360200190f35b60126040805160ff9092168252519081900360200190f35b610230600480360360208110156101d657600080fd5b8101906020810181356401000000008111156101f157600080fd5b82018360208201111561020357600080fd5b8035906020019184602083028401116401000000008311171561022557600080fd5b5090925090506104b1565b005b6101966004803603602081101561024857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610824565b610230610944565b60005473ffffffffffffffffffffffffffffffffffffffff165b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60408051808201909152600681527f7631494e434800000000000000000000000000000000000000000000000000006020820152610119565b610230600480360360208110156102ff57600080fd5b81019060208101813564010000000081111561031a57600080fd5b82018360208201111561032c57600080fd5b8035906020019184602083028401116401000000008311171561034e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506109d1945050505050565b610230600480360360208110156103a257600080fd5b8101906020810181356401000000008111156103bd57600080fd5b8201836020820111156103cf57600080fd5b803590602001918460208302840111640100000000831117156103f157600080fd5b509092509050610be8565b610230610fbc565b6102877f000000000000000000000000000000000000000000000000000000000000000081565b6102306004803603602081101561044157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611052565b60008061046b6002611182565b90506000805b828110156104aa5761048c610487600283611192565b610824565b6104969083611462565b9150806104a28161147a565b915050610471565b5092915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b8060005b8181101561081e576000848483818110610557576105576114b3565b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663f7260d3e6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156105c057600080fd5b505af11580156105d4573d6000803e3d6000fd5b505050506040513d60208110156105ea57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff8116600090815260016020526040902090915061061e81846111a5565b61068957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f56657374696e67206973206e6f74207265676973746572656400000000000000604482015290519081900360640190fd5b61069281611182565b61070c576106a16002836111a5565b61070c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f526563656976657220697320616c72656164792072656d6f7665640000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f1a26e420c4d7bb40a63989d96200210486b70a587c72b825f419b149d21c242060405160405180910390a373ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205480156108075760408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a373ffffffffffffffffffffffffffffffffffffffff84166000908152600460205260408120555b5050505080806108169061147a565b91505061053b565b50505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081208161085382611182565b90506000805b8281101561093b5773ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166370a082316108a78684611192565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156108f157600080fd5b505afa158015610905573d6000803e3d6000fd5b505050506040513d602081101561091b57600080fd5b50516109279083611462565b9150806109338161147a565b915050610859565b50949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161052e565b6109cf60006111c7565b565b805160005b81811015610be35760008382815181106109f2576109f26114b3565b6020026020010151905060008173ffffffffffffffffffffffffffffffffffffffff1663f7260d3e6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610a4657600080fd5b505af1158015610a5a573d6000803e3d6000fd5b505050506040513d6020811015610a7057600080fd5b5051604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015291519293506000927f0000000000000000000000000000000000000000000000000000000000000000909216916370a0823191602480820192602092909190829003018186803b158015610b0957600080fd5b505afa158015610b1d573d6000803e3d6000fd5b505050506040513d6020811015610b3357600080fd5b505173ffffffffffffffffffffffffffffffffffffffff841660009081526004602052604090205490915080821015610bcc5773ffffffffffffffffffffffffffffffffffffffff808516600090815260046020908152604080832086905580518686038152905192938716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35b505050508080610bdb9061147a565b9150506109d6565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161052e565b8060005b8181101561081e576000848483818110610c8957610c896114b3565b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663f7260d3e6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610cf257600080fd5b505af1158015610d06573d6000803e3d6000fd5b505050506040513d6020811015610d1c57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260409020909150610d50908361123c565b610dbb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f56657374696e6720697320616c72656164792072656769737465726564000000604482015290519081900360640190fd5b610dc660028261123c565b508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f46d3b8641d93b1bcf2e209872b63bfae6cf81caf2100b6ea9cf03a942069dd2360405160405180910390a360007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610eaa57600080fd5b505afa158015610ebe573d6000803e3d6000fd5b505050506040513d6020811015610ed457600080fd5b5051905080610f4457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f56657374696e6720697320656d70747900000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff808416600090815260046020908152604080832085905580518581529051938616937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35050508080610fb49061147a565b915050610c6d565b6000610fc8600261125e565b805190915060005b81811015610be35761104061103b60016000868581518110610ff457610ff46114b3565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061125e565b6109d1565b8061104a8161147a565b915050610fd0565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161052e565b73ffffffffffffffffffffffffffffffffffffffff8116611176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161052e565b61117f816111c7565b50565b600061118c825490565b92915050565b600061119e838361126b565b9392505050565b600061119e8373ffffffffffffffffffffffffffffffffffffffff8416611295565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061119e8373ffffffffffffffffffffffffffffffffffffffff8416611388565b6060600061119e836113d7565b6000826000018281548110611282576112826114b3565b9060005260206000200154905092915050565b6000818152600183016020526040812054801561137e5760006112b96001836114e2565b85549091506000906112cd906001906114e2565b90508181146113325760008660000182815481106112ed576112ed6114b3565b9060005260206000200154905080876000018481548110611310576113106114b3565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611343576113436114f9565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061118c565b600091505061118c565b60008181526001830160205260408120546113cf5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561118c565b50600061118c565b60608160000180548060200260200160405190810160405280929190818152602001828054801561142757602002820191906000526020600020905b815481526020019060010190808311611413575b50505050509050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561147557611475611433565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156114ac576114ac611433565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000828210156114f4576114f4611433565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220d352e0343330e178e92f2d052c5bebea2752417ca8b5ce6e91d2170c22f7af4364736f6c63430008090033000000000000000000000000111111111117dc0aa78b770fa6a738034120c302
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100df5760003560e01c80638da5cb5b1161008c578063d9165e1911610066578063d9165e191461038c578063dfa811ba146103fc578063ec95459414610404578063f2fde38b1461042b57600080fd5b80638da5cb5b1461026d57806395d89b41146102b0578063ab42d066146102e957600080fd5b80634ca66f1a116100bd5780634ca66f1a146101c057806370a0823114610232578063715018a61461026557600080fd5b806306fdde03146100e457806318160ddd1461018e578063313ce567146101a8575b600080fd5b60408051808201909152601481527f31494e434820546f6b656e20285665737465642900000000000000000000000060208201525b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015357818101518382015260200161013b565b50505050905090810190601f1680156101805780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61019661045e565b60408051918252519081900360200190f35b60126040805160ff9092168252519081900360200190f35b610230600480360360208110156101d657600080fd5b8101906020810181356401000000008111156101f157600080fd5b82018360208201111561020357600080fd5b8035906020019184602083028401116401000000008311171561022557600080fd5b5090925090506104b1565b005b6101966004803603602081101561024857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610824565b610230610944565b60005473ffffffffffffffffffffffffffffffffffffffff165b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60408051808201909152600681527f7631494e434800000000000000000000000000000000000000000000000000006020820152610119565b610230600480360360208110156102ff57600080fd5b81019060208101813564010000000081111561031a57600080fd5b82018360208201111561032c57600080fd5b8035906020019184602083028401116401000000008311171561034e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506109d1945050505050565b610230600480360360208110156103a257600080fd5b8101906020810181356401000000008111156103bd57600080fd5b8201836020820111156103cf57600080fd5b803590602001918460208302840111640100000000831117156103f157600080fd5b509092509050610be8565b610230610fbc565b6102877f000000000000000000000000111111111117dc0aa78b770fa6a738034120c30281565b6102306004803603602081101561044157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611052565b60008061046b6002611182565b90506000805b828110156104aa5761048c610487600283611192565b610824565b6104969083611462565b9150806104a28161147a565b915050610471565b5092915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b8060005b8181101561081e576000848483818110610557576105576114b3565b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663f7260d3e6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156105c057600080fd5b505af11580156105d4573d6000803e3d6000fd5b505050506040513d60208110156105ea57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff8116600090815260016020526040902090915061061e81846111a5565b61068957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f56657374696e67206973206e6f74207265676973746572656400000000000000604482015290519081900360640190fd5b61069281611182565b61070c576106a16002836111a5565b61070c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f526563656976657220697320616c72656164792072656d6f7665640000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f1a26e420c4d7bb40a63989d96200210486b70a587c72b825f419b149d21c242060405160405180910390a373ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205480156108075760408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a373ffffffffffffffffffffffffffffffffffffffff84166000908152600460205260408120555b5050505080806108169061147a565b91505061053b565b50505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081208161085382611182565b90506000805b8281101561093b5773ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000111111111117dc0aa78b770fa6a738034120c302166370a082316108a78684611192565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156108f157600080fd5b505afa158015610905573d6000803e3d6000fd5b505050506040513d602081101561091b57600080fd5b50516109279083611462565b9150806109338161147a565b915050610859565b50949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161052e565b6109cf60006111c7565b565b805160005b81811015610be35760008382815181106109f2576109f26114b3565b6020026020010151905060008173ffffffffffffffffffffffffffffffffffffffff1663f7260d3e6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610a4657600080fd5b505af1158015610a5a573d6000803e3d6000fd5b505050506040513d6020811015610a7057600080fd5b5051604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015291519293506000927f000000000000000000000000111111111117dc0aa78b770fa6a738034120c302909216916370a0823191602480820192602092909190829003018186803b158015610b0957600080fd5b505afa158015610b1d573d6000803e3d6000fd5b505050506040513d6020811015610b3357600080fd5b505173ffffffffffffffffffffffffffffffffffffffff841660009081526004602052604090205490915080821015610bcc5773ffffffffffffffffffffffffffffffffffffffff808516600090815260046020908152604080832086905580518686038152905192938716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35b505050508080610bdb9061147a565b9150506109d6565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161052e565b8060005b8181101561081e576000848483818110610c8957610c896114b3565b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663f7260d3e6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610cf257600080fd5b505af1158015610d06573d6000803e3d6000fd5b505050506040513d6020811015610d1c57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260409020909150610d50908361123c565b610dbb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f56657374696e6720697320616c72656164792072656769737465726564000000604482015290519081900360640190fd5b610dc660028261123c565b508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f46d3b8641d93b1bcf2e209872b63bfae6cf81caf2100b6ea9cf03a942069dd2360405160405180910390a360007f000000000000000000000000111111111117dc0aa78b770fa6a738034120c30273ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610eaa57600080fd5b505afa158015610ebe573d6000803e3d6000fd5b505050506040513d6020811015610ed457600080fd5b5051905080610f4457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f56657374696e6720697320656d70747900000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff808416600090815260046020908152604080832085905580518581529051938616937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35050508080610fb49061147a565b915050610c6d565b6000610fc8600261125e565b805190915060005b81811015610be35761104061103b60016000868581518110610ff457610ff46114b3565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061125e565b6109d1565b8061104a8161147a565b915050610fd0565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161052e565b73ffffffffffffffffffffffffffffffffffffffff8116611176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161052e565b61117f816111c7565b50565b600061118c825490565b92915050565b600061119e838361126b565b9392505050565b600061119e8373ffffffffffffffffffffffffffffffffffffffff8416611295565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061119e8373ffffffffffffffffffffffffffffffffffffffff8416611388565b6060600061119e836113d7565b6000826000018281548110611282576112826114b3565b9060005260206000200154905092915050565b6000818152600183016020526040812054801561137e5760006112b96001836114e2565b85549091506000906112cd906001906114e2565b90508181146113325760008660000182815481106112ed576112ed6114b3565b9060005260206000200154905080876000018481548110611310576113106114b3565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611343576113436114f9565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061118c565b600091505061118c565b60008181526001830160205260408120546113cf5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561118c565b50600061118c565b60608160000180548060200260200160405190810160405280929190818152602001828054801561142757602002820191906000526020600020905b815481526020019060010190808311611413575b50505050509050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561147557611475611433565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156114ac576114ac611433565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000828210156114f4576114f4611433565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220d352e0343330e178e92f2d052c5bebea2752417ca8b5ce6e91d2170c22f7af4364736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000111111111117dc0aa78b770fa6a738034120c302
-----Decoded View---------------
Arg [0] : _inchToken (address): 0x111111111117dC0aa78b770fA6A738034120C302
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000111111111117dc0aa78b770fa6a738034120c302
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.