ERC-20
Overview
Max Total Supply
3,596 F1DT.RCK
Holders
265
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 F1DT.RCKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x7e439A01...Bea3a215b The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
F1DTCrateKey
Compiler Version
v0.6.8+commit.0bbfe453
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-04 */ // File @openzeppelin/contracts/GSN/[email protected] // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File @openzeppelin/contracts/introspection/[email protected] pragma solidity ^0.6.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); } // File @openzeppelin/contracts/introspection/[email protected] pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File @openzeppelin/contracts/math/[email protected] pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @animoca/ethereum-contracts-erc20_base/contracts/token/ERC20/[email protected] /* https://github.com/OpenZeppelin/openzeppelin-contracts The MIT License (MIT) Copyright (c) 2016-2019 zOS Global Limited Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ pragma solidity 0.6.8; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer( address indexed _from, address indexed _to, uint256 _value ); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed _owner, address indexed _spender, uint256 _value ); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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); } // File @animoca/ethereum-contracts-erc20_base/contracts/token/ERC20/[email protected] /* https://github.com/OpenZeppelin/openzeppelin-contracts The MIT License (MIT) Copyright (c) 2016-2019 zOS Global Limited Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ pragma solidity 0.6.8; /** * @dev Interface for commonly used additional ERC20 interfaces */ interface IERC20Detailed { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() external view returns (string memory); /** * @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. * * 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() external view returns (uint8); } // File @animoca/ethereum-contracts-erc20_base/contracts/token/ERC20/[email protected] pragma solidity 0.6.8; /** * @dev Interface for additional ERC20 allowance features */ interface IERC20Allowance { /** * @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) external returns (bool); /** * @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) external returns (bool); } // File @animoca/ethereum-contracts-erc20_base/contracts/token/ERC20/[email protected] /* https://github.com/OpenZeppelin/openzeppelin-contracts The MIT License (MIT) Copyright (c) 2016-2019 zOS Global Limited Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ pragma solidity 0.6.8; /** * @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 {ERC20MinterPauser}. * * 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}. */ abstract contract ERC20 is ERC165, Context, IERC20, IERC20Detailed, IERC20Allowance { using SafeMath for uint256; using Address for address; mapping (address => uint256) internal _balances; mapping (address => mapping (address => uint256)) internal _allowances; uint256 internal _totalSupply; constructor() internal { _registerInterface(type(IERC20).interfaceId); _registerInterface(type(IERC20Detailed).interfaceId); _registerInterface(type(IERC20Allowance).interfaceId); // ERC20Name interfaceId: bytes4(keccak256("name()")) _registerInterface(0x06fdde03); // ERC20Symbol interfaceId: bytes4(keccak256("symbol()")) _registerInterface(0x95d89b41); // ERC20Decimals interfaceId: bytes4(keccak256("decimals()")) _registerInterface(0x313ce567); } /////////////////////////////////////////// ERC20 /////////////////////////////////////// /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /////////////////////////////////////////// ERC20Allowance /////////////////////////////////////// /** * @dev See {IERC20Allowance-increaseAllowance}. */ function increaseAllowance( address spender, uint256 addedValue ) public virtual override returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev See {IERC20Allowance-decreaseAllowance}. */ function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual override returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /////////////////////////////////////////// Internal Functions /////////////////////////////////////// /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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); } /////////////////////////////////////////// Hooks /////////////////////////////////////// /** * @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. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ 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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view 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; } } // File @animoca/f1dt-ethereum-contracts/contracts/token/ERC20/[email protected] pragma solidity 0.6.8; /** * @title F1DTCrateKey * A token contract for Crate Keys * @dev F1DT.CCK for Common crate. * @dev F1DT.RCK for Rare crate. * @dev F1DT.ECK for Epic crate. * @dev F1DT.LCK for Legendary crate. */ contract F1DTCrateKey is ERC20, Ownable { // solhint-disable-next-line const-name-snakecase string public override symbol; // solhint-disable-next-line const-name-snakecase string public override name; // solhint-disable-next-line const-name-snakecase uint8 public constant override decimals = 18; address public holder; string public tokenURI; /** * Constructor. * @dev Reverts if `symbol_` is not valid * @dev Reverts if `name_` is not valid * @dev Reverts if `tokenURI_` is not valid * @dev Reverts if `holder_` is an invalid address * @dev Reverts if `totalSupply_` is equal to zero * @param symbol_ Symbol of the token. * @param name_ Name of the token. * @param holder_ Holder account of the token initial supply. * @param totalSupply_ Total supply amount */ constructor ( string memory symbol_, string memory name_, string memory tokenURI_, address holder_, uint256 totalSupply_) public { require(bytes(symbol_).length != 0, "F1DTCrateKey: invalid symbol"); require(bytes(name_).length != 0, "F1DTCrateKey: invalid name"); require(bytes(tokenURI_).length != 0, "F1DTCrateKey: invalid tokeURI"); require(holder_ != address(0), "F1DTCrateKey: invalid holder"); require(totalSupply_ != 0, "F1DTCrateKey: invalid initial supply"); symbol = symbol_; name = name_; holder = holder_; tokenURI = tokenURI_; _mint(holder, totalSupply_); } /** * Destroys `amount` tokens. * @dev Reverts if called by any other than the contract owner. * @dev Reverts is `amount` is invalid * @param amount_ Amount of token to burn */ function burn(uint256 amount_) external onlyOwner { require(amount_ != 0, "F1DTCrateKey: invalid amount"); _burn(_msgSender(), amount_); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"tokenURI_","type":"string"},{"internalType":"address","name":"holder_","type":"address"},{"internalType":"uint256","name":"totalSupply_","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":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"burn","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":[],"name":"holder","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURI","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620018ee380380620018ee833981810160405260a08110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001bc57600080fd5b908301906020820185811115620001d257600080fd5b8251640100000000811182820188101715620001ed57600080fd5b82525081516020918201929091019080838360005b838110156200021c57818101518382015260200162000202565b50505050905090810190601f1680156200024a5780820380516001836020036101000a031916815260200191505b50604090815260208201519101519092509050620002786301ffc9a760e01b6001600160e01b036200059c16565b620002936336372b0760e01b6001600160e01b036200059c16565b620002ae63a219a02560e01b6001600160e01b036200059c16565b620002c9634e83a8c360e11b6001600160e01b036200059c16565b620002e46306fdde0360e01b6001600160e01b036200059c16565b620002ff6395d89b4160e01b6001600160e01b036200059c16565b6200031a63313ce56760e01b6001600160e01b036200059c16565b60006200032f6001600160e01b036200062116565b600480546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508451620003d1576040805162461bcd60e51b815260206004820152601c60248201527f4631445443726174654b65793a20696e76616c69642073796d626f6c00000000604482015290519081900360640190fd5b835162000425576040805162461bcd60e51b815260206004820152601a60248201527f4631445443726174654b65793a20696e76616c6964206e616d65000000000000604482015290519081900360640190fd5b825162000479576040805162461bcd60e51b815260206004820152601d60248201527f4631445443726174654b65793a20696e76616c696420746f6b65555249000000604482015290519081900360640190fd5b6001600160a01b038216620004d5576040805162461bcd60e51b815260206004820152601c60248201527f4631445443726174654b65793a20696e76616c696420686f6c64657200000000604482015290519081900360640190fd5b80620005135760405162461bcd60e51b8152600401808060200182810382526024815260200180620018ca6024913960400191505060405180910390fd5b845162000528906005906020880190620007a9565b5083516200053e906006906020870190620007a9565b50600780546001600160a01b0319166001600160a01b03841617905582516200056f906008906020860190620007a9565b5060075462000591906001600160a01b0316826001600160e01b036200062616565b50505050506200084b565b6001600160e01b03198082161415620005fc576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b335b90565b6001600160a01b03821662000682576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b62000699600083836001600160e01b036200074216565b620006b5816003546200074760201b62000a2f1790919060201c565b6003556001600160a01b038216600090815260016020908152604090912054620006ea91839062000a2f62000747821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b600082820183811015620007a2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620007ec57805160ff19168380011785556200081c565b828001600101855582156200081c579182015b828111156200081c578251825591602001919060010190620007ff565b506200082a9291506200082e565b5090565b6200062391905b808211156200082a576000815560010162000835565b61106f806200085b6000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806370a08231116100b2578063a457c2d711610081578063dd62ed3e11610066578063dd62ed3e146103aa578063e534155d146103d8578063f2fde38b146103e057610136565b8063a457c2d714610352578063a9059cbb1461037e57610136565b806370a08231146102f8578063715018a61461031e5780638da5cb5b1461032657806395d89b411461034a57610136565b806323b872dd1161010957806339509351116100ee57806339509351146102a55780633c130d90146102d157806342966c68146102d957610136565b806323b872dd14610251578063313ce5671461028757610136565b806301ffc9a71461013b57806306fdde031461018e578063095ea7b31461020b57806318160ddd14610237575b600080fd5b61017a6004803603602081101561015157600080fd5b50357fffffffff0000000000000000000000000000000000000000000000000000000016610406565b604080519115158252519081900360200190f35b61019661043d565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d05781810151838201526020016101b8565b50505050905090810190601f1680156101fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017a6004803603604081101561022157600080fd5b506001600160a01b0381351690602001356104cb565b61023f6104e8565b60408051918252519081900360200190f35b61017a6004803603606081101561026757600080fd5b506001600160a01b038135811691602081013590911690604001356104ee565b61028f61057b565b6040805160ff9092168252519081900360200190f35b61017a600480360360408110156102bb57600080fd5b506001600160a01b038135169060200135610580565b6101966105d4565b6102f6600480360360208110156102ef57600080fd5b503561062f565b005b61023f6004803603602081101561030e57600080fd5b50356001600160a01b03166106ff565b6102f661071a565b61032e6107e6565b604080516001600160a01b039092168252519081900360200190f35b6101966107f5565b61017a6004803603604081101561036857600080fd5b506001600160a01b038135169060200135610850565b61017a6004803603604081101561039457600080fd5b506001600160a01b0381351690602001356108be565b61023f600480360360408110156103c057600080fd5b506001600160a01b03813581169160200135166108d2565b61032e6108fd565b6102f6600480360360208110156103f657600080fd5b50356001600160a01b031661090c565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104c35780601f10610498576101008083540402835291602001916104c3565b820191906000526020600020905b8154815290600101906020018083116104a657829003601f168201915b505050505081565b60006104df6104d8610a90565b8484610a94565b50600192915050565b60035490565b60006104fb848484610b80565b61057184610507610a90565b61056c85604051806060016040528060288152602001610f83602891396001600160a01b038a16600090815260026020526040812090610545610a90565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610ce916565b610a94565b5060019392505050565b601281565b60006104df61058d610a90565b8461056c856002600061059e610a90565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610a2f16565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104c35780601f10610498576101008083540402835291602001916104c3565b610637610a90565b6004546001600160a01b03908116911614610699576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b806106eb576040805162461bcd60e51b815260206004820152601c60248201527f4631445443726174654b65793a20696e76616c696420616d6f756e7400000000604482015290519081900360640190fd5b6106fc6106f6610a90565b82610d80565b50565b6001600160a01b031660009081526001602052604090205490565b610722610a90565b6004546001600160a01b03908116911614610784576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6004546001600160a01b031690565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104c35780601f10610498576101008083540402835291602001916104c3565b60006104df61085d610a90565b8461056c856040518060600160405280602581526020016110156025913960026000610887610a90565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610ce916565b60006104df6108cb610a90565b8484610b80565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6007546001600160a01b031681565b610914610a90565b6004546001600160a01b03908116911614610976576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109bb5760405162461bcd60e51b8152600401808060200182810382526026815260200180610f156026913960400191505060405180910390fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600082820183811015610a89576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610ad95760405162461bcd60e51b8152600401808060200182810382526024815260200180610ff16024913960400191505060405180910390fd5b6001600160a01b038216610b1e5760405162461bcd60e51b8152600401808060200182810382526022815260200180610f3b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bc55760405162461bcd60e51b8152600401808060200182810382526025815260200180610fcc6025913960400191505060405180910390fd5b6001600160a01b038216610c0a5760405162461bcd60e51b8152600401808060200182810382526023815260200180610ed06023913960400191505060405180910390fd5b610c15838383610e88565b610c5881604051806060016040528060268152602001610f5d602691396001600160a01b038616600090815260016020526040902054919063ffffffff610ce916565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610c8d908263ffffffff610a2f16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d785760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d3d578181015183820152602001610d25565b50505050905090810190601f168015610d6a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216610dc55760405162461bcd60e51b8152600401808060200182810382526021815260200180610fab6021913960400191505060405180910390fd5b610dd182600083610e88565b610e1481604051806060016040528060228152602001610ef3602291396001600160a01b038516600090815260016020526040902054919063ffffffff610ce916565b6001600160a01b038316600090815260016020526040902055600354610e40908263ffffffff610e8d16565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b6000610a8983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ce956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212201fa7f9fe9bd5ee8074b8f2b9ca9511837d92f37a6a840647bef47bfc0ed49ca164736f6c634300060800334631445443726174654b65793a20696e76616c696420696e697469616c20737570706c7900000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000068b2d23b0e59250af96812103c466b0ef6a33ade00000000000000000000000000000000000000000000016b352da5e0ed3000000000000000000000000000000000000000000000000000000000000000000008463144542e43434b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000204631c2ae2044656c74612054696d6520436f6d6d6f6e204372617465204b6579000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f6e66742e663164656c746174696d652e636f6d2f6a736f6e2f636f6d6d6f6e4b657900000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101365760003560e01c806370a08231116100b2578063a457c2d711610081578063dd62ed3e11610066578063dd62ed3e146103aa578063e534155d146103d8578063f2fde38b146103e057610136565b8063a457c2d714610352578063a9059cbb1461037e57610136565b806370a08231146102f8578063715018a61461031e5780638da5cb5b1461032657806395d89b411461034a57610136565b806323b872dd1161010957806339509351116100ee57806339509351146102a55780633c130d90146102d157806342966c68146102d957610136565b806323b872dd14610251578063313ce5671461028757610136565b806301ffc9a71461013b57806306fdde031461018e578063095ea7b31461020b57806318160ddd14610237575b600080fd5b61017a6004803603602081101561015157600080fd5b50357fffffffff0000000000000000000000000000000000000000000000000000000016610406565b604080519115158252519081900360200190f35b61019661043d565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d05781810151838201526020016101b8565b50505050905090810190601f1680156101fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017a6004803603604081101561022157600080fd5b506001600160a01b0381351690602001356104cb565b61023f6104e8565b60408051918252519081900360200190f35b61017a6004803603606081101561026757600080fd5b506001600160a01b038135811691602081013590911690604001356104ee565b61028f61057b565b6040805160ff9092168252519081900360200190f35b61017a600480360360408110156102bb57600080fd5b506001600160a01b038135169060200135610580565b6101966105d4565b6102f6600480360360208110156102ef57600080fd5b503561062f565b005b61023f6004803603602081101561030e57600080fd5b50356001600160a01b03166106ff565b6102f661071a565b61032e6107e6565b604080516001600160a01b039092168252519081900360200190f35b6101966107f5565b61017a6004803603604081101561036857600080fd5b506001600160a01b038135169060200135610850565b61017a6004803603604081101561039457600080fd5b506001600160a01b0381351690602001356108be565b61023f600480360360408110156103c057600080fd5b506001600160a01b03813581169160200135166108d2565b61032e6108fd565b6102f6600480360360208110156103f657600080fd5b50356001600160a01b031661090c565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104c35780601f10610498576101008083540402835291602001916104c3565b820191906000526020600020905b8154815290600101906020018083116104a657829003601f168201915b505050505081565b60006104df6104d8610a90565b8484610a94565b50600192915050565b60035490565b60006104fb848484610b80565b61057184610507610a90565b61056c85604051806060016040528060288152602001610f83602891396001600160a01b038a16600090815260026020526040812090610545610a90565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610ce916565b610a94565b5060019392505050565b601281565b60006104df61058d610a90565b8461056c856002600061059e610a90565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610a2f16565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104c35780601f10610498576101008083540402835291602001916104c3565b610637610a90565b6004546001600160a01b03908116911614610699576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b806106eb576040805162461bcd60e51b815260206004820152601c60248201527f4631445443726174654b65793a20696e76616c696420616d6f756e7400000000604482015290519081900360640190fd5b6106fc6106f6610a90565b82610d80565b50565b6001600160a01b031660009081526001602052604090205490565b610722610a90565b6004546001600160a01b03908116911614610784576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6004546001600160a01b031690565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104c35780601f10610498576101008083540402835291602001916104c3565b60006104df61085d610a90565b8461056c856040518060600160405280602581526020016110156025913960026000610887610a90565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610ce916565b60006104df6108cb610a90565b8484610b80565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6007546001600160a01b031681565b610914610a90565b6004546001600160a01b03908116911614610976576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109bb5760405162461bcd60e51b8152600401808060200182810382526026815260200180610f156026913960400191505060405180910390fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600082820183811015610a89576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610ad95760405162461bcd60e51b8152600401808060200182810382526024815260200180610ff16024913960400191505060405180910390fd5b6001600160a01b038216610b1e5760405162461bcd60e51b8152600401808060200182810382526022815260200180610f3b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bc55760405162461bcd60e51b8152600401808060200182810382526025815260200180610fcc6025913960400191505060405180910390fd5b6001600160a01b038216610c0a5760405162461bcd60e51b8152600401808060200182810382526023815260200180610ed06023913960400191505060405180910390fd5b610c15838383610e88565b610c5881604051806060016040528060268152602001610f5d602691396001600160a01b038616600090815260016020526040902054919063ffffffff610ce916565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610c8d908263ffffffff610a2f16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d785760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d3d578181015183820152602001610d25565b50505050905090810190601f168015610d6a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216610dc55760405162461bcd60e51b8152600401808060200182810382526021815260200180610fab6021913960400191505060405180910390fd5b610dd182600083610e88565b610e1481604051806060016040528060228152602001610ef3602291396001600160a01b038516600090815260016020526040902054919063ffffffff610ce916565b6001600160a01b038316600090815260016020526040902055600354610e40908263ffffffff610e8d16565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b6000610a8983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ce956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212201fa7f9fe9bd5ee8074b8f2b9ca9511837d92f37a6a840647bef47bfc0ed49ca164736f6c63430006080033
Deployed Bytecode Sourcemap
36002:1996:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;36002:1996:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;2855:142:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;2855:142:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;36197:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;36197:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27568:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;27568:169:0;;;;;;;;:::i;26537:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;28211:321;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;28211:321:0;;;;;;;;;;;;;;;;;:::i;36286:44::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28714:257;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;28714:257:0;;;;;;;;:::i;36369:22::-;;;:::i;37832:163::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;37832:163:0;;:::i;:::-;;26700:119;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;26700:119:0;-1:-1:-1;;;;;26700:119:0;;:::i;35112:148::-;;;:::i;34470:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;34470:79:0;;;;;;;;;;;;;;36106:29;;;:::i;29051:308::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;29051:308:0;;;;;;;;:::i;27032:175::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;27032:175:0;;;;;;;;:::i;27270:151::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;27270:151:0;;;;;;;;;;:::i;36339:21::-;;;:::i;35415:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;35415:244:0;-1:-1:-1;;;;;35415:244:0;;:::i;2855:142::-;2956:33;;2932:4;2956:33;;;;;;;;;;;;;;2855:142::o;36197:27::-;;;;;;;;;;;;;;;-1:-1:-1;;36197:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;27568:169::-;27651:4;27668:39;27677:12;:10;:12::i;:::-;27691:7;27700:6;27668:8;:39::i;:::-;-1:-1:-1;27725:4:0;27568:169;;;;:::o;26537:100::-;26617:12;;26537:100;:::o;28211:321::-;28317:4;28334:36;28344:6;28352:9;28363:6;28334:9;:36::i;:::-;28381:121;28390:6;28398:12;:10;:12::i;:::-;28412:89;28450:6;28412:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28412:19:0;;;;;;:11;:19;;;;;;28432:12;:10;:12::i;:::-;-1:-1:-1;;;;;28412:33:0;;;;;;;;;;;;-1:-1:-1;28412:33:0;;;:89;;:37;:89;:::i;:::-;28381:8;:121::i;:::-;-1:-1:-1;28520:4:0;28211:321;;;;;:::o;36286:44::-;36328:2;36286:44;:::o;28714:257::-;28836:4;28858:83;28867:12;:10;:12::i;:::-;28881:7;28890:50;28929:10;28890:11;:25;28902:12;:10;:12::i;:::-;-1:-1:-1;;;;;28890:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;28890:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;36369:22::-;;;;;;;;;;;;;;;-1:-1:-1;;36369:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37832:163;34692:12;:10;:12::i;:::-;34682:6;;-1:-1:-1;;;;;34682:6:0;;;:22;;;34674:67;;;;;-1:-1:-1;;;34674:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37901:12;37893:53:::1;;;::::0;;-1:-1:-1;;;37893:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;37959:28;37965:12;:10;:12::i;:::-;37979:7;37959:5;:28::i;:::-;37832:163:::0;:::o;26700:119::-;-1:-1:-1;;;;;26793:18:0;26766:7;26793:18;;;:9;:18;;;;;;;26700:119::o;35112:148::-;34692:12;:10;:12::i;:::-;34682:6;;-1:-1:-1;;;;;34682:6:0;;;:22;;;34674:67;;;;;-1:-1:-1;;;34674:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35203:6:::1;::::0;35182:40:::1;::::0;35219:1:::1;::::0;-1:-1:-1;;;;;35203:6:0::1;::::0;35182:40:::1;::::0;35219:1;;35182:40:::1;35233:6;:19:::0;;;::::1;::::0;;35112:148::o;34470:79::-;34535:6;;-1:-1:-1;;;;;34535:6:0;34470:79;:::o;36106:29::-;;;;;;;;;;;;;;;-1:-1:-1;;36106:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29051:308;29178:4;29200:129;29209:12;:10;:12::i;:::-;29223:7;29232:96;29271:15;29232:96;;;;;;;;;;;;;;;;;:11;:25;29244:12;:10;:12::i;:::-;-1:-1:-1;;;;;29232:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;29232:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;27032:175::-;27118:4;27135:42;27145:12;:10;:12::i;:::-;27159:9;27170:6;27135:9;:42::i;27270:151::-;-1:-1:-1;;;;;27386:18:0;;;27359:7;27386:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27270:151::o;36339:21::-;;;-1:-1:-1;;;;;36339:21:0;;:::o;35415:244::-;34692:12;:10;:12::i;:::-;34682:6;;-1:-1:-1;;;;;34682:6:0;;;:22;;;34674:67;;;;;-1:-1:-1;;;34674:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35504:22:0;::::1;35496:73;;;;-1:-1:-1::0;;;35496:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35606:6;::::0;35585:38:::1;::::0;-1:-1:-1;;;;;35585:38:0;;::::1;::::0;35606:6:::1;::::0;35585:38:::1;::::0;35606:6:::1;::::0;35585:38:::1;35634:6;:17:::0;;;::::1;-1:-1:-1::0;;;;;35634:17:0;;;::::1;::::0;;;::::1;::::0;;35415:244::o;4541:181::-;4599:7;4631:5;;;4655:6;;;;4647:46;;;;;-1:-1:-1;;;4647:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4713:1;4541:181;-1:-1:-1;;;4541:181:0:o;663:106::-;751:10;663:106;:::o;32343:346::-;-1:-1:-1;;;;;32445:19:0;;32437:68;;;;-1:-1:-1;;;32437:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32524:21:0;;32516:68;;;;-1:-1:-1;;;32516:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32597:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;32649:32;;;;;;;;;;;;;;;;;32343:346;;;:::o;29955:539::-;-1:-1:-1;;;;;30061:20:0;;30053:70;;;;-1:-1:-1;;;30053:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30142:23:0;;30134:71;;;;-1:-1:-1;;;30134:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30218:47;30239:6;30247:9;30258:6;30218:20;:47::i;:::-;30298:71;30320:6;30298:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30298:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;30278:17:0;;;;;;;:9;:17;;;;;;:91;;;;30403:20;;;;;;;:32;;30428:6;30403:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;30380:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;30451:35;;;;;;;30380:20;;30451:35;;;;;;;;;;;;;29955:539;;;:::o;5444:192::-;5530:7;5566:12;5558:6;;;;5550:29;;;;-1:-1:-1;;;5550:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5550:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5602:5:0;;;5444:192::o;31485:418::-;-1:-1:-1;;;;;31569:21:0;;31561:67;;;;-1:-1:-1;;;31561:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31641:49;31662:7;31679:1;31683:6;31641:20;:49::i;:::-;31724:68;31747:6;31724:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31724:18:0;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;31703:18:0;;;;;;:9;:18;;;;;:89;31818:12;;:24;;31835:6;31818:24;:16;:24;:::i;:::-;31803:12;:39;31858:37;;;;;;;;31884:1;;-1:-1:-1;;;;;31858:37:0;;;;;;;;;;;;31485:418;;:::o;33273:92::-;;;;:::o;5005:136::-;5063:7;5090:43;5094:1;5097;5090:43;;;;;;;;;;;;;;;;;:3;:43::i
Swarm Source
ipfs://1fa7f9fe9bd5ee8074b8f2b9ca9511837d92f37a6a840647bef47bfc0ed49ca1
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.