ERC-20
Overview
Max Total Supply
1,000,000,000 HAWEX
Holders
29
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HawexToken
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 50 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "./.deps/contracts/token/ERC20/ERC20.sol"; import "./SafeMath.sol"; import "./Roles.sol"; /** @title Hawex ERC20 Token */ contract HawexToken is ERC20, Ownable, ExchangerRole, Pausable{ using SafeMath for uint; /** @param initialIssue issue that will be minted initally */ constructor(uint initialIssue) ERC20("HAWEX", "HAWEX") { mint(initialIssue); } /** @dev overrider of ERC20 _transfer function when paused owner and exchangers only can use transfer */ function _transfer(address sender, address recipient, uint256 amount) internal override { if (!paused()) super._transfer(sender, recipient, amount); else { if (isOwner() || isExchanger(msg.sender)) super._transfer(sender, recipient, amount); else revert("transferring is paused"); } } /** @notice add Pauser role to `account` @dev only for Owner @param account role recipient */ function addPauser(address account) public onlyOwner { require(!isPauser(account), "[Pauser Role]: account already has Pauser role"); _addPauser(account); } /** @notice remove Pauser role from `account` @dev only for Owner @param account address for role revocation */ function removePauser(address account) public onlyOwner { require(isPauser(account), "[Pauser Role]: account has not Pauser role"); _removePauser(account); } /** @notice add Exchanger role to `account` @dev only for Owner @param account role recipient */ function addExchanger(address account) public onlyOwner { require(!isExchanger(account), "[Exchanger Role]: account already has Exchanger role"); _addExchanger(account); } /** @notice remove Exchanger role from `account` @dev only for Owner @param account address for role revocation */ function removeExchanger(address account) public onlyOwner { require(isExchanger(account), "[Exchanger Role]: account has not Exchanger role"); _removeExchanger(account); } /** @notice mint new tokens. Max supply = 1_000_000_000e18 @dev only for Owner @param amount minting amount */ function mint(uint amount) public onlyOwner { require(totalSupply() + amount <= 1000000000e18, "total issue must be leen than 1 billion"); _mint(msg.sender, amount); } /** @notice burn tokens @dev only for Owner @param amount burning amount */ function burn(uint amount) public onlyOwner { _burn(msg.sender, amount); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "./.deps/contracts/utils/Context.sol"; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } /** * @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. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _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 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } abstract contract PauserRole { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () { _addPauser(msg.sender); } modifier onlyPauser() { require(isPauser(msg.sender), "[Pauser Role]: only for pauser"); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function renouncePauser() public { _removePauser(msg.sender); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ abstract contract Pausable is PauserRole { event Paused(address account); event Unpaused(address account); bool private _paused; constructor () { _paused = false; } /** * @return true if the contract is paused, false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(msg.sender); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(msg.sender); } } /** * @title ExchangerRole * @dev An exchanger role contract. */ abstract contract ExchangerRole is Context { using Roles for Roles.Role; event ExchangerAdded(address indexed account); event ExchangerRemoved(address indexed account); Roles.Role private _exchangers; constructor () { } /** * @dev Makes function callable only if sender is an exchanger. */ modifier onlyExchanger() { require(isExchanger(_msgSender()), "ExchangerRole: caller does not have the Exchanger role"); _; } /** * @dev Checks if the address is an exchanger. */ function isExchanger(address account) public view returns (bool) { return _exchangers.has(account); } function _addExchanger(address account) internal { _exchangers.add(account); emit ExchangerAdded(account); } function _removeExchanger(address account) internal { _exchangers.remove(account); emit ExchangerRemoved(account); } } /** * @title AdminRole * @dev An admin role contract. */ abstract contract AdminRole is Context { using Roles for Roles.Role; event AdminAdded(address indexed account); event AdminRemoved(address indexed account); Roles.Role private _admins; constructor () { } /** * @dev Makes function callable only if sender is an admin. */ modifier onlyAdmin() { require(isAdmin(_msgSender()), "AdminRole: caller does not have the Admin role"); _; } /** * @dev Checks if the address is an admin. */ function isAdmin(address account) public view returns (bool) { return _admins.has(account); } function _addAdmin(address account) internal { _admins.add(account); emit AdminAdded(account); } function _removeAdmin(address account) internal { _admins.remove(account); emit AdminRemoved(account); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity 0.8.11; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "viaIR": true, "optimizer": { "enabled": true, "runs": 50 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"initialIssue","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":"account","type":"address"}],"name":"ExchangerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExchangerRemoved","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addExchanger","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"account","type":"address"}],"name":"isExchanger","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeExchanger","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removePauser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renouncePauser","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234620001d85762001df380380390816200001e81620001f4565b9283928339602092839181010312620001d157516200003c62000229565b6200004662000229565b8151909390916001600160401b038311620001c1575b62000074836200006e6003546200026c565b620002ab565b81601f84116001146200012b575091806200010f9592620000b3946000926200011f575b50508160011b916000199060031b1c1916176003556200035d565b600580546001600160a01b031916331790553360007f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e081604051a3620000f93362000614565b6200010960ff1960085416600855565b62000461565b6040516116c19081620007328239f35b01519050388062000098565b60036000529190601f1984167fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b936000905b828210620001a8575050926001928592620000b3966200010f9996106200018e575b505050811b016003556200035d565b015160001960f88460031b161c191690553880806200017f565b806001869782949787015181550196019401906200015d565b620001cb620001dd565b6200005c565b5050600080fd5b600080fd5b50634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f191682016001600160401b038111838210176200021a57604052565b62000224620001dd565b604052565b60408051919082016001600160401b038111838210176200025c575b604052600582526409082ae8ab60db1b6020830152565b62000266620001dd565b62000245565b90600182811c92168015620002a0575b60208310146200028857565b5050634e487b7160e01b600052602260045260246000fd5b91607f16916200027c565b601f8111620002b8575050565b6000906003825260208220906020601f850160051c83019410620002f9575b601f0160051c01915b828110620002ed57505050565b818155600101620002e0565b9092508290620002d7565b601f811162000311575050565b6000906004825260208220906020601f850160051c8301941062000352575b601f0160051c01915b8281106200034657505050565b81815560010162000339565b909250829062000330565b80519091906001600160401b03811162000451575b6200038a81620003846004546200026c565b62000304565b602080601f8311600114620003c95750819293600092620003bd575b50508160011b916000199060031b1c191617600455565b015190503880620003a6565b6004600052601f198316949091907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b926000905b878210620004385750508360019596106200041e575b505050811b01600455565b015160001960f88460031b161c1916905538808062000413565b80600185968294968601518155019501930190620003fd565b6200045b620001dd565b62000372565b6005546001600160a01b0316331415620005a8576002546b033b2e3c9fd0803ce8000000620004918383620005ee565b1162000550573315620005085781620004aa91620005ee565b600255336000908152602081905260409020620004c9828254620005ee565b905560007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405180620005033395829190602083019252565b0390a3565b505060405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260649150fd5b505060405162461bcd60e51b815260206004820152602760248201527f746f74616c206973737565206d757374206265206c65656e207468616e2031206044820152663134b63634b7b760c91b606482015260849150fd5b5050606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b81198111620005fb570190565b505050634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811615620006df576001600160a01b03811660009081526007602052604090205460ff1662000698576001600160a01b03811660009081526007602052604090206200066f90805460ff19166001179055565b7f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f86000604051a2565b505060405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c65006044820152606490fd5b505060405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b6064820152608490fdfe6040608081526004361015610015575b50600080fd5b600090813560e01c806306fdde03146104b4578063095ea7b31461049757806318160ddd1461047157806323b872dd14610454578063313ce5671461043457806339509351146104175780633f4ba83a1461040057806342966c68146103e957806346fbf68e146103cd578063506bd3a6146103b65780635c975abb1461038a5780636b2c0f55146103735780636ef8d66d1461035c57806370a082311461031b578063715018a61461030457806382dc1ec4146102ed5780638456cb59146102d65780638da5cb5b146102a65780638f32d59b1461027457806395d89b411461024d578063a0712d6814610236578063a457c2d714610219578063a9059cbb146101fc578063cb4beb2c146101cf578063dd62ed3e1461017f578063f2fde38b146101685763f89f2a651461014b575061000f565b346101645761016161015c366105b4565b610ed1565b51f35b5080fd5b50346101645761016161017a366105b4565b61137b565b5034610164576101cb91506101bb6101b6610199366105d7565b6001600160a01b0390911660009081526001602052604090209091565b610807565b5490519081529081906020820190565b0390f35b5034610164576101cb91506101eb6101e6366105b4565b61142e565b905190151581529081906020820190565b5034610164576101cb91506101eb61021336610535565b9061081e565b5034610164576101cb91506101eb61023036610535565b90610931565b503461016457610161610248366105a2565b6110d4565b5034610164576101cb9150610261366104d0565b610269610734565b9051918291826104de565b5034610164576101cb9150610288366104d0565b60055490516001600160a01b03909116331481529081906020820190565b5034610164576101cb91506102ba366104d0565b60055490516001600160a01b0390911681529081906020820190565b5034610164576102e5366104d0565b6101616115bf565b5034610164576101616102ff366105b4565b610d2e565b503461016457610313366104d0565b61016161132c565b5034610164576101cb915061034d610332366105b4565b6001600160a01b031660009081526020819052604090205490565b90519081529081906020820190565b50346101645761036b366104d0565b6101616114c6565b503461016457610161610385366105b4565b610e4b565b5034610164576101cb915061039e366104d0565b600854905160ff909116151581529081906020820190565b5034610164576101616103c8366105b4565b610fac565b5034610164576101cb91506101eb6103e4366105b4565b6114a3565b5034610164576101616103fb366105a2565b6111f6565b50346101645761040f366104d0565b610161611612565b5034610164576101cb91506101eb61042e36610535565b90610906565b50903461044f5750610445366104d0565b5160128152602090f35b809150fd5b5034610164576101cb91506101eb61046b36610563565b91610839565b5034610164576101cb9150610485366104d0565b60025490519081529081906020820190565b5034610164576101cb91506101eb6104ae36610535565b9061082e565b5034610164576101cb91506104c8366104d0565b610269610644565b600090600319011261000f57565b919091602080825283519081818401526000945b82861061051f575050806040939411610512575b601f01601f1916010190565b6000838284010152610506565b85810182015184870160400152948101946104f2565b604090600319011261000f576004356001600160a01b03811681141561055c579060243590565b5050600080fd5b606090600319011261000f576001600160a01b039060043582811681141561059a579160243590811681141561059a579060443590565b505050600080fd5b602090600319011261000f5760043590565b602090600319011261000f576004356001600160a01b03811681141561055c5790565b604090600319011261000f576001600160a01b039060043582811681141561059a579160243590811681141561059a5790565b90601f8019910116810190811067ffffffffffffffff82111761062c57604052565b5050634e487b7160e01b600052604160045260246000fd5b60405190600060035490600182811c9281811691821561072a575b602091828610841461070e578588528794936020860193929181156106f65750600114610698575b5050506106969250038361060a565b565b600360005290949092507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b946000935b8285106106e057505050610696935001388080610687565b86548585015295860195889550938101936106c8565b60ff1916845250610696955050019050388080610687565b5050634e487b7160e01b83525050602260045260249350915050fd5b93607f169361065f565b60405190600060045490600182811c928181169182156107e3575b602091828610841461070e578588528794936020860193929181156106f65750600114610785575050506106969250038361060a565b600460005290949092507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b946000935b8285106107cd57505050610696935001388080610687565b86548585015295860195889550938101936107b5565b93607f169361074f565b6001600160a01b0316600090815260208190526040902090565b9060018060a01b0316600052602052604060002090565b906108299133610ad0565b600190565b9061082991336109b3565b90826108459183610ad0565b6001600160a01b0381166000908152600160205260409020610868903390610807565b549180831061087e5761082992039033906109b3565b50505050608460405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152fd5b50634e487b7160e01b600052601160045260246000fd5b811981116108fa570190565b6109026108d7565b0190565b61092a61082992336000526001602052610924836040600020610807565b546108ee565b90336109b3565b336000526001602052610948816040600020610807565b549180831061095d57610829920390336109b3565b50505050608460405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b90916001600160a01b0380831615610a7b57831615610a2857610a23817f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592610a12866101b68760018060a01b03166000526001602052604060002090565b556040519081529081906020820190565b0390a3565b50505050608460405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152fd5b5050505050608460405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152fd5b919060ff6008541615600014610ae95761069692610c11565b6005546001600160a01b031633148015610b4d575b15610b0c5761069692610c11565b50505050606460405162461bcd60e51b81526020600482015260166024820152751d1c985b9cd9995c9c9a5b99c81a5cc81c185d5cd95960521b6044820152fd5b50610b573361142e565b610afe565b15610b6357565b5060405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b15610bbc57565b5060405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b90916001600160a01b0380831615610c8b5760008051602061165e83398151915291610c43610a239286161515610b5c565b80610c4d856107ed565b54610c5a82821015610bb5565b03610c64856107ed565b55610c6e856107ed565b610c798282546108ee565b90556040519081529081906020820190565b5050505050608460405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152fd5b15610ce957565b50606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6005546001600160a01b0390610d479082163314610ce2565b610d50826114a3565b610dec57610d5d826114a3565b610da457811660005260076020526040600020600160ff198254161790557f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f86000604051a2565b505060405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015260649150fd5b505060405162461bcd60e51b815260206004820152602e60248201527f5b50617573657220526f6c655d3a206163636f756e7420616c7265616479206860448201526d61732050617573657220726f6c6560901b606482015260849150fd5b610e6060018060a01b03600554163314610ce2565b610e69816114a3565b15610e7757610696906114cb565b505060405162461bcd60e51b815260206004820152602a60248201527f5b50617573657220526f6c655d3a206163636f756e7420686173206e6f742050604482015269617573657220726f6c6560b01b6064820152608490fd5b6005546001600160a01b0390610eea9082163314610ce2565b610ef38261142e565b610f4757610f008261142e565b610da457811660005260066020526040600020600160ff198254161790557ff54ade93fb345b99f34193dcbae41f37afbd889516e43c0d915dd08716af368c6000604051a2565b505060405162461bcd60e51b815260206004820152603460248201527f5b45786368616e67657220526f6c655d3a206163636f756e7420616c7265616460448201527379206861732045786368616e67657220726f6c6560601b606482015260849150fd5b6005546001600160a01b0390610fc59082163314610ce2565b610fce8261142e565b1561107357610fdc8261142e565b156110215781166000526006602052604060002060ff1981541690557fc5979bab90f31a60bd6a4417cd08680e239518f8913af869fe0e2bf26d8f90fd6000604051a2565b505060405162461bcd60e51b815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6044820152606560f81b606482015260849150fd5b505060405162461bcd60e51b815260206004820152603060248201527f5b45786368616e67657220526f6c655d3a206163636f756e7420686173206e6f60448201526f742045786368616e67657220726f6c6560801b606482015260849150fd5b6110e960018060a01b03600554163314610ce2565b6002546b033b2e3c9fd0803ce800000061110383836108ee565b1161119e5733156111565781611118916108ee565b600255611124336107ed565b61112f8282546108ee565b9055600060008051602061165e83398151915260405180610a233395829190602083019252565b505060405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260649150fd5b505060405162461bcd60e51b815260206004820152602760248201527f746f74616c206973737565206d757374206265206c65656e207468616e2031206044820152663134b63634b7b760c91b606482015260849150fd5b61120b60018060a01b03600554163314610ce2565b331561126c578060009161121e336107ed565b5461122b828210156112bd565b03611235336107ed565b5561124a61124582600254611315565b600255565b604051908152339060008051602061165e833981519152908060208101610a23565b505060405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b156112c457565b5060405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b818110611320570390565b6113286108d7565b0390565b60055460006001600160a01b038216611346338214610ce2565b7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e082604051a36001600160a01b031916600555565b6005546001600160a01b038082169290611396338514610ce2565b81169283156113d6577f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a36001600160a01b03191617600555565b5050505050608460405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b6001600160a01b0316801561145157600052600660205260ff6040600020541690565b505060405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b6001600160a01b0316801561145157600052600760205260ff6040600020541690565b610696335b6114d4816114a3565b15611521576001600160a01b038116600090815260076020526040808220805460ff19169055517fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e9190a2565b505060405162461bcd60e51b815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6044820152606560f81b6064820152608490fd5b1561157957565b5060405162461bcd60e51b815260206004820152601e60248201527f5b50617573657220526f6c655d3a206f6e6c7920666f722070617573657200006044820152606490fd5b6115d06115cb336114a3565b611572565b60085460ff811661055c5760019060ff1916176008557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1565b61161e6115cb336114a3565b60085460ff81161561055c5760ff19166008557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a156feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa36469706673582212205ba91152d9b5bf7a76dcc670da99a63c0d56271e96acf2b7d693450ef9a9b0076c6578706572696d656e74616cf564736f6c634300080b00410000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6040608081526004361015610015575b50600080fd5b600090813560e01c806306fdde03146104b4578063095ea7b31461049757806318160ddd1461047157806323b872dd14610454578063313ce5671461043457806339509351146104175780633f4ba83a1461040057806342966c68146103e957806346fbf68e146103cd578063506bd3a6146103b65780635c975abb1461038a5780636b2c0f55146103735780636ef8d66d1461035c57806370a082311461031b578063715018a61461030457806382dc1ec4146102ed5780638456cb59146102d65780638da5cb5b146102a65780638f32d59b1461027457806395d89b411461024d578063a0712d6814610236578063a457c2d714610219578063a9059cbb146101fc578063cb4beb2c146101cf578063dd62ed3e1461017f578063f2fde38b146101685763f89f2a651461014b575061000f565b346101645761016161015c366105b4565b610ed1565b51f35b5080fd5b50346101645761016161017a366105b4565b61137b565b5034610164576101cb91506101bb6101b6610199366105d7565b6001600160a01b0390911660009081526001602052604090209091565b610807565b5490519081529081906020820190565b0390f35b5034610164576101cb91506101eb6101e6366105b4565b61142e565b905190151581529081906020820190565b5034610164576101cb91506101eb61021336610535565b9061081e565b5034610164576101cb91506101eb61023036610535565b90610931565b503461016457610161610248366105a2565b6110d4565b5034610164576101cb9150610261366104d0565b610269610734565b9051918291826104de565b5034610164576101cb9150610288366104d0565b60055490516001600160a01b03909116331481529081906020820190565b5034610164576101cb91506102ba366104d0565b60055490516001600160a01b0390911681529081906020820190565b5034610164576102e5366104d0565b6101616115bf565b5034610164576101616102ff366105b4565b610d2e565b503461016457610313366104d0565b61016161132c565b5034610164576101cb915061034d610332366105b4565b6001600160a01b031660009081526020819052604090205490565b90519081529081906020820190565b50346101645761036b366104d0565b6101616114c6565b503461016457610161610385366105b4565b610e4b565b5034610164576101cb915061039e366104d0565b600854905160ff909116151581529081906020820190565b5034610164576101616103c8366105b4565b610fac565b5034610164576101cb91506101eb6103e4366105b4565b6114a3565b5034610164576101616103fb366105a2565b6111f6565b50346101645761040f366104d0565b610161611612565b5034610164576101cb91506101eb61042e36610535565b90610906565b50903461044f5750610445366104d0565b5160128152602090f35b809150fd5b5034610164576101cb91506101eb61046b36610563565b91610839565b5034610164576101cb9150610485366104d0565b60025490519081529081906020820190565b5034610164576101cb91506101eb6104ae36610535565b9061082e565b5034610164576101cb91506104c8366104d0565b610269610644565b600090600319011261000f57565b919091602080825283519081818401526000945b82861061051f575050806040939411610512575b601f01601f1916010190565b6000838284010152610506565b85810182015184870160400152948101946104f2565b604090600319011261000f576004356001600160a01b03811681141561055c579060243590565b5050600080fd5b606090600319011261000f576001600160a01b039060043582811681141561059a579160243590811681141561059a579060443590565b505050600080fd5b602090600319011261000f5760043590565b602090600319011261000f576004356001600160a01b03811681141561055c5790565b604090600319011261000f576001600160a01b039060043582811681141561059a579160243590811681141561059a5790565b90601f8019910116810190811067ffffffffffffffff82111761062c57604052565b5050634e487b7160e01b600052604160045260246000fd5b60405190600060035490600182811c9281811691821561072a575b602091828610841461070e578588528794936020860193929181156106f65750600114610698575b5050506106969250038361060a565b565b600360005290949092507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b946000935b8285106106e057505050610696935001388080610687565b86548585015295860195889550938101936106c8565b60ff1916845250610696955050019050388080610687565b5050634e487b7160e01b83525050602260045260249350915050fd5b93607f169361065f565b60405190600060045490600182811c928181169182156107e3575b602091828610841461070e578588528794936020860193929181156106f65750600114610785575050506106969250038361060a565b600460005290949092507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b946000935b8285106107cd57505050610696935001388080610687565b86548585015295860195889550938101936107b5565b93607f169361074f565b6001600160a01b0316600090815260208190526040902090565b9060018060a01b0316600052602052604060002090565b906108299133610ad0565b600190565b9061082991336109b3565b90826108459183610ad0565b6001600160a01b0381166000908152600160205260409020610868903390610807565b549180831061087e5761082992039033906109b3565b50505050608460405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152fd5b50634e487b7160e01b600052601160045260246000fd5b811981116108fa570190565b6109026108d7565b0190565b61092a61082992336000526001602052610924836040600020610807565b546108ee565b90336109b3565b336000526001602052610948816040600020610807565b549180831061095d57610829920390336109b3565b50505050608460405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b90916001600160a01b0380831615610a7b57831615610a2857610a23817f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592610a12866101b68760018060a01b03166000526001602052604060002090565b556040519081529081906020820190565b0390a3565b50505050608460405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152fd5b5050505050608460405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152fd5b919060ff6008541615600014610ae95761069692610c11565b6005546001600160a01b031633148015610b4d575b15610b0c5761069692610c11565b50505050606460405162461bcd60e51b81526020600482015260166024820152751d1c985b9cd9995c9c9a5b99c81a5cc81c185d5cd95960521b6044820152fd5b50610b573361142e565b610afe565b15610b6357565b5060405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b15610bbc57565b5060405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b90916001600160a01b0380831615610c8b5760008051602061165e83398151915291610c43610a239286161515610b5c565b80610c4d856107ed565b54610c5a82821015610bb5565b03610c64856107ed565b55610c6e856107ed565b610c798282546108ee565b90556040519081529081906020820190565b5050505050608460405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152fd5b15610ce957565b50606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6005546001600160a01b0390610d479082163314610ce2565b610d50826114a3565b610dec57610d5d826114a3565b610da457811660005260076020526040600020600160ff198254161790557f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f86000604051a2565b505060405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015260649150fd5b505060405162461bcd60e51b815260206004820152602e60248201527f5b50617573657220526f6c655d3a206163636f756e7420616c7265616479206860448201526d61732050617573657220726f6c6560901b606482015260849150fd5b610e6060018060a01b03600554163314610ce2565b610e69816114a3565b15610e7757610696906114cb565b505060405162461bcd60e51b815260206004820152602a60248201527f5b50617573657220526f6c655d3a206163636f756e7420686173206e6f742050604482015269617573657220726f6c6560b01b6064820152608490fd5b6005546001600160a01b0390610eea9082163314610ce2565b610ef38261142e565b610f4757610f008261142e565b610da457811660005260066020526040600020600160ff198254161790557ff54ade93fb345b99f34193dcbae41f37afbd889516e43c0d915dd08716af368c6000604051a2565b505060405162461bcd60e51b815260206004820152603460248201527f5b45786368616e67657220526f6c655d3a206163636f756e7420616c7265616460448201527379206861732045786368616e67657220726f6c6560601b606482015260849150fd5b6005546001600160a01b0390610fc59082163314610ce2565b610fce8261142e565b1561107357610fdc8261142e565b156110215781166000526006602052604060002060ff1981541690557fc5979bab90f31a60bd6a4417cd08680e239518f8913af869fe0e2bf26d8f90fd6000604051a2565b505060405162461bcd60e51b815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6044820152606560f81b606482015260849150fd5b505060405162461bcd60e51b815260206004820152603060248201527f5b45786368616e67657220526f6c655d3a206163636f756e7420686173206e6f60448201526f742045786368616e67657220726f6c6560801b606482015260849150fd5b6110e960018060a01b03600554163314610ce2565b6002546b033b2e3c9fd0803ce800000061110383836108ee565b1161119e5733156111565781611118916108ee565b600255611124336107ed565b61112f8282546108ee565b9055600060008051602061165e83398151915260405180610a233395829190602083019252565b505060405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260649150fd5b505060405162461bcd60e51b815260206004820152602760248201527f746f74616c206973737565206d757374206265206c65656e207468616e2031206044820152663134b63634b7b760c91b606482015260849150fd5b61120b60018060a01b03600554163314610ce2565b331561126c578060009161121e336107ed565b5461122b828210156112bd565b03611235336107ed565b5561124a61124582600254611315565b600255565b604051908152339060008051602061165e833981519152908060208101610a23565b505060405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b156112c457565b5060405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b818110611320570390565b6113286108d7565b0390565b60055460006001600160a01b038216611346338214610ce2565b7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e082604051a36001600160a01b031916600555565b6005546001600160a01b038082169290611396338514610ce2565b81169283156113d6577f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a36001600160a01b03191617600555565b5050505050608460405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b6001600160a01b0316801561145157600052600660205260ff6040600020541690565b505060405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b6001600160a01b0316801561145157600052600760205260ff6040600020541690565b610696335b6114d4816114a3565b15611521576001600160a01b038116600090815260076020526040808220805460ff19169055517fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e9190a2565b505060405162461bcd60e51b815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6044820152606560f81b6064820152608490fd5b1561157957565b5060405162461bcd60e51b815260206004820152601e60248201527f5b50617573657220526f6c655d3a206f6e6c7920666f722070617573657200006044820152606490fd5b6115d06115cb336114a3565b611572565b60085460ff811661055c5760019060ff1916176008557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1565b61161e6115cb336114a3565b60085460ff81161561055c5760ff19166008557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a156feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa36469706673582212205ba91152d9b5bf7a76dcc670da99a63c0d56271e96acf2b7d693450ef9a9b0076c6578706572696d656e74616cf564736f6c634300080b0041
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialIssue (uint256): 0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
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.