ERC-20
Esports
Overview
Max Total Supply
20,213,526,932.74865 IGG
Holders
2,019 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$132,528.70
Circulating Supply Market Cap
$58,067.35
Other Info
Token Contract (WITH 6 Decimals)
Balance
253,320.684667 IGGValue
$1.66 ( ~0.000669976330087845 Eth) [0.0013%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
IGGToken
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-15 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.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); } // File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT 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/Address.sol // SPDX-License-Identifier: MIT 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: @opengsn/gsn/contracts/utils/MinLibBytes.sol // SPDX-License-Identifier: MIT // minimal bytes manipulation required by GSN // a minimal subset from 0x/LibBytes /* solhint-disable no-inline-assembly */ pragma solidity ^0.6.2; library MinLibBytes { //truncate the given parameter (in-place) if its length is above the given maximum length // do nothing otherwise. //NOTE: solidity warns unless the method is marked "pure", but it DOES modify its parameter. function truncateInPlace(bytes memory data, uint256 maxlen) internal pure { if (data.length > maxlen) { assembly { mstore(data, maxlen) } } } /// @dev Reads an address from a position in a byte array. /// @param b Byte array containing an address. /// @param index Index in byte array of address. /// @return result address from byte array. function readAddress( bytes memory b, uint256 index ) internal pure returns (address result) { require (b.length >= index + 20, "readAddress: data too short"); // Add offset to index: // 1. Arrays are prefixed by 32-byte length parameter (add 32 to index) // 2. Account for size difference between address length and 32-byte storage word (subtract 12 from index) index += 20; // Read address from array memory assembly { // 1. Add index to address of bytes array // 2. Load 32-byte word from memory // 3. Apply 20-byte mask to obtain address result := and(mload(add(b, index)), 0xffffffffffffffffffffffffffffffffffffffff) } return result; } function readBytes32( bytes memory b, uint256 index ) internal pure returns (bytes32 result) { require(b.length >= index + 32, "readBytes32: data too short" ); // Read the bytes32 from array memory assembly { result := mload(add(b, add(index,32))) } return result; } /// @dev Reads a uint256 value from a position in a byte array. /// @param b Byte array containing a uint256 value. /// @param index Index in byte array of uint256 value. /// @return result uint256 value from byte array. function readUint256( bytes memory b, uint256 index ) internal pure returns (uint256 result) { result = uint256(readBytes32(b, index)); return result; } function readBytes4( bytes memory b, uint256 index ) internal pure returns (bytes4 result) { require(b.length >= index + 4, "readBytes4: data too short"); // Read the bytes4 from array memory assembly { result := mload(add(b, add(index,32))) // Solidity does not require us to clean the trailing bytes. // We do it anyway result := and(result, 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000) } return result; } } // File: @opengsn/gsn/contracts/interfaces/IRelayRecipient.sol // SPDX-License-Identifier:MIT pragma solidity ^0.6.2; /** * a contract must implement this interface in order to support relayed transaction. * It is better to inherit the BaseRelayRecipient as its implementation. */ abstract contract IRelayRecipient { /** * return if the forwarder is trusted to forward relayed transactions to us. * the forwarder is required to verify the sender's signature, and verify * the call is not a replay. */ function isTrustedForwarder(address forwarder) public virtual view returns(bool); /** * return the sender of this call. * if the call came through our trusted forwarder, then the real sender is appended as the last 20 bytes * of the msg.data. * otherwise, return `msg.sender` * should be used in the contract anywhere instead of msg.sender */ function _msgSender() internal virtual view returns (address payable); function versionRecipient() external virtual view returns (string memory); } // File: @opengsn/gsn/contracts/BaseRelayRecipient.sol // SPDX-License-Identifier:MIT pragma solidity ^0.6.2; /** * A base contract to be inherited by any contract that want to receive relayed transactions * A subclass must use "_msgSender()" instead of "msg.sender" */ abstract contract BaseRelayRecipient is IRelayRecipient { /* * Forwarder singleton we accept calls from */ address internal trustedForwarder; function isTrustedForwarder(address forwarder) public override view returns(bool) { return forwarder == trustedForwarder; } /** * return the sender of this call. * if the call came through our trusted forwarder, return the original sender. * otherwise, return `msg.sender`. * should be used in the contract anywhere instead of msg.sender */ function _msgSender() internal override virtual view returns (address payable) { if (msg.data.length >= 24 && isTrustedForwarder(msg.sender)) { // At this point we know that the sender is a trusted forwarder, // so we trust that the last bytes of msg.data are the verified sender address. // extract sender address from the end of msg.data return address(uint160(MinLibBytes.readAddress(msg.data, msg.data.length - 20))); } return msg.sender; } } // File: contracts/common/OwnableBaseRelayRecipient.sol // SPDX-License-Identifier: MIT 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 OwnableBaseRelayRecipient is BaseRelayRecipient { 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; } // updates trusted forwarder (OpenGSN BaseRelayRecipient) function changeTrustedForwarder(address forwarder) public onlyOwner() { trustedForwarder = forwarder; } function versionRecipient() external virtual override view returns (string memory) { return "1"; } } // File: contracts/common/ERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin 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 OwnableBaseRelayRecipient, IERC20 { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public override view 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 virtual override view 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; } /** * @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].add(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) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); 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); _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); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @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 {} } // File: contracts/common/ERC20Burnable.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub( amount, "ERC20: burn amount exceeds allowance" ); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } } // File: erc20/root/IGGToken.sol // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.2; contract IGGToken is ERC20Burnable { constructor(uint256 initialSupply) public ERC20("IG Gold", "IGG") { _setupDecimals(6); _mint(msg.sender, initialSupply); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"changeTrustedForwarder","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":"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":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"versionRecipient","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620015ba380380620015ba833981810160405260208110156200003757600080fd5b505160408051808201825260078152661251c811dbdb1960ca1b6020828101919091528251808401909352600383526249474760e81b90830152906000620000876001600160e01b036200014116565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000ea906005906020850190620003e6565b50805162000100906006906020840190620003e6565b50506007805460ff19166012179055506200012560066001600160e01b03620001cb16565b6200013a33826001600160e01b03620001e116565b5062000488565b60006018361080159062000164575062000164336001600160e01b03620002fd16565b15620001c557620001bd6000368080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050366013190191505062000311602090811b62000eaf17901c565b9050620001c8565b50335b90565b6007805460ff191660ff92909216919091179055565b6001600160a01b0382166200023d576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b62000254600083836001600160e01b036200037f16565b62000270816004546200038460201b62000d461790919060201c565b6004556001600160a01b038216600090815260026020908152604090912054620002a591839062000d4662000384821b17901c565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000546001600160a01b0390811691161490565b600081601401835110156200036d576040805162461bcd60e51b815260206004820152601b60248201527f72656164416464726573733a206461746120746f6f2073686f72740000000000604482015290519081900360640190fd5b5001601401516001600160a01b031690565b505050565b600082820183811015620003df576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200042957805160ff191683800117855562000459565b8280016001018555821562000459579182015b82811115620004595782518255916020019190600101906200043c565b50620004679291506200046b565b5090565b620001c891905b8082111562000467576000815560010162000472565b61112280620004986000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063572b6c05116100ad57806395d89b411161007157806395d89b411461036e578063a457c2d714610376578063a9059cbb146103a2578063dd62ed3e146103ce578063f2fde38b146103fc57610121565b8063572b6c05146102ca57806370a08231146102f0578063715018a61461031657806379cc67901461031e5780638da5cb5b1461034a57610121565b806323b872dd116100f457806323b872dd14610225578063313ce5671461025b578063395093511461027957806342966c68146102a5578063486ff0cd146102c257610121565b806306fdde031461012657806308c7a8dd146101a3578063095ea7b3146101cb57806318160ddd1461020b575b600080fd5b61012e610422565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c9600480360360208110156101b957600080fd5b50356001600160a01b03166104b9565b005b6101f7600480360360408110156101e157600080fd5b506001600160a01b038135169060200135610545565b604080519115158252519081900360200190f35b610213610562565b60408051918252519081900360200190f35b6101f76004803603606081101561023b57600080fd5b506001600160a01b03813581169160208101359091169060400135610568565b6102636105f5565b6040805160ff9092168252519081900360200190f35b6101f76004803603604081101561028f57600080fd5b506001600160a01b0381351690602001356105fe565b6101c9600480360360208110156102bb57600080fd5b5035610652565b61012e610666565b6101f7600480360360208110156102e057600080fd5b50356001600160a01b0316610681565b6102136004803603602081101561030657600080fd5b50356001600160a01b0316610695565b6101c96106b0565b6101c96004803603604081101561033457600080fd5b506001600160a01b038135169060200135610764565b6103526107c4565b604080516001600160a01b039092168252519081900360200190f35b61012e6107d3565b6101f76004803603604081101561038c57600080fd5b506001600160a01b038135169060200135610834565b6101f7600480360360408110156103b857600080fd5b506001600160a01b0381351690602001356108a2565b610213600480360360408110156103e457600080fd5b506001600160a01b03813581169160200135166108b6565b6101c96004803603602081101561041257600080fd5b50356001600160a01b03166108e1565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ae5780601f10610483576101008083540402835291602001916104ae565b820191906000526020600020905b81548152906001019060200180831161049157829003601f168201915b505050505090505b90565b6104c16109ec565b6001546001600160a01b03908116911614610523576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006105596105526109ec565b8484610a5a565b50600192915050565b60045490565b6000610575848484610b46565b6105eb846105816109ec565b6105e685604051806060016040528060288152602001611012602891396001600160a01b038a166000908152600360205260408120906105bf6109ec565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610caf16565b610a5a565b5060019392505050565b60075460ff1690565b600061055961060b6109ec565b846105e6856003600061061c6109ec565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d4616565b61066361065d6109ec565b82610da7565b50565b6040805180820190915260018152603160f81b602082015290565b6000546001600160a01b0390811691161490565b6001600160a01b031660009081526002602052604090205490565b6106b86109ec565b6001546001600160a01b0390811691161461071a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b60006107a18260405180606001604052806024815260200161103a602491396107948661078f6109ec565b6108b6565b919063ffffffff610caf16565b90506107b5836107af6109ec565b83610a5a565b6107bf8383610da7565b505050565b6001546001600160a01b031690565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ae5780601f10610483576101008083540402835291602001916104ae565b60006105596108416109ec565b846105e6856040518060600160405280602581526020016110c8602591396003600061086b6109ec565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610caf16565b60006105596108af6109ec565b8484610b46565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6108e96109ec565b6001546001600160a01b0390811691161461094b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109905760405162461bcd60e51b8152600401808060200182810382526026815260200180610fa46026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b600060183610801590610a035750610a0333610681565b15610a5557610a4e6000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060131936019150610eaf9050565b90506104b6565b503390565b6001600160a01b038316610a9f5760405162461bcd60e51b81526004018080602001828103825260248152602001806110a46024913960400191505060405180910390fd5b6001600160a01b038216610ae45760405162461bcd60e51b8152600401808060200182810382526022815260200180610fca6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610b8b5760405162461bcd60e51b815260040180806020018281038252602581526020018061107f6025913960400191505060405180910390fd5b6001600160a01b038216610bd05760405162461bcd60e51b8152600401808060200182810382526023815260200180610f5f6023913960400191505060405180910390fd5b610bdb8383836107bf565b610c1e81604051806060016040528060268152602001610fec602691396001600160a01b038616600090815260026020526040902054919063ffffffff610caf16565b6001600160a01b038085166000908152600260205260408082209390935590841681522054610c53908263ffffffff610d4616565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d3e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d03578181015183820152602001610ceb565b50505050905090810190601f168015610d305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610da0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610dec5760405162461bcd60e51b815260040180806020018281038252602181526020018061105e6021913960400191505060405180910390fd5b610df8826000836107bf565b610e3b81604051806060016040528060228152602001610f82602291396001600160a01b038516600090815260026020526040902054919063ffffffff610caf16565b6001600160a01b038316600090815260026020526040902055600454610e67908263ffffffff610f1c16565b6004556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60008160140183511015610f0a576040805162461bcd60e51b815260206004820152601b60248201527f72656164416464726573733a206461746120746f6f2073686f72740000000000604482015290519081900360640190fd5b5001601401516001600160a01b031690565b6000610da083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610caf56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ebb11d57bfd6b1e977a7fe5ab4af8fe95ac929f19e1a9172b912bd383d3e403664736f6c6343000602003300000000000000000000000000000000000000000000000000b1a2bc2ec50000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063572b6c05116100ad57806395d89b411161007157806395d89b411461036e578063a457c2d714610376578063a9059cbb146103a2578063dd62ed3e146103ce578063f2fde38b146103fc57610121565b8063572b6c05146102ca57806370a08231146102f0578063715018a61461031657806379cc67901461031e5780638da5cb5b1461034a57610121565b806323b872dd116100f457806323b872dd14610225578063313ce5671461025b578063395093511461027957806342966c68146102a5578063486ff0cd146102c257610121565b806306fdde031461012657806308c7a8dd146101a3578063095ea7b3146101cb57806318160ddd1461020b575b600080fd5b61012e610422565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c9600480360360208110156101b957600080fd5b50356001600160a01b03166104b9565b005b6101f7600480360360408110156101e157600080fd5b506001600160a01b038135169060200135610545565b604080519115158252519081900360200190f35b610213610562565b60408051918252519081900360200190f35b6101f76004803603606081101561023b57600080fd5b506001600160a01b03813581169160208101359091169060400135610568565b6102636105f5565b6040805160ff9092168252519081900360200190f35b6101f76004803603604081101561028f57600080fd5b506001600160a01b0381351690602001356105fe565b6101c9600480360360208110156102bb57600080fd5b5035610652565b61012e610666565b6101f7600480360360208110156102e057600080fd5b50356001600160a01b0316610681565b6102136004803603602081101561030657600080fd5b50356001600160a01b0316610695565b6101c96106b0565b6101c96004803603604081101561033457600080fd5b506001600160a01b038135169060200135610764565b6103526107c4565b604080516001600160a01b039092168252519081900360200190f35b61012e6107d3565b6101f76004803603604081101561038c57600080fd5b506001600160a01b038135169060200135610834565b6101f7600480360360408110156103b857600080fd5b506001600160a01b0381351690602001356108a2565b610213600480360360408110156103e457600080fd5b506001600160a01b03813581169160200135166108b6565b6101c96004803603602081101561041257600080fd5b50356001600160a01b03166108e1565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ae5780601f10610483576101008083540402835291602001916104ae565b820191906000526020600020905b81548152906001019060200180831161049157829003601f168201915b505050505090505b90565b6104c16109ec565b6001546001600160a01b03908116911614610523576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006105596105526109ec565b8484610a5a565b50600192915050565b60045490565b6000610575848484610b46565b6105eb846105816109ec565b6105e685604051806060016040528060288152602001611012602891396001600160a01b038a166000908152600360205260408120906105bf6109ec565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610caf16565b610a5a565b5060019392505050565b60075460ff1690565b600061055961060b6109ec565b846105e6856003600061061c6109ec565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d4616565b61066361065d6109ec565b82610da7565b50565b6040805180820190915260018152603160f81b602082015290565b6000546001600160a01b0390811691161490565b6001600160a01b031660009081526002602052604090205490565b6106b86109ec565b6001546001600160a01b0390811691161461071a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b60006107a18260405180606001604052806024815260200161103a602491396107948661078f6109ec565b6108b6565b919063ffffffff610caf16565b90506107b5836107af6109ec565b83610a5a565b6107bf8383610da7565b505050565b6001546001600160a01b031690565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ae5780601f10610483576101008083540402835291602001916104ae565b60006105596108416109ec565b846105e6856040518060600160405280602581526020016110c8602591396003600061086b6109ec565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610caf16565b60006105596108af6109ec565b8484610b46565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6108e96109ec565b6001546001600160a01b0390811691161461094b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109905760405162461bcd60e51b8152600401808060200182810382526026815260200180610fa46026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b600060183610801590610a035750610a0333610681565b15610a5557610a4e6000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060131936019150610eaf9050565b90506104b6565b503390565b6001600160a01b038316610a9f5760405162461bcd60e51b81526004018080602001828103825260248152602001806110a46024913960400191505060405180910390fd5b6001600160a01b038216610ae45760405162461bcd60e51b8152600401808060200182810382526022815260200180610fca6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610b8b5760405162461bcd60e51b815260040180806020018281038252602581526020018061107f6025913960400191505060405180910390fd5b6001600160a01b038216610bd05760405162461bcd60e51b8152600401808060200182810382526023815260200180610f5f6023913960400191505060405180910390fd5b610bdb8383836107bf565b610c1e81604051806060016040528060268152602001610fec602691396001600160a01b038616600090815260026020526040902054919063ffffffff610caf16565b6001600160a01b038085166000908152600260205260408082209390935590841681522054610c53908263ffffffff610d4616565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d3e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d03578181015183820152602001610ceb565b50505050905090810190601f168015610d305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610da0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610dec5760405162461bcd60e51b815260040180806020018281038252602181526020018061105e6021913960400191505060405180910390fd5b610df8826000836107bf565b610e3b81604051806060016040528060228152602001610f82602291396001600160a01b038516600090815260026020526040902054919063ffffffff610caf16565b6001600160a01b038316600090815260026020526040902055600454610e67908263ffffffff610f1c16565b6004556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60008160140183511015610f0a576040805162461bcd60e51b815260206004820152601b60248201527f72656164416464726573733a206461746120746f6f2073686f72740000000000604482015290519081900360640190fd5b5001601401516001600160a01b031690565b6000610da083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610caf56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ebb11d57bfd6b1e977a7fe5ab4af8fe95ac929f19e1a9172b912bd383d3e403664736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000b1a2bc2ec50000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 50000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Deployed Bytecode Sourcemap
36029:190:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36029:190:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25224:83;;;:::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;25224:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22714:117;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22714:117:0;-1:-1:-1;;;;;22714:117:0;;:::i;:::-;;27421:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27421:210:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;26299:100;;;:::i;:::-;;;;;;;;;;;;;;;;28105:454;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28105:454:0;;;;;;;;;;;;;;;;;:::i;26151:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28968:300;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28968:300:0;;;;;;;;:::i;35175:91::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35175:91:0;;:::i;22839:162::-;;;:::i;19301:137::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19301:137:0;-1:-1:-1;;;;;19301:137:0;;:::i;26462:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26462:119:0;-1:-1:-1;;;;;26462:119:0;;:::i;22059:148::-;;;:::i;35585:332::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;35585:332:0;;;;;;;;:::i;21417:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;21417:79:0;;;;;;;;;;;;;;25426:87;;;:::i;29771:400::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;29771:400:0;;;;;;;;:::i;26794:216::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26794:216:0;;;;;;;;:::i;27073:201::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27073:201:0;;;;;;;;;;:::i;22362:281::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22362:281:0;-1:-1:-1;;;;;22362:281:0;;:::i;25224:83::-;25294:5;25287:12;;;;;;;;-1:-1:-1;;25287:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25261:13;;25287:12;;25294:5;;25287:12;;25294:5;25287:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25224:83;;:::o;22714:117::-;21639:12;:10;:12::i;:::-;21629:6;;-1:-1:-1;;;;;21629:6:0;;;:22;;;21621:67;;;;;-1:-1:-1;;;21621:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22795:16:::1;:28:::0;;-1:-1:-1;;;;;;22795:28:0::1;-1:-1:-1::0;;;;;22795:28:0;;;::::1;::::0;;;::::1;::::0;;22714:117::o;27421:210::-;27540:4;27562:39;27571:12;:10;:12::i;:::-;27585:7;27594:6;27562:8;:39::i;:::-;-1:-1:-1;27619:4:0;27421:210;;;;:::o;26299:100::-;26379:12;;26299:100;:::o;28105:454::-;28245:4;28262:36;28272:6;28280:9;28291:6;28262:9;:36::i;:::-;28309:220;28332:6;28353:12;:10;:12::i;:::-;28380:138;28436:6;28380:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28380:19:0;;;;;;:11;:19;;;;;;28400:12;:10;:12::i;:::-;-1:-1:-1;;;;;28380:33:0;;;;;;;;;;;;-1:-1:-1;28380:33:0;;;:138;;:37;:138;:::i;:::-;28309:8;:220::i;:::-;-1:-1:-1;28547:4:0;28105:454;;;;;:::o;26151:83::-;26217:9;;;;26151:83;:::o;28968:300::-;29083:4;29105:133;29128:12;:10;:12::i;:::-;29155:7;29177:50;29216:10;29177:11;:25;29189:12;:10;:12::i;:::-;-1:-1:-1;;;;;29177:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;29177:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;35175:91::-;35231:27;35237:12;:10;:12::i;:::-;35251:6;35231:5;:27::i;:::-;35175:91;:::o;22839:162::-;22983:10;;;;;;;;;;;;-1:-1:-1;;;22983:10:0;;;;22839:162;:::o;19301:137::-;19377:4;19414:16;-1:-1:-1;;;;;19414:16:0;;;19401:29;;;;19301:137::o;26462:119::-;-1:-1:-1;;;;;26555:18:0;26528:7;26555:18;;;:9;:18;;;;;;;26462:119::o;22059:148::-;21639:12;:10;:12::i;:::-;21629:6;;-1:-1:-1;;;;;21629:6:0;;;:22;;;21621:67;;;;;-1:-1:-1;;;21621:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22150:6:::1;::::0;22129:40:::1;::::0;22166:1:::1;::::0;-1:-1:-1;;;;;22150:6:0::1;::::0;22129:40:::1;::::0;22166:1;;22129:40:::1;22180:6;:19:::0;;-1:-1:-1;;;;;;22180:19:0::1;::::0;;22059:148::o;35585:332::-;35662:26;35691:121;35742:6;35691:121;;;;;;;;;;;;;;;;;:32;35701:7;35710:12;:10;:12::i;:::-;35691:9;:32::i;:::-;:36;:121;;:36;:121;:::i;:::-;35662:150;;35825:51;35834:7;35843:12;:10;:12::i;:::-;35857:18;35825:8;:51::i;:::-;35887:22;35893:7;35902:6;35887:5;:22::i;:::-;35585:332;;;:::o;21417:79::-;21482:6;;-1:-1:-1;;;;;21482:6:0;21417:79;:::o;25426:87::-;25498:7;25491:14;;;;;;;;-1:-1:-1;;25491:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25465:13;;25491:14;;25498:7;;25491:14;;25498:7;25491:14;;;;;;;;;;;;;;;;;;;;;;;;29771:400;29891:4;29913:228;29936:12;:10;:12::i;:::-;29963:7;29985:145;30042:15;29985:145;;;;;;;;;;;;;;;;;:11;:25;29997:12;:10;:12::i;:::-;-1:-1:-1;;;;;29985:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;29985:25:0;;;:34;;;;;;;;;;;:145;;:38;:145;:::i;26794:216::-;26916:4;26938:42;26948:12;:10;:12::i;:::-;26962:9;26973:6;26938:9;:42::i;27073:201::-;-1:-1:-1;;;;;27239:18:0;;;27207:7;27239:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27073:201::o;22362:281::-;21639:12;:10;:12::i;:::-;21629:6;;-1:-1:-1;;;;;21629:6:0;;;:22;;;21621:67;;;;;-1:-1:-1;;;21621:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22465:22:0;::::1;22443:110;;;;-1:-1:-1::0;;;22443:110:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22590:6;::::0;22569:38:::1;::::0;-1:-1:-1;;;;;22569:38:0;;::::1;::::0;22590:6:::1;::::0;22569:38:::1;::::0;22590:6:::1;::::0;22569:38:::1;22618:6;:17:::0;;-1:-1:-1;;;;;;22618:17:0::1;-1:-1:-1::0;;;;;22618:17:0;;;::::1;::::0;;;::::1;::::0;;22362:281::o;19698:528::-;19760:15;19811:2;19792:8;:21;;;;:55;;;19817:30;19836:10;19817:18;:30::i;:::-;19788:403;;;20122:55;20146:8;;20122:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;20156:8:0;:20;;-1:-1:-1;20122:23:0;;-1:-1:-1;20122:55:0:i;:::-;20099:80;;;;19788:403;-1:-1:-1;20208:10:0;19698:528;:::o;33157:380::-;-1:-1:-1;;;;;33293:19:0;;33285:68;;;;-1:-1:-1;;;33285:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33372:21:0;;33364:68;;;;-1:-1:-1;;;33364:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33445:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;33497:32;;;;;;;;;;;;;;;;;33157:380;;;:::o;30661:610::-;-1:-1:-1;;;;;30801:20:0;;30793:70;;;;-1:-1:-1;;;30793:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30882:23:0;;30874:71;;;;-1:-1:-1;;;30874:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30958:47;30979:6;30987:9;30998:6;30958:20;:47::i;:::-;31038:108;31074:6;31038:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31038:17:0;;;;;;:9;:17;;;;;;;:108;;:21;:108;:::i;:::-;-1:-1:-1;;;;;31018:17:0;;;;;;;:9;:17;;;;;;:128;;;;31180:20;;;;;;;:32;;31205:6;31180:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;31157:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;31228:35;;;;;;;31157:20;;31228:35;;;;;;;;;;;;;30661:610;;;:::o;4693:192::-;4779:7;4815:12;4807:6;;;;4799:29;;;;-1:-1:-1;;;4799: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;4799:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4851:5:0;;;4693:192::o;3790:181::-;3848:7;3880:5;;;3904:6;;;;3896:46;;;;;-1:-1:-1;;;3896:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3962:1;3790:181;-1:-1:-1;;;3790:181:0:o;32262:455::-;-1:-1:-1;;;;;32346:21:0;;32338:67;;;;-1:-1:-1;;;32338:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32418:49;32439:7;32456:1;32460:6;32418:20;:49::i;:::-;32501:105;32538:6;32501:105;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32501:18:0;;;;;;:9;:18;;;;;;;:105;;:22;:105;:::i;:::-;-1:-1:-1;;;;;32480:18:0;;;;;;:9;:18;;;;;:126;32632:12;;:24;;32649:6;32632:24;:16;:24;:::i;:::-;32617:12;:39;32672:37;;;;;;;;32698:1;;-1:-1:-1;;;;;32672:37:0;;;;;;;;;;;;32262:455;;:::o;15425:837::-;15552:14;15605:5;15613:2;15605:10;15593:1;:8;:22;;15584:63;;;;;-1:-1:-1;;;15584:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16161:13:0;15899:2;16161:13;16155:20;-1:-1:-1;;;;;16151:69:0;;15425:837::o;4254:136::-;4312:7;4339:43;4343:1;4346;4339:43;;;;;;;;;;;;;;;;;:3;:43::i
Swarm Source
ipfs://ebb11d57bfd6b1e977a7fe5ab4af8fe95ac929f19e1a9172b912bd383d3e4036
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.