ETH Price: $3,339.02 (-0.13%)

Token

Collateral (COLL)
 

Overview

Max Total Supply

50,000,000 COLL

Holders

1,907 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
250 COLL

Value
$0.00
0x9e1f00b7a502371fc37788775930ac815c6ac535
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Collateral Pay - A decentralized payment gateway for the crypto community powered by Polkadot.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CollToken

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-04-12
*/

// File: @openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: None

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/contracts/token/ERC20/IERC20.sol

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/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: @openzeppelin/contracts/token/ERC20/ERC20.sol


pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin 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;

    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 name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        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), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

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

    /** @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 virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

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

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

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: 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 internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev 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 virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be 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 { }
}

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


pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    using SafeMath for uint256;

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

// File: contracts/AddrArrayLib.sol

pragma solidity ^0.7.6;

library AddrArrayLib {
    using AddrArrayLib for Addresses;

    struct Addresses {
      address[]  _items;
    }

    /**
     * @notice push an address to the array
     * @dev if the address already exists, it will not be added again
     * @param self Storage array containing address type variables
     * @param element the element to add in the array
     */
    function pushAddress(Addresses storage self, address element) internal {
      if (!exists(self, element)) {
        self._items.push(element);
      }
    }

    /**
     * @notice remove an address from the array
     * @dev finds the element, swaps it with the last element, and then deletes it;
     *      returns a boolean whether the element was found and deleted
     * @param self Storage array containing address type variables
     * @param element the element to remove from the array
     */
    function removeAddress(Addresses storage self, address element) internal returns (bool) {
        for (uint i = 0; i < self.size(); i++) {
            if (self._items[i] == element) {
                self._items[i] = self._items[self.size() - 1];
                self._items.pop();
                return true;
            }
        }
        return false;
    }

    /**
     * @notice get the address at a specific index from array
     * @dev revert if the index is out of bounds
     * @param self Storage array containing address type variables
     * @param index the index in the array
     */
    function getAddressAtIndex(Addresses storage self, uint256 index) internal view returns (address) {
        require(index < size(self), "the index is out of bounds");
        return self._items[index];
    }

    /**
     * @notice get the size of the array
     * @param self Storage array containing address type variables
     */
    function size(Addresses storage self) internal view returns (uint256) {
      return self._items.length;
    }

    /**
     * @notice check if an element exist in the array
     * @param self Storage array containing address type variables
     * @param element the element to check if it exists in the array
     */
    function exists(Addresses storage self, address element) internal view returns (bool) {
        for (uint i = 0; i < self.size(); i++) {
            if (self._items[i] == element) {
                return true;
            }
        }
        return false;
    }

    /**
     * @notice get the array
     * @param self Storage array containing address type variables
     */
    function getAllAddresses(Addresses storage self) internal view returns(address[] memory) {
        return self._items;
    }

}

// File: contracts/COLL.sol

pragma solidity ^0.7.6;




contract CollToken is ERC20Burnable {
    using SafeMath for uint256;
    using AddrArrayLib for AddrArrayLib.Addresses;

    /**
     * @dev Emitted when owner change fee account and fee amount.
     */
    event UpdateTaxInfo(address indexed owner, uint indexed feePercent);


    uint public constant PRECISION = 100;
    uint public constant INITIAL_SUPPLY = 50000000 * 10**18;

    address public _owner;
    address public _feeAccount;
    uint   public _feePercent;
    
    // List of no fee addresses when transfer token
    AddrArrayLib.Addresses noFeeAddrs;

    constructor(address feeAccount, uint feePercent) ERC20("Collateral", "COLL") {
        require(feeAccount != address(0), "Coll: fee account from the zero address");
        _feeAccount = feeAccount;
        _feePercent = feePercent;
        _owner = _msgSender();
        _mint(_msgSender(), INITIAL_SUPPLY);
    }
    
    /**
     * @dev Update the fee collector and the percent of fee from transfer operation
     */
    function updateTaxInfo(address feeAccount, uint feePercent) external {
        require(feeAccount != address(0), "Coll: fee account from the zero address");
        require(feePercent <= PRECISION, "Coll: incorrect fee percent");
        require(_owner == _msgSender(), "Coll: updated tax info from no-owner address");
        _feeAccount = feeAccount;
        _feePercent = feePercent;
        emit UpdateTaxInfo(feeAccount, feePercent);
    }
    
    /**
     * @dev Push non-fee address
     */
    function addNoFeeAddress(address addr) external {
        require(_owner == _msgSender(), "Address: pushed address from no-owner address");
        noFeeAddrs.pushAddress(addr);
    }
    
    /**
     * @dev Pop non-fee address
     */
    function removeNoFeeAddress(address addr) external {
        require(_owner == _msgSender(), "Address: pop address from no-owner address");
        require(noFeeAddrs.removeAddress(addr), "Address: address does not exist");
    }

    /**
     * @dev Check if address is existed in non-fee address list
     */
    function isExisted(address addr) public view returns (bool) {
        return noFeeAddrs.exists(addr);
    }


    /**
     * @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 override {
        require(sender != address(0), "Coll: transfer from the zero address");
        require(recipient != address(0), "Coll: transfer to the zero address");

        
        if (isExisted(sender) || _feePercent == 0) {     
            super._transfer(sender, recipient, amount);
        } else {
            uint256 _fee = amount.mul(_feePercent).div(PRECISION);
            uint256 _recepientAmount = amount.sub(_fee);

            super._transfer(sender, recipient, _recepientAmount);
            super._transfer(sender, _feeAccount, _fee);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"feeAccount","type":"address"},{"internalType":"uint256","name":"feePercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"feePercent","type":"uint256"}],"name":"UpdateTaxInfo","type":"event"},{"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_feeAccount","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_feePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addNoFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isExisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"removeNoFeeAddress","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":"feeAccount","type":"address"},{"internalType":"uint256","name":"feePercent","type":"uint256"}],"name":"updateTaxInfo","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620018d5380380620018d5833981810160405260408110156200003757600080fd5b508051602091820151604080518082018252600a81526910dbdb1b185d195c985b60b21b8186019081528251808401909352600483526310d3d31360e21b958301959095528051939492939092620000939160039190620002f3565b508051620000a9906004906020840190620002f3565b50506005805460ff19166012179055506001600160a01b038216620001005760405162461bcd60e51b8152600401808060200182810382526027815260200180620018ae6027913960400191505060405180910390fd5b600680546001600160a01b0319166001600160a01b03841617905560078190556200012a62000179565b600580546001600160a01b039290921661010002610100600160a81b0319909216919091179055620001716200015f62000179565b6a295be96e640669720000006200017d565b50506200039f565b3390565b6001600160a01b038216620001d9576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001e7600083836200028c565b62000203816002546200029160201b62000a521790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200023691839062000a5262000291821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b600082820183811015620002ec576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200032b576000855562000376565b82601f106200034657805160ff191683800117855562000376565b8280016001018555821562000376579182015b828111156200037657825182559160200191906001019062000359565b506200038492915062000388565b5090565b5b8082111562000384576000815560010162000389565b6114ff80620003af6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806379cc6790116100b8578063aaf5eb681161007c578063aaf5eb68146103d1578063b2bdfa7b146103d9578063ca62a099146103fd578063dd62ed3e14610405578063f5b025b114610433578063f7d5820f1461045957610142565b806379cc67901461031f57806395d89b411461034b578063a457c2d714610353578063a9059cbb1461037f578063aaad0c84146103ab57610142565b8063313ce5671161010a578063313ce5671461025c578063395093511461027a57806342966c68146102a65780635a708bd8146102c557806369222948146102f157806370a08231146102f957610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd1461020457806323b872dd1461021e5780632ff2e9dc14610254575b600080fd5b61014f61047f565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610515565b604080519115158252519081900360200190f35b61020c610533565b60408051918252519081900360200190f35b6101f06004803603606081101561023457600080fd5b506001600160a01b03813581169160208101359091169060400135610539565b61020c6105c0565b6102646105cf565b6040805160ff9092168252519081900360200190f35b6101f06004803603604081101561029057600080fd5b506001600160a01b0381351690602001356105d8565b6102c3600480360360208110156102bc57600080fd5b5035610626565b005b6102c3600480360360408110156102db57600080fd5b506001600160a01b03813516906020013561063a565b61020c610781565b61020c6004803603602081101561030f57600080fd5b50356001600160a01b0316610787565b6102c36004803603604081101561033557600080fd5b506001600160a01b0381351690602001356107a2565b61014f6107fc565b6101f06004803603604081101561036957600080fd5b506001600160a01b03813516906020013561085d565b6101f06004803603604081101561039557600080fd5b506001600160a01b0381351690602001356108c5565b6101f0600480360360208110156103c157600080fd5b50356001600160a01b03166108d9565b61020c6108e6565b6103e16108eb565b604080516001600160a01b039092168252519081900360200190f35b6103e16108ff565b61020c6004803603604081101561041b57600080fd5b506001600160a01b038135811691602001351661090e565b6102c36004803603602081101561044957600080fd5b50356001600160a01b0316610939565b6102c36004803603602081101561046f57600080fd5b50356001600160a01b031661099d565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050b5780601f106104e05761010080835404028352916020019161050b565b820191906000526020600020905b8154815290600101906020018083116104ee57829003601f168201915b5050505050905090565b6000610529610522610ab3565b8484610ab7565b5060015b92915050565b60025490565b6000610546848484610ba3565b6105b684610552610ab3565b6105b18560405180606001604052806028815260200161139c602891396001600160a01b038a16600090815260016020526040812090610590610ab3565b6001600160a01b031681526020810191909152604001600020549190610cb2565b610ab7565b5060019392505050565b6a295be96e6406697200000081565b60055460ff1690565b60006105296105e5610ab3565b846105b185600160006105f6610ab3565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610a52565b610637610631610ab3565b82610d49565b50565b6001600160a01b03821661067f5760405162461bcd60e51b81526004018080602001828103825260278152602001806113c46027913960400191505060405180910390fd5b60648111156106d5576040805162461bcd60e51b815260206004820152601b60248201527f436f6c6c3a20696e636f7272656374206665652070657263656e740000000000604482015290519081900360640190fd5b6106dd610ab3565b60055461010090046001600160a01b0390811691161461072e5760405162461bcd60e51b815260040180806020018281038252602c815260200180611479602c913960400191505060405180910390fd5b600680546001600160a01b0319166001600160a01b03841690811790915560078290556040518291907fe0820caa739958426b6b8f2346bd3297e331a653f6b89a222ba4bce340f55c0390600090a35050565b60075481565b6001600160a01b031660009081526020819052604090205490565b60006107d9826040518060600160405280602481526020016113eb602491396107d2866107cd610ab3565b61090e565b9190610cb2565b90506107ed836107e7610ab3565b83610ab7565b6107f78383610d49565b505050565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050b5780601f106104e05761010080835404028352916020019161050b565b600061052961086a610ab3565b846105b1856040518060600160405280602581526020016114a56025913960016000610894610ab3565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610cb2565b60006105296108d2610ab3565b8484610ba3565b600061052d600883610e45565b606481565b60055461010090046001600160a01b031681565b6006546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610941610ab3565b60055461010090046001600160a01b039081169116146109925760405162461bcd60e51b815260040180806020018281038252602d8152602001806112b8602d913960400191505060405180910390fd5b610637600882610ea9565b6109a5610ab3565b60055461010090046001600160a01b039081169116146109f65760405162461bcd60e51b815260040180806020018281038252602a815260200180611351602a913960400191505060405180910390fd5b610a01600882610ee7565b610637576040805162461bcd60e51b815260206004820152601f60248201527f416464726573733a206164647265737320646f6573206e6f7420657869737400604482015290519081900360640190fd5b600082820183811015610aac576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610afc5760405162461bcd60e51b81526004018080602001828103825260248152602001806114556024913960400191505060405180910390fd5b6001600160a01b038216610b415760405162461bcd60e51b81526004018080602001828103825260228152602001806112966022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610be85760405162461bcd60e51b815260040180806020018281038252602481526020018061132d6024913960400191505060405180910390fd5b6001600160a01b038216610c2d5760405162461bcd60e51b815260040180806020018281038252602281526020018061130b6022913960400191505060405180910390fd5b610c36836108d9565b80610c415750600754155b15610c5657610c51838383610fd4565b6107f7565b6000610c786064610c726007548561112f90919063ffffffff16565b90611188565b90506000610c8683836111ef565b9050610c93858583610fd4565b600654610cab9086906001600160a01b031684610fd4565b5050505050565b60008184841115610d415760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d06578181015183820152602001610cee565b50505050905090810190601f168015610d335780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216610d8e5760405162461bcd60e51b815260040180806020018281038252602181526020018061140f6021913960400191505060405180910390fd5b610d9a826000836107f7565b610dd781604051806060016040528060228152602001611274602291396001600160a01b0385166000908152602081905260409020549190610cb2565b6001600160a01b038316600090815260208190526040902055600254610dfd90826111ef565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000805b610e528461124c565b811015610e9f57826001600160a01b0316846000018281548110610e7257fe5b6000918252602090912001546001600160a01b03161415610e9757600191505061052d565b600101610e49565b5060009392505050565b610eb38282610e45565b610ee35781546001810183556000838152602090200180546001600160a01b0319166001600160a01b0383161790555b5050565b6000805b610ef48461124c565b811015610e9f57826001600160a01b0316846000018281548110610f1457fe5b6000918252602090912001546001600160a01b03161415610fcc57836001610f3b8261124c565b0381548110610f4657fe5b60009182526020909120015484546001600160a01b0390911690859083908110610f6c57fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790558354849080610fa057fe5b600082815260209020810160001990810180546001600160a01b0319169055019055506001905061052d565b600101610eeb565b6001600160a01b0383166110195760405162461bcd60e51b81526004018080602001828103825260258152602001806114306025913960400191505060405180910390fd5b6001600160a01b03821661105e5760405162461bcd60e51b81526004018080602001828103825260238152602001806112516023913960400191505060405180910390fd5b6110698383836107f7565b6110a6816040518060600160405280602681526020016112e5602691396001600160a01b0386166000908152602081905260409020549190610cb2565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546110d59082610a52565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008261113e5750600061052d565b8282028284828161114b57fe5b0414610aac5760405162461bcd60e51b815260040180806020018281038252602181526020018061137b6021913960400191505060405180910390fd5b60008082116111de576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816111e757fe5b049392505050565b600082821115611246576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b549056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f2061646472657373416464726573733a2070757368656420616464726573732066726f6d206e6f2d6f776e6572206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365436f6c6c3a207472616e7366657220746f20746865207a65726f2061646472657373436f6c6c3a207472616e736665722066726f6d20746865207a65726f2061646472657373416464726573733a20706f7020616464726573732066726f6d206e6f2d6f776e65722061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6c6c3a20666565206163636f756e742066726f6d20746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373436f6c6c3a20757064617465642074617820696e666f2066726f6d206e6f2d6f776e6572206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220077a10851ad678d05065f5abffb607a85db3b5a0c4161571acdcdcb13f4a05bc64736f6c63430007060033436f6c6c3a20666565206163636f756e742066726f6d20746865207a65726f20616464726573730000000000000000000000008a3d838eb0747ac10db5bbf744c172d3c152c2da0000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c806379cc6790116100b8578063aaf5eb681161007c578063aaf5eb68146103d1578063b2bdfa7b146103d9578063ca62a099146103fd578063dd62ed3e14610405578063f5b025b114610433578063f7d5820f1461045957610142565b806379cc67901461031f57806395d89b411461034b578063a457c2d714610353578063a9059cbb1461037f578063aaad0c84146103ab57610142565b8063313ce5671161010a578063313ce5671461025c578063395093511461027a57806342966c68146102a65780635a708bd8146102c557806369222948146102f157806370a08231146102f957610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd1461020457806323b872dd1461021e5780632ff2e9dc14610254575b600080fd5b61014f61047f565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610515565b604080519115158252519081900360200190f35b61020c610533565b60408051918252519081900360200190f35b6101f06004803603606081101561023457600080fd5b506001600160a01b03813581169160208101359091169060400135610539565b61020c6105c0565b6102646105cf565b6040805160ff9092168252519081900360200190f35b6101f06004803603604081101561029057600080fd5b506001600160a01b0381351690602001356105d8565b6102c3600480360360208110156102bc57600080fd5b5035610626565b005b6102c3600480360360408110156102db57600080fd5b506001600160a01b03813516906020013561063a565b61020c610781565b61020c6004803603602081101561030f57600080fd5b50356001600160a01b0316610787565b6102c36004803603604081101561033557600080fd5b506001600160a01b0381351690602001356107a2565b61014f6107fc565b6101f06004803603604081101561036957600080fd5b506001600160a01b03813516906020013561085d565b6101f06004803603604081101561039557600080fd5b506001600160a01b0381351690602001356108c5565b6101f0600480360360208110156103c157600080fd5b50356001600160a01b03166108d9565b61020c6108e6565b6103e16108eb565b604080516001600160a01b039092168252519081900360200190f35b6103e16108ff565b61020c6004803603604081101561041b57600080fd5b506001600160a01b038135811691602001351661090e565b6102c36004803603602081101561044957600080fd5b50356001600160a01b0316610939565b6102c36004803603602081101561046f57600080fd5b50356001600160a01b031661099d565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050b5780601f106104e05761010080835404028352916020019161050b565b820191906000526020600020905b8154815290600101906020018083116104ee57829003601f168201915b5050505050905090565b6000610529610522610ab3565b8484610ab7565b5060015b92915050565b60025490565b6000610546848484610ba3565b6105b684610552610ab3565b6105b18560405180606001604052806028815260200161139c602891396001600160a01b038a16600090815260016020526040812090610590610ab3565b6001600160a01b031681526020810191909152604001600020549190610cb2565b610ab7565b5060019392505050565b6a295be96e6406697200000081565b60055460ff1690565b60006105296105e5610ab3565b846105b185600160006105f6610ab3565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610a52565b610637610631610ab3565b82610d49565b50565b6001600160a01b03821661067f5760405162461bcd60e51b81526004018080602001828103825260278152602001806113c46027913960400191505060405180910390fd5b60648111156106d5576040805162461bcd60e51b815260206004820152601b60248201527f436f6c6c3a20696e636f7272656374206665652070657263656e740000000000604482015290519081900360640190fd5b6106dd610ab3565b60055461010090046001600160a01b0390811691161461072e5760405162461bcd60e51b815260040180806020018281038252602c815260200180611479602c913960400191505060405180910390fd5b600680546001600160a01b0319166001600160a01b03841690811790915560078290556040518291907fe0820caa739958426b6b8f2346bd3297e331a653f6b89a222ba4bce340f55c0390600090a35050565b60075481565b6001600160a01b031660009081526020819052604090205490565b60006107d9826040518060600160405280602481526020016113eb602491396107d2866107cd610ab3565b61090e565b9190610cb2565b90506107ed836107e7610ab3565b83610ab7565b6107f78383610d49565b505050565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050b5780601f106104e05761010080835404028352916020019161050b565b600061052961086a610ab3565b846105b1856040518060600160405280602581526020016114a56025913960016000610894610ab3565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610cb2565b60006105296108d2610ab3565b8484610ba3565b600061052d600883610e45565b606481565b60055461010090046001600160a01b031681565b6006546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610941610ab3565b60055461010090046001600160a01b039081169116146109925760405162461bcd60e51b815260040180806020018281038252602d8152602001806112b8602d913960400191505060405180910390fd5b610637600882610ea9565b6109a5610ab3565b60055461010090046001600160a01b039081169116146109f65760405162461bcd60e51b815260040180806020018281038252602a815260200180611351602a913960400191505060405180910390fd5b610a01600882610ee7565b610637576040805162461bcd60e51b815260206004820152601f60248201527f416464726573733a206164647265737320646f6573206e6f7420657869737400604482015290519081900360640190fd5b600082820183811015610aac576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610afc5760405162461bcd60e51b81526004018080602001828103825260248152602001806114556024913960400191505060405180910390fd5b6001600160a01b038216610b415760405162461bcd60e51b81526004018080602001828103825260228152602001806112966022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610be85760405162461bcd60e51b815260040180806020018281038252602481526020018061132d6024913960400191505060405180910390fd5b6001600160a01b038216610c2d5760405162461bcd60e51b815260040180806020018281038252602281526020018061130b6022913960400191505060405180910390fd5b610c36836108d9565b80610c415750600754155b15610c5657610c51838383610fd4565b6107f7565b6000610c786064610c726007548561112f90919063ffffffff16565b90611188565b90506000610c8683836111ef565b9050610c93858583610fd4565b600654610cab9086906001600160a01b031684610fd4565b5050505050565b60008184841115610d415760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d06578181015183820152602001610cee565b50505050905090810190601f168015610d335780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216610d8e5760405162461bcd60e51b815260040180806020018281038252602181526020018061140f6021913960400191505060405180910390fd5b610d9a826000836107f7565b610dd781604051806060016040528060228152602001611274602291396001600160a01b0385166000908152602081905260409020549190610cb2565b6001600160a01b038316600090815260208190526040902055600254610dfd90826111ef565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000805b610e528461124c565b811015610e9f57826001600160a01b0316846000018281548110610e7257fe5b6000918252602090912001546001600160a01b03161415610e9757600191505061052d565b600101610e49565b5060009392505050565b610eb38282610e45565b610ee35781546001810183556000838152602090200180546001600160a01b0319166001600160a01b0383161790555b5050565b6000805b610ef48461124c565b811015610e9f57826001600160a01b0316846000018281548110610f1457fe5b6000918252602090912001546001600160a01b03161415610fcc57836001610f3b8261124c565b0381548110610f4657fe5b60009182526020909120015484546001600160a01b0390911690859083908110610f6c57fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790558354849080610fa057fe5b600082815260209020810160001990810180546001600160a01b0319169055019055506001905061052d565b600101610eeb565b6001600160a01b0383166110195760405162461bcd60e51b81526004018080602001828103825260258152602001806114306025913960400191505060405180910390fd5b6001600160a01b03821661105e5760405162461bcd60e51b81526004018080602001828103825260238152602001806112516023913960400191505060405180910390fd5b6110698383836107f7565b6110a6816040518060600160405280602681526020016112e5602691396001600160a01b0386166000908152602081905260409020549190610cb2565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546110d59082610a52565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008261113e5750600061052d565b8282028284828161114b57fe5b0414610aac5760405162461bcd60e51b815260040180806020018281038252602181526020018061137b6021913960400191505060405180910390fd5b60008082116111de576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816111e757fe5b049392505050565b600082821115611246576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b549056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f2061646472657373416464726573733a2070757368656420616464726573732066726f6d206e6f2d6f776e6572206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365436f6c6c3a207472616e7366657220746f20746865207a65726f2061646472657373436f6c6c3a207472616e736665722066726f6d20746865207a65726f2061646472657373416464726573733a20706f7020616464726573732066726f6d206e6f2d6f776e65722061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6c6c3a20666565206163636f756e742066726f6d20746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373436f6c6c3a20757064617465642074617820696e666f2066726f6d206e6f2d6f776e6572206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220077a10851ad678d05065f5abffb607a85db3b5a0c4161571acdcdcb13f4a05bc64736f6c63430007060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000008a3d838eb0747ac10db5bbf744c172d3c152c2da0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : feeAccount (address): 0x8A3d838Eb0747aC10dB5bBF744C172d3C152C2DA
Arg [1] : feePercent (uint256): 0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008a3d838eb0747ac10db5bbf744c172d3c152c2da
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

26425:3386:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13455:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15601:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15601:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14554:108;;;:::i;:::-;;;;;;;;;;;;;;;;16252:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16252:321:0;;;;;;;;;;;;;;;;;:::i;26761:55::-;;;:::i;14398:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16982:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16982:218:0;;;;;;;;:::i;22849:91::-;;;;;;;;;;;;;;;;-1:-1:-1;22849:91:0;;:::i;:::-;;27454:451;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27454:451:0;;;;;;;;:::i;26886:25::-;;;:::i;14725:127::-;;;;;;;;;;;;;;;;-1:-1:-1;14725:127:0;-1:-1:-1;;;;;14725:127:0;;:::i;23259:295::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23259:295:0;;;;;;;;:::i;13665:95::-;;;:::i;17703:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17703:269:0;;;;;;;;:::i;15065:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15065:175:0;;;;;;;;:::i;28541:109::-;;;;;;;;;;;;;;;;-1:-1:-1;28541:109:0;-1:-1:-1;;;;;28541:109:0;;:::i;26718:36::-;;;:::i;26825:21::-;;;:::i;:::-;;;;-1:-1:-1;;;;;26825:21:0;;;;;;;;;;;;;;26853:26;;;:::i;15303:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15303:151:0;;;;;;;;;;:::i;27969:186::-;;;;;;;;;;;;;;;;-1:-1:-1;27969:186:0;-1:-1:-1;;;;;27969:186:0;;:::i;28218:232::-;;;;;;;;;;;;;;;;-1:-1:-1;28218:232:0;-1:-1:-1;;;;;28218:232:0;;:::i;13455:91::-;13533:5;13526:12;;;;;;;;-1:-1:-1;;13526:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13500:13;;13526:12;;13533:5;;13526:12;;13533:5;13526:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13455:91;:::o;15601:169::-;15684:4;15701:39;15710:12;:10;:12::i;:::-;15724:7;15733:6;15701:8;:39::i;:::-;-1:-1:-1;15758:4:0;15601:169;;;;;:::o;14554:108::-;14642:12;;14554:108;:::o;16252:321::-;16358:4;16375:36;16385:6;16393:9;16404:6;16375:9;:36::i;:::-;16422:121;16431:6;16439:12;:10;:12::i;:::-;16453:89;16491:6;16453:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16453:19:0;;;;;;:11;:19;;;;;;16473:12;:10;:12::i;:::-;-1:-1:-1;;;;;16453:33:0;;;;;;;;;;;;-1:-1:-1;16453:33:0;;;:89;:37;:89::i;:::-;16422:8;:121::i;:::-;-1:-1:-1;16561:4:0;16252:321;;;;;:::o;26761:55::-;26799:17;26761:55;:::o;14398:91::-;14472:9;;;;14398:91;:::o;16982:218::-;17070:4;17087:83;17096:12;:10;:12::i;:::-;17110:7;17119:50;17158:10;17119:11;:25;17131:12;:10;:12::i;:::-;-1:-1:-1;;;;;17119:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17119:25:0;;;:34;;;;;;;;;;;:38;:50::i;22849:91::-;22905:27;22911:12;:10;:12::i;:::-;22925:6;22905:5;:27::i;:::-;22849:91;:::o;27454:451::-;-1:-1:-1;;;;;27542:24:0;;27534:76;;;;-1:-1:-1;;;27534:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26751:3;27629:10;:23;;27621:63;;;;;-1:-1:-1;;;27621:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27713:12;:10;:12::i;:::-;27703:6;;;;;-1:-1:-1;;;;;27703:6:0;;;:22;;;27695:79;;;;-1:-1:-1;;;27695:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27785:11;:24;;-1:-1:-1;;;;;;27785:24:0;-1:-1:-1;;;;;27785:24:0;;;;;;;;27820:11;:24;;;27860:37;;27820:24;;27785;27860:37;;-1:-1:-1;;27860:37:0;27454:451;;:::o;26886:25::-;;;;:::o;14725:127::-;-1:-1:-1;;;;;14826:18:0;14799:7;14826:18;;;;;;;;;;;;14725:127::o;23259:295::-;23336:26;23365:84;23402:6;23365:84;;;;;;;;;;;;;;;;;:32;23375:7;23384:12;:10;:12::i;:::-;23365:9;:32::i;:::-;:36;:84;:36;:84::i;:::-;23336:113;;23462:51;23471:7;23480:12;:10;:12::i;:::-;23494:18;23462:8;:51::i;:::-;23524:22;23530:7;23539:6;23524:5;:22::i;:::-;23259:295;;;:::o;13665:95::-;13745:7;13738:14;;;;;;;;-1:-1:-1;;13738:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13712:13;;13738:14;;13745:7;;13738:14;;13745:7;13738:14;;;;;;;;;;;;;;;;;;;;;;;;17703:269;17796:4;17813:129;17822:12;:10;:12::i;:::-;17836:7;17845:96;17884:15;17845:96;;;;;;;;;;;;;;;;;:11;:25;17857:12;:10;:12::i;:::-;-1:-1:-1;;;;;17845:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17845:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15065:175::-;15151:4;15168:42;15178:12;:10;:12::i;:::-;15192:9;15203:6;15168:9;:42::i;28541:109::-;28595:4;28619:23;:10;28637:4;28619:17;:23::i;26718:36::-;26751:3;26718:36;:::o;26825:21::-;;;;;;-1:-1:-1;;;;;26825:21:0;;:::o;26853:26::-;;;-1:-1:-1;;;;;26853:26:0;;:::o;15303:151::-;-1:-1:-1;;;;;15419:18:0;;;15392:7;15419:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15303:151::o;27969:186::-;28046:12;:10;:12::i;:::-;28036:6;;;;;-1:-1:-1;;;;;28036:6:0;;;:22;;;28028:80;;;;-1:-1:-1;;;28028:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28119:28;:10;28142:4;28119:22;:28::i;28218:232::-;28298:12;:10;:12::i;:::-;28288:6;;;;;-1:-1:-1;;;;;28288:6:0;;;:22;;;28280:77;;;;-1:-1:-1;;;28280:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28376:30;:10;28401:4;28376:24;:30::i;:::-;28368:74;;;;;-1:-1:-1;;;28368:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6622:179;6680:7;6712:5;;;6736:6;;;;6728:46;;;;;-1:-1:-1;;;6728:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6792:1;6622:179;-1:-1:-1;;;6622:179:0:o;666:106::-;754:10;666:106;:::o;20850:346::-;-1:-1:-1;;;;;20952:19:0;;20944:68;;;;-1:-1:-1;;;20944:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21031:21:0;;21023:68;;;;-1:-1:-1;;;21023:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21104:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21156:32;;;;;;;;;;;;;;;;;20850:346;;;:::o;29142:666::-;-1:-1:-1;;;;;29249:20:0;;29241:69;;;;-1:-1:-1;;;29241:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29329:23:0;;29321:70;;;;-1:-1:-1;;;29321:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29418:17;29428:6;29418:9;:17::i;:::-;:37;;;-1:-1:-1;29439:11:0;;:16;29418:37;29414:387;;;29477:42;29493:6;29501:9;29512:6;29477:15;:42::i;:::-;29414:387;;;29552:12;29567:38;26751:3;29567:23;29578:11;;29567:6;:10;;:23;;;;:::i;:::-;:27;;:38::i;:::-;29552:53;-1:-1:-1;29620:24:0;29647:16;:6;29552:53;29647:10;:16::i;:::-;29620:43;;29680:52;29696:6;29704:9;29715:16;29680:15;:52::i;:::-;29771:11;;29747:42;;29763:6;;-1:-1:-1;;;;;29771:11:0;29784:4;29747:15;:42::i;:::-;29414:387;;29142:666;;;:::o;9449:166::-;9535:7;9571:12;9563:6;;;;9555:29;;;;-1:-1:-1;;;9555:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9602:5:0;;;9449:166::o;19994:418::-;-1:-1:-1;;;;;20078:21:0;;20070:67;;;;-1:-1:-1;;;20070:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20150:49;20171:7;20188:1;20192:6;20150:20;:49::i;:::-;20233:68;20256:6;20233:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20233:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;20212:18:0;;:9;:18;;;;;;;;;;:89;20327:12;;:24;;20344:6;20327:16;:24::i;:::-;20312:12;:39;20367:37;;;;;;;;20393:1;;-1:-1:-1;;;;;20367:37:0;;;;;;;;;;;;19994:418;;:::o;25833:269::-;25913:4;;25930:142;25951:11;:4;:9;:11::i;:::-;25947:1;:15;25930:142;;;26006:7;-1:-1:-1;;;;;25988:25:0;:4;:11;;26000:1;25988:14;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25988:14:0;:25;25984:77;;;26041:4;26034:11;;;;;25984:77;25964:3;;25930:142;;;-1:-1:-1;26089:5:0;;25833:269;-1:-1:-1;;;25833:269:0:o;24012:161::-;24097:21;24104:4;24110:7;24097:6;:21::i;:::-;24092:74;;24131:25;;;;;;;-1:-1:-1;24131:25:0;;;;;;;;;-1:-1:-1;;;;;;24131:25:0;-1:-1:-1;;;;;24131:25:0;;;;;24092:74;24012:161;;:::o;24534:371::-;24616:4;;24633:242;24654:11;:4;:9;:11::i;:::-;24650:1;:15;24633:242;;;24709:7;-1:-1:-1;;;;;24691:25:0;:4;:11;;24703:1;24691:14;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24691:14:0;:25;24687:177;;;24754:4;24780:1;24766:11;24754:4;24766:9;:11::i;:::-;:15;24754:28;;;;;;;;;;;;;;;;;;24737:14;;-1:-1:-1;;;;;24754:28:0;;;;24737:4;;24749:1;;24737:14;;;;;;;;;;;;;;;:45;;-1:-1:-1;;;;;;24737:45:0;-1:-1:-1;;;;;24737:45:0;;;;;;;;;;24801:17;;;;;;;;;;;;;;;;;;-1:-1:-1;;24801:17:0;;;;;-1:-1:-1;;;;;;24801:17:0;;;;;;-1:-1:-1;24801:17:0;;-1:-1:-1;24837:11:0;;24687:177;24667:3;;24633:242;;18462:539;-1:-1:-1;;;;;18568:20:0;;18560:70;;;;-1:-1:-1;;;18560:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18649:23:0;;18641:71;;;;-1:-1:-1;;;18641:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18725:47;18746:6;18754:9;18765:6;18725:20;:47::i;:::-;18805:71;18827:6;18805:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18805:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18785:17:0;;;:9;:17;;;;;;;;;;;:91;;;;18910:20;;;;;;;:32;;18935:6;18910:24;:32::i;:::-;-1:-1:-1;;;;;18887:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;18958:35;;;;;;;18887:20;;18958:35;;;;;;;;;;;;;18462:539;;;:::o;7501:220::-;7559:7;7583:6;7579:20;;-1:-1:-1;7598:1:0;7591:8;;7579:20;7622:5;;;7626:1;7622;:5;:1;7646:5;;;;;:10;7638:56;;;;-1:-1:-1;;;7638:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8199:153;8257:7;8289:1;8285;:5;8277:44;;;;;-1:-1:-1;;;8277:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8343:1;8339;:5;;;;;;;8199:153;-1:-1:-1;;;8199:153:0:o;7084:158::-;7142:7;7175:1;7170;:6;;7162:49;;;;;-1:-1:-1;;;7162:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7229:5:0;;;7084:158::o;25502:112::-;25588:18;;25502:112::o

Swarm Source

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