Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000 iain
Holders
20
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
512.9 iainValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Token
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; // SPDX-License-Identifier: Unlicense import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0/contracts/token/ERC20/ERC20.sol"; // import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0/contracts/access/Ownable.sol"; contract Token is ERC20, Ownable { bool private _publicMintingAllowed = true; mapping(uint256 => address) private _mintedAtMint; uint256 constant COMMISSION = 100 * (10 ** 18); // == 100 constructor( string memory _name, string memory _symbol, uint256 initialSupply ) public ERC20(_name, _symbol) { _mint(msg.sender, initialSupply); } function hasMinted(uint256 timestamp) public view returns (address) { return _mintedAtMint[timestamp / 30 days]; } function untilNextMint() public view returns (uint256) { return ((block.timestamp / 30 days) + 1) * 30 days; } function setPublicMinting(bool enabled) public onlyOwner { _publicMintingAllowed = enabled; } function hasPublicMinting() public view returns (bool) { return _publicMintingAllowed; } function distribute(address[] memory recipients, uint256 amount) public { require (recipients.length * amount <= balanceOf(_msgSender()), "not enough"); for (uint j = 0; j < recipients.length; j++) { _transfer(_msgSender(), recipients[j], amount); } } function timedMint(uint256 newAmount) public { // can only be minted once a month, max 10k tokens require(_mintedAtMint[block.timestamp / 30 days] == address(0x0), "Too soon, wait 30 days"); require(newAmount <= 2000 * (10 ** 18), "Max 2k"); require(newAmount >= 1000 * (10 ** 18), "Min 1k"); require(_publicMintingAllowed || owner() == msg.sender, "Public minting disabled"); _mintedAtMint[block.timestamp / 30 days] = msg.sender; if (_publicMintingAllowed) { _mint(owner(), newAmount - COMMISSION); _mint(msg.sender, COMMISSION); } else { _mint(owner(), newAmount); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "../../utils/Context.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 { 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 defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All three 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 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 this function is * overloaded; * * 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 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: * * - `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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += 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 += amount; _balances[account] += 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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= 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 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.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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.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.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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"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"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"hasMinted","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasPublicMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setPublicMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"timedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"untilNextMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526005805460ff60a01b1916600160a01b1790553480156200002457600080fd5b50604051620017353803806200173583398101604081905262000047916200031c565b82518390839062000060906003906020850190620001cb565b50805162000076906004906020840190620001cb565b50505060006200008b620000ee60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000e53382620000f2565b50505062000444565b3390565b6001600160a01b038216620001245760405162461bcd60e51b81526004016200011b906200038c565b60405180910390fd5b6200013260008383620001c6565b8060026000828254620001469190620003cc565b90915550506001600160a01b0382166000908152602081905260408120805483929062000175908490620003cc565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620001ba908590620003c3565b60405180910390a35050565b505050565b828054620001d990620003f1565b90600052602060002090601f016020900481019282620001fd576000855562000248565b82601f106200021857805160ff191683800117855562000248565b8280016001018555821562000248579182015b82811115620002485782518255916020019190600101906200022b565b50620002569291506200025a565b5090565b5b808211156200025657600081556001016200025b565b600082601f83011262000282578081fd5b81516001600160401b03808211156200029f576200029f6200042e565b6040516020601f8401601f1916820181018381118382101715620002c757620002c76200042e565b6040528382528584018101871015620002de578485fd5b8492505b83831015620003015785830181015182840182015291820191620002e2565b838311156200031257848185840101525b5095945050505050565b60008060006060848603121562000331578283fd5b83516001600160401b038082111562000348578485fd5b620003568783880162000271565b945060208601519150808211156200036c578384fd5b506200037b8682870162000271565b925050604084015190509250925092565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60008219821115620003ec57634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200040657607f821691505b602082108114156200042857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6112e180620004546000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80636bc7be78116100ad578063a457c2d711610071578063a457c2d714610242578063a9059cbb14610255578063dd62ed3e14610268578063e5b955951461027b578063f2fde38b1461028e5761012c565b80636bc7be781461020257806370a082311461020a578063715018a61461021d5780638da5cb5b1461022557806395d89b411461023a5761012c565b8063254a4737116100f4578063254a4737146101ac5780632ba84d45146101bf578063313ce567146101d257806337298f71146101e757806339509351146101ef5761012c565b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461016f5780631826c1191461018457806323b872dd14610199575b600080fd5b6101396102a1565b6040516101469190610df3565b60405180910390f35b61016261015d366004610cac565b610333565b6040516101469190610de8565b610177610350565b60405161014691906111a4565b610197610192366004610cd5565b610356565b005b6101626101a7366004610c71565b6103f1565b6101976101ba366004610d9c565b610488565b6101976101cd366004610dbc565b6104e5565b6101da610664565b60405161014691906111ad565b610162610669565b6101626101fd366004610cac565b610679565b6101776106c8565b610177610218366004610c1e565b6106f4565b610197610713565b61022d61079c565b6040516101469190610dd4565b6101396107ab565b610162610250366004610cac565b6107ba565b610162610263366004610cac565b610835565b610177610276366004610c3f565b610849565b61022d610289366004610dbc565b610874565b61019761029c366004610c1e565b6108a6565b6060600380546102b090611229565b80601f01602080910402602001604051908101604052809291908181526020018280546102dc90611229565b80156103295780601f106102fe57610100808354040283529160200191610329565b820191906000526020600020905b81548152906001019060200180831161030c57829003601f168201915b5050505050905090565b6000610347610340610967565b848461096b565b50600192915050565b60025490565b610361610218610967565b81835161036e91906111f3565b11156103955760405162461bcd60e51b815260040161038c90610f11565b60405180910390fd5b60005b82518110156103ec576103da6103ac610967565b8483815181106103cc57634e487b7160e01b600052603260045260246000fd5b602002602001015184610a1f565b806103e481611264565b915050610398565b505050565b60006103fe848484610a1f565b6001600160a01b03841660009081526001602052604081208161041f610967565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156104625760405162461bcd60e51b815260040161038c90610fb2565b61047d8561046e610967565b6104788685611212565b61096b565b506001949350505050565b610490610967565b6001600160a01b03166104a161079c565b6001600160a01b0316146104c75760405162461bcd60e51b815260040161038c90610ffa565b60058054911515600160a01b0260ff60a01b19909216919091179055565b60006006816104f762278d00426111d3565b81526020810191909152604001600020546001600160a01b03161461052e5760405162461bcd60e51b815260040161038c9061104f565b686c6b935b8bbd4000008111156105575760405162461bcd60e51b815260040161038c9061102f565b683635c9adc5dea000008110156105805760405162461bcd60e51b815260040161038c9061114d565b600554600160a01b900460ff16806105a757503361059c61079c565b6001600160a01b0316145b6105c35760405162461bcd60e51b815260040161038c90610f7b565b33600660006105d562278d00426111d3565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b0392909216919091179055600554600160a01b900460ff16156106505761063861062061079c565b61063368056bc75e2d6310000084611212565b610b47565b61064b3368056bc75e2d63100000610b47565b610661565b61066161065b61079c565b82610b47565b50565b601290565b600554600160a01b900460ff1690565b6000610347610686610967565b848460016000610694610967565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461047891906111bb565b60006106d762278d00426111d3565b6106e29060016111bb565b6106ef9062278d006111f3565b905090565b6001600160a01b0381166000908152602081905260409020545b919050565b61071b610967565b6001600160a01b031661072c61079c565b6001600160a01b0316146107525760405162461bcd60e51b815260040161038c90610ffa565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031690565b6060600480546102b090611229565b600080600160006107c9610967565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108155760405162461bcd60e51b815260040161038c90611108565b61082b610820610967565b856104788685611212565b5060019392505050565b6000610347610842610967565b8484610a1f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600060068161088662278d00856111d3565b81526020810191909152604001600020546001600160a01b031692915050565b6108ae610967565b6001600160a01b03166108bf61079c565b6001600160a01b0316146108e55760405162461bcd60e51b815260040161038c90610ffa565b6001600160a01b03811661090b5760405162461bcd60e51b815260040161038c90610e89565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0383166109915760405162461bcd60e51b815260040161038c906110c4565b6001600160a01b0382166109b75760405162461bcd60e51b815260040161038c90610ecf565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610a129085906111a4565b60405180910390a3505050565b6001600160a01b038316610a455760405162461bcd60e51b815260040161038c9061107f565b6001600160a01b038216610a6b5760405162461bcd60e51b815260040161038c90610e46565b610a768383836103ec565b6001600160a01b03831660009081526020819052604090205481811015610aaf5760405162461bcd60e51b815260040161038c90610f35565b610ab98282611212565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610aef9084906111bb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b3991906111a4565b60405180910390a350505050565b6001600160a01b038216610b6d5760405162461bcd60e51b815260040161038c9061116d565b610b79600083836103ec565b8060026000828254610b8b91906111bb565b90915550506001600160a01b03821660009081526020819052604081208054839290610bb89084906111bb565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bfb9085906111a4565b60405180910390a35050565b80356001600160a01b038116811461070e57600080fd5b600060208284031215610c2f578081fd5b610c3882610c07565b9392505050565b60008060408385031215610c51578081fd5b610c5a83610c07565b9150610c6860208401610c07565b90509250929050565b600080600060608486031215610c85578081fd5b610c8e84610c07565b9250610c9c60208501610c07565b9150604084013590509250925092565b60008060408385031215610cbe578182fd5b610cc783610c07565b946020939093013593505050565b60008060408385031215610ce7578182fd5b823567ffffffffffffffff80821115610cfe578384fd5b818501915085601f830112610d11578384fd5b8135602082821115610d2557610d25611295565b80820260405182828201018181108682111715610d4457610d44611295565b604052838152828101945085830182870184018b1015610d62578889fd5b8896505b84871015610d8b57610d7781610c07565b865260019690960195948301948301610d66565b509997909101359750505050505050565b600060208284031215610dad578081fd5b81358015158114610c38578182fd5b600060208284031215610dcd578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610e1f57858101830151858201604001528201610e03565b81811115610e305783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252600a90820152690dcdee840cadcdeeaced60b31b604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526017908201527f5075626c6963206d696e74696e672064697361626c6564000000000000000000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600690820152654d617820326b60d01b604082015260600190565b602080825260169082015275546f6f20736f6f6e2c2077616974203330206461797360501b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252600690820152654d696e20316b60d01b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b600082198211156111ce576111ce61127f565b500190565b6000826111ee57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561120d5761120d61127f565b500290565b6000828210156112245761122461127f565b500390565b60028104600182168061123d57607f821691505b6020821081141561125e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156112785761127861127f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212204ced006b01a189ed966c8c42e6c3638d9f7ab0f3c22a44c1fa39fa52e79362a964736f6c63430008000033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000000000000000000000114961696e202874302e6961696e2e696e2900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046961696e00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80636bc7be78116100ad578063a457c2d711610071578063a457c2d714610242578063a9059cbb14610255578063dd62ed3e14610268578063e5b955951461027b578063f2fde38b1461028e5761012c565b80636bc7be781461020257806370a082311461020a578063715018a61461021d5780638da5cb5b1461022557806395d89b411461023a5761012c565b8063254a4737116100f4578063254a4737146101ac5780632ba84d45146101bf578063313ce567146101d257806337298f71146101e757806339509351146101ef5761012c565b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461016f5780631826c1191461018457806323b872dd14610199575b600080fd5b6101396102a1565b6040516101469190610df3565b60405180910390f35b61016261015d366004610cac565b610333565b6040516101469190610de8565b610177610350565b60405161014691906111a4565b610197610192366004610cd5565b610356565b005b6101626101a7366004610c71565b6103f1565b6101976101ba366004610d9c565b610488565b6101976101cd366004610dbc565b6104e5565b6101da610664565b60405161014691906111ad565b610162610669565b6101626101fd366004610cac565b610679565b6101776106c8565b610177610218366004610c1e565b6106f4565b610197610713565b61022d61079c565b6040516101469190610dd4565b6101396107ab565b610162610250366004610cac565b6107ba565b610162610263366004610cac565b610835565b610177610276366004610c3f565b610849565b61022d610289366004610dbc565b610874565b61019761029c366004610c1e565b6108a6565b6060600380546102b090611229565b80601f01602080910402602001604051908101604052809291908181526020018280546102dc90611229565b80156103295780601f106102fe57610100808354040283529160200191610329565b820191906000526020600020905b81548152906001019060200180831161030c57829003601f168201915b5050505050905090565b6000610347610340610967565b848461096b565b50600192915050565b60025490565b610361610218610967565b81835161036e91906111f3565b11156103955760405162461bcd60e51b815260040161038c90610f11565b60405180910390fd5b60005b82518110156103ec576103da6103ac610967565b8483815181106103cc57634e487b7160e01b600052603260045260246000fd5b602002602001015184610a1f565b806103e481611264565b915050610398565b505050565b60006103fe848484610a1f565b6001600160a01b03841660009081526001602052604081208161041f610967565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156104625760405162461bcd60e51b815260040161038c90610fb2565b61047d8561046e610967565b6104788685611212565b61096b565b506001949350505050565b610490610967565b6001600160a01b03166104a161079c565b6001600160a01b0316146104c75760405162461bcd60e51b815260040161038c90610ffa565b60058054911515600160a01b0260ff60a01b19909216919091179055565b60006006816104f762278d00426111d3565b81526020810191909152604001600020546001600160a01b03161461052e5760405162461bcd60e51b815260040161038c9061104f565b686c6b935b8bbd4000008111156105575760405162461bcd60e51b815260040161038c9061102f565b683635c9adc5dea000008110156105805760405162461bcd60e51b815260040161038c9061114d565b600554600160a01b900460ff16806105a757503361059c61079c565b6001600160a01b0316145b6105c35760405162461bcd60e51b815260040161038c90610f7b565b33600660006105d562278d00426111d3565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b0392909216919091179055600554600160a01b900460ff16156106505761063861062061079c565b61063368056bc75e2d6310000084611212565b610b47565b61064b3368056bc75e2d63100000610b47565b610661565b61066161065b61079c565b82610b47565b50565b601290565b600554600160a01b900460ff1690565b6000610347610686610967565b848460016000610694610967565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461047891906111bb565b60006106d762278d00426111d3565b6106e29060016111bb565b6106ef9062278d006111f3565b905090565b6001600160a01b0381166000908152602081905260409020545b919050565b61071b610967565b6001600160a01b031661072c61079c565b6001600160a01b0316146107525760405162461bcd60e51b815260040161038c90610ffa565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031690565b6060600480546102b090611229565b600080600160006107c9610967565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108155760405162461bcd60e51b815260040161038c90611108565b61082b610820610967565b856104788685611212565b5060019392505050565b6000610347610842610967565b8484610a1f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600060068161088662278d00856111d3565b81526020810191909152604001600020546001600160a01b031692915050565b6108ae610967565b6001600160a01b03166108bf61079c565b6001600160a01b0316146108e55760405162461bcd60e51b815260040161038c90610ffa565b6001600160a01b03811661090b5760405162461bcd60e51b815260040161038c90610e89565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0383166109915760405162461bcd60e51b815260040161038c906110c4565b6001600160a01b0382166109b75760405162461bcd60e51b815260040161038c90610ecf565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610a129085906111a4565b60405180910390a3505050565b6001600160a01b038316610a455760405162461bcd60e51b815260040161038c9061107f565b6001600160a01b038216610a6b5760405162461bcd60e51b815260040161038c90610e46565b610a768383836103ec565b6001600160a01b03831660009081526020819052604090205481811015610aaf5760405162461bcd60e51b815260040161038c90610f35565b610ab98282611212565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610aef9084906111bb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b3991906111a4565b60405180910390a350505050565b6001600160a01b038216610b6d5760405162461bcd60e51b815260040161038c9061116d565b610b79600083836103ec565b8060026000828254610b8b91906111bb565b90915550506001600160a01b03821660009081526020819052604081208054839290610bb89084906111bb565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bfb9085906111a4565b60405180910390a35050565b80356001600160a01b038116811461070e57600080fd5b600060208284031215610c2f578081fd5b610c3882610c07565b9392505050565b60008060408385031215610c51578081fd5b610c5a83610c07565b9150610c6860208401610c07565b90509250929050565b600080600060608486031215610c85578081fd5b610c8e84610c07565b9250610c9c60208501610c07565b9150604084013590509250925092565b60008060408385031215610cbe578182fd5b610cc783610c07565b946020939093013593505050565b60008060408385031215610ce7578182fd5b823567ffffffffffffffff80821115610cfe578384fd5b818501915085601f830112610d11578384fd5b8135602082821115610d2557610d25611295565b80820260405182828201018181108682111715610d4457610d44611295565b604052838152828101945085830182870184018b1015610d62578889fd5b8896505b84871015610d8b57610d7781610c07565b865260019690960195948301948301610d66565b509997909101359750505050505050565b600060208284031215610dad578081fd5b81358015158114610c38578182fd5b600060208284031215610dcd578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610e1f57858101830151858201604001528201610e03565b81811115610e305783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252600a90820152690dcdee840cadcdeeaced60b31b604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526017908201527f5075626c6963206d696e74696e672064697361626c6564000000000000000000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600690820152654d617820326b60d01b604082015260600190565b602080825260169082015275546f6f20736f6f6e2c2077616974203330206461797360501b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252600690820152654d696e20316b60d01b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b600082198211156111ce576111ce61127f565b500190565b6000826111ee57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561120d5761120d61127f565b500290565b6000828210156112245761122461127f565b500390565b60028104600182168061123d57607f821691505b6020821081141561125e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156112785761127861127f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212204ced006b01a189ed966c8c42e6c3638d9f7ab0f3c22a44c1fa39fa52e79362a964736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000000000000000000000114961696e202874302e6961696e2e696e2900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046961696e00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Iain (t0.iain.in)
Arg [1] : _symbol (string): iain
Arg [2] : initialSupply (uint256): 1000000000000000000000000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [4] : 4961696e202874302e6961696e2e696e29000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 6961696e00000000000000000000000000000000000000000000000000000000
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.