ERC-20
Overview
Max Total Supply
44,369,001 VISION
Holders
4,876
Market
Price
$0.00 @ 0.000000 FTM
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
29,000 VISIONValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
VISION
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at ftmscan.com on 2022-08-05 */ // SPDX-License-Identifier: MIT LICENSE // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // 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 subtraction 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; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.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 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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, 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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - 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 {} } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.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 Context, 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 { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.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. */ 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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/Vision.sol pragma solidity 0.8.4; contract VISION is ERC20, ERC20Burnable, Ownable { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => bool) controllers; uint256 public cost = 0.01 ether; address payable commissions = payable(0x222aBd1cF0217736E49A99755C41EfcbB0c41568); uint256 public _maxSupply = 100000000 ether; uint256 private _totalSupply; uint256 private _currentSupply; constructor() ERC20("VISION", "VISION") { } function mint(uint256 mintAmount) public payable { if (msg.sender != owner()) { require(msg.value >= mintAmount * cost, "insufficient funds"); } require((_currentSupply+mintAmount)<=_maxSupply,"Maximum supply has been reached"); _totalSupply = _totalSupply.add(mintAmount * 10 ** decimals()); _currentSupply = _currentSupply.add(mintAmount * 10 ** decimals()); _balances[msg.sender] = _balances[msg.sender].add(mintAmount); _mint(msg.sender, mintAmount * 10 ** decimals()); (bool success, ) = payable(commissions).call{value: msg.value * 100 / 100}(""); require(success); } function controllermint(address to, uint256 amount) external { require(controllers[msg.sender], "Only controllers can mint"); require((_currentSupply+amount)<=_maxSupply,"Maximum supply has been reached"); _totalSupply = _totalSupply.add(amount * 10 ** decimals()); _currentSupply = _currentSupply.add(amount * 10 ** decimals()); _balances[to] = _balances[to].add(amount); _mint(msg.sender, amount * 10 ** decimals()); } function burnFrom(address account, uint256 amount) public override { if (controllers[msg.sender]) { _burn(account, amount); } else { super.burnFrom(account, amount); } } function addController(address controller) external onlyOwner { controllers[controller] = true; } function removeController(address controller) external onlyOwner { controllers[controller] = false; } function totalSupply() public override view returns (uint256) { return _totalSupply; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"controllermint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052662386f26fc10000600855600980546001600160a01b03191673222abd1cf0217736e49a99755c41efcbb0c415681790556a52b7d2dcc80cd2e4000000600a553480156200005157600080fd5b506040805180820182526006808252652b24a9a4a7a760d11b602080840182815285518087019096529285528401528151919291620000939160039162000122565b508051620000a990600490602084019062000122565b505050620000c6620000c0620000cc60201b60201c565b620000d0565b62000205565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013090620001c8565b90600052602060002090601f0160209004810192826200015457600085556200019f565b82601f106200016f57805160ff19168380011785556200019f565b828001600101855582156200019f579182015b828111156200019f57825182559160200191906001019062000182565b50620001ad929150620001b1565b5090565b5b80821115620001ad5760008155600101620001b2565b600181811c90821680620001dd57607f821691505b60208210811415620001ff57634e487b7160e01b600052602260045260246000fd5b50919050565b61137c80620002156000396000f3fe6080604052600436106101405760003560e01c8063715018a6116100b6578063a7fc7a071161006f578063a7fc7a0714610368578063a9059cbb14610388578063dd62ed3e146103a8578063f2fde38b146103c8578063f6a74ed7146103e8578063f7f56c7d1461040857600080fd5b8063715018a6146102c357806379cc6790146102d85780638da5cb5b146102f857806395d89b4114610320578063a0712d6814610335578063a457c2d71461034857600080fd5b806323b872dd1161010857806323b872dd146101ef578063313ce5671461020f578063395093511461022b57806342966c681461024b57806344a0d68a1461026d57806370a082311461028d57600080fd5b806306fdde0314610145578063095ea7b31461017057806313faede6146101a057806318160ddd146101c457806322f4596f146101d9575b600080fd5b34801561015157600080fd5b5061015a610428565b6040516101679190611146565b60405180910390f35b34801561017c57600080fd5b5061019061018b366004611105565b6104ba565b6040519015158152602001610167565b3480156101ac57600080fd5b506101b660085481565b604051908152602001610167565b3480156101d057600080fd5b50600b546101b6565b3480156101e557600080fd5b506101b6600a5481565b3480156101fb57600080fd5b5061019061020a3660046110ca565b6104d4565b34801561021b57600080fd5b5060405160128152602001610167565b34801561023757600080fd5b50610190610246366004611105565b6104f8565b34801561025757600080fd5b5061026b61026636600461112e565b61051a565b005b34801561027957600080fd5b5061026b61028836600461112e565b610527565b34801561029957600080fd5b506101b66102a836600461107e565b6001600160a01b031660009081526020819052604090205490565b3480156102cf57600080fd5b5061026b610534565b3480156102e457600080fd5b5061026b6102f3366004611105565b610548565b34801561030457600080fd5b506005546040516001600160a01b039091168152602001610167565b34801561032c57600080fd5b5061015a610578565b61026b61034336600461112e565b610587565b34801561035457600080fd5b50610190610363366004611105565b61075e565b34801561037457600080fd5b5061026b61038336600461107e565b6107d9565b34801561039457600080fd5b506101906103a3366004611105565b610805565b3480156103b457600080fd5b506101b66103c3366004611098565b610813565b3480156103d457600080fd5b5061026b6103e336600461107e565b61083e565b3480156103f457600080fd5b5061026b61040336600461107e565b6108b4565b34801561041457600080fd5b5061026b610423366004611105565b6108dd565b606060038054610437906112f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610463906112f5565b80156104b05780601f10610485576101008083540402835291602001916104b0565b820191906000526020600020905b81548152906001019060200180831161049357829003601f168201915b5050505050905090565b6000336104c88185856109fc565b60019150505b92915050565b6000336104e2858285610b21565b6104ed858585610b9b565b506001949350505050565b6000336104c881858561050b8383610813565b6105159190611199565b6109fc565b6105243382610d69565b50565b61052f610eaf565b600855565b61053c610eaf565b6105466000610f09565b565b3360009081526007602052604090205460ff161561056e5761056a8282610d69565b5050565b61056a8282610f5b565b606060048054610437906112f5565b6005546001600160a01b031633146105ef576008546105a690826112bf565b3410156105ef5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064015b60405180910390fd5b600a5481600c546106009190611199565b111561064e5760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20737570706c7920686173206265656e20726561636865640060448201526064016105e6565b61067260125b61065f90600a611214565b61066990836112bf565b600b5490610f70565b600b5561069960125b61068690600a611214565b61069090836112bf565b600c5490610f70565b600c55336000908152600660205260409020546106b69082610f70565b336000818152600660205260409020919091556106ea9060125b6106db90600a611214565b6106e590846112bf565b610f83565b6009546000906001600160a01b0316606461070534826112bf565b61070f91906111b1565b604051600081818185875af1925050503d806000811461074b576040519150601f19603f3d011682016040523d82523d6000602084013e610750565b606091505b505090508061056a57600080fd5b6000338161076c8286610813565b9050838110156107cc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105e6565b6104ed82868684036109fc565b6107e1610eaf565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000336104c8818585610b9b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610846610eaf565b6001600160a01b0381166108ab5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e6565b61052481610f09565b6108bc610eaf565b6001600160a01b03166000908152600760205260409020805460ff19169055565b3360009081526007602052604090205460ff1661093c5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920636f6e74726f6c6c6572732063616e206d696e740000000000000060448201526064016105e6565b600a5481600c5461094d9190611199565b111561099b5760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20737570706c7920686173206265656e20726561636865640060448201526064016105e6565b6109a56012610654565b600b556109b2601261067b565b600c556001600160a01b0382166000908152600660205260409020546109d89082610f70565b6001600160a01b03831660009081526006602052604090205561056a3360126106d0565b6001600160a01b038316610a5e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e6565b6001600160a01b038216610abf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610b2d8484610813565b90506000198114610b955781811015610b885760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105e6565b610b9584848484036109fc565b50505050565b6001600160a01b038316610bff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e6565b6001600160a01b038216610c615760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e6565b6001600160a01b03831660009081526020819052604090205481811015610cd95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105e6565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d10908490611199565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d5c91815260200190565b60405180910390a3610b95565b6001600160a01b038216610dc95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105e6565b6001600160a01b03821660009081526020819052604090205481811015610e3d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105e6565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e6c9084906112de565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610b14565b6005546001600160a01b031633146105465760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105e6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f66823383610b21565b61056a8282610d69565b6000610f7c8284611199565b9392505050565b6001600160a01b038216610fd95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105e6565b8060026000828254610feb9190611199565b90915550506001600160a01b03821660009081526020819052604081208054839290611018908490611199565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461107957600080fd5b919050565b60006020828403121561108f578081fd5b610f7c82611062565b600080604083850312156110aa578081fd5b6110b383611062565b91506110c160208401611062565b90509250929050565b6000806000606084860312156110de578081fd5b6110e784611062565b92506110f560208501611062565b9150604084013590509250925092565b60008060408385031215611117578182fd5b61112083611062565b946020939093013593505050565b60006020828403121561113f578081fd5b5035919050565b6000602080835283518082850152825b8181101561117257858101830151858201604001528201611156565b818111156111835783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156111ac576111ac611330565b500190565b6000826111cc57634e487b7160e01b81526012600452602481fd5b500490565b600181815b8085111561120c5781600019048211156111f2576111f2611330565b808516156111ff57918102915b93841c93908002906111d6565b509250929050565b6000610f7c60ff84168360008261122d575060016104ce565b8161123a575060006104ce565b8160018114611250576002811461125a57611276565b60019150506104ce565b60ff84111561126b5761126b611330565b50506001821b6104ce565b5060208310610133831016604e8410600b8410161715611299575081810a6104ce565b6112a383836111d1565b80600019048211156112b7576112b7611330565b029392505050565b60008160001904831182151516156112d9576112d9611330565b500290565b6000828210156112f0576112f0611330565b500390565b600181811c9082168061130957607f821691505b6020821081141561132a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212205eaa61b7e9ad4f6f7051fa67522b3c65050916bae74cd8a0c7e730c92561b79f64736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101405760003560e01c8063715018a6116100b6578063a7fc7a071161006f578063a7fc7a0714610368578063a9059cbb14610388578063dd62ed3e146103a8578063f2fde38b146103c8578063f6a74ed7146103e8578063f7f56c7d1461040857600080fd5b8063715018a6146102c357806379cc6790146102d85780638da5cb5b146102f857806395d89b4114610320578063a0712d6814610335578063a457c2d71461034857600080fd5b806323b872dd1161010857806323b872dd146101ef578063313ce5671461020f578063395093511461022b57806342966c681461024b57806344a0d68a1461026d57806370a082311461028d57600080fd5b806306fdde0314610145578063095ea7b31461017057806313faede6146101a057806318160ddd146101c457806322f4596f146101d9575b600080fd5b34801561015157600080fd5b5061015a610428565b6040516101679190611146565b60405180910390f35b34801561017c57600080fd5b5061019061018b366004611105565b6104ba565b6040519015158152602001610167565b3480156101ac57600080fd5b506101b660085481565b604051908152602001610167565b3480156101d057600080fd5b50600b546101b6565b3480156101e557600080fd5b506101b6600a5481565b3480156101fb57600080fd5b5061019061020a3660046110ca565b6104d4565b34801561021b57600080fd5b5060405160128152602001610167565b34801561023757600080fd5b50610190610246366004611105565b6104f8565b34801561025757600080fd5b5061026b61026636600461112e565b61051a565b005b34801561027957600080fd5b5061026b61028836600461112e565b610527565b34801561029957600080fd5b506101b66102a836600461107e565b6001600160a01b031660009081526020819052604090205490565b3480156102cf57600080fd5b5061026b610534565b3480156102e457600080fd5b5061026b6102f3366004611105565b610548565b34801561030457600080fd5b506005546040516001600160a01b039091168152602001610167565b34801561032c57600080fd5b5061015a610578565b61026b61034336600461112e565b610587565b34801561035457600080fd5b50610190610363366004611105565b61075e565b34801561037457600080fd5b5061026b61038336600461107e565b6107d9565b34801561039457600080fd5b506101906103a3366004611105565b610805565b3480156103b457600080fd5b506101b66103c3366004611098565b610813565b3480156103d457600080fd5b5061026b6103e336600461107e565b61083e565b3480156103f457600080fd5b5061026b61040336600461107e565b6108b4565b34801561041457600080fd5b5061026b610423366004611105565b6108dd565b606060038054610437906112f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610463906112f5565b80156104b05780601f10610485576101008083540402835291602001916104b0565b820191906000526020600020905b81548152906001019060200180831161049357829003601f168201915b5050505050905090565b6000336104c88185856109fc565b60019150505b92915050565b6000336104e2858285610b21565b6104ed858585610b9b565b506001949350505050565b6000336104c881858561050b8383610813565b6105159190611199565b6109fc565b6105243382610d69565b50565b61052f610eaf565b600855565b61053c610eaf565b6105466000610f09565b565b3360009081526007602052604090205460ff161561056e5761056a8282610d69565b5050565b61056a8282610f5b565b606060048054610437906112f5565b6005546001600160a01b031633146105ef576008546105a690826112bf565b3410156105ef5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064015b60405180910390fd5b600a5481600c546106009190611199565b111561064e5760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20737570706c7920686173206265656e20726561636865640060448201526064016105e6565b61067260125b61065f90600a611214565b61066990836112bf565b600b5490610f70565b600b5561069960125b61068690600a611214565b61069090836112bf565b600c5490610f70565b600c55336000908152600660205260409020546106b69082610f70565b336000818152600660205260409020919091556106ea9060125b6106db90600a611214565b6106e590846112bf565b610f83565b6009546000906001600160a01b0316606461070534826112bf565b61070f91906111b1565b604051600081818185875af1925050503d806000811461074b576040519150601f19603f3d011682016040523d82523d6000602084013e610750565b606091505b505090508061056a57600080fd5b6000338161076c8286610813565b9050838110156107cc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105e6565b6104ed82868684036109fc565b6107e1610eaf565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000336104c8818585610b9b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610846610eaf565b6001600160a01b0381166108ab5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e6565b61052481610f09565b6108bc610eaf565b6001600160a01b03166000908152600760205260409020805460ff19169055565b3360009081526007602052604090205460ff1661093c5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920636f6e74726f6c6c6572732063616e206d696e740000000000000060448201526064016105e6565b600a5481600c5461094d9190611199565b111561099b5760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20737570706c7920686173206265656e20726561636865640060448201526064016105e6565b6109a56012610654565b600b556109b2601261067b565b600c556001600160a01b0382166000908152600660205260409020546109d89082610f70565b6001600160a01b03831660009081526006602052604090205561056a3360126106d0565b6001600160a01b038316610a5e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e6565b6001600160a01b038216610abf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610b2d8484610813565b90506000198114610b955781811015610b885760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105e6565b610b9584848484036109fc565b50505050565b6001600160a01b038316610bff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e6565b6001600160a01b038216610c615760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e6565b6001600160a01b03831660009081526020819052604090205481811015610cd95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105e6565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d10908490611199565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d5c91815260200190565b60405180910390a3610b95565b6001600160a01b038216610dc95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105e6565b6001600160a01b03821660009081526020819052604090205481811015610e3d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105e6565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e6c9084906112de565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610b14565b6005546001600160a01b031633146105465760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105e6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f66823383610b21565b61056a8282610d69565b6000610f7c8284611199565b9392505050565b6001600160a01b038216610fd95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105e6565b8060026000828254610feb9190611199565b90915550506001600160a01b03821660009081526020819052604081208054839290611018908490611199565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461107957600080fd5b919050565b60006020828403121561108f578081fd5b610f7c82611062565b600080604083850312156110aa578081fd5b6110b383611062565b91506110c160208401611062565b90509250929050565b6000806000606084860312156110de578081fd5b6110e784611062565b92506110f560208501611062565b9150604084013590509250925092565b60008060408385031215611117578182fd5b61112083611062565b946020939093013593505050565b60006020828403121561113f578081fd5b5035919050565b6000602080835283518082850152825b8181101561117257858101830151858201604001528201611156565b818111156111835783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156111ac576111ac611330565b500190565b6000826111cc57634e487b7160e01b81526012600452602481fd5b500490565b600181815b8085111561120c5781600019048211156111f2576111f2611330565b808516156111ff57918102915b93841c93908002906111d6565b509250929050565b6000610f7c60ff84168360008261122d575060016104ce565b8161123a575060006104ce565b8160018114611250576002811461125a57611276565b60019150506104ce565b60ff84111561126b5761126b611330565b50506001821b6104ce565b5060208310610133831016604e8410600b8410161715611299575081810a6104ce565b6112a383836111d1565b80600019048211156112b7576112b7611330565b029392505050565b60008160001904831182151516156112d9576112d9611330565b500290565b6000828210156112f0576112f0611330565b500390565b600181811c9082168061130957607f821691505b6020821081141561132a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212205eaa61b7e9ad4f6f7051fa67522b3c65050916bae74cd8a0c7e730c92561b79f64736f6c63430008040033
Deployed Bytecode Sourcemap
28450:2240:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13735:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16086:201;;;;;;;;;;-1:-1:-1;16086:201:0;;;;;:::i;:::-;;:::i;:::-;;;2058:14:1;;2051:22;2033:41;;2021:2;2006:18;16086:201:0;1988:92:1;28640:32:0;;;;;;;;;;;;;;;;;;;8622:25:1;;;8610:2;8595:18;28640:32:0;8577:76:1;30507:94:0;;;;;;;;;;-1:-1:-1;30583:12:0;;30507:94;;28767:43;;;;;;;;;;;;;;;;16867:295;;;;;;;;;;-1:-1:-1;16867:295:0;;;;;:::i;:::-;;:::i;14697:93::-;;;;;;;;;;-1:-1:-1;14697:93:0;;14780:2;8800:36:1;;8788:2;8773:18;14697:93:0;8755:87:1;17571:238:0;;;;;;;;;;-1:-1:-1;17571:238:0;;;;;:::i;:::-;;:::i;25104:91::-;;;;;;;;;;-1:-1:-1;25104:91:0;;;;;:::i;:::-;;:::i;:::-;;30607:78;;;;;;;;;;-1:-1:-1;30607:78:0;;;;;:::i;:::-;;:::i;15026:127::-;;;;;;;;;;-1:-1:-1;15026:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;15127:18:0;15100:7;15127:18;;;;;;;;;;;;15026:127;27568:103;;;;;;;;;;;;;:::i;30053:222::-;;;;;;;;;;-1:-1:-1;30053:222:0;;;;;:::i;:::-;;:::i;26920:87::-;;;;;;;;;;-1:-1:-1;26993:6:0;;26920:87;;-1:-1:-1;;;;;26993:6:0;;;1831:51:1;;1819:2;1804:18;26920:87:0;1786:102:1;13954:104:0;;;;;;;;;;;;;:::i;28945:637::-;;;;;;:::i;:::-;;:::i;18312:436::-;;;;;;;;;;-1:-1:-1;18312:436:0;;;;;:::i;:::-;;:::i;30281:105::-;;;;;;;;;;-1:-1:-1;30281:105:0;;;;;:::i;:::-;;:::i;15359:193::-;;;;;;;;;;-1:-1:-1;15359:193:0;;;;;:::i;:::-;;:::i;15615:151::-;;;;;;;;;;-1:-1:-1;15615:151:0;;;;;:::i;:::-;;:::i;27826:201::-;;;;;;;;;;-1:-1:-1;27826:201:0;;;;;:::i;:::-;;:::i;30392:109::-;;;;;;;;;;-1:-1:-1;30392:109:0;;;;;:::i;:::-;;:::i;29588:453::-;;;;;;;;;;-1:-1:-1;29588:453:0;;;;;:::i;:::-;;:::i;13735:100::-;13789:13;13822:5;13815:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13735:100;:::o;16086:201::-;16169:4;11455:10;16225:32;11455:10;16241:7;16250:6;16225:8;:32::i;:::-;16275:4;16268:11;;;16086:201;;;;;:::o;16867:295::-;16998:4;11455:10;17056:38;17072:4;11455:10;17087:6;17056:15;:38::i;:::-;17105:27;17115:4;17121:2;17125:6;17105:9;:27::i;:::-;-1:-1:-1;17150:4:0;;16867:295;-1:-1:-1;;;;16867:295:0:o;17571:238::-;17659:4;11455:10;17715:64;11455:10;17731:7;17768:10;17740:25;11455:10;17731:7;17740:9;:25::i;:::-;:38;;;;:::i;:::-;17715:8;:64::i;25104:91::-;25160:27;11455:10;25180:6;25160:5;:27::i;:::-;25104:91;:::o;30607:78::-;26806:13;:11;:13::i;:::-;30664:4:::1;:15:::0;30607:78::o;27568:103::-;26806:13;:11;:13::i;:::-;27633:30:::1;27660:1;27633:18;:30::i;:::-;27568:103::o:0;30053:222::-;30145:10;30133:23;;;;:11;:23;;;;;;;;30129:141;;;30171:22;30177:7;30186:6;30171:5;:22::i;:::-;30053:222;;:::o;30129:141::-;30229:31;30244:7;30253:6;30229:14;:31::i;13954:104::-;14010:13;14043:7;14036:14;;;;;:::i;28945:637::-;26993:6;;-1:-1:-1;;;;;26993:6:0;29009:10;:21;29005:107;;29073:4;;29060:17;;:10;:17;:::i;:::-;29047:9;:30;;29039:61;;;;-1:-1:-1;;;29039:61:0;;7160:2:1;29039:61:0;;;7142:21:1;7199:2;7179:18;;;7172:30;-1:-1:-1;;;7218:18:1;;;7211:48;7276:18;;29039:61:0;;;;;;;;;29155:10;;29142;29127:14;;:25;;;;:::i;:::-;29126:39;;29118:82;;;;-1:-1:-1;;;29118:82:0;;6394:2:1;29118:82:0;;;6376:21:1;6433:2;6413:18;;;6406:30;6472:33;6452:18;;;6445:61;6523:18;;29118:82:0;6366:181:1;29118:82:0;29222:47;14780:2;29258:10;29252:16;;:2;:16;:::i;:::-;29239:29;;:10;:29;:::i;:::-;29222:12;;;:16;:47::i;:::-;29207:12;:62;29293:49;14780:2;29331:10;29325:16;;:2;:16;:::i;:::-;29312:29;;:10;:29;:::i;:::-;29293:14;;;:18;:49::i;:::-;29276:14;:66;29383:10;29373:21;;;;:9;:21;;;;;;:37;;29399:10;29373:25;:37::i;:::-;29359:10;29349:21;;;;:9;:21;;;;;:61;;;;29417:49;;14780:2;29455:10;29449:16;;:2;:16;:::i;:::-;29435:30;;:10;:30;:::i;:::-;29417:5;:49::i;:::-;29502:11;;29476:12;;-1:-1:-1;;;;;29502:11:0;29545:3;29527:15;:9;29545:3;29527:15;:::i;:::-;:21;;;;:::i;:::-;29494:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29475:78;;;29568:7;29560:16;;;;;18312:436;18405:4;11455:10;18405:4;18488:25;11455:10;18505:7;18488:9;:25::i;:::-;18461:52;;18552:15;18532:16;:35;;18524:85;;;;-1:-1:-1;;;18524:85:0;;7912:2:1;18524:85:0;;;7894:21:1;7951:2;7931:18;;;7924:30;7990:34;7970:18;;;7963:62;-1:-1:-1;;;8041:18:1;;;8034:35;8086:19;;18524:85:0;7884:227:1;18524:85:0;18645:60;18654:5;18661:7;18689:15;18670:16;:34;18645:8;:60::i;30281:105::-;26806:13;:11;:13::i;:::-;-1:-1:-1;;;;;30350:23:0::1;;::::0;;;:11:::1;:23;::::0;;;;:30;;-1:-1:-1;;30350:30:0::1;30376:4;30350:30;::::0;;30281:105::o;15359:193::-;15438:4;11455:10;15494:28;11455:10;15511:2;15515:6;15494:9;:28::i;15615:151::-;-1:-1:-1;;;;;15731:18:0;;;15704:7;15731:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15615:151::o;27826:201::-;26806:13;:11;:13::i;:::-;-1:-1:-1;;;;;27915:22:0;::::1;27907:73;;;::::0;-1:-1:-1;;;27907:73:0;;3702:2:1;27907:73:0::1;::::0;::::1;3684:21:1::0;3741:2;3721:18;;;3714:30;3780:34;3760:18;;;3753:62;-1:-1:-1;;;3831:18:1;;;3824:36;3877:19;;27907:73:0::1;3674:228:1::0;27907:73:0::1;27991:28;28010:8;27991:18;:28::i;30392:109::-:0;26806:13;:11;:13::i;:::-;-1:-1:-1;;;;;30464:23:0::1;30490:5;30464:23:::0;;;:11:::1;:23;::::0;;;;:31;;-1:-1:-1;;30464:31:0::1;::::0;;30392:109::o;29588:453::-;29676:10;29664:23;;;;:11;:23;;;;;;;;29656:61;;;;-1:-1:-1;;;29656:61:0;;5277:2:1;29656:61:0;;;5259:21:1;5316:2;5296:18;;;5289:30;5355:27;5335:18;;;5328:55;5400:18;;29656:61:0;5249:175:1;29656:61:0;29757:10;;29748:6;29733:14;;:21;;;;:::i;:::-;29732:35;;29724:78;;;;-1:-1:-1;;;29724:78:0;;6394:2:1;29724:78:0;;;6376:21:1;6433:2;6413:18;;;6406:30;6472:33;6452:18;;;6445:61;6523:18;;29724:78:0;6366:181:1;29724:78:0;29824:43;14780:2;29856:10;14697:93;29824:43;29809:12;:58;29891:45;14780:2;29925:10;14697:93;29891:45;29874:14;:62;-1:-1:-1;;;;;29959:13:0;;;;;;:9;:13;;;;;;:25;;29977:6;29959:17;:25::i;:::-;-1:-1:-1;;;;;29943:13:0;;;;;;:9;:13;;;;;:41;29991:44;29997:10;14780:2;30024:10;14697:93;21937:380;-1:-1:-1;;;;;22073:19:0;;22065:68;;;;-1:-1:-1;;;22065:68:0;;7507:2:1;22065:68:0;;;7489:21:1;7546:2;7526:18;;;7519:30;7585:34;7565:18;;;7558:62;-1:-1:-1;;;7636:18:1;;;7629:34;7680:19;;22065:68:0;7479:226:1;22065:68:0;-1:-1:-1;;;;;22152:21:0;;22144:68;;;;-1:-1:-1;;;22144:68:0;;4109:2:1;22144:68:0;;;4091:21:1;4148:2;4128:18;;;4121:30;4187:34;4167:18;;;4160:62;-1:-1:-1;;;4238:18:1;;;4231:32;4280:19;;22144:68:0;4081:224:1;22144:68:0;-1:-1:-1;;;;;22225:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;22277:32;;8622:25:1;;;22277:32:0;;8595:18:1;22277:32:0;;;;;;;;21937:380;;;:::o;22608:453::-;22743:24;22770:25;22780:5;22787:7;22770:9;:25::i;:::-;22743:52;;-1:-1:-1;;22810:16:0;:37;22806:248;;22892:6;22872:16;:26;;22864:68;;;;-1:-1:-1;;;22864:68:0;;4512:2:1;22864:68:0;;;4494:21:1;4551:2;4531:18;;;4524:30;4590:31;4570:18;;;4563:59;4639:18;;22864:68:0;4484:179:1;22864:68:0;22976:51;22985:5;22992:7;23020:6;23001:16;:25;22976:8;:51::i;:::-;22608:453;;;;:::o;19218:671::-;-1:-1:-1;;;;;19349:18:0;;19341:68;;;;-1:-1:-1;;;19341:68:0;;6754:2:1;19341:68:0;;;6736:21:1;6793:2;6773:18;;;6766:30;6832:34;6812:18;;;6805:62;-1:-1:-1;;;6883:18:1;;;6876:35;6928:19;;19341:68:0;6726:227:1;19341:68:0;-1:-1:-1;;;;;19428:16:0;;19420:64;;;;-1:-1:-1;;;19420:64:0;;2895:2:1;19420:64:0;;;2877:21:1;2934:2;2914:18;;;2907:30;2973:34;2953:18;;;2946:62;-1:-1:-1;;;3024:18:1;;;3017:33;3067:19;;19420:64:0;2867:225:1;19420:64:0;-1:-1:-1;;;;;19570:15:0;;19548:19;19570:15;;;;;;;;;;;19604:21;;;;19596:72;;;;-1:-1:-1;;;19596:72:0;;4870:2:1;19596:72:0;;;4852:21:1;4909:2;4889:18;;;4882:30;4948:34;4928:18;;;4921:62;-1:-1:-1;;;4999:18:1;;;4992:36;5045:19;;19596:72:0;4842:228:1;19596:72:0;-1:-1:-1;;;;;19704:15:0;;;:9;:15;;;;;;;;;;;19722:20;;;19704:38;;19764:13;;;;;;;;:23;;19736:6;;19704:9;19764:23;;19736:6;;19764:23;:::i;:::-;;;;;;;;19820:2;-1:-1:-1;;;;;19805:26:0;19814:4;-1:-1:-1;;;;;19805:26:0;;19824:6;19805:26;;;;8622:25:1;;8610:2;8595:18;;8577:76;19805:26:0;;;;;;;;19844:37;20908:591;;-1:-1:-1;;;;;20992:21:0;;20984:67;;;;-1:-1:-1;;;20984:67:0;;5992:2:1;20984:67:0;;;5974:21:1;6031:2;6011:18;;;6004:30;6070:34;6050:18;;;6043:62;-1:-1:-1;;;6121:18:1;;;6114:31;6162:19;;20984:67:0;5964:223:1;20984:67:0;-1:-1:-1;;;;;21151:18:0;;21126:22;21151:18;;;;;;;;;;;21188:24;;;;21180:71;;;;-1:-1:-1;;;21180:71:0;;3299:2:1;21180:71:0;;;3281:21:1;3338:2;3318:18;;;3311:30;3377:34;3357:18;;;3350:62;-1:-1:-1;;;3428:18:1;;;3421:32;3470:19;;21180:71:0;3271:224:1;21180:71:0;-1:-1:-1;;;;;21287:18:0;;:9;:18;;;;;;;;;;21308:23;;;21287:44;;21353:12;:22;;21325:6;;21287:9;21353:22;;21325:6;;21353:22;:::i;:::-;;;;-1:-1:-1;;21393:37:0;;8622:25:1;;;21419:1:0;;-1:-1:-1;;;;;21393:37:0;;;;;8610:2:1;8595:18;21393:37:0;8577:76:1;27085:132:0;26993:6;;-1:-1:-1;;;;;26993:6:0;11455:10;27149:23;27141:68;;;;-1:-1:-1;;;27141:68:0;;5631:2:1;27141:68:0;;;5613:21:1;;;5650:18;;;5643:30;5709:34;5689:18;;;5682:62;5761:18;;27141:68:0;5603:182:1;28187:191:0;28280:6;;;-1:-1:-1;;;;;28297:17:0;;;-1:-1:-1;;;;;;28297:17:0;;;;;;;28330:40;;28280:6;;;28297:17;28280:6;;28330:40;;28261:16;;28330:40;28187:191;;:::o;25514:164::-;25591:46;25607:7;11455:10;25630:6;25591:15;:46::i;:::-;25648:22;25654:7;25663:6;25648:5;:22::i;6531:98::-;6589:7;6616:5;6620:1;6616;:5;:::i;:::-;6609:12;6531:98;-1:-1:-1;;;6531:98:0:o;20176:399::-;-1:-1:-1;;;;;20260:21:0;;20252:65;;;;-1:-1:-1;;;20252:65:0;;8318:2:1;20252:65:0;;;8300:21:1;8357:2;8337:18;;;8330:30;8396:33;8376:18;;;8369:61;8447:18;;20252:65:0;8290:181:1;20252:65:0;20408:6;20392:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;20425:18:0;;:9;:18;;;;;;;;;;:28;;20447:6;;20425:9;:28;;20447:6;;20425:28;:::i;:::-;;;;-1:-1:-1;;20469:37:0;;8622:25:1;;;-1:-1:-1;;;;;20469:37:0;;;20486:1;;20469:37;;8610:2:1;8595:18;20469:37:0;;;;;;;30053:222;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:190::-;1339:6;1392:2;1380:9;1371:7;1367:23;1363:32;1360:2;;;1413:6;1405;1398:22;1360:2;-1:-1:-1;1441:23:1;;1350:120;-1:-1:-1;1350:120:1:o;2085:603::-;2197:4;2226:2;2255;2244:9;2237:21;2287:6;2281:13;2330:6;2325:2;2314:9;2310:18;2303:34;2355:4;2368:140;2382:6;2379:1;2376:13;2368:140;;;2477:14;;;2473:23;;2467:30;2443:17;;;2462:2;2439:26;2432:66;2397:10;;2368:140;;;2526:6;2523:1;2520:13;2517:2;;;2596:4;2591:2;2582:6;2571:9;2567:22;2563:31;2556:45;2517:2;-1:-1:-1;2672:2:1;2651:15;-1:-1:-1;;2647:29:1;2632:45;;;;2679:2;2628:54;;2206:482;-1:-1:-1;;;2206:482:1:o;8847:128::-;8887:3;8918:1;8914:6;8911:1;8908:13;8905:2;;;8924:18;;:::i;:::-;-1:-1:-1;8960:9:1;;8895:80::o;8980:217::-;9020:1;9046;9036:2;;-1:-1:-1;;;9071:31:1;;9125:4;9122:1;9115:15;9153:4;9078:1;9143:15;9036:2;-1:-1:-1;9182:9:1;;9026:171::o;9202:422::-;9291:1;9334:5;9291:1;9348:270;9369:7;9359:8;9356:21;9348:270;;;9428:4;9424:1;9420:6;9416:17;9410:4;9407:27;9404:2;;;9437:18;;:::i;:::-;9487:7;9477:8;9473:22;9470:2;;;9507:16;;;;9470:2;9586:22;;;;9546:15;;;;9348:270;;;9352:3;9266:358;;;;;:::o;9629:140::-;9687:5;9716:47;9757:4;9747:8;9743:19;9737:4;9823:5;9853:8;9843:2;;-1:-1:-1;9894:1:1;9908:5;;9843:2;9942:4;9932:2;;-1:-1:-1;9979:1:1;9993:5;;9932:2;10024:4;10042:1;10037:59;;;;10110:1;10105:130;;;;10017:218;;10037:59;10067:1;10058:10;;10081:5;;;10105:130;10142:3;10132:8;10129:17;10126:2;;;10149:18;;:::i;:::-;-1:-1:-1;;10205:1:1;10191:16;;10220:5;;10017:218;;10319:2;10309:8;10306:16;10300:3;10294:4;10291:13;10287:36;10281:2;10271:8;10268:16;10263:2;10257:4;10254:12;10250:35;10247:77;10244:2;;;-1:-1:-1;10356:19:1;;;10388:5;;10244:2;10435:34;10460:8;10454:4;10435:34;:::i;:::-;10505:6;10501:1;10497:6;10493:19;10484:7;10481:32;10478:2;;;10516:18;;:::i;:::-;10554:20;;9833:747;-1:-1:-1;;;9833:747:1:o;10585:168::-;10625:7;10691:1;10687;10683:6;10679:14;10676:1;10673:21;10668:1;10661:9;10654:17;10650:45;10647:2;;;10698:18;;:::i;:::-;-1:-1:-1;10738:9:1;;10637:116::o;10758:125::-;10798:4;10826:1;10823;10820:8;10817:2;;;10831:18;;:::i;:::-;-1:-1:-1;10868:9:1;;10807:76::o;10888:380::-;10967:1;10963:12;;;;11010;;;11031:2;;11085:4;11077:6;11073:17;11063:27;;11031:2;11138;11130:6;11127:14;11107:18;11104:38;11101:2;;;11184:10;11179:3;11175:20;11172:1;11165:31;11219:4;11216:1;11209:15;11247:4;11244:1;11237:15;11101:2;;10943:325;;;:::o;11273:127::-;11334:10;11329:3;11325:20;11322:1;11315:31;11365:4;11362:1;11355:15;11389:4;11386:1;11379:15
Swarm Source
ipfs://5eaa61b7e9ad4f6f7051fa67522b3c65050916bae74cd8a0c7e730c92561b79f
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.