Contract 0x7DBF432283dbFB3099f127Ff96d530e282f4a7eb

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x5b20ee275cf31e6607a8ea5404c86ad25323666bbdc61ba60bfe2ac906f2f6840x60806040109662502021-07-27 21:06:15126 days 58 mins ago0x1e5b227a9e9df57267529240592c815225a552b0 IN  Contract Creation0 BNB0.04638469
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BasicToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 11 : BasicToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

contract BasicToken is ERC20, Ownable, AccessControl {
    using SafeMath for uint256;
    using SafeMath for uint16;
    using SafeMath for uint128;

    struct SerialNumber {
        uint256 totalAmount;
        uint256 neutralizedAmount;
    }

    mapping(string => SerialNumber) public serialNumbers;

    uint16 public mintCommission;
    address public mintCommissionAddress;
    uint16 public constant mintCommissionScale = 10000;
    
    address public exchangeAddress;
    address public custodyAddress;

    bytes32 public constant exchangeAdminRole = "exchangeAdmin";
    bytes32 public constant exchangeRole = "exchange";

    bytes32 public constant managerAdminRole = "managerAdmin";
    bytes32 public constant managerRole = "manager";

    bytes32 public constant partnerAdminRole = "partnerAdmin";
    bytes32 public constant partnerRole = "partner";

    constructor(
        string memory _name,
        string memory _symbol,
        address _owner,
        address _managerAddress,
        address _partnerAddress,
        uint16 _mintCommission,
        address _mintCommissionAddress,
        address _exchangeAddress,
        address _custodyAddress
    ) ERC20(_name, _symbol) {
        // setup commission
        mintCommission = _mintCommission;
        mintCommissionAddress = _mintCommissionAddress;
        // setup exchange address
        exchangeAddress = _exchangeAddress;
        // setup costody wallet
        custodyAddress = _custodyAddress;
        // setup owner
        transferOwnership(_owner);
        // setup exchange roles
        _setRoleAdmin(exchangeAdminRole, managerRole);
        _setRoleAdmin(exchangeRole, exchangeAdminRole);
        _setupRole(exchangeAdminRole, _exchangeAddress);
        _setupRole(exchangeRole, _exchangeAddress);
        // setup partner role
        _setRoleAdmin(partnerRole, partnerAdminRole);
        _setupRole(partnerAdminRole, _partnerAddress);
        _setupRole(partnerRole, _partnerAddress);
        // setup manager
        _setRoleAdmin(managerRole, managerAdminRole);
        _setupRole(managerAdminRole, _managerAddress);
        _setupRole(managerRole, _managerAddress);
    }

    // create a new serial number with a total amount
    function _createOneSerialNumber(
        string memory _serialNumber,
        uint256 _totalAmount,
        uint256 _commission,
        uint256 _totalAmountWithoutComission
    ) private {
        require(bytes(_serialNumber).length > 0, "empty serial number");
        require(
            _totalAmount >= 1 ether,
            "at least 1 token is required to create a serial number"
        );
        require(
            _totalAmount.mod(1 ether) == 0,
            "serial number don't accept decimal tokens"
        );
        require(
            serialNumbers[_serialNumber].totalAmount == 0,
            "serial number already exists"
        );

        SerialNumber memory newSerialNumber;
        newSerialNumber.totalAmount = _totalAmount;
        serialNumbers[_serialNumber] = newSerialNumber;

        _mint(mintCommissionAddress, _commission);
        _mint(address(exchangeAddress), _totalAmountWithoutComission);
    }

    function createSerialNumberBatch(string[] memory _serialNumbers,
        uint256 _totalAmount
    ) external onlyOwner {
        require(_serialNumbers.length > 0, "empty serial numbers");

        uint256 commission =
            mulScaleRoundUp(_totalAmount, mintCommission, mintCommissionScale);
        uint256 amountWithoutCommission = _totalAmount.sub(commission);

        for (uint i=0; i<_serialNumbers.length; i++) {
            _createOneSerialNumber(_serialNumbers[i], _totalAmount, commission, amountWithoutCommission);
        }

        emit SerialNumbersCreated(_serialNumbers, _totalAmount);
    }

    // burn tokens based on a serial number
    function neutralize(
        string memory _serialNumber,
        uint256 _tokensAmount,
        string memory _neutralizeIdentifier
    ) external onlyExchange {
        require(
            serialNumbers[_serialNumber].totalAmount != 0,
            "serial number not found"
        );
        require(
            _tokensAmount >= 1 ether,
            "at least 1 token is required to neutralize"
        );
        require(
            _tokensAmount.mod(1 ether) == 0,
            "neutralize doesn't accept decimal tokens"
        );

        // Update neutralized amount of existing serial number
        SerialNumber storage sn = serialNumbers[_serialNumber];
        uint256 neutralizedAmount = sn.neutralizedAmount.add(_tokensAmount);
        require(sn.totalAmount >= neutralizedAmount, "serial number has been already done");
        sn.neutralizedAmount = neutralizedAmount;
        // burn neutralized token
        _burn(address(msg.sender), _tokensAmount);

        emit Neutralized(
            _serialNumber,
            _tokensAmount,
            sn.totalAmount,
            sn.neutralizedAmount,
            _neutralizeIdentifier,
            address(msg.sender)
        );
    }

    // update mint commission based on contract mint commission scale
    function changeMintCommission(uint16 _commission) external onlyManager {
        require(_commission >= 0, "commission can not be negative");
        require(
            _commission < mintCommissionScale,
            "commission must be less than mint commission scale"
        );

        mintCommission = _commission;

        emit MintCommissionChanged(_commission);
    }

    function changeMintCommissionAddress(address _newCommissionAddress)
        external
        onlyPartner
    {
        require(
            _newCommissionAddress != address(0),
            "invalid commission address"
        );
        mintCommissionAddress = _newCommissionAddress;

        emit MintCommissionAddressChanged(_newCommissionAddress);
    }

    function changeCustodyAddress(address _newCustodyAddress)
        external
        onlyOwner
    {
        require(
            _newCustodyAddress != address(0),
            "invalid custody address"
        );
        custodyAddress = _newCustodyAddress;

        emit CustodyAddressChanged(_newCustodyAddress);
    }

    function changeExchangeAddress(address _newExchangeAddress)
        external
        onlyManager
    {
        require(
            _newExchangeAddress != address(0),
            "invalid exchange address"
        );

        revokeRole(exchangeAdminRole, exchangeAddress);
        revokeRole(exchangeRole, exchangeAddress);

        exchangeAddress = _newExchangeAddress;

        _setupRole(exchangeAdminRole, _newExchangeAddress);
        _setupRole(exchangeRole, _newExchangeAddress);

        emit ExchangeAddressChanged(_newExchangeAddress);
    }

    // Scale and Round Up overflow safe
    function mulScaleRoundUp(
        uint256 x,
        uint256 y,
        uint128 z
    ) internal pure returns (uint256) {
        uint256 a = x.div(z);
        uint256 b = x.mod(z);
        uint256 c = y.div(z);
        uint256 d = y.mod(z);

        return a.mul(b).mul(z).add(a.mul(d).add(b.mul(c).add(b.mul(d).add(z.sub(1)).div(z))));
    }

    modifier onlyExchange() {
        require(
            hasRole(exchangeRole, msg.sender),
            "sender address must have exchange role"
        );
        _;
    }

    modifier onlyManager() {
        require(
            hasRole(managerRole, msg.sender),
            "sender address must have manager role"
        );
        _;
    }

    modifier onlyPartner() {
        require(
            hasRole(partnerRole, msg.sender),
            "sender address must have partner role"
        );
        _;
    }

    event SerialNumbersCreated(string[] _serialNumber, uint256 _tokensAmount);
    event Neutralized(
        string _serialNumber,
        uint256 _tokensAmount,
        uint256 _totalAmount,
        uint256 _neutralizedAmount,
        string _neutralizeIdentifier,
        address _sender
    );
    event MintCommissionChanged(uint16 _commission);
    event MintCommissionAddressChanged(address _newCommissionAddress);
    event CustodyAddressChanged(address _newCustodyAddress);
    event ExchangeAddressChanged(address _newExchangeAddress);
    event ManagerChanged(address _newManager);
    event PartnerChanged(address _newPartner);
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @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, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `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);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 4 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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

File 5 of 11 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 6 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 7 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^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 8 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

File 9 of 11 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 10 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_managerAddress","type":"address"},{"internalType":"address","name":"_partnerAddress","type":"address"},{"internalType":"uint16","name":"_mintCommission","type":"uint16"},{"internalType":"address","name":"_mintCommissionAddress","type":"address"},{"internalType":"address","name":"_exchangeAddress","type":"address"},{"internalType":"address","name":"_custodyAddress","type":"address"}],"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":"address","name":"_newCustodyAddress","type":"address"}],"name":"CustodyAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newExchangeAddress","type":"address"}],"name":"ExchangeAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newManager","type":"address"}],"name":"ManagerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newCommissionAddress","type":"address"}],"name":"MintCommissionAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_commission","type":"uint16"}],"name":"MintCommissionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_serialNumber","type":"string"},{"indexed":false,"internalType":"uint256","name":"_tokensAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_totalAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_neutralizedAmount","type":"uint256"},{"indexed":false,"internalType":"string","name":"_neutralizeIdentifier","type":"string"},{"indexed":false,"internalType":"address","name":"_sender","type":"address"}],"name":"Neutralized","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":"address","name":"_newPartner","type":"address"}],"name":"PartnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string[]","name":"_serialNumber","type":"string[]"},{"indexed":false,"internalType":"uint256","name":"_tokensAmount","type":"uint256"}],"name":"SerialNumbersCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"_newCustodyAddress","type":"address"}],"name":"changeCustodyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newExchangeAddress","type":"address"}],"name":"changeExchangeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_commission","type":"uint16"}],"name":"changeMintCommission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCommissionAddress","type":"address"}],"name":"changeMintCommissionAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_serialNumbers","type":"string[]"},{"internalType":"uint256","name":"_totalAmount","type":"uint256"}],"name":"createSerialNumberBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"custodyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"exchangeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchangeAdminRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchangeRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"managerAdminRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"managerRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCommission","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCommissionAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCommissionScale","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_serialNumber","type":"string"},{"internalType":"uint256","name":"_tokensAmount","type":"uint256"},{"internalType":"string","name":"_neutralizeIdentifier","type":"string"}],"name":"neutralize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"partnerAdminRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"partnerRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"serialNumbers","outputs":[{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"neutralizedAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200592f3803806200592f833981810160405281019062000037919062000950565b888881600390805190602001906200005192919062000800565b5080600490805190602001906200006a92919062000800565b5050506200008d620000816200040160201b60201c565b6200040960201b60201c565b83600860006101000a81548161ffff021916908361ffff16021790555082600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200017e87620004cf60201b60201c565b620001d07f65786368616e676541646d696e000000000000000000000000000000000000007f6d616e6167657200000000000000000000000000000000000000000000000000620005e560201b60201c565b620002227f65786368616e67650000000000000000000000000000000000000000000000007f65786368616e676541646d696e00000000000000000000000000000000000000620005e560201b60201c565b620002547f65786368616e676541646d696e00000000000000000000000000000000000000836200064360201b60201c565b620002867f65786368616e6765000000000000000000000000000000000000000000000000836200064360201b60201c565b620002d87f706172746e6572000000000000000000000000000000000000000000000000007f706172746e657241646d696e0000000000000000000000000000000000000000620005e560201b60201c565b6200030a7f706172746e657241646d696e0000000000000000000000000000000000000000866200064360201b60201c565b6200033c7f706172746e657200000000000000000000000000000000000000000000000000866200064360201b60201c565b6200038e7f6d616e61676572000000000000000000000000000000000000000000000000007f6d616e6167657241646d696e0000000000000000000000000000000000000000620005e560201b60201c565b620003c07f6d616e6167657241646d696e0000000000000000000000000000000000000000876200064360201b60201c565b620003f27f6d616e6167657200000000000000000000000000000000000000000000000000876200064360201b60201c565b50505050505050505062000d5c565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004df6200040160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005056200065960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200055e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005559062000acb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620005d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005c89062000aa9565b60405180910390fd5b620005e2816200040960201b60201c565b50565b80620005f7836200068360201b60201c565b837fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a48060066000848152602001908152602001600020600101819055505050565b620006558282620006a360201b60201c565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060066000838152602001908152602001600020600101549050919050565b620006b582826200079560201b60201c565b620007915760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620007366200040160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8280546200080e9062000bd5565b90600052602060002090601f0160209004810192826200083257600085556200087e565b82601f106200084d57805160ff19168380011785556200087e565b828001600101855582156200087e579182015b828111156200087d57825182559160200191906001019062000860565b5b5090506200088d919062000891565b5090565b5b80821115620008ac57600081600090555060010162000892565b5090565b6000620008c7620008c18462000b16565b62000aed565b905082815260208101848484011115620008e057600080fd5b620008ed84828562000b9f565b509392505050565b600081519050620009068162000d28565b92915050565b600082601f8301126200091e57600080fd5b815162000930848260208601620008b0565b91505092915050565b6000815190506200094a8162000d42565b92915050565b60008060008060008060008060006101208a8c0312156200097057600080fd5b60008a015167ffffffffffffffff8111156200098b57600080fd5b620009998c828d016200090c565b99505060208a015167ffffffffffffffff811115620009b757600080fd5b620009c58c828d016200090c565b9850506040620009d88c828d01620008f5565b9750506060620009eb8c828d01620008f5565b9650506080620009fe8c828d01620008f5565b95505060a062000a118c828d0162000939565b94505060c062000a248c828d01620008f5565b93505060e062000a378c828d01620008f5565b92505061010062000a4b8c828d01620008f5565b9150509295985092959850929598565b600062000a6a60268362000b4c565b915062000a778262000cb0565b604082019050919050565b600062000a9160208362000b4c565b915062000a9e8262000cff565b602082019050919050565b6000602082019050818103600083015262000ac48162000a5b565b9050919050565b6000602082019050818103600083015262000ae68162000a82565b9050919050565b600062000af962000b0c565b905062000b07828262000c0b565b919050565b6000604051905090565b600067ffffffffffffffff82111562000b345762000b3362000c70565b5b62000b3f8262000c9f565b9050602081019050919050565b600082825260208201905092915050565b600062000b6a8262000b7f565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b8381101562000bbf57808201518184015260208101905062000ba2565b8381111562000bcf576000848401525b50505050565b6000600282049050600182168062000bee57607f821691505b6020821081141562000c055762000c0462000c41565b5b50919050565b62000c168262000c9f565b810181811067ffffffffffffffff8211171562000c385762000c3762000c70565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b62000d338162000b5d565b811462000d3f57600080fd5b50565b62000d4d8162000b71565b811462000d5957600080fd5b50565b614bc38062000d6c6000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806383e6a0da1161013b578063a217fddf116100b8578063b78af0e81161007c578063b78af0e8146106d1578063d547741f146106ef578063dd62ed3e1461070b578063e1d1f87e1461073b578063f2fde38b146107575761023d565b8063a217fddf14610606578063a457c2d714610624578063a9059cbb14610654578063b45b920314610684578063b655a891146106b55761023d565b806391d14854116100ff57806391d148541461056057806395ce81311461059057806395d89b41146105ae578063989430d4146105cc5780639cd01605146105e85761023d565b806383e6a0da146104ca578063875601eb146104e85780638782f5e5146105065780638da5cb5b146105245780638ec284e1146105425761023d565b80632f2ff15d116101c957806364b11d9c1161018d57806364b11d9c1461043a5780636893ce091461045857806370a08231146104745780637108fdaa146104a4578063715018a6146104c05761023d565b80632f2ff15d14610398578063313ce567146103b457806336568abe146103d257806339509351146103ee5780636144a5261461041e5761023d565b8063139bf68011610210578063139bf680146102de57806318160ddd146102fc5780631a33d4231461031a57806323b872dd14610338578063248a9ca3146103685761023d565b806301ffc9a71461024257806306fdde0314610272578063095ea7b31461029057806312089aef146102c0575b600080fd5b61025c6004803603810190610257919061314a565b610773565b6040516102699190613901565b60405180910390f35b61027a6107ed565b6040516102879190613937565b60405180910390f35b6102aa60048036038101906102a59190613055565b61087f565b6040516102b79190613901565b60405180910390f35b6102c861089d565b6040516102d59190613da8565b60405180910390f35b6102e66108a3565b6040516102f3919061391c565b60405180910390f35b6103046108c7565b6040516103119190613dc3565b60405180910390f35b6103226108d1565b60405161032f919061391c565b60405180910390f35b610352600480360381019061034d9190613006565b6108f5565b60405161035f9190613901565b60405180910390f35b610382600480360381019061037d91906130e5565b6109ed565b60405161038f919061391c565b60405180910390f35b6103b260048036038101906103ad919061310e565b610a0d565b005b6103bc610a36565b6040516103c99190613e07565b60405180910390f35b6103ec60048036038101906103e7919061310e565b610a3f565b005b61040860048036038101906104039190613055565b610ac2565b6040516104159190613901565b60405180910390f35b61043860048036038101906104339190613091565b610b6e565b005b610442610d19565b60405161044f919061391c565b60405180910390f35b610472600480360381019061046d9190612fa1565b610d3d565b005b61048e60048036038101906104899190612fa1565b610ea4565b60405161049b9190613dc3565b60405180910390f35b6104be60048036038101906104b99190613233565b610eec565b005b6104c8611040565b005b6104d26110c8565b6040516104df91906138b6565b60405180910390f35b6104f06110ee565b6040516104fd91906138b6565b60405180910390f35b61050e611114565b60405161051b919061391c565b60405180910390f35b61052c611138565b60405161053991906138b6565b60405180910390f35b61054a611162565b604051610557919061391c565b60405180910390f35b61057a6004803603810190610575919061310e565b611186565b6040516105879190613901565b60405180910390f35b6105986111f1565b6040516105a59190613da8565b60405180910390f35b6105b6611205565b6040516105c39190613937565b60405180910390f35b6105e660048036038101906105e19190612fa1565b611297565b005b6105f06114d7565b6040516105fd91906138b6565b60405180910390f35b61060e6114fd565b60405161061b919061391c565b60405180910390f35b61063e60048036038101906106399190613055565b611504565b60405161064b9190613901565b60405180910390f35b61066e60048036038101906106699190613055565b6115ef565b60405161067b9190613901565b60405180910390f35b61069e60048036038101906106999190613173565b61160d565b6040516106ac929190613dde565b60405180910390f35b6106cf60048036038101906106ca9190612fa1565b611647565b005b6106d961179b565b6040516106e6919061391c565b60405180910390f35b6107096004803603810190610704919061310e565b6117bf565b005b61072560048036038101906107209190612fca565b6117e8565b6040516107329190613dc3565b60405180910390f35b610755600480360381019061075091906131b4565b61186f565b005b610771600480360381019061076c9190612fa1565b611acc565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e657506107e582611bc4565b5b9050919050565b6060600380546107fc9061412f565b80601f01602080910402602001604051908101604052809291908181526020018280546108289061412f565b80156108755780601f1061084a57610100808354040283529160200191610875565b820191906000526020600020905b81548152906001019060200180831161085857829003601f168201915b5050505050905090565b600061089361088c611c2e565b8484611c36565b6001905092915050565b61271081565b7f65786368616e676500000000000000000000000000000000000000000000000081565b6000600254905090565b7f706172746e657241646d696e000000000000000000000000000000000000000081565b6000610902848484611e01565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061094d611c2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156109cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c490613b88565b60405180910390fd5b6109e1856109d9611c2e565b858403611c36565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b610a16826109ed565b610a2781610a22611c2e565b612082565b610a31838361211f565b505050565b60006012905090565b610a47611c2e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab90613d48565b60405180910390fd5b610abe8282612200565b5050565b6000610b64610acf611c2e565b848460016000610add611c2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b5f9190613f15565b611c36565b6001905092915050565b610b76611c2e565b73ffffffffffffffffffffffffffffffffffffffff16610b94611138565b73ffffffffffffffffffffffffffffffffffffffff1614610bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be190613ba8565b60405180910390fd5b6000825111610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2590613ce8565b60405180910390fd5b6000610c5582600860009054906101000a900461ffff1661ffff1661271061ffff166122e2565b90506000610c6c828461249290919063ffffffff16565b905060005b8451811015610cd957610cc6858281518110610cb6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518585856124a8565b8080610cd190614192565b915050610c71565b507f8102944c9102a181ce5a246083df9120ec5b84cc77731881e098c07696d899838484604051610d0b9291906138d1565b60405180910390a150505050565b7f6d616e6167657241646d696e000000000000000000000000000000000000000081565b610d45611c2e565b73ffffffffffffffffffffffffffffffffffffffff16610d63611138565b73ffffffffffffffffffffffffffffffffffffffff1614610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db090613ba8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090613c68565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f8082045f5183e3a8afdf77c3774cfd1a23c161f901fc79bc052dff8314211c4781604051610e9991906138b6565b60405180910390a150565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f167f6d616e616765720000000000000000000000000000000000000000000000000033611186565b610f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4c90613c48565b60405180910390fd5b60008161ffff161015610f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9490613d68565b60405180910390fd5b61271061ffff168161ffff1610610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe090613ca8565b60405180910390fd5b80600860006101000a81548161ffff021916908361ffff1602179055507fc58736dd496615d6ba5a499d02f0aa57f6177eed841f0477d5a4b1c45ed750f5816040516110359190613da8565b60405180910390a150565b611048611c2e565b73ffffffffffffffffffffffffffffffffffffffff16611066611138565b73ffffffffffffffffffffffffffffffffffffffff16146110bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b390613ba8565b60405180910390fd5b6110c6600061269f565b565b600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f6d616e616765720000000000000000000000000000000000000000000000000081565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f65786368616e676541646d696e0000000000000000000000000000000000000081565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600860009054906101000a900461ffff1681565b6060600480546112149061412f565b80601f01602080910402602001604051908101604052809291908181526020018280546112409061412f565b801561128d5780601f106112625761010080835404028352916020019161128d565b820191906000526020600020905b81548152906001019060200180831161127057829003601f168201915b5050505050905090565b6112c17f6d616e616765720000000000000000000000000000000000000000000000000033611186565b611300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f790613c48565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790613bc8565b60405180910390fd5b6113bc7f65786368616e676541646d696e00000000000000000000000000000000000000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166117bf565b6114087f65786368616e6765000000000000000000000000000000000000000000000000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166117bf565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506114737f65786368616e676541646d696e0000000000000000000000000000000000000082612765565b61149d7f65786368616e676500000000000000000000000000000000000000000000000082612765565b7fc04abc456e3a86160aab7f97e684d1444f2ba7c7ed15d98f6eff1b554f221bdc816040516114cc91906138b6565b60405180910390a150565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b81565b60008060016000611513611c2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c790613d28565b60405180910390fd5b6115e46115db611c2e565b85858403611c36565b600191505092915050565b60006116036115fc611c2e565b8484611e01565b6001905092915050565b6007818051602081018201805184825260208301602085012081835280955050505050506000915090508060000154908060010154905082565b6116717f706172746e65720000000000000000000000000000000000000000000000000033611186565b6116b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a790613b48565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171790613b08565b60405180910390fd5b80600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f47c13fc5d41bfd9e3da398e728f80f8e004a48114fd794f31552ea42d2f47a1a8160405161179091906138b6565b60405180910390a150565b7f706172746e65720000000000000000000000000000000000000000000000000081565b6117c8826109ed565b6117d9816117d4611c2e565b612082565b6117e38383612200565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6118997f65786368616e676500000000000000000000000000000000000000000000000033611186565b6118d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cf90613a48565b60405180910390fd5b60006007846040516118ea9190613865565b908152602001604051809103902060000154141561193d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193490613b68565b60405180910390fd5b670de0b6b3a7640000821015611988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197f90613ac8565b60405180910390fd5b60006119a5670de0b6b3a76400008461277390919063ffffffff16565b146119e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dc90613b28565b60405180910390fd5b60006007846040516119f79190613865565b908152602001604051809103902090506000611a2084836001015461278990919063ffffffff16565b90508082600001541015611a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6090613a28565b60405180910390fd5b808260010181905550611a7c338561279f565b7ff550a27653d22516533e2656c32990c20343f5aeee292fcf706fd70ce488ceba8585846000015485600101548733604051611abd96959493929190613959565b60405180910390a15050505050565b611ad4611c2e565b73ffffffffffffffffffffffffffffffffffffffff16611af2611138565b73ffffffffffffffffffffffffffffffffffffffff1614611b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3f90613ba8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baf90613a88565b60405180910390fd5b611bc18161269f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9d90613c88565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0d90613aa8565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611df49190613dc3565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890613c28565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed8906139e8565b60405180910390fd5b611eec838383612976565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990613ae8565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120059190613f15565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120699190613dc3565b60405180910390a361207c84848461297b565b50505050565b61208c8282611186565b61211b576120b18173ffffffffffffffffffffffffffffffffffffffff166014612980565b6120bf8360001c6020612980565b6040516020016120d092919061387c565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121129190613937565b60405180910390fd5b5050565b6121298282611186565b6121fc5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506121a1611c2e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61220a8282611186565b156122de5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612283611c2e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008061230a836fffffffffffffffffffffffffffffffff1686612c7a90919063ffffffff16565b90506000612333846fffffffffffffffffffffffffffffffff168761277390919063ffffffff16565b9050600061235c856fffffffffffffffffffffffffffffffff1687612c7a90919063ffffffff16565b90506000612385866fffffffffffffffffffffffffffffffff168861277390919063ffffffff16565b905061248561244061241f6123fe896fffffffffffffffffffffffffffffffff166123f06123cf60018d6fffffffffffffffffffffffffffffffff1661249290919063ffffffff16565b6123e2888b612c9090919063ffffffff16565b61278990919063ffffffff16565b612c7a90919063ffffffff16565b6124118688612c9090919063ffffffff16565b61278990919063ffffffff16565b6124328488612c9090919063ffffffff16565b61278990919063ffffffff16565b612477886fffffffffffffffffffffffffffffffff166124698789612c9090919063ffffffff16565b612c9090919063ffffffff16565b61278990919063ffffffff16565b9450505050509392505050565b600081836124a09190613ff6565b905092915050565b60008451116124ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e390613d08565b60405180910390fd5b670de0b6b3a7640000831015612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252e90613be8565b60405180910390fd5b6000612554670de0b6b3a76400008561277390919063ffffffff16565b14612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258b90613cc8565b60405180910390fd5b60006007856040516125a69190613865565b908152602001604051809103902060000154146125f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ef90613a08565b60405180910390fd5b612600612e06565b838160000181815250508060078660405161261b9190613865565b9081526020016040518091039020600082015181600001556020820151816001015590505061266c600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684612ca6565b612698600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612ca6565b5050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61276f828261211f565b5050565b6000818361278191906141db565b905092915050565b600081836127979190613f15565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561280f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280690613c08565b60405180910390fd5b61281b82600083612976565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156128a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289890613a68565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546128f89190613ff6565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161295d9190613dc3565b60405180910390a36129718360008461297b565b505050565b505050565b505050565b6060600060028360026129939190613f9c565b61299d9190613f15565b67ffffffffffffffff8111156129dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a0e5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612af6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612b369190613f9c565b612b409190613f15565b90505b6001811115612c2c577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612ba8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612be5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c2590614105565b9050612b43565b5060008414612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c67906139c8565b60405180910390fd5b8091505092915050565b60008183612c889190613f6b565b905092915050565b60008183612c9e9190613f9c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0d90613d88565b60405180910390fd5b612d2260008383612976565b8060026000828254612d349190613f15565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d899190613f15565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612dee9190613dc3565b60405180910390a3612e026000838361297b565b5050565b604051806040016040528060008152602001600081525090565b6000612e33612e2e84613e47565b613e22565b90508083825260208201905082856020860282011115612e5257600080fd5b60005b85811015612e9c57813567ffffffffffffffff811115612e7457600080fd5b808601612e818982612f4d565b85526020850194506020840193505050600181019050612e55565b5050509392505050565b6000612eb9612eb484613e73565b613e22565b905082815260208101848484011115612ed157600080fd5b612edc8482856140c3565b509392505050565b600081359050612ef381614b1a565b92915050565b600082601f830112612f0a57600080fd5b8135612f1a848260208601612e20565b91505092915050565b600081359050612f3281614b31565b92915050565b600081359050612f4781614b48565b92915050565b600082601f830112612f5e57600080fd5b8135612f6e848260208601612ea6565b91505092915050565b600081359050612f8681614b5f565b92915050565b600081359050612f9b81614b76565b92915050565b600060208284031215612fb357600080fd5b6000612fc184828501612ee4565b91505092915050565b60008060408385031215612fdd57600080fd5b6000612feb85828601612ee4565b9250506020612ffc85828601612ee4565b9150509250929050565b60008060006060848603121561301b57600080fd5b600061302986828701612ee4565b935050602061303a86828701612ee4565b925050604061304b86828701612f8c565b9150509250925092565b6000806040838503121561306857600080fd5b600061307685828601612ee4565b925050602061308785828601612f8c565b9150509250929050565b600080604083850312156130a457600080fd5b600083013567ffffffffffffffff8111156130be57600080fd5b6130ca85828601612ef9565b92505060206130db85828601612f8c565b9150509250929050565b6000602082840312156130f757600080fd5b600061310584828501612f23565b91505092915050565b6000806040838503121561312157600080fd5b600061312f85828601612f23565b925050602061314085828601612ee4565b9150509250929050565b60006020828403121561315c57600080fd5b600061316a84828501612f38565b91505092915050565b60006020828403121561318557600080fd5b600082013567ffffffffffffffff81111561319f57600080fd5b6131ab84828501612f4d565b91505092915050565b6000806000606084860312156131c957600080fd5b600084013567ffffffffffffffff8111156131e357600080fd5b6131ef86828701612f4d565b935050602061320086828701612f8c565b925050604084013567ffffffffffffffff81111561321d57600080fd5b61322986828701612f4d565b9150509250925092565b60006020828403121561324557600080fd5b600061325384828501612f77565b91505092915050565b60006132688383613312565b905092915050565b6132798161402a565b82525050565b600061328a82613eb4565b6132948185613ed7565b9350836020820285016132a685613ea4565b8060005b858110156132e257848403895281516132c3858261325c565b94506132ce83613eca565b925060208a019950506001810190506132aa565b50829750879550505050505092915050565b6132fd8161403c565b82525050565b61330c81614048565b82525050565b600061331d82613ebf565b6133278185613ee8565b93506133378185602086016140d2565b613340816142c8565b840191505092915050565b600061335682613ebf565b6133608185613ef9565b93506133708185602086016140d2565b613379816142c8565b840191505092915050565b600061338f82613ebf565b6133998185613f0a565b93506133a98185602086016140d2565b80840191505092915050565b60006133c2602083613ef9565b91506133cd826142d9565b602082019050919050565b60006133e5602383613ef9565b91506133f082614302565b604082019050919050565b6000613408601c83613ef9565b915061341382614351565b602082019050919050565b600061342b602383613ef9565b91506134368261437a565b604082019050919050565b600061344e602683613ef9565b9150613459826143c9565b604082019050919050565b6000613471602283613ef9565b915061347c82614418565b604082019050919050565b6000613494602683613ef9565b915061349f82614467565b604082019050919050565b60006134b7602283613ef9565b91506134c2826144b6565b604082019050919050565b60006134da602a83613ef9565b91506134e582614505565b604082019050919050565b60006134fd602683613ef9565b915061350882614554565b604082019050919050565b6000613520601a83613ef9565b915061352b826145a3565b602082019050919050565b6000613543602883613ef9565b915061354e826145cc565b604082019050919050565b6000613566602583613ef9565b91506135718261461b565b604082019050919050565b6000613589601783613ef9565b91506135948261466a565b602082019050919050565b60006135ac602883613ef9565b91506135b782614693565b604082019050919050565b60006135cf602083613ef9565b91506135da826146e2565b602082019050919050565b60006135f2601883613ef9565b91506135fd8261470b565b602082019050919050565b6000613615603683613ef9565b915061362082614734565b604082019050919050565b6000613638602183613ef9565b915061364382614783565b604082019050919050565b600061365b602583613ef9565b9150613666826147d2565b604082019050919050565b600061367e602583613ef9565b915061368982614821565b604082019050919050565b60006136a1601783613ef9565b91506136ac82614870565b602082019050919050565b60006136c4602483613ef9565b91506136cf82614899565b604082019050919050565b60006136e7603283613ef9565b91506136f2826148e8565b604082019050919050565b600061370a602983613ef9565b915061371582614937565b604082019050919050565b600061372d601783613f0a565b915061373882614986565b601782019050919050565b6000613750601483613ef9565b915061375b826149af565b602082019050919050565b6000613773601383613ef9565b915061377e826149d8565b602082019050919050565b6000613796602583613ef9565b91506137a182614a01565b604082019050919050565b60006137b9601183613f0a565b91506137c482614a50565b601182019050919050565b60006137dc602f83613ef9565b91506137e782614a79565b604082019050919050565b60006137ff601e83613ef9565b915061380a82614ac8565b602082019050919050565b6000613822601f83613ef9565b915061382d82614af1565b602082019050919050565b6138418161407e565b82525050565b613850816140ac565b82525050565b61385f816140b6565b82525050565b60006138718284613384565b915081905092915050565b600061388782613720565b91506138938285613384565b915061389e826137ac565b91506138aa8284613384565b91508190509392505050565b60006020820190506138cb6000830184613270565b92915050565b600060408201905081810360008301526138eb818561327f565b90506138fa6020830184613847565b9392505050565b600060208201905061391660008301846132f4565b92915050565b60006020820190506139316000830184613303565b92915050565b60006020820190508181036000830152613951818461334b565b905092915050565b600060c0820190508181036000830152613973818961334b565b90506139826020830188613847565b61398f6040830187613847565b61399c6060830186613847565b81810360808301526139ae818561334b565b90506139bd60a0830184613270565b979650505050505050565b600060208201905081810360008301526139e1816133b5565b9050919050565b60006020820190508181036000830152613a01816133d8565b9050919050565b60006020820190508181036000830152613a21816133fb565b9050919050565b60006020820190508181036000830152613a418161341e565b9050919050565b60006020820190508181036000830152613a6181613441565b9050919050565b60006020820190508181036000830152613a8181613464565b9050919050565b60006020820190508181036000830152613aa181613487565b9050919050565b60006020820190508181036000830152613ac1816134aa565b9050919050565b60006020820190508181036000830152613ae1816134cd565b9050919050565b60006020820190508181036000830152613b01816134f0565b9050919050565b60006020820190508181036000830152613b2181613513565b9050919050565b60006020820190508181036000830152613b4181613536565b9050919050565b60006020820190508181036000830152613b6181613559565b9050919050565b60006020820190508181036000830152613b818161357c565b9050919050565b60006020820190508181036000830152613ba18161359f565b9050919050565b60006020820190508181036000830152613bc1816135c2565b9050919050565b60006020820190508181036000830152613be1816135e5565b9050919050565b60006020820190508181036000830152613c0181613608565b9050919050565b60006020820190508181036000830152613c218161362b565b9050919050565b60006020820190508181036000830152613c418161364e565b9050919050565b60006020820190508181036000830152613c6181613671565b9050919050565b60006020820190508181036000830152613c8181613694565b9050919050565b60006020820190508181036000830152613ca1816136b7565b9050919050565b60006020820190508181036000830152613cc1816136da565b9050919050565b60006020820190508181036000830152613ce1816136fd565b9050919050565b60006020820190508181036000830152613d0181613743565b9050919050565b60006020820190508181036000830152613d2181613766565b9050919050565b60006020820190508181036000830152613d4181613789565b9050919050565b60006020820190508181036000830152613d61816137cf565b9050919050565b60006020820190508181036000830152613d81816137f2565b9050919050565b60006020820190508181036000830152613da181613815565b9050919050565b6000602082019050613dbd6000830184613838565b92915050565b6000602082019050613dd86000830184613847565b92915050565b6000604082019050613df36000830185613847565b613e006020830184613847565b9392505050565b6000602082019050613e1c6000830184613856565b92915050565b6000613e2c613e3d565b9050613e388282614161565b919050565b6000604051905090565b600067ffffffffffffffff821115613e6257613e61614299565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613e8e57613e8d614299565b5b613e97826142c8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f20826140ac565b9150613f2b836140ac565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f6057613f5f61420c565b5b828201905092915050565b6000613f76826140ac565b9150613f81836140ac565b925082613f9157613f9061423b565b5b828204905092915050565b6000613fa7826140ac565b9150613fb2836140ac565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613feb57613fea61420c565b5b828202905092915050565b6000614001826140ac565b915061400c836140ac565b92508282101561401f5761401e61420c565b5b828203905092915050565b60006140358261408c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156140f05780820151818401526020810190506140d5565b838111156140ff576000848401525b50505050565b6000614110826140ac565b915060008214156141245761412361420c565b5b600182039050919050565b6000600282049050600182168061414757607f821691505b6020821081141561415b5761415a61426a565b5b50919050565b61416a826142c8565b810181811067ffffffffffffffff8211171561418957614188614299565b5b80604052505050565b600061419d826140ac565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141d0576141cf61420c565b5b600182019050919050565b60006141e6826140ac565b91506141f1836140ac565b9250826142015761420061423b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f73657269616c206e756d62657220616c72656164792065786973747300000000600082015250565b7f73657269616c206e756d62657220686173206265656e20616c7265616479206460008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f73656e6465722061646472657373206d75737420686176652065786368616e6760008201527f6520726f6c650000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f6174206c65617374203120746f6b656e20697320726571756972656420746f2060008201527f6e65757472616c697a6500000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c696420636f6d6d697373696f6e2061646472657373000000000000600082015250565b7f6e65757472616c697a6520646f65736e27742061636365707420646563696d6160008201527f6c20746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f73656e6465722061646472657373206d757374206861766520706172746e657260008201527f20726f6c65000000000000000000000000000000000000000000000000000000602082015250565b7f73657269616c206e756d626572206e6f7420666f756e64000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f696e76616c69642065786368616e676520616464726573730000000000000000600082015250565b7f6174206c65617374203120746f6b656e20697320726571756972656420746f2060008201527f63726561746520612073657269616c206e756d62657200000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f73656e6465722061646472657373206d7573742068617665206d616e6167657260008201527f20726f6c65000000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c696420637573746f64792061646472657373000000000000000000600082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f636f6d6d697373696f6e206d757374206265206c657373207468616e206d696e60008201527f7420636f6d6d697373696f6e207363616c650000000000000000000000000000602082015250565b7f73657269616c206e756d62657220646f6e27742061636365707420646563696d60008201527f616c20746f6b656e730000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f656d7074792073657269616c206e756d62657273000000000000000000000000600082015250565b7f656d7074792073657269616c206e756d62657200000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f636f6d6d697373696f6e2063616e206e6f74206265206e656761746976650000600082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b614b238161402a565b8114614b2e57600080fd5b50565b614b3a81614048565b8114614b4557600080fd5b50565b614b5181614052565b8114614b5c57600080fd5b50565b614b688161407e565b8114614b7357600080fd5b50565b614b7f816140ac565b8114614b8a57600080fd5b5056fea264697066735822122032fcbc2477b8542a21083090ebc8ce475eb9ec0b5c4885ae694231e12c438bff64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000a93b4c27ecccd48c4e1c67e028f59ec53f5e98c000000000000000000000000adbe4364aa0541c4c4e9928c8cb4cb097588dbbe000000000000000000000000f6b4654b4f79667268c71ed4ab558d7b73c8ae3100000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000e0c0ef6b88537ce381154ebbfe040231aecf9ca6000000000000000000000000efb1414d01d21b37435cc34edbf1da3c387872c1000000000000000000000000a2bf45d70160ea752cb9bb3113caab0df2112a9c0000000000000000000000000000000000000000000000000000000000000006416d62696679000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044142465900000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000a93b4c27ecccd48c4e1c67e028f59ec53f5e98c000000000000000000000000adbe4364aa0541c4c4e9928c8cb4cb097588dbbe000000000000000000000000f6b4654b4f79667268c71ed4ab558d7b73c8ae3100000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000e0c0ef6b88537ce381154ebbfe040231aecf9ca6000000000000000000000000efb1414d01d21b37435cc34edbf1da3c387872c1000000000000000000000000a2bf45d70160ea752cb9bb3113caab0df2112a9c0000000000000000000000000000000000000000000000000000000000000006416d62696679000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044142465900000000000000000000000000000000000000000000000000000000
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 0000000000000000000000000a93b4c27ecccd48c4e1c67e028f59ec53f5e98c
Arg [3] : 000000000000000000000000adbe4364aa0541c4c4e9928c8cb4cb097588dbbe
Arg [4] : 000000000000000000000000f6b4654b4f79667268c71ed4ab558d7b73c8ae31
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [6] : 000000000000000000000000e0c0ef6b88537ce381154ebbfe040231aecf9ca6
Arg [7] : 000000000000000000000000efb1414d01d21b37435cc34edbf1da3c387872c1
Arg [8] : 000000000000000000000000a2bf45d70160ea752cb9bb3113caab0df2112a9c
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [10] : 416d626966790000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [12] : 4142465900000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading