ETH Price: $3,155.28 (+1.14%)
Gas: 2 Gwei

Token

Stabilize Token (STBZ)
 

Overview

Max Total Supply

878,879.6875 STBZ

Holders

1,058 (0.00%)

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$93,340.41

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000021629859573509 STBZ

Value
$0.00 ( ~0 Eth) [0.0000%]
0x1c66bc1ebefabbfa708ad3a0ff9bb89e36232b09
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Stabilize Protocol is a project that helps keep stablecoins pegged by rotating yields among various stablecoin pools.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
StabilizeToken

Compiler Version
v0.6.2+commit.bacdbe57

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-23
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.6.0;

/*
 * Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.6.0;

/**
 * Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

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

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

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

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

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

    /**
     * Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.6.0;

/**
 * Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.6.2;

/**
 * Collection of functions related to the address type
 */
library Address {
    /**
     * 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);
    }

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

pragma solidity ^0.6.0;

/**
 * Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is 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;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

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

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

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

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

    /**
     * See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        amount = _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);
    }

    /** Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * Hook that is called before any transfer of tokens.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual returns (uint256) { }
}

// File: @openzeppelin/contracts/access/Ownable.sol

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

// File: contracts/StabilizeToken.sol

pragma solidity ^0.6.0;

// Stabilize Token with Governance.
contract StabilizeToken is ERC20("Stabilize Token", "STBZ"), Ownable {
    //using SafeMath for uint256;

    // Variables
    bool private burnStarted = false; // Starts during week 53
    uint256 public burnRate = 0; // Can be between 0 - 100000 (0% - 100%)
    uint256 constant divisionFactor = 100000;

    // Events
    event BurnStarted();
    
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (Operator).
    function mint(address _to, uint256 _amount) public onlyOwner returns (bool) {
        _mint(_to, _amount);
        return true;
    }

    // This function will burn a percentage of tokens not sent from the owner after 52 weeks are over
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override returns (uint256) {
      super._beforeTokenTransfer(from, to, amount); // Call parent hook
      if(burnStarted == true && burnRate > 0){
        if(from != owner()){
          // When the Operator is not transferring tokens, it is burned after 52 week
          uint256 burnAmount = amount.mul(burnRate).div(divisionFactor);
          if(burnAmount.add(amount) > balanceOf(from)){
              uint256 overage = burnAmount.add(amount).sub(balanceOf(from));
              amount = amount.sub(overage); // Only subtract from the overage amount sent if user balance is not enough
          }
          _burn(from,burnAmount);
        }
      }
      return amount;
    }

    // Operator has initiated the per transaction burning
    function initiateBurn(uint256 rate) public onlyOwner returns (bool) {
      if(burnStarted == false){
        burnStarted = true;
      }
      burnRate = rate;
      emit BurnStarted();
      return true;
    }
}

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":[],"name":"BurnStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRate","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":"rate","type":"uint256"}],"name":"initiateBurn","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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6005805460ff60a81b191690556000600655600f60808181526e29ba30b134b634bd32902a37b5b2b760891b60a0908152610100604052600460c09081526329aa212d60e11b60e05291926200005891600391620000f4565b5080516200006e906004906020840190620000f4565b50506005805460ff19166012179055506000620000936001600160e01b03620000ef16565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35062000196565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200013757805160ff191683800117855562000167565b8280016001018555821562000167579182015b82811115620001675782518255916020019190600101906200014a565b506200017592915062000179565b5090565b620000f191905b8082111562000175576000815560010162000180565b6112da80620001a66000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d71461030c578063a9059cbb14610338578063bed9985014610364578063dd62ed3e1461036c578063f2fde38b1461039a5761010b565b806370a08231146102b0578063715018a6146102d65780638da5cb5b146102e057806395d89b41146103045761010b565b8063313ce567116100de578063313ce5671461021d578063395093511461023b57806340c10f191461026757806345c9ecef146102935761010b565b806306fdde0314610110578063095ea7b31461018d57806318160ddd146101cd57806323b872dd146101e7575b600080fd5b6101186103c0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b038135169060200135610456565b604080519115158252519081900360200190f35b6101d5610474565b60408051918252519081900360200190f35b6101b9600480360360608110156101fd57600080fd5b506001600160a01b0381358116916020810135909116906040013561047a565b610225610507565b6040805160ff9092168252519081900360200190f35b6101b96004803603604081101561025157600080fd5b506001600160a01b038135169060200135610510565b6101b96004803603604081101561027d57600080fd5b506001600160a01b038135169060200135610564565b6101b9600480360360208110156102a957600080fd5b50356105cd565b6101d5600480360360208110156102c657600080fd5b50356001600160a01b0316610687565b6102de6106a2565b005b6102e861074f565b604080516001600160a01b039092168252519081900360200190f35b610118610763565b6101b96004803603604081101561032257600080fd5b506001600160a01b0381351690602001356107c4565b6101b96004803603604081101561034e57600080fd5b506001600160a01b038135169060200135610832565b6101d5610846565b6101d56004803603604081101561038257600080fd5b506001600160a01b038135811691602001351661084c565b6102de600480360360208110156103b057600080fd5b50356001600160a01b0316610877565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b5050505050905090565b600061046a610463610980565b8484610984565b5060015b92915050565b60025490565b6000610487848484610a70565b6104fd84610493610980565b6104f8856040518060600160405280602881526020016111ce602891396001600160a01b038a166000908152600160205260408120906104d1610980565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610bd916565b610984565b5060019392505050565b60055460ff1690565b600061046a61051d610980565b846104f8856001600061052e610980565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610c7016565b600061056e610980565b60055461010090046001600160a01b039081169116146105c3576040805162461bcd60e51b815260206004820181905260248201526000805160206111f6833981519152604482015290519081900360640190fd5b61046a8383610cd1565b60006105d7610980565b60055461010090046001600160a01b0390811691161461062c576040805162461bcd60e51b815260206004820181905260248201526000805160206111f6833981519152604482015290519081900360640190fd5b600554600160a81b900460ff16610651576005805460ff60a81b1916600160a81b1790555b60068290556040517f5de0e00972c6012dd02b3a34d006d5c8e6ca3bd7d9d9f67dadd3eb0fbffd84ef90600090a1506001919050565b6001600160a01b031660009081526020819052604090205490565b6106aa610980565b60055461010090046001600160a01b039081169116146106ff576040805162461bcd60e51b815260206004820181905260248201526000805160206111f6833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561044c5780601f106104215761010080835404028352916020019161044c565b600061046a6107d1610980565b846104f88560405180606001604052806025815260200161128060259139600160006107fb610980565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610bd916565b600061046a61083f610980565b8484610a70565b60065481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61087f610980565b60055461010090046001600160a01b039081169116146108d4576040805162461bcd60e51b815260206004820181905260248201526000805160206111f6833981519152604482015290519081900360640190fd5b6001600160a01b0381166109195760405162461bcd60e51b815260040180806020018281038252602681526020018061113f6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b0383166109c95760405162461bcd60e51b815260040180806020018281038252602481526020018061125c6024913960400191505060405180910390fd5b6001600160a01b038216610a0e5760405162461bcd60e51b81526004018080602001828103825260228152602001806111656022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610ab55760405162461bcd60e51b81526004018080602001828103825260258152602001806112376025913960400191505060405180910390fd5b6001600160a01b038216610afa5760405162461bcd60e51b81526004018080602001828103825260238152602001806110fa6023913960400191505060405180910390fd5b610b05838383610dc1565b9050610b4a81604051806060016040528060268152602001611187602691396001600160a01b038616600090815260208190526040902054919063ffffffff610bd916565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610b7f908263ffffffff610c7016565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610c685760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c2d578181015183820152602001610c15565b50505050905090810190601f168015610c5a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610cca576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610d2c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254610d3f908263ffffffff610c7016565b6002556001600160a01b038216600090815260208190526040902054610d6b908263ffffffff610c7016565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610dce848484610eb2565b50600554600160a81b900460ff1615156001148015610def57506000600654115b15610eab57610dfc61074f565b6001600160a01b0316846001600160a01b031614610eab576000610e3e620186a0610e3260065486610ebb90919063ffffffff16565b9063ffffffff610f1416565b9050610e4985610687565b610e59828563ffffffff610c7016565b1115610e9f576000610e89610e6d87610687565b610e7d848763ffffffff610c7016565b9063ffffffff610f5616565b9050610e9b848263ffffffff610f5616565b9350505b610ea98582610f98565b505b5092915050565b60009392505050565b600082610eca5750600061046e565b82820282848281610ed757fe5b0414610cca5760405162461bcd60e51b81526004018080602001828103825260218152602001806111ad6021913960400191505060405180910390fd5b6000610cca83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611094565b6000610cca83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610bd9565b6001600160a01b038216610fdd5760405162461bcd60e51b81526004018080602001828103825260218152602001806112166021913960400191505060405180910390fd5b6110208160405180606001604052806022815260200161111d602291396001600160a01b038516600090815260208190526040902054919063ffffffff610bd916565b6001600160a01b03831660009081526020819052604090205560025461104c908263ffffffff610f5616565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600081836110e35760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610c2d578181015183820152602001610c15565b5060008385816110ef57fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e27234da180451b60a4b4e428753856d9f8645444282c5167be996fed18a564b64736f6c63430006020033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d71461030c578063a9059cbb14610338578063bed9985014610364578063dd62ed3e1461036c578063f2fde38b1461039a5761010b565b806370a08231146102b0578063715018a6146102d65780638da5cb5b146102e057806395d89b41146103045761010b565b8063313ce567116100de578063313ce5671461021d578063395093511461023b57806340c10f191461026757806345c9ecef146102935761010b565b806306fdde0314610110578063095ea7b31461018d57806318160ddd146101cd57806323b872dd146101e7575b600080fd5b6101186103c0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b038135169060200135610456565b604080519115158252519081900360200190f35b6101d5610474565b60408051918252519081900360200190f35b6101b9600480360360608110156101fd57600080fd5b506001600160a01b0381358116916020810135909116906040013561047a565b610225610507565b6040805160ff9092168252519081900360200190f35b6101b96004803603604081101561025157600080fd5b506001600160a01b038135169060200135610510565b6101b96004803603604081101561027d57600080fd5b506001600160a01b038135169060200135610564565b6101b9600480360360208110156102a957600080fd5b50356105cd565b6101d5600480360360208110156102c657600080fd5b50356001600160a01b0316610687565b6102de6106a2565b005b6102e861074f565b604080516001600160a01b039092168252519081900360200190f35b610118610763565b6101b96004803603604081101561032257600080fd5b506001600160a01b0381351690602001356107c4565b6101b96004803603604081101561034e57600080fd5b506001600160a01b038135169060200135610832565b6101d5610846565b6101d56004803603604081101561038257600080fd5b506001600160a01b038135811691602001351661084c565b6102de600480360360208110156103b057600080fd5b50356001600160a01b0316610877565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b5050505050905090565b600061046a610463610980565b8484610984565b5060015b92915050565b60025490565b6000610487848484610a70565b6104fd84610493610980565b6104f8856040518060600160405280602881526020016111ce602891396001600160a01b038a166000908152600160205260408120906104d1610980565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610bd916565b610984565b5060019392505050565b60055460ff1690565b600061046a61051d610980565b846104f8856001600061052e610980565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610c7016565b600061056e610980565b60055461010090046001600160a01b039081169116146105c3576040805162461bcd60e51b815260206004820181905260248201526000805160206111f6833981519152604482015290519081900360640190fd5b61046a8383610cd1565b60006105d7610980565b60055461010090046001600160a01b0390811691161461062c576040805162461bcd60e51b815260206004820181905260248201526000805160206111f6833981519152604482015290519081900360640190fd5b600554600160a81b900460ff16610651576005805460ff60a81b1916600160a81b1790555b60068290556040517f5de0e00972c6012dd02b3a34d006d5c8e6ca3bd7d9d9f67dadd3eb0fbffd84ef90600090a1506001919050565b6001600160a01b031660009081526020819052604090205490565b6106aa610980565b60055461010090046001600160a01b039081169116146106ff576040805162461bcd60e51b815260206004820181905260248201526000805160206111f6833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561044c5780601f106104215761010080835404028352916020019161044c565b600061046a6107d1610980565b846104f88560405180606001604052806025815260200161128060259139600160006107fb610980565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610bd916565b600061046a61083f610980565b8484610a70565b60065481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61087f610980565b60055461010090046001600160a01b039081169116146108d4576040805162461bcd60e51b815260206004820181905260248201526000805160206111f6833981519152604482015290519081900360640190fd5b6001600160a01b0381166109195760405162461bcd60e51b815260040180806020018281038252602681526020018061113f6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b0383166109c95760405162461bcd60e51b815260040180806020018281038252602481526020018061125c6024913960400191505060405180910390fd5b6001600160a01b038216610a0e5760405162461bcd60e51b81526004018080602001828103825260228152602001806111656022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610ab55760405162461bcd60e51b81526004018080602001828103825260258152602001806112376025913960400191505060405180910390fd5b6001600160a01b038216610afa5760405162461bcd60e51b81526004018080602001828103825260238152602001806110fa6023913960400191505060405180910390fd5b610b05838383610dc1565b9050610b4a81604051806060016040528060268152602001611187602691396001600160a01b038616600090815260208190526040902054919063ffffffff610bd916565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610b7f908263ffffffff610c7016565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610c685760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c2d578181015183820152602001610c15565b50505050905090810190601f168015610c5a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610cca576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610d2c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254610d3f908263ffffffff610c7016565b6002556001600160a01b038216600090815260208190526040902054610d6b908263ffffffff610c7016565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610dce848484610eb2565b50600554600160a81b900460ff1615156001148015610def57506000600654115b15610eab57610dfc61074f565b6001600160a01b0316846001600160a01b031614610eab576000610e3e620186a0610e3260065486610ebb90919063ffffffff16565b9063ffffffff610f1416565b9050610e4985610687565b610e59828563ffffffff610c7016565b1115610e9f576000610e89610e6d87610687565b610e7d848763ffffffff610c7016565b9063ffffffff610f5616565b9050610e9b848263ffffffff610f5616565b9350505b610ea98582610f98565b505b5092915050565b60009392505050565b600082610eca5750600061046e565b82820282848281610ed757fe5b0414610cca5760405162461bcd60e51b81526004018080602001828103825260218152602001806111ad6021913960400191505060405180910390fd5b6000610cca83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611094565b6000610cca83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610bd9565b6001600160a01b038216610fdd5760405162461bcd60e51b81526004018080602001828103825260218152602001806112166021913960400191505060405180910390fd5b6110208160405180606001604052806022815260200161111d602291396001600160a01b038516600090815260208190526040902054919063ffffffff610bd916565b6001600160a01b03831660009081526020819052604090205560025461104c908263ffffffff610f5616565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600081836110e35760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610c2d578181015183820152602001610c15565b5060008385816110ef57fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e27234da180451b60a4b4e428753856d9f8645444282c5167be996fed18a564b64736f6c63430006020033

Deployed Bytecode Sourcemap

28420:1779:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28420:1779:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17462:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;17462:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19533:169;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19533:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18522:100;;;:::i;:::-;;;;;;;;;;;;;;;;20171:321;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20171:321:0;;;;;;;;;;;;;;;;;:::i;18379:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20896:218;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20896:218:0;;;;;;;;:::i;28882:136::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28882:136:0;;;;;;;;:::i;29978:218::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29978:218:0;;:::i;18680:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18680:119:0;-1:-1:-1;;;;;18680:119:0;;:::i;27766:148::-;;;:::i;:::-;;27134:79;;;:::i;:::-;;;;-1:-1:-1;;;;;27134:79:0;;;;;;;;;;;;;;17659:87;;;:::i;21612:269::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21612:269:0;;;;;;;;:::i;19007:175::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19007:175:0;;;;;;;;:::i;28615:27::-;;;:::i;19240:151::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19240:151:0;;;;;;;;;;:::i;28064:244::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28064:244:0;-1:-1:-1;;;;;28064:244:0;;:::i;17462:83::-;17532:5;17525:12;;;;;;;;-1:-1:-1;;17525:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17499:13;;17525:12;;17532:5;;17525:12;;17532:5;17525:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17462:83;:::o;19533:169::-;19616:4;19633:39;19642:12;:10;:12::i;:::-;19656:7;19665:6;19633:8;:39::i;:::-;-1:-1:-1;19690:4:0;19533:169;;;;;:::o;18522:100::-;18602:12;;18522:100;:::o;20171:321::-;20277:4;20294:36;20304:6;20312:9;20323:6;20294:9;:36::i;:::-;20341:121;20350:6;20358:12;:10;:12::i;:::-;20372:89;20410:6;20372:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20372:19:0;;;;;;:11;:19;;;;;;20392:12;:10;:12::i;:::-;-1:-1:-1;;;;;20372:33:0;;;;;;;;;;;;-1:-1:-1;20372:33:0;;;:89;;:37;:89;:::i;:::-;20341:8;:121::i;:::-;-1:-1:-1;20480:4:0;20171:321;;;;;:::o;18379:83::-;18445:9;;;;18379:83;:::o;20896:218::-;20984:4;21001:83;21010:12;:10;:12::i;:::-;21024:7;21033:50;21072:10;21033:11;:25;21045:12;:10;:12::i;:::-;-1:-1:-1;;;;;21033:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21033:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;28882:136::-;28952:4;27351:12;:10;:12::i;:::-;27341:6;;;;;-1:-1:-1;;;;;27341:6:0;;;:22;;;27333:67;;;;;-1:-1:-1;;;27333:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27333:67:0;;;;;;;;;;;;;;;28969:19:::1;28975:3;28980:7;28969:5;:19::i;29978:218::-:0;30040:4;27351:12;:10;:12::i;:::-;27341:6;;;;;-1:-1:-1;;;;;27341:6:0;;;:22;;;27333:67;;;;;-1:-1:-1;;;27333:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27333:67:0;;;;;;;;;;;;;;;30058:11:::1;::::0;-1:-1:-1;;;30058:11:0;::::1;;;30055:63;;30090:11;:18:::0;;-1:-1:-1;;;;30090:18:0::1;-1:-1:-1::0;;;30090:18:0::1;::::0;;30055:63:::1;30126:8;:15:::0;;;30155:13:::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;30184:4:0::1;29978:218:::0;;;:::o;18680:119::-;-1:-1:-1;;;;;18773:18:0;18746:7;18773:18;;;;;;;;;;;;18680:119::o;27766:148::-;27351:12;:10;:12::i;:::-;27341:6;;;;;-1:-1:-1;;;;;27341:6:0;;;:22;;;27333:67;;;;;-1:-1:-1;;;27333:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27333:67:0;;;;;;;;;;;;;;;27857:6:::1;::::0;27836:40:::1;::::0;27873:1:::1;::::0;27857:6:::1;::::0;::::1;-1:-1:-1::0;;;;;27857:6:0::1;::::0;27836:40:::1;::::0;27873:1;;27836:40:::1;27887:6;:19:::0;;-1:-1:-1;;;;;;27887:19:0::1;::::0;;27766:148::o;27134:79::-;27199:6;;;;;-1:-1:-1;;;;;27199:6:0;;27134:79::o;17659:87::-;17731:7;17724:14;;;;;;;;-1:-1:-1;;17724:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17698:13;;17724:14;;17731:7;;17724:14;;17731:7;17724:14;;;;;;;;;;;;;;;;;;;;;;;;21612:269;21705:4;21722:129;21731:12;:10;:12::i;:::-;21745:7;21754:96;21793:15;21754:96;;;;;;;;;;;;;;;;;:11;:25;21766:12;:10;:12::i;:::-;-1:-1:-1;;;;;21754:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21754:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;19007:175::-;19093:4;19110:42;19120:12;:10;:12::i;:::-;19134:9;19145:6;19110:9;:42::i;28615:27::-;;;;:::o;19240:151::-;-1:-1:-1;;;;;19356:18:0;;;19329:7;19356:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19240:151::o;28064:244::-;27351:12;:10;:12::i;:::-;27341:6;;;;;-1:-1:-1;;;;;27341:6:0;;;:22;;;27333:67;;;;;-1:-1:-1;;;27333:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27333:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28153:22:0;::::1;28145:73;;;;-1:-1:-1::0;;;28145:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28255:6;::::0;28234:38:::1;::::0;-1:-1:-1;;;;;28234:38:0;;::::1;::::0;28255:6:::1;::::0;::::1;;::::0;28234:38:::1;::::0;;;::::1;28283:6;:17:::0;;-1:-1:-1;;;;;28283:17:0;;::::1;;;-1:-1:-1::0;;;;;;28283:17:0;;::::1;::::0;;;::::1;::::0;;28064:244::o;650:106::-;738:10;650:106;:::o;24624:346::-;-1:-1:-1;;;;;24726:19:0;;24718:68;;;;-1:-1:-1;;;24718:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24805:21:0;;24797:68;;;;-1:-1:-1;;;24797:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24878:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;24930:32;;;;;;;;;;;;;;;;;24624:346;;;:::o;22366:548::-;-1:-1:-1;;;;;22472:20:0;;22464:70;;;;-1:-1:-1;;;22464:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22553:23:0;;22545:71;;;;-1:-1:-1;;;22545:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22638:47;22659:6;22667:9;22678:6;22638:20;:47::i;:::-;22629:56;;22718:71;22740:6;22718:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22718:17:0;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;22698:17:0;;;:9;:17;;;;;;;;;;;:91;;;;22823:20;;;;;;;:32;;22848:6;22823:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;22800:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;22871:35;;;;;;;22800:20;;22871:35;;;;;;;;;;;;;22366:548;;;:::o;5562:192::-;5648:7;5684:12;5676:6;;;;5668:29;;;;-1:-1:-1;;;5668:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5668:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5720:5:0;;;5562:192::o;4669:181::-;4727:7;4759:5;;;4783:6;;;;4775:46;;;;;-1:-1:-1;;;4775:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4841:1;4669:181;-1:-1:-1;;;4669:181:0:o;23190:316::-;-1:-1:-1;;;;;23274:21:0;;23266:65;;;;;-1:-1:-1;;;23266:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23359:12;;:24;;23376:6;23359:24;:16;:24;:::i;:::-;23344:12;:39;-1:-1:-1;;;;;23415:18:0;;:9;:18;;;;;;;;;;;:30;;23438:6;23415:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;23394:18:0;;:9;:18;;;;;;;;;;;:51;;;;23461:37;;;;;;;23394:18;;:9;;23461:37;;;;;;;;;;23190:316;;:::o;29129:782::-;29236:7;29254:44;29281:4;29287:2;29291:6;29254:26;:44::i;:::-;-1:-1:-1;29330:11:0;;-1:-1:-1;;;29330:11:0;;;;:19;;29345:4;29330:19;:35;;;;;29364:1;29353:8;;:12;29330:35;29327:555;;;29388:7;:5;:7::i;:::-;-1:-1:-1;;;;;29380:15:0;:4;-1:-1:-1;;;;;29380:15:0;;29377:496;;29496:18;29517:40;28724:6;29517:20;29528:8;;29517:6;:10;;:20;;;;:::i;:::-;:24;:40;:24;:40;:::i;:::-;29496:61;;29598:15;29608:4;29598:9;:15::i;:::-;29573:22;:10;29588:6;29573:22;:14;:22;:::i;:::-;:40;29570:257;;;29631:15;29649:43;29676:15;29686:4;29676:9;:15::i;:::-;29649:22;:10;29664:6;29649:22;:14;:22;:::i;:::-;:26;:43;:26;:43;:::i;:::-;29631:61;-1:-1:-1;29718:19:0;:6;29631:61;29718:19;:10;:19;:::i;:::-;29709:28;;29570:257;;29839:22;29845:4;29850:10;29839:5;:22::i;:::-;29377:496;;-1:-1:-1;29897:6:0;29129:782;-1:-1:-1;;29129:782:0:o;25942:110::-;26040:7;25942:110;;;;;:::o;6008:471::-;6066:7;6311:6;6307:47;;-1:-1:-1;6341:1:0;6334:8;;6307:47;6378:5;;;6382:1;6378;:5;:1;6402:5;;;;;:10;6394:56;;;;-1:-1:-1;;;6394:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6950:132;7008:7;7035:39;7039:1;7042;7035:39;;;;;;;;;;;;;;;;;:3;:39::i;5128:136::-;5186:7;5213:43;5217:1;5220;5213:43;;;;;;;;;;;;;;;;;:3;:43::i;23833:356::-;-1:-1:-1;;;;;23917:21:0;;23909:67;;;;-1:-1:-1;;;23909:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24010:68;24033:6;24010:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24010:18:0;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;23989:18:0;;:9;:18;;;;;;;;;;:89;24104:12;;:24;;24121:6;24104:24;:16;:24;:::i;:::-;24089:12;:39;24144:37;;;;;;;;24170:1;;-1:-1:-1;;;;;24144:37:0;;;;;;;;;;;;23833:356;;:::o;7573:278::-;7659:7;7694:12;7687:5;7679:28;;;;-1:-1:-1;;;7679:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;7679:28:0;;7718:9;7734:1;7730;:5;;;;;;;7573:278;-1:-1:-1;;;;;7573:278:0:o

Swarm Source

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