Token HoneyBee

Overview ERC20

Price
$0.00 @ 0.000000 AVAX
Fully Diluted Market Cap
Total Supply:
281,463.438894 a.BEE

Holders:
343 addresses

Transfers:
-

Contract:
0xB669c71431bc4372140bC35Aa1962C4B980bA5070xB669c71431bc4372140bC35Aa1962C4B980bA507

Decimals:
18

Social Profiles:
Not Available, Update ?

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
HoneyToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-10
*/

// SPDX-License-Identifier: MIT



pragma solidity >=0.6.2 <0.8.0;

/**
 * @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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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_math_SafeMath.sol";

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// file "./IBEP20.sol";

pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address _owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

// file "./openzeppelin_access_Context.sol";

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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_access_Ownable.sol";

pragma solidity >=0.6.0 <0.8.0;

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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

    /**
     * @dev See {BEP20-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 override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * 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 override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, "BEP20: transfer amount exceeds allowance")
        );
        return true;
    }

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

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-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 returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero")
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

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

        _balances[sender] = _balances[sender].sub(amount, "BEP20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "BEP20: burn from the zero address");

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

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

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance")
        );
    }
}


// File: contracts/HoneyToken.sol

pragma solidity 0.6.12;

contract HoneyToken is BEP20 {
    // Transfer tax rate in basis points. (default 0%)
    uint16 public transferTaxRate = 0;
    // Max transfer tax rate: 10%.
    uint16 public constant MAXIMUM_TRANSFER_TAX_RATE = 1000;
    // Burn address
    address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;
    // White addresses for tax free
    mapping(address => bool) public taxFreeList;
    // Black addresses for blocking trade
    mapping(address => bool) public blacklist;

    // The operator can only update the transfer tax rate
    address private _operator;

    // Events
    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);
    event TransferTaxRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event TaxFreeListUpdated(bool _isSet, address _address);
    event BlacklistUpdated(bool _isSet, address _address);

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    /**
     * @notice Constructs the HoneyToken contract.
     */
    constructor() public BEP20("HoneyBee", "a.BEE") {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    /// @dev overrides transfer function to meet tokenomics of HONEY
    function _transfer(address sender, address recipient, uint256 amount) internal virtual override {
        if (blacklist[sender] == true) {
            amount = 0;
        } else if (recipient == BURN_ADDRESS ||
            taxFreeList[sender] == true ||
            taxFreeList[recipient] == true ||
            transferTaxRate == 0) {
            super._transfer(sender, recipient, amount);
        } else {
            // default tax is 0% of every transfer
            uint256 taxAmount = amount.mul(transferTaxRate).div(10000);

            // default 100% of transfer sent to recipient
            uint256 sendAmount = amount.sub(taxAmount);
            require(amount == sendAmount + taxAmount, "HONEY::transfer: Tax value invalid");

            super._transfer(sender, BURN_ADDRESS, taxAmount);
            super._transfer(sender, recipient, sendAmount);
            amount = sendAmount;
        }
    }

    /**
     * @dev Update the transfer tax rate.
     * Can only be called by the current operator.
     */
    function updateTransferTaxRate(uint16 _transferTaxRate) public onlyOperator {
        require(_transferTaxRate <= MAXIMUM_TRANSFER_TAX_RATE, "HONEY::updateTransferTaxRate: Transfer tax rate must not exceed the maximum rate.");
        emit TransferTaxRateUpdated(msg.sender, transferTaxRate, _transferTaxRate);
        transferTaxRate = _transferTaxRate;
    }

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

    /**
     * @dev Transfers operator of the contract to a new account (`newOperator`).
     * Can only be called by the current operator.
     */
    function transferOperator(address newOperator) public onlyOperator {
        require(newOperator != address(0), "HONEY::transferOperator: new operator is the zero address");
        emit OperatorTransferred(_operator, newOperator);
        _operator = newOperator;
    }
    
    function setTaxFreeList(address _address, bool _isSet) public onlyOperator {
        taxFreeList[_address] = _isSet;
        emit TaxFreeListUpdated(_isSet, _address);
    }
    
    function setBlacklist(address _address, bool _isSet) public onlyOperator {
        blacklist[_address] = _isSet;
        emit BlacklistUpdated(_isSet, _address);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_isSet","type":"bool"},{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"BlacklistUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_isSet","type":"bool"},{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"TaxFreeListUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"TransferTaxRateUpdated","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_TRANSFER_TAX_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"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":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isSet","type":"bool"}],"name":"setBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isSet","type":"bool"}],"name":"setTaxFreeList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxFreeList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"newOperator","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_transferTaxRate","type":"uint16"}],"name":"updateTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526006805462ffff00191690553480156200001d57600080fd5b5060405180604001604052806008815260200167486f6e657942656560c01b81525060405180604001604052806005815260200164612e42454560d81b81525060006200006f6200015060201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000ce90600490602085019062000154565b508051620000e490600590602084019062000154565b50506006805460ff1916601217905550620000fe62000150565b600980546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3620001f0565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200019757805160ff1916838001178555620001c7565b82800160010185558215620001c7579182015b82811115620001c7578251825591602001919060010190620001aa565b50620001d5929150620001d9565b5090565b5b80821115620001d55760008155600101620001da565b61178480620002006000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f9578063a9059cbb11610097578063f0a0c19d11610071578063f0a0c19d14610502578063f2fde38b14610530578063f9f92be414610556578063fccc28131461057c576101a9565b8063a9059cbb146104a0578063b65d08b0146104cc578063dd62ed3e146104d4576101a9565b80638da5cb5b116100d35780638da5cb5b1461044757806395d89b411461044f578063a0712d6814610457578063a457c2d714610474576101a9565b8063715018a614610411578063834163d814610419578063893d20e81461043f576101a9565b806329605e77116101665780633950935111610140578063395093511461036f57806340c10f191461039b578063570ca735146103c757806370a08231146103eb576101a9565b806329605e771461030a578063313ce56714610330578063376c23911461034e576101a9565b806306fdde03146101ae578063095ea7b31461022b578063153b0d1e1461026b57806318160ddd1461029b5780631ad9339a146102b557806323b872dd146102d4575b600080fd5b6101b6610584565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f05781810151838201526020016101d8565b50505050905090810190601f16801561021d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102576004803603604081101561024157600080fd5b506001600160a01b03813516906020013561061a565b604080519115158252519081900360200190f35b6102996004803603604081101561028157600080fd5b506001600160a01b0381351690602001351515610638565b005b6102a36106e8565b60408051918252519081900360200190f35b6102bd6106ee565b6040805161ffff9092168252519081900360200190f35b610257600480360360608110156102ea57600080fd5b506001600160a01b038135811691602081013590911690604001356106f4565b6102996004803603602081101561032057600080fd5b50356001600160a01b031661077b565b610338610865565b6040805160ff9092168252519081900360200190f35b6102996004803603602081101561036457600080fd5b503561ffff1661086e565b6102576004803603604081101561038557600080fd5b506001600160a01b038135169060200135610963565b610299600480360360408110156103b157600080fd5b506001600160a01b0381351690602001356109b1565b6103cf610a21565b604080516001600160a01b039092168252519081900360200190f35b6102a36004803603602081101561040157600080fd5b50356001600160a01b0316610a30565b610299610a4b565b6102576004803603602081101561042f57600080fd5b50356001600160a01b0316610af7565b6103cf610b0c565b6103cf610b1b565b6101b6610b2a565b6102576004803603602081101561046d57600080fd5b5035610b8b565b6102576004803603604081101561048a57600080fd5b506001600160a01b038135169060200135610c08565b610257600480360360408110156104b657600080fd5b506001600160a01b038135169060200135610c70565b6102bd610c84565b6102a3600480360360408110156104ea57600080fd5b506001600160a01b0381358116916020013516610c93565b6102996004803603604081101561051857600080fd5b506001600160a01b0381351690602001351515610cbe565b6102996004803603602081101561054657600080fd5b50356001600160a01b0316610d6e565b6102576004803603602081101561056c57600080fd5b50356001600160a01b0316610e70565b6103cf610e85565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106105780601f106105e557610100808354040283529160200191610610565b820191906000526020600020905b8154815290600101906020018083116105f357829003601f168201915b5050505050905090565b600061062e610627610e8b565b8484610e8f565b5060015b92915050565b6009546001600160a01b031633146106815760405162461bcd60e51b81526004018080602001828103825260248152602001806115ef6024913960400191505060405180910390fd5b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915582519081529081019290925280517fb0bad8228e35d82e9eee07de881fba94a813f03b658548f2318449918c53bbe29281900390910190a15050565b60035490565b6103e881565b6000610701848484610f7b565b6107718461070d610e8b565b61076c85604051806060016040528060288152602001611586602891396001600160a01b038a1660009081526002602052604081209061074b610e8b565b6001600160a01b0316815260208101919091526040016000205491906110c9565b610e8f565b5060019392505050565b6009546001600160a01b031633146107c45760405162461bcd60e51b81526004018080602001828103825260248152602001806115ef6024913960400191505060405180910390fd5b6001600160a01b0381166108095760405162461bcd60e51b81526004018080602001828103825260398152602001806116d26039913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1690565b6009546001600160a01b031633146108b75760405162461bcd60e51b81526004018080602001828103825260248152602001806115ef6024913960400191505060405180910390fd5b6103e861ffff821611156108fc5760405162461bcd60e51b81526004018080602001828103825260518152602001806116816051913960600191505060405180910390fd5b6006546040805161ffff610100909304831681529183166020830152805133927fe9d5c8ee2a65d4fb859c680669d8f902172d53e3f15f9f11108a31bbada4b70b92908290030190a26006805461ffff9092166101000262ffff0019909216919091179055565b600061062e610970610e8b565b8461076c8560026000610981610e8b565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611160565b6109b9610e8b565b6001600160a01b03166109ca610b1b565b6001600160a01b031614610a13576040805162461bcd60e51b815260206004820181905260248201526000805160206115cf833981519152604482015290519081900360640190fd5b610a1d82826111c1565b5050565b6009546001600160a01b031690565b6001600160a01b031660009081526001602052604090205490565b610a53610e8b565b6001600160a01b0316610a64610b1b565b6001600160a01b031614610aad576040805162461bcd60e51b815260206004820181905260248201526000805160206115cf833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60076020526000908152604090205460ff1681565b6000610b16610b1b565b905090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106105780601f106105e557610100808354040283529160200191610610565b6000610b95610e8b565b6001600160a01b0316610ba6610b1b565b6001600160a01b031614610bef576040805162461bcd60e51b815260206004820181905260248201526000805160206115cf833981519152604482015290519081900360640190fd5b610c00610bfa610e8b565b836111c1565b506001919050565b600061062e610c15610e8b565b8461076c8560405180606001604052806025815260200161165c6025913960026000610c3f610e8b565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906110c9565b600061062e610c7d610e8b565b8484610f7b565b600654610100900461ffff1681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6009546001600160a01b03163314610d075760405162461bcd60e51b81526004018080602001828103825260248152602001806115ef6024913960400191505060405180910390fd5b6001600160a01b038216600081815260076020908152604091829020805460ff191685151590811790915582519081529081019290925280517f8b18466d6f447c49ef9b8adbcb4a4b2f3834084624f73078719650562569e3719281900390910190a15050565b610d76610e8b565b6001600160a01b0316610d87610b1b565b6001600160a01b031614610dd0576040805162461bcd60e51b815260206004820181905260248201526000805160206115cf833981519152604482015290519081900360640190fd5b6001600160a01b038116610e155760405162461bcd60e51b81526004018080602001828103825260268152602001806115606026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60086020526000908152604090205460ff1681565b61dead81565b3390565b6001600160a01b038316610ed45760405162461bcd60e51b815260040180806020018281038252602481526020018061153c6024913960400191505060405180910390fd5b6001600160a01b038216610f195760405162461bcd60e51b815260040180806020018281038252602281526020018061172d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831660009081526008602052604090205460ff16151560011415610fa9575060006110c4565b6001600160a01b03821661dead1480610fdf57506001600160a01b03831660009081526007602052604090205460ff1615156001145b8061100757506001600160a01b03821660009081526007602052604090205460ff1615156001145b8061101b5750600654610100900461ffff16155b156110305761102b8383836112a7565b6110c4565b6006546000906110589061271090611052908590610100900461ffff166113f9565b90611452565b9050600061106683836114b9565b905081810183146110a85760405162461bcd60e51b815260040180806020018281038252602281526020018061170b6022913960400191505060405180910390fd5b6110b58561dead846112a7565b6110c08585836112a7565b9150505b505050565b600081848411156111585760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561111d578181015183820152602001611105565b50505050905090810190601f16801561114a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156111ba576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661121c576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003546112299082611160565b6003556001600160a01b03821660009081526001602052604090205461124f9082611160565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0383166112ec5760405162461bcd60e51b81526004018080602001828103825260258152602001806115176025913960400191505060405180910390fd5b6001600160a01b0382166113315760405162461bcd60e51b81526004018080602001828103825260238152602001806116396023913960400191505060405180910390fd5b61136e81604051806060016040528060268152602001611613602691396001600160a01b03861660009081526001602052604090205491906110c9565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461139d9082611160565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008261140857506000610632565b8282028284828161141557fe5b04146111ba5760405162461bcd60e51b81526004018080602001828103825260218152602001806115ae6021913960400191505060405180910390fd5b60008082116114a8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816114b157fe5b049392505050565b600082821115611510576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f484f4e45593a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e484f4e45593a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f2061646472657373484f4e45593a3a7472616e736665723a205461782076616c756520696e76616c696442455032303a20617070726f766520746f20746865207a65726f2061646472657373a26469706673582212203739f71d73c49658b4c37f3465a5ca3e6220df29a8b54ad870d2075420c6a6f964736f6c634300060c0033

Deployed ByteCode Sourcemap

32133:3975:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24213:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25700:161;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25700:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;35935:170;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35935:170:0;;;;;;;;;;:::i;:::-;;24689:100;;;:::i;:::-;;;;;;;;;;;;;;;;32301:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26332:397;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26332:397:0;;;;;;;;;;;;;;;;;:::i;35461:274::-;;;;;;;;;;;;;;;;-1:-1:-1;35461:274:0;-1:-1:-1;;;;;35461:274:0;;:::i;24372:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34768:364;;;;;;;;;;;;;;;;-1:-1:-1;34768:364:0;;;;:::i;27137:210::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27137:210:0;;;;;;;;:::i;33539:99::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33539:99:0;;;;;;;;:::i;35216:85::-;;;:::i;:::-;;;;-1:-1:-1;;;;;35216:85:0;;;;;;;;;;;;;;24851:119;;;;;;;;;;;;;;;;-1:-1:-1;24851:119:0;-1:-1:-1;;;;;24851:119:0;;:::i;21404:148::-;;;:::i;32509:43::-;;;;;;;;;;;;;;;;-1:-1:-1;32509:43:0;-1:-1:-1;;;;;32509:43:0;;:::i;24056:94::-;;;:::i;20753:87::-;;;:::i;24529:96::-;;;:::i;28378:130::-;;;;;;;;;;;;;;;;-1:-1:-1;28378:130:0;;:::i;27849:311::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27849:311:0;;;;;;;;:::i;25182:167::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25182:167:0;;;;;;;;:::i;32225:33::-;;;:::i;25411:143::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25411:143:0;;;;;;;;;;:::i;35747:176::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35747:176:0;;;;;;;;;;:::i;21707:244::-;;;;;;;;;;;;;;;;-1:-1:-1;21707:244:0;-1:-1:-1;;;;;21707:244:0;;:::i;32602:41::-;;;;;;;;;;;;;;;;-1:-1:-1;32602:41:0;-1:-1:-1;;;;;32602:41:0;;:::i;32384:81::-;;;:::i;24213:92::-;24292:5;24285:12;;;;;;;;-1:-1:-1;;24285:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24259:13;;24285:12;;24292:5;;24285:12;;24292:5;24285:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24213:92;:::o;25700:161::-;25775:4;25792:39;25801:12;:10;:12::i;:::-;25815:7;25824:6;25792:8;:39::i;:::-;-1:-1:-1;25849:4:0;25700:161;;;;;:::o;35935:170::-;33122:9;;-1:-1:-1;;;;;33122:9:0;33135:10;33122:23;33114:72;;;;-1:-1:-1;;;33114:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36019:19:0;::::1;;::::0;;;:9:::1;:19;::::0;;;;;;;;:28;;-1:-1:-1;;36019:28:0::1;::::0;::::1;;::::0;;::::1;::::0;;;36063:34;;;;;;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;::::1;35935:170:::0;;:::o;24689:100::-;24769:12;;24689:100;:::o;32301:55::-;32352:4;32301:55;:::o;26332:397::-;26464:4;26481:36;26491:6;26499:9;26510:6;26481:9;:36::i;:::-;26528:171;26551:6;26572:12;:10;:12::i;:::-;26599:89;26637:6;26599:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26599:19:0;;;;;;:11;:19;;;;;;26619:12;:10;:12::i;:::-;-1:-1:-1;;;;;26599:33:0;;;;;;;;;;;;-1:-1:-1;26599:33:0;;;:89;:37;:89::i;:::-;26528:8;:171::i;:::-;-1:-1:-1;26717:4:0;26332:397;;;;;:::o;35461:274::-;33122:9;;-1:-1:-1;;;;;33122:9:0;33135:10;33122:23;33114:72;;;;-1:-1:-1;;;33114:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35547:25:0;::::1;35539:95;;;;-1:-1:-1::0;;;35539:95:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35670:9;::::0;35650:43:::1;::::0;-1:-1:-1;;;;;35650:43:0;;::::1;::::0;35670:9:::1;::::0;35650:43:::1;::::0;35670:9:::1;::::0;35650:43:::1;35704:9;:23:::0;;-1:-1:-1;;;;;;35704:23:0::1;-1:-1:-1::0;;;;;35704:23:0;;;::::1;::::0;;;::::1;::::0;;35461:274::o;24372:92::-;24447:9;;;;24372:92;:::o;34768:364::-;33122:9;;-1:-1:-1;;;;;33122:9:0;33135:10;33122:23;33114:72;;;;-1:-1:-1;;;33114:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32352:4:::1;34863:45;::::0;::::1;;;34855:139;;;;-1:-1:-1::0;;;34855:139:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35045:15;::::0;35010:69:::1;::::0;;35045:15:::1;;::::0;;::::1;::::0;::::1;35010:69:::0;;;;::::1;;::::0;::::1;::::0;;;35033:10:::1;::::0;35010:69:::1;::::0;;;;;;;::::1;35090:15;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;35090:34:0;;::::1;::::0;;;::::1;::::0;;34768:364::o;27137:210::-;27217:4;27234:83;27243:12;:10;:12::i;:::-;27257:7;27266:50;27305:10;27266:11;:25;27278:12;:10;:12::i;:::-;-1:-1:-1;;;;;27266:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;27266:25:0;;;:34;;;;;;;;;;;:38;:50::i;33539:99::-;20984:12;:10;:12::i;:::-;-1:-1:-1;;;;;20973:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20973:23:0;;20965:68;;;;;-1:-1:-1;;;20965:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20965:68:0;;;;;;;;;;;;;;;33611:19:::1;33617:3;33622:7;33611:5;:19::i;:::-;33539:99:::0;;:::o;35216:85::-;35284:9;;-1:-1:-1;;;;;35284:9:0;35216:85;:::o;24851:119::-;-1:-1:-1;;;;;24944:18:0;24917:7;24944:18;;;:9;:18;;;;;;;24851:119::o;21404:148::-;20984:12;:10;:12::i;:::-;-1:-1:-1;;;;;20973:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20973:23:0;;20965:68;;;;;-1:-1:-1;;;20965:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20965:68:0;;;;;;;;;;;;;;;21511:1:::1;21495:6:::0;;21474:40:::1;::::0;-1:-1:-1;;;;;21495:6:0;;::::1;::::0;21474:40:::1;::::0;21511:1;;21474:40:::1;21542:1;21525:19:::0;;-1:-1:-1;;;;;;21525:19:0::1;::::0;;21404:148::o;32509:43::-;;;;;;;;;;;;;;;:::o;24056:94::-;24108:7;24135;:5;:7::i;:::-;24128:14;;24056:94;:::o;20753:87::-;20799:7;20826:6;-1:-1:-1;;;;;20826:6:0;20753:87;:::o;24529:96::-;24610:7;24603:14;;;;;;;;-1:-1:-1;;24603:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24577:13;;24603:14;;24610:7;;24603:14;;24610:7;24603:14;;;;;;;;;;;;;;;;;;;;;;;;28378:130;28434:4;20984:12;:10;:12::i;:::-;-1:-1:-1;;;;;20973:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20973:23:0;;20965:68;;;;;-1:-1:-1;;;20965:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20965:68:0;;;;;;;;;;;;;;;28451:27:::1;28457:12;:10;:12::i;:::-;28471:6;28451:5;:27::i;:::-;-1:-1:-1::0;28496:4:0::1;28378:130:::0;;;:::o;27849:311::-;27934:4;27951:179;27974:12;:10;:12::i;:::-;28001:7;28023:96;28062:15;28023:96;;;;;;;;;;;;;;;;;:11;:25;28035:12;:10;:12::i;:::-;-1:-1:-1;;;;;28023:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;28023:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;25182:167::-;25260:4;25277:42;25287:12;:10;:12::i;:::-;25301:9;25312:6;25277:9;:42::i;32225:33::-;;;;;;;;;:::o;25411:143::-;-1:-1:-1;;;;;25519:18:0;;;25492:7;25519:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;25411:143::o;35747:176::-;33122:9;;-1:-1:-1;;;;;33122:9:0;33135:10;33122:23;33114:72;;;;-1:-1:-1;;;33114:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35833:21:0;::::1;;::::0;;;:11:::1;:21;::::0;;;;;;;;:30;;-1:-1:-1;;35833:30:0::1;::::0;::::1;;::::0;;::::1;::::0;;;35879:36;;;;;;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;::::1;35747:176:::0;;:::o;21707:244::-;20984:12;:10;:12::i;:::-;-1:-1:-1;;;;;20973:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;20973:23:0;;20965:68;;;;;-1:-1:-1;;;20965:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20965:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21796:22:0;::::1;21788:73;;;;-1:-1:-1::0;;;21788:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21898:6;::::0;;21877:38:::1;::::0;-1:-1:-1;;;;;21877:38:0;;::::1;::::0;21898:6;::::1;::::0;21877:38:::1;::::0;::::1;21926:6;:17:::0;;-1:-1:-1;;;;;;21926:17:0::1;-1:-1:-1::0;;;;;21926:17:0;;;::::1;::::0;;;::::1;::::0;;21707:244::o;32602:41::-;;;;;;;;;;;;;;;:::o;32384:81::-;32423:42;32384:81;:::o;19297:106::-;19385:10;19297:106;:::o;31220:372::-;-1:-1:-1;;;;;31348:19:0;;31340:68;;;;-1:-1:-1;;;31340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31427:21:0;;31419:68;;;;-1:-1:-1;;;31419:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31500:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;31552:32;;;;;;;;;;;;;;;;;31220:372;;;:::o;33716:931::-;-1:-1:-1;;;;;33827:17:0;;;;;;:9;:17;;;;;;;;:25;;:17;:25;33823:817;;;-1:-1:-1;33878:1:0;33823:817;;;-1:-1:-1;;;;;33901:25:0;;32423:42;33901:25;;:69;;-1:-1:-1;;;;;;33943:19:0;;;;;;:11;:19;;;;;;;;:27;;:19;:27;33901:69;:116;;;-1:-1:-1;;;;;;33987:22:0;;;;;;:11;:22;;;;;;;;:30;;:22;:30;33901:116;:153;;;-1:-1:-1;34034:15:0;;;;;;;:20;33901:153;33897:743;;;34071:42;34087:6;34095:9;34106:6;34071:15;:42::i;:::-;33897:743;;;34229:15;;34198:17;;34218:38;;34250:5;;34218:27;;:6;;34229:15;;;;;34218:10;:27::i;:::-;:31;;:38::i;:::-;34198:58;-1:-1:-1;34332:18:0;34353:21;:6;34198:58;34353:10;:21::i;:::-;34332:42;;34420:9;34407:10;:22;34397:6;:32;34389:79;;;;-1:-1:-1;;;34389:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34485:48;34501:6;32423:42;34523:9;34485:15;:48::i;:::-;34548:46;34564:6;34572:9;34583:10;34548:15;:46::i;:::-;34618:10;-1:-1:-1;;33897:743:0;33716:931;;;:::o;13627:166::-;13713:7;13749:12;13741:6;;;;13733:29;;;;-1:-1:-1;;;13733:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13780:5:0;;;13627:166::o;10800:179::-;10858:7;10890:5;;;10914:6;;;;10906:46;;;;;-1:-1:-1;;;10906:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10970:1;10800:179;-1:-1:-1;;;10800:179:0:o;29792:308::-;-1:-1:-1;;;;;29868:21:0;;29860:65;;;;;-1:-1:-1;;;29860:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29953:12;;:24;;29970:6;29953:16;:24::i;:::-;29938:12;:39;-1:-1:-1;;;;;30009:18:0;;;;;;:9;:18;;;;;;:30;;30032:6;30009:22;:30::i;:::-;-1:-1:-1;;;;;29988:18:0;;;;;;:9;:18;;;;;;;;:51;;;;30055:37;;;;;;;29988:18;;;;30055:37;;;;;;;;;;29792:308;;:::o;28998:513::-;-1:-1:-1;;;;;29138:20:0;;29130:70;;;;-1:-1:-1;;;29130:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29219:23:0;;29211:71;;;;-1:-1:-1;;;29211:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29315;29337:6;29315:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29315:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;29295:17:0;;;;;;;:9;:17;;;;;;:91;;;;29420:20;;;;;;;:32;;29445:6;29420:24;:32::i;:::-;-1:-1:-1;;;;;29397:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;29468:35;;;;;;;29397:20;;29468:35;;;;;;;;;;;;;28998:513;;;:::o;11679:220::-;11737:7;11761:6;11757:20;;-1:-1:-1;11776:1:0;11769:8;;11757:20;11800:5;;;11804:1;11800;:5;:1;11824:5;;;;;:10;11816:56;;;;-1:-1:-1;;;11816:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12377:153;12435:7;12467:1;12463;:5;12455:44;;;;;-1:-1:-1;;;12455:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12521:1;12517;:5;;;;;;;12377:153;-1:-1:-1;;;12377:153:0:o;11262:158::-;11320:7;11353:1;11348;:6;;11340:49;;;;;-1:-1:-1;;;11340:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11407:5:0;;;11262:158::o

Swarm Source

ipfs://3739f71d73c49658b4c37f3465a5ca3e6220df29a8b54ad870d2075420c6a6f9
Loading