Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
9,051,737,021.721049794912729008 FOA
Holders
163
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
440,586.394704038185462955 FOAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MkToken
Compiler Version
v0.8.2+commit.661d1103
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.2; import "IERC20.sol"; import "ERC20.sol"; import "IERC721.sol"; /* * ,_, * (',') * {/"\} * -"-"- */ contract MkToken is ERC20("Fragments of the Abyss", "FOA") { uint256 constant public BASE_RATE = 6_849315068_000000000 ; uint256 constant public START = 1640199600; uint256 constant public END = 1955491200; mapping(address => uint256) public rewards; mapping(address => uint256) public lastUpdate; IERC721 public mkContracts; event RewardPaid(address indexed user, uint256 reward); constructor(address _mk, address _receiver) public{ mkContracts = IERC721(_mk); _mint(_receiver, 9_000_000_000 ether); } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } // called on transfers function updateReward(address _from, address _to, uint256 _tokenId) external { require(msg.sender == address(mkContracts)); uint256 time = min(block.timestamp, END); uint256 timerFrom = lastUpdate[_from]; if (timerFrom > 0) rewards[_from] += mkContracts.balanceOf(_from) * BASE_RATE * (time - timerFrom) / 86400; else { uint256 balanceFrom = mkContracts.balanceOf(_from); if (balanceFrom != 0) rewards[_from] += balanceFrom * BASE_RATE * (time - START) / 86400; } if (timerFrom != END) lastUpdate[_from] = time; if (_to != address(0)) { uint256 timerTo = lastUpdate[_to]; if (timerTo > 0) rewards[_to] += mkContracts.balanceOf(_to) * BASE_RATE * (time - timerTo) / 86400; else { uint256 balanceTo = mkContracts.balanceOf(_to); if (balanceTo != 0) rewards[_to] += balanceTo * BASE_RATE * (time - START) / 86400; } if (timerTo != END) lastUpdate[_to] = time; } } function getReward(address _to) external { require(msg.sender == address(mkContracts)); uint256 reward = rewards[_to]; if (reward > 0) { rewards[_to] = 0; _mint(_to, reward); emit RewardPaid(_to, reward); } } function burn(uint256 _amount) external { _burn(msg.sender, _amount); } function burnFor(address _user, uint256 _amount) external { uint256 currentAllowance = allowance(_user, msg.sender); _approve(_user, msg.sender, currentAllowance - _amount); _burn(_user, _amount); } function getTotalClaimable(address _user) external view returns(uint256) { uint256 time = min(block.timestamp, END); uint256 pending = mkContracts.balanceOf(_user) * BASE_RATE * (time - lastUpdate[_user]) / 86400; return rewards[_user] + pending; } }
// 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; import "IERC20.sol"; import "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; /* * @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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_mk","type":"address"},{"internalType":"address","name":"_receiver","type":"address"}],"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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","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":[],"name":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnFor","outputs":[],"stateMutability":"nonpayable","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":"_to","type":"address"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getTotalClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"lastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mkContracts","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"updateReward","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620016dd380380620016dd83398101604081905262000034916200029d565b6040518060400160405280601681526020017f467261676d656e7473206f66207468652041627973730000000000000000000081525060405180604001604052806003815260200162464f4160e81b81525081600390805190602001906200009e929190620001da565b508051620000b4906004906020840190620001da565b5050600780546001600160a01b0319166001600160a01b03851617905550620000ea816b1d14a0219e54822428000000620000f2565b505062000336565b6001600160a01b0382166200014d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001619190620002d4565b90915550506001600160a01b0382166000908152602081905260408120805483929062000190908490620002d4565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001e890620002f9565b90600052602060002090601f0160209004810192826200020c576000855562000257565b82601f106200022757805160ff191683800117855562000257565b8280016001018555821562000257579182015b82811115620002575782518255916020019190600101906200023a565b506200026592915062000269565b5090565b5b808211156200026557600081556001016200026a565b80516001600160a01b03811681146200029857600080fd5b919050565b60008060408385031215620002b0578182fd5b620002bb8362000280565b9150620002cb6020840162000280565b90509250929050565b60008219821115620002f457634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200030e57607f821691505b602082108114156200033057634e487b7160e01b600052602260045260246000fd5b50919050565b61139780620003466000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806342966c68116100b8578063a9059cbb1161007c578063a9059cbb146102bf578063ba9a061a146102d2578063c00007b0146102dd578063cb03fb1e146102f0578063dd62ed3e14610310578063efe7a5041461034957610142565b806342966c681461023d57806370a08231146102505780638335fa151461027957806395d89b41146102a4578063a457c2d7146102ac57610142565b806323b872dd1161010a57806323b872dd146101d3578063267e8ab6146101e65780632c8e8dfa146101f9578063313ce5671461020c578063395093511461021b57806341910f901461022e57610142565b806306fdde03146101475780630700037d14610165578063095ea7b31461019357806318160ddd146101b65780631dd319cb146101be575b600080fd5b61014f610354565b60405161015c919061124f565b60405180910390f35b61018561017336600461116f565b60056020526000908152604090205481565b60405190815260200161015c565b6101a66101a13660046111f6565b6103e6565b604051901515815260200161015c565b600254610185565b6101d16101cc3660046111f6565b6103fc565b005b6101a66101e13660046111bb565b610445565b6101856101f436600461116f565b6104f6565b6101d16102073660046111bb565b610607565b6040516012815260200161015c565b6101a66102293660046111f6565b610a79565b610185675f0da7c3deded80081565b6101d161024b36600461121f565b610ab0565b61018561025e36600461116f565b6001600160a01b031660009081526020819052604090205490565b60075461028c906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b61014f610abd565b6101a66102ba3660046111f6565b610acc565b6101a66102cd3660046111f6565b610b67565b6101856361c375b081565b6101d16102eb36600461116f565b610b74565b6101856102fe36600461116f565b60066020526000908152604090205481565b61018561031e366004611189565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61018563748e6d8081565b60606003805461036390611310565b80601f016020809104026020016040519081016040528092919081815260200182805461038f90611310565b80156103dc5780601f106103b1576101008083540402835291602001916103dc565b820191906000526020600020905b8154815290600101906020018083116103bf57829003601f168201915b5050505050905090565b60006103f3338484610c15565b50600192915050565b6001600160a01b03821660009081526001602090815260408083203384529091528120549050610436833361043185856112f9565b610c15565b6104408383610d3a565b505050565b6000610452848484610e89565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104dc5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104eb853361043186856112f9565b506001949350505050565b6000806105074263748e6d80611061565b6001600160a01b03841660009081526006602052604081205491925090620151809061053390846112f9565b6007546040516370a0823160e01b81526001600160a01b038881166004830152675f0da7c3deded8009216906370a082319060240160206040518083038186803b15801561058057600080fd5b505afa158015610594573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b89190611237565b6105c291906112da565b6105cc91906112da565b6105d691906112ba565b6001600160a01b0385166000908152600560205260409020549091506105fd9082906112a2565b925050505b919050565b6007546001600160a01b0316331461061e57600080fd5b600061062e4263748e6d80611061565b6001600160a01b0385166000908152600660205260409020549091508015610734576201518061065e82846112f9565b6007546040516370a0823160e01b81526001600160a01b038981166004830152675f0da7c3deded8009216906370a082319060240160206040518083038186803b1580156106ab57600080fd5b505afa1580156106bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e39190611237565b6106ed91906112da565b6106f791906112da565b61070191906112ba565b6001600160a01b038616600090815260056020526040812080549091906107299084906112a2565b909155506108229050565b6007546040516370a0823160e01b81526001600160a01b03878116600483015260009216906370a082319060240160206040518083038186803b15801561077a57600080fd5b505afa15801561078e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b29190611237565b9050801561082057620151806107cc6361c375b0856112f9565b6107de675f0da7c3deded800846112da565b6107e891906112da565b6107f291906112ba565b6001600160a01b0387166000908152600560205260408120805490919061081a9084906112a2565b90915550505b505b63748e6d808114610849576001600160a01b03851660009081526006602052604090208290555b6001600160a01b03841615610a72576001600160a01b038416600090815260066020526040902054801561095b576201518061088582856112f9565b6007546040516370a0823160e01b81526001600160a01b038981166004830152675f0da7c3deded8009216906370a082319060240160206040518083038186803b1580156108d257600080fd5b505afa1580156108e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090a9190611237565b61091491906112da565b61091e91906112da565b61092891906112ba565b6001600160a01b038616600090815260056020526040812080549091906109509084906112a2565b90915550610a499050565b6007546040516370a0823160e01b81526001600160a01b03878116600483015260009216906370a082319060240160206040518083038186803b1580156109a157600080fd5b505afa1580156109b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d99190611237565b90508015610a4757620151806109f36361c375b0866112f9565b610a05675f0da7c3deded800846112da565b610a0f91906112da565b610a1991906112ba565b6001600160a01b03871660009081526005602052604081208054909190610a419084906112a2565b90915550505b505b63748e6d808114610a70576001600160a01b03851660009081526006602052604090208390555b505b5050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103f39185906104319086906112a2565b610aba3382610d3a565b50565b60606004805461036390611310565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b4e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104d3565b610b5d338561043186856112f9565b5060019392505050565b60006103f3338484610e89565b6007546001600160a01b03163314610b8b57600080fd5b6001600160a01b0381166000908152600560205260409020548015610c11576001600160a01b038216600090815260056020526040812055610bcd8282611079565b816001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610c0891815260200190565b60405180910390a25b5050565b6001600160a01b038316610c775760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104d3565b6001600160a01b038216610cd85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104d3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610d9a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104d3565b6001600160a01b03821660009081526020819052604090205481811015610e0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104d3565b610e1882826112f9565b6001600160a01b03841660009081526020819052604081209190915560028054849290610e469084906112f9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610d2d565b6001600160a01b038316610eed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104d3565b6001600160a01b038216610f4f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104d3565b6001600160a01b03831660009081526020819052604090205481811015610fc75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104d3565b610fd182826112f9565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906110079084906112a2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161105391815260200190565b60405180910390a350505050565b60008183106110705781611072565b825b9392505050565b6001600160a01b0382166110cf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d3565b80600260008282546110e191906112a2565b90915550506001600160a01b0382166000908152602081905260408120805483929061110e9084906112a2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461060257600080fd5b600060208284031215611180578081fd5b61107282611158565b6000806040838503121561119b578081fd5b6111a483611158565b91506111b260208401611158565b90509250929050565b6000806000606084860312156111cf578081fd5b6111d884611158565b92506111e660208501611158565b9150604084013590509250925092565b60008060408385031215611208578182fd5b61121183611158565b946020939093013593505050565b600060208284031215611230578081fd5b5035919050565b600060208284031215611248578081fd5b5051919050565b6000602080835283518082850152825b8181101561127b5785810183015185820160400152820161125f565b8181111561128c5783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156112b5576112b561134b565b500190565b6000826112d557634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156112f4576112f461134b565b500290565b60008282101561130b5761130b61134b565b500390565b60028104600182168061132457607f821691505b6020821081141561134557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220f0a933f038095ce0cac00272672aaccae3fd6f71e7eb5ccd4efc1d3ff721d2ac64736f6c634300080200330000000000000000000000008009250878ed378050ef5d2a48c70e24eb2ede7e00000000000000000000000083d82244da1c86958b551c9f51812e20f1c14b26
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806342966c68116100b8578063a9059cbb1161007c578063a9059cbb146102bf578063ba9a061a146102d2578063c00007b0146102dd578063cb03fb1e146102f0578063dd62ed3e14610310578063efe7a5041461034957610142565b806342966c681461023d57806370a08231146102505780638335fa151461027957806395d89b41146102a4578063a457c2d7146102ac57610142565b806323b872dd1161010a57806323b872dd146101d3578063267e8ab6146101e65780632c8e8dfa146101f9578063313ce5671461020c578063395093511461021b57806341910f901461022e57610142565b806306fdde03146101475780630700037d14610165578063095ea7b31461019357806318160ddd146101b65780631dd319cb146101be575b600080fd5b61014f610354565b60405161015c919061124f565b60405180910390f35b61018561017336600461116f565b60056020526000908152604090205481565b60405190815260200161015c565b6101a66101a13660046111f6565b6103e6565b604051901515815260200161015c565b600254610185565b6101d16101cc3660046111f6565b6103fc565b005b6101a66101e13660046111bb565b610445565b6101856101f436600461116f565b6104f6565b6101d16102073660046111bb565b610607565b6040516012815260200161015c565b6101a66102293660046111f6565b610a79565b610185675f0da7c3deded80081565b6101d161024b36600461121f565b610ab0565b61018561025e36600461116f565b6001600160a01b031660009081526020819052604090205490565b60075461028c906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b61014f610abd565b6101a66102ba3660046111f6565b610acc565b6101a66102cd3660046111f6565b610b67565b6101856361c375b081565b6101d16102eb36600461116f565b610b74565b6101856102fe36600461116f565b60066020526000908152604090205481565b61018561031e366004611189565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61018563748e6d8081565b60606003805461036390611310565b80601f016020809104026020016040519081016040528092919081815260200182805461038f90611310565b80156103dc5780601f106103b1576101008083540402835291602001916103dc565b820191906000526020600020905b8154815290600101906020018083116103bf57829003601f168201915b5050505050905090565b60006103f3338484610c15565b50600192915050565b6001600160a01b03821660009081526001602090815260408083203384529091528120549050610436833361043185856112f9565b610c15565b6104408383610d3a565b505050565b6000610452848484610e89565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104dc5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104eb853361043186856112f9565b506001949350505050565b6000806105074263748e6d80611061565b6001600160a01b03841660009081526006602052604081205491925090620151809061053390846112f9565b6007546040516370a0823160e01b81526001600160a01b038881166004830152675f0da7c3deded8009216906370a082319060240160206040518083038186803b15801561058057600080fd5b505afa158015610594573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b89190611237565b6105c291906112da565b6105cc91906112da565b6105d691906112ba565b6001600160a01b0385166000908152600560205260409020549091506105fd9082906112a2565b925050505b919050565b6007546001600160a01b0316331461061e57600080fd5b600061062e4263748e6d80611061565b6001600160a01b0385166000908152600660205260409020549091508015610734576201518061065e82846112f9565b6007546040516370a0823160e01b81526001600160a01b038981166004830152675f0da7c3deded8009216906370a082319060240160206040518083038186803b1580156106ab57600080fd5b505afa1580156106bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e39190611237565b6106ed91906112da565b6106f791906112da565b61070191906112ba565b6001600160a01b038616600090815260056020526040812080549091906107299084906112a2565b909155506108229050565b6007546040516370a0823160e01b81526001600160a01b03878116600483015260009216906370a082319060240160206040518083038186803b15801561077a57600080fd5b505afa15801561078e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b29190611237565b9050801561082057620151806107cc6361c375b0856112f9565b6107de675f0da7c3deded800846112da565b6107e891906112da565b6107f291906112ba565b6001600160a01b0387166000908152600560205260408120805490919061081a9084906112a2565b90915550505b505b63748e6d808114610849576001600160a01b03851660009081526006602052604090208290555b6001600160a01b03841615610a72576001600160a01b038416600090815260066020526040902054801561095b576201518061088582856112f9565b6007546040516370a0823160e01b81526001600160a01b038981166004830152675f0da7c3deded8009216906370a082319060240160206040518083038186803b1580156108d257600080fd5b505afa1580156108e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090a9190611237565b61091491906112da565b61091e91906112da565b61092891906112ba565b6001600160a01b038616600090815260056020526040812080549091906109509084906112a2565b90915550610a499050565b6007546040516370a0823160e01b81526001600160a01b03878116600483015260009216906370a082319060240160206040518083038186803b1580156109a157600080fd5b505afa1580156109b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d99190611237565b90508015610a4757620151806109f36361c375b0866112f9565b610a05675f0da7c3deded800846112da565b610a0f91906112da565b610a1991906112ba565b6001600160a01b03871660009081526005602052604081208054909190610a419084906112a2565b90915550505b505b63748e6d808114610a70576001600160a01b03851660009081526006602052604090208390555b505b5050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103f39185906104319086906112a2565b610aba3382610d3a565b50565b60606004805461036390611310565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b4e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104d3565b610b5d338561043186856112f9565b5060019392505050565b60006103f3338484610e89565b6007546001600160a01b03163314610b8b57600080fd5b6001600160a01b0381166000908152600560205260409020548015610c11576001600160a01b038216600090815260056020526040812055610bcd8282611079565b816001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610c0891815260200190565b60405180910390a25b5050565b6001600160a01b038316610c775760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104d3565b6001600160a01b038216610cd85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104d3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610d9a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104d3565b6001600160a01b03821660009081526020819052604090205481811015610e0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104d3565b610e1882826112f9565b6001600160a01b03841660009081526020819052604081209190915560028054849290610e469084906112f9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610d2d565b6001600160a01b038316610eed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104d3565b6001600160a01b038216610f4f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104d3565b6001600160a01b03831660009081526020819052604090205481811015610fc75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104d3565b610fd182826112f9565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906110079084906112a2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161105391815260200190565b60405180910390a350505050565b60008183106110705781611072565b825b9392505050565b6001600160a01b0382166110cf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d3565b80600260008282546110e191906112a2565b90915550506001600160a01b0382166000908152602081905260408120805483929061110e9084906112a2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461060257600080fd5b600060208284031215611180578081fd5b61107282611158565b6000806040838503121561119b578081fd5b6111a483611158565b91506111b260208401611158565b90509250929050565b6000806000606084860312156111cf578081fd5b6111d884611158565b92506111e660208501611158565b9150604084013590509250925092565b60008060408385031215611208578182fd5b61121183611158565b946020939093013593505050565b600060208284031215611230578081fd5b5035919050565b600060208284031215611248578081fd5b5051919050565b6000602080835283518082850152825b8181101561127b5785810183015185820160400152820161125f565b8181111561128c5783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156112b5576112b561134b565b500190565b6000826112d557634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156112f4576112f461134b565b500290565b60008282101561130b5761130b61134b565b500390565b60028104600182168061132457607f821691505b6020821081141561134557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220f0a933f038095ce0cac00272672aaccae3fd6f71e7eb5ccd4efc1d3ff721d2ac64736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008009250878ed378050ef5d2a48c70e24eb2ede7e00000000000000000000000083d82244da1c86958b551c9f51812e20f1c14b26
-----Decoded View---------------
Arg [0] : _mk (address): 0x8009250878eD378050eF5D2a48c70E24EB2edE7E
Arg [1] : _receiver (address): 0x83D82244da1C86958B551C9F51812e20f1C14B26
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008009250878ed378050ef5d2a48c70e24eb2ede7e
Arg [1] : 00000000000000000000000083d82244da1c86958b551c9f51812e20f1c14b26
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.