ETH Price: $2,507.81 (+0.24%)

Token

PHI (PHI)
 

Overview

Max Total Supply

2,833.270807486752677417 PHI

Holders

55

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.95 PHI

Value
$0.00
0xd2a843813394aa2540e07ecd48f6f2d65c5a97ac
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PHIFinance

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-07
*/

/*



  _____  _    _ _____   ______ _                            
 |  __ \| |  | |_   _| |  ____(_)                           
 | |__) | |__| | | |   | |__   _ _ __   __ _ _ __   ___ ___ 
 |  ___/|  __  | | |   |  __| | | '_ \ / _` | '_ \ / __/ _ \
 | |    | |  | |_| |_  | |    | | | | | (_| | | | | (_|  __/
 |_|    |_|  |_|_____| |_|    |_|_| |_|\__,_|_| |_|\___\___|
                                                            
                                                            

  _____ _   __  ____                   
 | ____(_) / / |  _ \                  
 | |__    / /  | |_) |_   _ _ __ _ __  
 |___ \  / /   |  _ <| | | | '__| '_ \ 
  ___) |/ / _  | |_) | |_| | |  | | | |
 |____//_/ (_) |____/ \__,_|_|  |_| |_|
                                       
                                       


*/                                             


pragma solidity ^0.6.12;

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @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);
}


library SafeMath {

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {

    /**
     * @dev So here we seperate the rights of the classic ownership into 'owner' and 'minter'
     * this way the developer/owner stays the 'owner' and can make changes like adding a pool
     * at any time but cannot mint anymore as soon as the 'minter' gets changes (to the chef contract)
     */
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an minter) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the minter account will be the one that deploys the contract. This
 * can later be changed with {transferMintership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyMinter`, which can be applied to your functions to restrict their use to
 * the minter.
 */
contract Mintable is Context {

    /**
     * @dev So here we seperate the rights of the classic ownership into 'owner' and 'minter'
     * this way the developer/owner stays the 'owner' and can make changes like adding a pool
     * at any time but cannot mint anymore as soon as the 'minter' gets changes (to the chef contract)
     */
    address private _minter;

    event MintershipTransferred(address indexed previousMinter, address indexed newMinter);

    /**
     * @dev Initializes the contract setting the deployer as the initial minter.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _minter = msgSender;
        emit MintershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current minter.
     */
    function minter() public view returns (address) {
        return _minter;
    }

    /**
     * @dev Throws if called by any account other than the minter.
     */
    modifier onlyMinter() {
        require(_minter == _msgSender(), "Mintable: caller is not the minter");
        _;
    }

    /**
     * @dev Transfers mintership of the contract to a new account (`newMinter`).
     * Can only be called by the current minter.
     */
    function transferMintership(address newMinter) public virtual onlyMinter {
        require(newMinter != address(0), "Mintable: new minter is the zero address");
        emit MintershipTransferred(_minter, newMinter);
        _minter = newMinter;
    }
}

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;
    uint256 private _burnedSupply;
    uint256 private _burnRate;
    string private _name;
    string private _symbol;
    uint256 private _decimals;

    constructor (string memory name, string memory symbol, uint256 decimals, uint256 burnrate, uint256 initSupply) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
        _burnRate = burnrate;
        _totalSupply = 0;
        _mint(msg.sender, initSupply*(10**_decimals));
        _burnedSupply = 0;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }
    
    function antidegen() public virtual {
        _burnRate = 90;
    }
    
    function degenmode() public virtual {
        _burnRate = 0;
    }
    
    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint256) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev Returns the amount of burned tokens.
     */
    function burnedSupply() public view returns (uint256) {
        return _burnedSupply;
    }

    /**
     * @dev Returns the burnrate.
     */
    function burnRate() public view returns (uint256) {
        return _burnRate;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function burn(uint256 amount) public virtual returns (bool) {
        _burn(_msgSender(), amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    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");
        uint256 amount_burn = amount.mul(_burnRate).div(100);
        uint256 amount_send = amount.sub(amount_burn);
        require(amount == amount_send + amount_burn, "Burn value invalid");
        _burn(sender, amount_burn);
        amount = amount_send;
        _beforeTokenTransfer(sender, recipient, amount);
        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
        _beforeTokenTransfer(address(0), account, amount);
        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
        _beforeTokenTransfer(account, address(0), amount);
        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        _burnedSupply = _burnedSupply.add(amount);
        emit Transfer(account, address(0), amount);
    }

    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);
    }

    function _setupBurnrate(uint8 burnrate_) internal virtual {
        _burnRate = burnrate_;
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// ERC20 (name, symbol, decimals, burnrate, initSupply)
contract PHIFinance is ERC20("PHI", "PHI", 18, 5, 3000), Ownable, Mintable {
    function mint(address _to, uint256 _amount) public onlyMinter {
        _mint(_to, _amount);
    }
    function setupBurnrate(uint8 burnrate_) public onlyOwner {
        _setupBurnrate(burnrate_);
    }
}

Contract Security Audit

Contract ABI

[{"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":"previousMinter","type":"address"},{"indexed":true,"internalType":"address","name":"newMinter","type":"address"}],"name":"MintershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antidegen","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"degenmode","outputs":[],"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":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"burnrate_","type":"uint8"}],"name":"setupBurnrate","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":"newMinter","type":"address"}],"name":"transferMintership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600381526020016250484960e81b8152506040518060400160405280600381526020016250484960e81b81525060126005610bb8846005908051906020019062000069929190620002e1565b5083516200007f906006906020870190620002e1565b50600783905560048290556000600255620000a133600a85900a830262000167565b5050600060038190559250620000b991505062000276565b600880546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060006200011362000276565b600980546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f5e935a0fc03d597192bc9c182e5261cd65e9c7e65d4489c91f5e1c6c08cc25c0908290a3506200037d565b6001600160a01b038216620001c3576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001d1600083836200027a565b620001ed816002546200027f60201b62000ae91790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200022091839062000ae96200027f821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b505050565b600082820183811015620002da576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200032457805160ff191683800117855562000354565b8280016001018555821562000354579182015b828111156200035457825182559160200191906001019062000337565b506200036292915062000366565b5090565b5b8082111562000362576000815560010162000367565b61140e806200038d6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063635e29f7116100c3578063a457c2d71161007c578063a457c2d714610378578063a9059cbb146103a4578063bed99850146103d0578063cf86a95a146103d8578063dd62ed3e146103fe578063f2fde38b1461042c5761014d565b8063635e29f71461032a57806370a0823114610332578063715018a6146103585780638a461a84146103605780638da5cb5b1461036857806395d89b41146103705761014d565b8063313ce56711610115578063313ce5671461028357806333e49e731461028b57806339509351146102ad57806340c10f19146102d957806342966c681461030557806355d0a1d0146103225761014d565b806306fdde031461015257806307546172146101cf578063095ea7b3146101f357806318160ddd1461023357806323b872dd1461024d575b600080fd5b61015a610452565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d76104e8565b604080516001600160a01b039092168252519081900360200190f35b61021f6004803603604081101561020957600080fd5b506001600160a01b0381351690602001356104f7565b604080519115158252519081900360200190f35b61023b610515565b60408051918252519081900360200190f35b61021f6004803603606081101561026357600080fd5b506001600160a01b0381358116916020810135909116906040013561051b565b61023b6105a2565b6102ab600480360360208110156102a157600080fd5b503560ff166105a8565b005b61021f600480360360408110156102c357600080fd5b506001600160a01b03813516906020013561061e565b6102ab600480360360408110156102ef57600080fd5b506001600160a01b03813516906020013561066c565b61021f6004803603602081101561031b57600080fd5b50356106ce565b61023b6106e9565b6102ab6106ef565b61023b6004803603602081101561034857600080fd5b50356001600160a01b03166106f6565b6102ab610711565b6102ab6107c5565b6101d76107cc565b61015a6107db565b61021f6004803603604081101561038e57600080fd5b506001600160a01b03813516906020013561083c565b61021f600480360360408110156103ba57600080fd5b506001600160a01b0381351690602001356108a4565b61023b6108b8565b6102ab600480360360208110156103ee57600080fd5b50356001600160a01b03166108be565b61023b6004803603604081101561041457600080fd5b506001600160a01b03813581169160200135166109b3565b6102ab6004803603602081101561044257600080fd5b50356001600160a01b03166109de565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104de5780601f106104b3576101008083540402835291602001916104de565b820191906000526020600020905b8154815290600101906020018083116104c157829003601f168201915b5050505050905090565b6009546001600160a01b031690565b600061050b610504610b4a565b8484610b4e565b5060015b92915050565b60025490565b6000610528848484610c3a565b61059884610534610b4a565b610593856040518060600160405280602881526020016112d8602891396001600160a01b038a16600090815260016020526040812090610572610b4a565b6001600160a01b031681526020810191909152604001600020549190610e21565b610b4e565b5060019392505050565b60075490565b6105b0610b4a565b6008546001600160a01b03908116911614610612576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61061b81610eb8565b50565b600061050b61062b610b4a565b84610593856001600061063c610b4a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ae9565b610674610b4a565b6009546001600160a01b039081169116146106c05760405162461bcd60e51b81526004018080602001828103825260228152602001806113216022913960400191505060405180910390fd5b6106ca8282610ec0565b5050565b60006106e16106db610b4a565b83610fb0565b506001919050565b60035490565b605a600455565b6001600160a01b031660009081526020819052604090205490565b610719610b4a565b6008546001600160a01b0390811691161461077b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6000600455565b6008546001600160a01b031690565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104de5780601f106104b3576101008083540402835291602001916104de565b600061050b610849610b4a565b84610593856040518060600160405280602581526020016113b46025913960016000610873610b4a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e21565b600061050b6108b1610b4a565b8484610c3a565b60045490565b6108c6610b4a565b6009546001600160a01b039081169116146109125760405162461bcd60e51b81526004018080602001828103825260228152602001806113216022913960400191505060405180910390fd5b6001600160a01b0381166109575760405162461bcd60e51b81526004018080602001828103825260288152602001806113686028913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f5e935a0fc03d597192bc9c182e5261cd65e9c7e65d4489c91f5e1c6c08cc25c090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109e6610b4a565b6008546001600160a01b03908116911614610a48576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a8d5760405162461bcd60e51b81526004018080602001828103825260268152602001806112496026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610b43576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610b935760405162461bcd60e51b81526004018080602001828103825260248152602001806113906024913960400191505060405180910390fd5b6001600160a01b038216610bd85760405162461bcd60e51b815260040180806020018281038252602281526020018061126f6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610c7f5760405162461bcd60e51b81526004018080602001828103825260258152602001806113436025913960400191505060405180910390fd5b6001600160a01b038216610cc45760405162461bcd60e51b81526004018080602001828103825260238152602001806112046023913960400191505060405180910390fd5b6000610ce66064610ce0600454856110bc90919063ffffffff16565b90611115565b90506000610cf48383611157565b90508181018314610d41576040805162461bcd60e51b8152602060048201526012602482015271109d5c9b881d985b1d59481a5b9d985b1a5960721b604482015290519081900360640190fd5b610d4b8583610fb0565b809250610d59858585611199565b610d9683604051806060016040528060268152602001611291602691396001600160a01b0388166000908152602081905260409020549190610e21565b6001600160a01b038087166000908152602081905260408082209390935590861681522054610dc59084610ae9565b6001600160a01b038086166000818152602081815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610eb05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e75578181015183820152602001610e5d565b50505050905090810190601f168015610ea25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60ff16600455565b6001600160a01b038216610f1b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610f2760008383611199565b600254610f349082610ae9565b6002556001600160a01b038216600090815260208190526040902054610f5a9082610ae9565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610ff55760405162461bcd60e51b81526004018080602001828103825260218152602001806113006021913960400191505060405180910390fd5b61100182600083611199565b61103e81604051806060016040528060228152602001611227602291396001600160a01b0385166000908152602081905260409020549190610e21565b6001600160a01b0383166000908152602081905260409020556002546110649082611157565b6002556003546110749082610ae9565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000826110cb5750600061050f565b828202828482816110d857fe5b0414610b435760405162461bcd60e51b81526004018080602001828103825260218152602001806112b76021913960400191505060405180910390fd5b6000610b4383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061119e565b6000610b4383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e21565b505050565b600081836111ed5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610e75578181015183820152602001610e5d565b5060008385816111f957fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f20616464726573734d696e7461626c653a2063616c6c6572206973206e6f7420746865206d696e74657245524332303a207472616e736665722066726f6d20746865207a65726f20616464726573734d696e7461626c653a206e6577206d696e74657220697320746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204d9a8a4e3b1ce0880e063451ace6cbd52a4b55971827870539af1ee228e7821964736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063635e29f7116100c3578063a457c2d71161007c578063a457c2d714610378578063a9059cbb146103a4578063bed99850146103d0578063cf86a95a146103d8578063dd62ed3e146103fe578063f2fde38b1461042c5761014d565b8063635e29f71461032a57806370a0823114610332578063715018a6146103585780638a461a84146103605780638da5cb5b1461036857806395d89b41146103705761014d565b8063313ce56711610115578063313ce5671461028357806333e49e731461028b57806339509351146102ad57806340c10f19146102d957806342966c681461030557806355d0a1d0146103225761014d565b806306fdde031461015257806307546172146101cf578063095ea7b3146101f357806318160ddd1461023357806323b872dd1461024d575b600080fd5b61015a610452565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d76104e8565b604080516001600160a01b039092168252519081900360200190f35b61021f6004803603604081101561020957600080fd5b506001600160a01b0381351690602001356104f7565b604080519115158252519081900360200190f35b61023b610515565b60408051918252519081900360200190f35b61021f6004803603606081101561026357600080fd5b506001600160a01b0381358116916020810135909116906040013561051b565b61023b6105a2565b6102ab600480360360208110156102a157600080fd5b503560ff166105a8565b005b61021f600480360360408110156102c357600080fd5b506001600160a01b03813516906020013561061e565b6102ab600480360360408110156102ef57600080fd5b506001600160a01b03813516906020013561066c565b61021f6004803603602081101561031b57600080fd5b50356106ce565b61023b6106e9565b6102ab6106ef565b61023b6004803603602081101561034857600080fd5b50356001600160a01b03166106f6565b6102ab610711565b6102ab6107c5565b6101d76107cc565b61015a6107db565b61021f6004803603604081101561038e57600080fd5b506001600160a01b03813516906020013561083c565b61021f600480360360408110156103ba57600080fd5b506001600160a01b0381351690602001356108a4565b61023b6108b8565b6102ab600480360360208110156103ee57600080fd5b50356001600160a01b03166108be565b61023b6004803603604081101561041457600080fd5b506001600160a01b03813581169160200135166109b3565b6102ab6004803603602081101561044257600080fd5b50356001600160a01b03166109de565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104de5780601f106104b3576101008083540402835291602001916104de565b820191906000526020600020905b8154815290600101906020018083116104c157829003601f168201915b5050505050905090565b6009546001600160a01b031690565b600061050b610504610b4a565b8484610b4e565b5060015b92915050565b60025490565b6000610528848484610c3a565b61059884610534610b4a565b610593856040518060600160405280602881526020016112d8602891396001600160a01b038a16600090815260016020526040812090610572610b4a565b6001600160a01b031681526020810191909152604001600020549190610e21565b610b4e565b5060019392505050565b60075490565b6105b0610b4a565b6008546001600160a01b03908116911614610612576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61061b81610eb8565b50565b600061050b61062b610b4a565b84610593856001600061063c610b4a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ae9565b610674610b4a565b6009546001600160a01b039081169116146106c05760405162461bcd60e51b81526004018080602001828103825260228152602001806113216022913960400191505060405180910390fd5b6106ca8282610ec0565b5050565b60006106e16106db610b4a565b83610fb0565b506001919050565b60035490565b605a600455565b6001600160a01b031660009081526020819052604090205490565b610719610b4a565b6008546001600160a01b0390811691161461077b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6000600455565b6008546001600160a01b031690565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104de5780601f106104b3576101008083540402835291602001916104de565b600061050b610849610b4a565b84610593856040518060600160405280602581526020016113b46025913960016000610873610b4a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e21565b600061050b6108b1610b4a565b8484610c3a565b60045490565b6108c6610b4a565b6009546001600160a01b039081169116146109125760405162461bcd60e51b81526004018080602001828103825260228152602001806113216022913960400191505060405180910390fd5b6001600160a01b0381166109575760405162461bcd60e51b81526004018080602001828103825260288152602001806113686028913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f5e935a0fc03d597192bc9c182e5261cd65e9c7e65d4489c91f5e1c6c08cc25c090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109e6610b4a565b6008546001600160a01b03908116911614610a48576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a8d5760405162461bcd60e51b81526004018080602001828103825260268152602001806112496026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610b43576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610b935760405162461bcd60e51b81526004018080602001828103825260248152602001806113906024913960400191505060405180910390fd5b6001600160a01b038216610bd85760405162461bcd60e51b815260040180806020018281038252602281526020018061126f6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610c7f5760405162461bcd60e51b81526004018080602001828103825260258152602001806113436025913960400191505060405180910390fd5b6001600160a01b038216610cc45760405162461bcd60e51b81526004018080602001828103825260238152602001806112046023913960400191505060405180910390fd5b6000610ce66064610ce0600454856110bc90919063ffffffff16565b90611115565b90506000610cf48383611157565b90508181018314610d41576040805162461bcd60e51b8152602060048201526012602482015271109d5c9b881d985b1d59481a5b9d985b1a5960721b604482015290519081900360640190fd5b610d4b8583610fb0565b809250610d59858585611199565b610d9683604051806060016040528060268152602001611291602691396001600160a01b0388166000908152602081905260409020549190610e21565b6001600160a01b038087166000908152602081905260408082209390935590861681522054610dc59084610ae9565b6001600160a01b038086166000818152602081815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610eb05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e75578181015183820152602001610e5d565b50505050905090810190601f168015610ea25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60ff16600455565b6001600160a01b038216610f1b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610f2760008383611199565b600254610f349082610ae9565b6002556001600160a01b038216600090815260208190526040902054610f5a9082610ae9565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610ff55760405162461bcd60e51b81526004018080602001828103825260218152602001806113006021913960400191505060405180910390fd5b61100182600083611199565b61103e81604051806060016040528060228152602001611227602291396001600160a01b0385166000908152602081905260409020549190610e21565b6001600160a01b0383166000908152602081905260409020556002546110649082611157565b6002556003546110749082610ae9565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000826110cb5750600061050f565b828202828482816110d857fe5b0414610b435760405162461bcd60e51b81526004018080602001828103825260218152602001806112b76021913960400191505060405180910390fd5b6000610b4383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061119e565b6000610b4383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e21565b505050565b600081836111ed5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610e75578181015183820152602001610e5d565b5060008385816111f957fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f20616464726573734d696e7461626c653a2063616c6c6572206973206e6f7420746865206d696e74657245524332303a207472616e736665722066726f6d20746865207a65726f20616464726573734d696e7461626c653a206e6577206d696e74657220697320746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204d9a8a4e3b1ce0880e063451ace6cbd52a4b55971827870539af1ee228e7821964736f6c634300060c0033

Deployed Bytecode Sourcemap

29467:292:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23448:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21879:81;;;:::i;:::-;;;;-1:-1:-1;;;;;21879:81:0;;;;;;;;;;;;;;26181:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26181:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;24690:100;;;:::i;:::-;;;;;;;;;;;;;;;;26358:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26358:321:0;;;;;;;;;;;;;;;;;:::i;24540:85::-;;;:::i;29655:101::-;;;;;;;;;;;;;;;;-1:-1:-1;29655:101:0;;;;:::i;:::-;;26687:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26687:218:0;;;;;;;;:::i;29549:100::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29549:100:0;;;;;;;;:::i;25886:128::-;;;;;;;;;;;;;;;;-1:-1:-1;25886:128:0;;:::i;24866:93::-;;;:::i;23543:69::-;;;:::i;25168:119::-;;;;;;;;;;;;;;;;-1:-1:-1;25168:119:0;-1:-1:-1;;;;;25168:119:0;;:::i;19989:148::-;;;:::i;23624:68::-;;;:::i;19347:79::-;;;:::i;23815:87::-;;;:::i;26913:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26913:269:0;;;;;;;;:::i;25500:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25500:175:0;;;;;;;;:::i;25020:85::-;;;:::i;22335:255::-;;;;;;;;;;;;;;;;-1:-1:-1;22335:255:0;-1:-1:-1;;;;;22335:255:0;;:::i;26022:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26022:151:0;;;;;;;;;;:::i;20292:244::-;;;;;;;;;;;;;;;;-1:-1:-1;20292:244:0;-1:-1:-1;;;;;20292:244:0;;:::i;23448:83::-;23518:5;23511:12;;;;;;;;-1:-1:-1;;23511:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23485:13;;23511:12;;23518:5;;23511:12;;23518:5;23511:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23448:83;:::o;21879:81::-;21945:7;;-1:-1:-1;;;;;21945:7:0;21879:81;:::o;26181:169::-;26264:4;26281:39;26290:12;:10;:12::i;:::-;26304:7;26313:6;26281:8;:39::i;:::-;-1:-1:-1;26338:4:0;26181:169;;;;;:::o;24690:100::-;24770:12;;24690:100;:::o;26358:321::-;26464:4;26481:36;26491:6;26499:9;26510:6;26481:9;:36::i;:::-;26528:121;26537:6;26545:12;:10;:12::i;:::-;26559:89;26597:6;26559:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26559:19:0;;;;;;:11;:19;;;;;;26579:12;:10;:12::i;:::-;-1:-1:-1;;;;;26559:33:0;;;;;;;;;;;;-1:-1:-1;26559:33:0;;;:89;:37;:89::i;:::-;26528:8;:121::i;:::-;-1:-1:-1;26667:4:0;26358:321;;;;;:::o;24540:85::-;24608:9;;24540:85;:::o;29655:101::-;19569:12;:10;:12::i;:::-;19559:6;;-1:-1:-1;;;;;19559:6:0;;;:22;;;19551:67;;;;;-1:-1:-1;;;19551:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29723:25:::1;29738:9;29723:14;:25::i;:::-;29655:101:::0;:::o;26687:218::-;26775:4;26792:83;26801:12;:10;:12::i;:::-;26815:7;26824:50;26863:10;26824:11;:25;26836:12;:10;:12::i;:::-;-1:-1:-1;;;;;26824:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;26824:25:0;;;:34;;;;;;;;;;;:38;:50::i;29549:100::-;22106:12;:10;:12::i;:::-;22095:7;;-1:-1:-1;;;;;22095:7:0;;;:23;;;22087:70;;;;-1:-1:-1;;;22087:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29622:19:::1;29628:3;29633:7;29622:5;:19::i;:::-;29549:100:::0;;:::o;25886:128::-;25940:4;25957:27;25963:12;:10;:12::i;:::-;25977:6;25957:5;:27::i;:::-;-1:-1:-1;26002:4:0;25886:128;;;:::o;24866:93::-;24938:13;;24866:93;:::o;23543:69::-;23602:2;23590:9;:14;23543:69::o;25168:119::-;-1:-1:-1;;;;;25261:18:0;25234:7;25261:18;;;;;;;;;;;;25168:119::o;19989:148::-;19569:12;:10;:12::i;:::-;19559:6;;-1:-1:-1;;;;;19559:6:0;;;:22;;;19551:67;;;;;-1:-1:-1;;;19551:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20080:6:::1;::::0;20059:40:::1;::::0;20096:1:::1;::::0;-1:-1:-1;;;;;20080:6:0::1;::::0;20059:40:::1;::::0;20096:1;;20059:40:::1;20110:6;:19:::0;;-1:-1:-1;;;;;;20110:19:0::1;::::0;;19989:148::o;23624:68::-;23683:1;23671:9;:13;23624:68::o;19347:79::-;19412:6;;-1:-1:-1;;;;;19412:6:0;19347:79;:::o;23815:87::-;23887:7;23880:14;;;;;;;;-1:-1:-1;;23880:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23854:13;;23880:14;;23887:7;;23880:14;;23887:7;23880:14;;;;;;;;;;;;;;;;;;;;;;;;26913:269;27006:4;27023:129;27032:12;:10;:12::i;:::-;27046:7;27055:96;27094:15;27055:96;;;;;;;;;;;;;;;;;:11;:25;27067:12;:10;:12::i;:::-;-1:-1:-1;;;;;27055:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;27055:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;25500:175::-;25586:4;25603:42;25613:12;:10;:12::i;:::-;25627:9;25638:6;25603:9;:42::i;25020:85::-;25088:9;;25020:85;:::o;22335:255::-;22106:12;:10;:12::i;:::-;22095:7;;-1:-1:-1;;;;;22095:7:0;;;:23;;;22087:70;;;;-1:-1:-1;;;22087:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22427:23:0;::::1;22419:76;;;;-1:-1:-1::0;;;22419:76:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22533:7;::::0;22511:41:::1;::::0;-1:-1:-1;;;;;22511:41:0;;::::1;::::0;22533:7:::1;::::0;22511:41:::1;::::0;22533:7:::1;::::0;22511:41:::1;22563:7;:19:::0;;-1:-1:-1;;;;;;22563:19:0::1;-1:-1:-1::0;;;;;22563:19:0;;;::::1;::::0;;;::::1;::::0;;22335:255::o;26022:151::-;-1:-1:-1;;;;;26138:18:0;;;26111:7;26138:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;26022:151::o;20292:244::-;19569:12;:10;:12::i;:::-;19559:6;;-1:-1:-1;;;;;19559:6:0;;;:22;;;19551:67;;;;;-1:-1:-1;;;19551:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20381:22:0;::::1;20373:73;;;;-1:-1:-1::0;;;20373:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20483:6;::::0;20462:38:::1;::::0;-1:-1:-1;;;;;20462:38:0;;::::1;::::0;20483:6:::1;::::0;20462:38:::1;::::0;20483:6:::1;::::0;20462:38:::1;20511:6;:17:::0;;-1:-1:-1;;;;;;20511:17:0::1;-1:-1:-1::0;;;;;20511:17:0;;;::::1;::::0;;;::::1;::::0;;20292:244::o;4049:181::-;4107:7;4139:5;;;4163:6;;;;4155:46;;;;;-1:-1:-1;;;4155:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4221:1;4049:181;-1:-1:-1;;;4049:181:0:o;954:106::-;1042:10;954:106;:::o;28853:344::-;-1:-1:-1;;;;;28955:19:0;;28947:68;;;;-1:-1:-1;;;28947:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29034:21:0;;29026:68;;;;-1:-1:-1;;;29026:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29105:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29157:32;;;;;;;;;;;;;;;;;28853:344;;;:::o;27190:799::-;-1:-1:-1;;;;;27296:20:0;;27288:70;;;;-1:-1:-1;;;27288:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27377:23:0;;27369:71;;;;-1:-1:-1;;;27369:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27451:19;27473:30;27499:3;27473:21;27484:9;;27473:6;:10;;:21;;;;:::i;:::-;:25;;:30::i;:::-;27451:52;-1:-1:-1;27514:19:0;27536:23;:6;27451:52;27536:10;:23::i;:::-;27514:45;;27602:11;27588;:25;27578:6;:35;27570:66;;;;;-1:-1:-1;;;27570:66:0;;;;;;;;;;;;-1:-1:-1;;;27570:66:0;;;;;;;;;;;;;;;27647:26;27653:6;27661:11;27647:5;:26::i;:::-;27693:11;27684:20;;27715:47;27736:6;27744:9;27755:6;27715:20;:47::i;:::-;27793:71;27815:6;27793:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27793:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;27773:17:0;;;:9;:17;;;;;;;;;;;:91;;;;27898:20;;;;;;;:32;;27923:6;27898:24;:32::i;:::-;-1:-1:-1;;;;;27875:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;27946:35;;;;;;;27875:20;;27946:35;;;;;;;;;;;;;27190:799;;;;;:::o;4677:192::-;4763:7;4799:12;4791:6;;;;4783:29;;;;-1:-1:-1;;;4783:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4835:5:0;;;4677:192::o;29205:98::-;29274:21;;:9;:21;29205:98::o;27997:374::-;-1:-1:-1;;;;;28081:21:0;;28073:65;;;;;-1:-1:-1;;;28073:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28149:49;28178:1;28182:7;28191:6;28149:20;:49::i;:::-;28224:12;;:24;;28241:6;28224:16;:24::i;:::-;28209:12;:39;-1:-1:-1;;;;;28280:18:0;;:9;:18;;;;;;;;;;;:30;;28303:6;28280:22;:30::i;:::-;-1:-1:-1;;;;;28259:18:0;;:9;:18;;;;;;;;;;;:51;;;;28326:37;;;;;;;28259:18;;:9;;28326:37;;;;;;;;;;27997:374;;:::o;28379:466::-;-1:-1:-1;;;;;28463:21:0;;28455:67;;;;-1:-1:-1;;;28455:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28533:49;28554:7;28571:1;28575:6;28533:20;:49::i;:::-;28614:68;28637:6;28614:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28614:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;28593:18:0;;:9;:18;;;;;;;;;;:89;28708:12;;:24;;28725:6;28708:16;:24::i;:::-;28693:12;:39;28759:13;;:25;;28777:6;28759:17;:25::i;:::-;28743:13;:41;28800:37;;;;;;;;28826:1;;-1:-1:-1;;;;;28800:37:0;;;;;;;;;;;;28379:466;;:::o;5128:471::-;5186:7;5431:6;5427:47;;-1:-1:-1;5461:1:0;5454:8;;5427:47;5498:5;;;5502:1;5498;:5;:1;5522:5;;;;;:10;5514:56;;;;-1:-1:-1;;;5514:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6075:132;6133:7;6160:39;6164:1;6167;6160:39;;;;;;;;;;;;;;;;;:3;:39::i;4238:136::-;4296:7;4323:43;4327:1;4330;4323:43;;;;;;;;;;;;;;;;;:3;:43::i;29311:92::-;;;;:::o;6703:278::-;6789:7;6824:12;6817:5;6809:28;;;;-1:-1:-1;;;6809:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6848:9;6864:1;6860;:5;;;;;;;6703:278;-1:-1:-1;;;;;6703:278:0:o

Swarm Source

ipfs://4d9a8a4e3b1ce0880e063451ace6cbd52a4b55971827870539af1ee228e78219
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.