Amoy Testnet

Token

Ascion (ASC)
ERC-20

Overview

Max Total Supply

1,060 ASC

Holders

2

Market

Price

$0.00 @ 0.000000 POL

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,050 ASC
0x5c1315983f35affdc61a666858baf352e0e8b563
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
AscionCurrency

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 14 : AscionCurrency.sol
// SPDX-License-Identifier: MIT
//
//    ###     ######   ######  ####  #######  ##    ##
//   ## ##   ##    ## ##    ##  ##  ##     ## ###   ##
//  ##   ##  ##       ##        ##  ##     ## ####  ##
// ##     ##  ######  ##        ##  ##     ## ## ## ##
// #########       ## ##        ##  ##     ## ##  ####
// ##     ## ##    ## ##    ##  ##  ##     ## ##   ###
// ##     ##  ######   ######  ####  #######  ##    ##
//
// This smart contract is part of the Ascion ecosystem.
// It facilitates the integration of blockchain technology
// into the Ascion game, providing secure and efficient
// management of in-game assets.
// Visit https://ascion.space for more information.

pragma solidity ^0.8.24;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./AscionContextUpgradeable.sol";
import "./IAscionCurrency.sol";
import "./Roles.sol";


contract AscionCurrency is AscionContextUpgradeable, ERC20, ERC20Burnable, AccessControl, IAscionCurrency, Roles {

    uint256 public feeBps;
    uint256 public feeFixed;
    uint256 public feeCap;
    address public feeRecipient;

    /**
     * @dev Initializes the contract setting the initial roles and fee recipient.
     * @param defaultAdmin The address to be granted the DEFAULT_ADMIN_ROLE.
     * @param minter The address to be granted the MINTER_ROLE.
     * @param _forwarder The address of the trusted forwarder.
     */
    constructor(address defaultAdmin, address minter, address _forwarder) ERC20("Ascion", "ASC") AscionContextUpgradeable(_forwarder) {
        feeRecipient = _msgSender();
        _grantRole(DEFAULT_ADMIN_ROLE, defaultAdmin);
        _grantRole(MINTER_ROLE, minter);
    }

    /**
     * @dev Mints tokens to a specified address. Caller must have MINTER_ROLE.
     * @param _to The address to receive the minted tokens.
     * @param _amount The amount of tokens to mint.
     */
    function mint(address _to, uint256 _amount) public onlyRole(MINTER_ROLE) {
        _mint(_to, _amount);
    }

    /**
     * @dev Transfers tokens to a recipient with a reference. Emits TransferRef event.
     * @param recipient The address to receive the tokens.
     * @param amount The amount of tokens to transfer.
     * @param ref The reference number associated with the transfer.
     * @return True if the transfer was successful.
     */
    function transferWithRef(address recipient, uint256 amount, uint256 ref) external returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        emit TransferRef(_msgSender(), recipient, amount, ref);
        return true;
    }

    /**
     * @dev Airdrops tokens to multiple addresses. Caller must have DEFAULT_ADMIN_ROLE or MANAGER_ROLE.
     * @param addresses The addresses to receive the tokens.
     * @param amounts The amounts of tokens to be transferred to each address.
     */
    function airdrop(address[] calldata addresses, uint256[] calldata amounts) external {
        bool isAdmin = hasRole(DEFAULT_ADMIN_ROLE, _msgSender());
        bool isManager = hasRole(MANAGER_ROLE, _msgSender());

        require(isAdmin || isManager, "Airdrop requires admin or manager role.");
        require(addresses.length > 0, "No recipients provided.");
        require(amounts.length == addresses.length, "Mismatched addresses and amounts.");

        address from = _msgSender();
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Invalid address.");
            require(amounts[i] > 0, "Invalid amount.");
            _transfer(from, addresses[i], amounts[i] * (10**18));
        }
    }

    /**
     * @dev Transfers the DEFAULT_ADMIN_ROLE to a new address.
     * @param _newOwner The address to receive the DEFAULT_ADMIN_ROLE.
     */
    function transferOwnershipControl(address _newOwner) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(_newOwner != address(0), "Invalid new owner address.");
        _grantRole(DEFAULT_ADMIN_ROLE, _newOwner);
        _revokeRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

/**
     * @dev Grants a role to an account. Caller must have DEFAULT_ADMIN_ROLE or MANAGER_ROLE.
     * @param _role The role to be granted.
     * @param _account The address to receive the role.
     */
    function grantRole(bytes32 _role, address _account) public virtual override {
        bool isAdmin = hasRole(DEFAULT_ADMIN_ROLE, _msgSender());
        bool isManager = hasRole(MANAGER_ROLE, _msgSender());

        require(isAdmin || isManager, "Role granting requires admin or manager role.");

        if (_role == DEFAULT_ADMIN_ROLE || _role == MANAGER_ROLE) {
            require(isAdmin, "Only admin can grant admin or manager role.");
        }

        _grantRole(_role, _account);
    }

    /**
     * @dev Batch transfers tokens to multiple addresses.
     * @param recipients The addresses to receive the tokens.
     * @param amounts The amounts of tokens to be transferred to each address.
     * @return True if the transfers were successful.
     */
    function batchTransfer(address[] calldata recipients, uint256[] calldata amounts) external returns (bool) {
        return _batchTransfer(recipients, amounts, false);
    }

    /**
     * @dev Batch transfers tokens to multiple addresses with references.
     * @param recipients The addresses to receive the tokens.
     * @param amounts The amounts of tokens to be transferred to each address.
     * @param refs The reference numbers associated with each transfer.
     * @return True if the transfers were successful.
     */
    function _batchTransferWithRefs(address[] calldata recipients, uint256[] calldata amounts, uint256[] calldata refs, bool withFee) private returns (bool) {
        require(recipients.length > 0, "No recipients provided.");
        require(recipients.length == amounts.length, "Mismatched recipients and amounts.");
        require(recipients.length == refs.length, "Mismatched recipients and refs.");

        for (uint256 i = 0; i < recipients.length; i++) {
            require(recipients[i] != address(0), "Invalid recipient address.");
            require(amounts[i] > 0, "Invalid transfer amount.");

            if (withFee) {
                transferWithFee(recipients[i], amounts[i]);
            } else {
                transfer(recipients[i], amounts[i]);
            }

            if (refs[i] > 0) {
                emit TransferRef(_msgSender(), recipients[i], amounts[i], refs[i]);
            }
        }

        emit BatchTransferRef(_msgSender(), recipients, amounts, refs);
        return true;
    }

    /**
     * @dev Batch transfers tokens to multiple addresses with fees.
     * @param recipients The addresses to receive the tokens.
     * @param amounts The amounts of tokens to be transferred to each address.
     * @return True if the transfers were successful.
     */
    function batchTransferWithFees(address[] calldata recipients, uint256[] calldata amounts) external returns (bool) {
        return _batchTransfer(recipients, amounts, true);
    }

    /**
     * @dev Batch transfers tokens to multiple addresses with references.
     * @param recipients The addresses to receive the tokens.
     * @param amounts The amounts of tokens to be transferred to each address.
     * @param refs The reference numbers associated with each transfer.
     * @return True if the transfers were successful.
     */
    function batchTransferWithRefs(address[] calldata recipients, uint256[] calldata amounts, uint256[] calldata refs) external returns (bool) {
        return _batchTransferWithRefs(recipients, amounts, refs, true);
    }

    /**
     * @dev Batch transfers tokens to multiple addresses with fees and references.
     * @param recipients The addresses to receive the tokens.
     * @param amounts The amounts of tokens to be transferred to each address.
     * @param refs The reference numbers associated with each transfer.
     * @return True if the transfers were successful.
     */
    function batchTransferWithFeesRefs(address[] calldata recipients, uint256[] calldata amounts, uint256[] calldata refs) external returns (bool) {
        return _batchTransferWithRefs(recipients, amounts, refs, true);
    }

    /**
     * @dev Internal function for batch transfers.
     * @param recipients The addresses to receive the tokens.
     * @param amounts The amounts of tokens to be transferred to each address.
     * @param withFee Boolean indicating if fees should be applied to each transfer.
     * @return True if the transfers were successful.
     */
    function _batchTransfer(address[] calldata recipients, uint256[] calldata amounts, bool withFee) private returns (bool) {
        require(recipients.length > 0, "No recipients");
        require(recipients.length == amounts.length, "amounts argument size mismatched");

        for (uint256 i = 0; i < recipients.length; i++) {
            if (withFee) {
                transferWithFee(recipients[i], amounts[i]);
            } else {
                transfer(recipients[i], amounts[i]);
            }
        }

        return true;
    }

    /**
     * @dev Burns tokens from the caller's account with a fee.
     * @param amount The amount of tokens to burn.
     * @return True if the burn was successful.
     */
    function burnWithFee(uint256 amount) external returns (bool) {
        _transferWithFee(address(0), amount, true);

        return true;
    }

    /**
     * @dev Transfers tokens to a recipient with a fee.
     * @param recipient The address to receive the tokens.
     * @param amount The amount of tokens to transfer.
     * @return True if the transfer was successful.
     */
    function transferWithFee(address recipient, uint256 amount) public returns (bool) {
        _transferWithFee(recipient, amount, false);

        return true;
    }

    /**
     * @dev Transfers tokens to a recipient with a fee and a reference. Emits TransferRef event.
     * @param recipient The address to receive the tokens.
     * @param amount The amount of tokens to transfer.
     * @param ref The reference number associated with the transfer.
     * @return True if the transfer was successful.
     */
    function transferWithFeeRef(address recipient, uint256 amount, uint256 ref) external returns (bool) {
        transferWithFee(recipient, amount);
        emit TransferRef(_msgSender(), recipient, amount, ref);
        return true;
    }

    /**
     * @dev Internal function to transfer tokens with a fee.
     * @param recipient The address to receive the tokens.
     * @param amount The amount of tokens to transfer.
     * @param isBurn Boolean indicating if the transfer is a burn.
     */
    function _transferWithFee(address recipient, uint256 amount, bool isBurn) private {
        uint256 senderBalance = balanceOf(_msgSender());
        require(feeRecipient != address(0), "Fee recipient not set, cannot use transferWithFee");
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance.");

        uint256 percentageFee = (amount * feeBps / 10000) + feeFixed;
        uint256 fee = percentageFee <= feeCap ? percentageFee : feeCap;

        _transfer(_msgSender(), feeRecipient, fee);

        if (isBurn) {
            _burn(_msgSender(), amount - fee);
        } else {
            _transfer(_msgSender(), recipient, amount - fee);
        }
    }

    /**
     * @dev Sets the fees for transfers. Caller must have DEFAULT_ADMIN_ROLE or MANAGER_ROLE.
     * @param recipient The address to receive the fees.
     * @param _feeBps The fee in basis points (bps).
     * @param _feeFixed The fixed fee amount.
     * @param _feeCap The maximum fee amount.
     */
    function setFees(address recipient, uint256 _feeBps, uint256 _feeFixed, uint256 _feeCap) external {
        bool isAdmin = hasRole(DEFAULT_ADMIN_ROLE, _msgSender());
        bool isManager = hasRole(MANAGER_ROLE, _msgSender());

        require(isAdmin || isManager, "Setting fees requires admin or manager role.");
        require(recipient != address(0), "Invalid fee recipient address.");
        require(_feeBps <= 10000, "Fee basis points exceed maximum.");
        require(_feeCap >= _feeFixed, "Fee cap should be greater than or equal to fixed fee.");

        feeRecipient = recipient;
        feeBps = _feeBps;
        feeFixed = _feeFixed;
        feeCap = _feeCap;
    }

    /**
     * @dev Upgrades the trusted forwarder. Caller must have DEFAULT_ADMIN_ROLE or MANAGER_ROLE.
     * @param _newTrustedForwarder The address of the new trusted forwarder.
     */
    function upgradeTrustedForwarder(address _newTrustedForwarder) external {
        bool isAdmin = hasRole(DEFAULT_ADMIN_ROLE, _msgSender());
        bool isManager = hasRole(MANAGER_ROLE, _msgSender());

        require(isAdmin || isManager, "Role granting requires admin or manager role.");

        _upgradeTrustedForwarder(_newTrustedForwarder);
    }

    /**
     * @dev Returns the message sender. Overridden to support meta-transactions.
     * @return The address of the message sender.
     */
    function _msgSender() internal view override(Context, AscionContextUpgradeable) returns (address) {
        return super._msgSender();
    }

    /**
     * @dev Returns the message data. Overridden to support meta-transactions.
     * @return The calldata of the message.
     */
    function _msgData() internal view override(Context, AscionContextUpgradeable) returns (bytes calldata) {
        return super._msgData();
    }

    /**
     * @dev Returns true if the contract supports the given interface.
     * @param interfaceId The interface identifier, as specified in ERC-165.
     * @return True if the contract supports the given interface.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, IERC165) returns (bool) {
        return interfaceId == type(IAscionCurrency).interfaceId || super.supportsInterface(interfaceId);
    }
}

File 2 of 14 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)

pragma solidity ^0.8.20;

import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../utils/introspection/ERC165.sol";

/**
 * @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:
 *
 * ```solidity
 * 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}:
 *
 * ```solidity
 * 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. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address account => bool) hasRole;
        bytes32 adminRole;
    }

    mapping(bytes32 role => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with an {AccessControlUnauthorizedAccount} error including the required role.
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @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 virtual returns (bool) {
        return _roles[role].hasRole[account];
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
     * is missing `role`.
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert AccessControlUnauthorizedAccount(account, role);
        }
    }

    /**
     * @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 virtual 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.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual 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.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual 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 revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address callerConfirmation) public virtual {
        if (callerConfirmation != _msgSender()) {
            revert AccessControlBadConfirmation();
        }

        _revokeRole(role, callerConfirmation);
    }

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

    /**
     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
        if (!hasRole(role, account)) {
            _roles[role].hasRole[account] = true;
            emit RoleGranted(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
        if (hasRole(role, account)) {
            _roles[role].hasRole[account] = false;
            emit RoleRevoked(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }
}

File 3 of 14 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)

pragma solidity ^0.8.20;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev The `account` is missing a role.
     */
    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);

    /**
     * @dev The caller of a function is not the expected one.
     *
     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
     */
    error AccessControlBadConfirmation();

    /**
     * @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.
     */
    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 {AccessControl-_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 Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

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

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

    /**
     * @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 `callerConfirmation`.
     */
    function renounceRole(bytes32 role, address callerConfirmation) external;
}

File 4 of 14 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 5 of 14 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 6 of 14 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;

import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

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

File 7 of 14 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 8 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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

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

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

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

File 9 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 10 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 11 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

File 12 of 14 : AscionContextUpgradeable.sol
// SPDX-License-Identifier: MIT
//
//    ###     ######   ######  ####  #######  ##    ##
//   ## ##   ##    ## ##    ##  ##  ##     ## ###   ##
//  ##   ##  ##       ##        ##  ##     ## ####  ##
// ##     ##  ######  ##        ##  ##     ## ## ## ##
// #########       ## ##        ##  ##     ## ##  ####
// ##     ## ##    ## ##    ##  ##  ##     ## ##   ###
// ##     ##  ######   ######  ####  #######  ##    ##
//
// This smart contract is part of the Ascion ecosystem.
// It facilitates the integration of blockchain technology
// into the Ascion game, providing secure and efficient
// management of in-game assets.
// Visit https://ascion.space for more information.

pragma solidity ^0.8.24;

import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @dev Context variant with ERC2771 support and upgradeable trusted forwarder.
 */
abstract contract AscionContextUpgradeable is Context {
  address public trustedForwarder;

  constructor(address _trustedForwarder) {
    trustedForwarder = _trustedForwarder;
  }

  function isTrustedForwarder(address forwarder) public view virtual returns (bool) {
    return forwarder == trustedForwarder;
  }

  function _upgradeTrustedForwarder(address _trustedForwarder) internal {
    trustedForwarder = _trustedForwarder;
  }

  function _msgSender() internal view virtual override returns (address sender) {
    if (isTrustedForwarder(msg.sender)) {
      // The assembly code is more direct than the Solidity version using `abi.decode`.
      /// @solidity memory-safe-assembly

      assembly {
        sender := shr(96, calldataload(sub(calldatasize(), 20)))
      }
    } else {
      return super._msgSender();
    }
  }

  function _msgData() internal view virtual override returns (bytes calldata) {
    if (isTrustedForwarder(msg.sender)) {
      return msg.data[:msg.data.length - 20];
    } else {
      return super._msgData();
    }
  }
}

File 13 of 14 : IAscionCurrency.sol
// SPDX-License-Identifier: MIT
//
//    ###     ######   ######  ####  #######  ##    ##
//   ## ##   ##    ## ##    ##  ##  ##     ## ###   ##
//  ##   ##  ##       ##        ##  ##     ## ####  ##
// ##     ##  ######  ##        ##  ##     ## ## ## ##
// #########       ## ##        ##  ##     ## ##  ####
// ##     ## ##    ## ##    ##  ##  ##     ## ##   ###
// ##     ##  ######   ######  ####  #######  ##    ##
//
// This smart contract is part of the Ascion ecosystem.
// It facilitates the integration of blockchain technology
// into the Ascion game, providing secure and efficient
// management of in-game assets.
// Visit https://ascion.space for more information.

pragma solidity ^0.8.24;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IAscionCurrency is IERC20, IERC165  {
    // events
    event TransferRef(address indexed sender, address indexed recipient, uint256 amount, uint256 ref);
    event BatchTransferRef(address indexed sender, address[] recipients, uint256[] amounts, uint256[] refs);

    // autogenerated getters
    function feeBps() external view returns (uint);
    function feeFixed() external view returns (uint);
    function feeCap() external view returns (uint);
    function feeRecipient() external view returns (address);

    // functions
    function mint(address _to, uint256 _amount) external;
    function transferWithRef(address recipient, uint256 amount, uint256 ref) external returns (bool);
    function batchTransfer(address[] calldata recipients, uint256[] calldata amounts) external returns (bool);
    function batchTransferWithRefs(address[] calldata recipients, uint256[] calldata amounts, uint256[] calldata refs) external returns (bool);
    function batchTransferWithFees(address[] calldata recipients, uint256[] calldata amounts) external returns (bool);
    function batchTransferWithFeesRefs(address[] calldata recipients, uint256[] calldata amounts, uint256[] calldata refs) external returns (bool);
    function burnWithFee(uint256 amount) external returns (bool);
    function transferWithFee(address recipient, uint256 amount) external returns (bool);
    function transferWithFeeRef(address recipient, uint256 amount, uint256 ref) external returns (bool);
    function setFees(address recipient, uint _feeBps, uint _feeFixed, uint _feeCap) external;
    function transferOwnershipControl(address _newOwner) external;
}

File 14 of 14 : Roles.sol
// SPDX-License-Identifier: MIT
//
//    ###     ######   ######  ####  #######  ##    ##
//   ## ##   ##    ## ##    ##  ##  ##     ## ###   ##
//  ##   ##  ##       ##        ##  ##     ## ####  ##
// ##     ##  ######  ##        ##  ##     ## ## ## ##
// #########       ## ##        ##  ##     ## ##  ####
// ##     ## ##    ## ##    ##  ##  ##     ## ##   ###
// ##     ##  ######   ######  ####  #######  ##    ##
//
// This smart contract is part of the Ascion ecosystem.
// It facilitates the integration of blockchain technology
// into the Ascion game, providing secure and efficient
// management of in-game assets.
// Visit https://ascion.space for more information.

pragma solidity ^0.8.24;

contract Roles {
  bytes32 internal constant MINTER_ROLE = keccak256("ASCION_MINTER_ROLE");
  bytes32 internal constant MANAGER_ROLE = keccak256("ASCION_MANAGER_ROLE");
  bytes32 internal constant PLAYER_ROLE = keccak256("ASCION_PLAYER_ROLE");
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"defaultAdmin","type":"address"},{"internalType":"address","name":"minter","type":"address"},{"internalType":"address","name":"_forwarder","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address[]","name":"recipients","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"refs","type":"uint256[]"}],"name":"BatchTransferRef","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ref","type":"uint256"}],"name":"TransferRef","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","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":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"batchTransferWithFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"refs","type":"uint256[]"}],"name":"batchTransferWithFeesRefs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"refs","type":"uint256[]"}],"name":"batchTransferWithRefs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnWithFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeFixed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","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":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"_feeBps","type":"uint256"},{"internalType":"uint256","name":"_feeFixed","type":"uint256"},{"internalType":"uint256","name":"_feeCap","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnershipControl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferWithFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"ref","type":"uint256"}],"name":"transferWithFeeRef","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"ref","type":"uint256"}],"name":"transferWithRef","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"trustedForwarder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newTrustedForwarder","type":"address"}],"name":"upgradeTrustedForwarder","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620043ee380380620043ee833981810160405281019062000037919062000443565b6040518060400160405280600681526020017f417363696f6e00000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f415343000000000000000000000000000000000000000000000000000000000081525082806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550508160049081620000f6919062000719565b50806005908162000108919062000719565b5050506200011b620001ad60201b60201c565b600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001706000801b84620001c460201b60201c565b50620001a37ffa82654b3741fbd62191c4203954d4738ea263889addcb00737382a182502a8183620001c460201b60201c565b5050505062000800565b6000620001bf620002c860201b60201c565b905090565b6000620001d883836200030d60201b60201c565b620002bd5760016006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000259620001ad60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050620002c2565b600090505b92915050565b6000620002db336200037860201b60201c565b15620002f157601436033560601c905062000309565b62000301620003d160201b60201c565b90506200030a565b5b90565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200040b82620003de565b9050919050565b6200041d81620003fe565b81146200042957600080fd5b50565b6000815190506200043d8162000412565b92915050565b6000806000606084860312156200045f576200045e620003d9565b5b60006200046f868287016200042c565b935050602062000482868287016200042c565b925050604062000495868287016200042c565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200052157607f821691505b602082108103620005375762000536620004d9565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005a17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000562565b620005ad868362000562565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005fa620005f4620005ee84620005c5565b620005cf565b620005c5565b9050919050565b6000819050919050565b6200061683620005d9565b6200062e620006258262000601565b8484546200056f565b825550505050565b600090565b6200064562000636565b620006528184846200060b565b505050565b5b818110156200067a576200066e6000826200063b565b60018101905062000658565b5050565b601f821115620006c95762000693816200053d565b6200069e8462000552565b81016020851015620006ae578190505b620006c6620006bd8562000552565b83018262000657565b50505b505050565b600082821c905092915050565b6000620006ee60001984600802620006ce565b1980831691505092915050565b6000620007098383620006db565b9150826002028217905092915050565b62000724826200049f565b67ffffffffffffffff81111562000740576200073f620004aa565b5b6200074c825462000508565b620007598282856200067e565b600060209050601f8311600181146200079157600084156200077c578287015190505b620007888582620006fb565b865550620007f8565b601f198416620007a1866200053d565b60005b82811015620007cb57848901518255600182019150602085019450602081019050620007a4565b86831015620007eb5784890151620007e7601f891682620006db565b8355505b6001600288020188555050505b505050505050565b613bde80620008106000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c806342966c6811610130578063824c0d66116100b8578063a9059cbb1161007c578063a9059cbb146106d8578063aa2a7eea14610708578063c6be49e714610724578063d547741f14610754578063dd62ed3e1461077057610227565b8063824c0d661461060c57806388d695b21461063c57806391d148541461066c57806395d89b411461069c578063a217fddf146106ba57610227565b806367243482116100ff578063672434821461056a57806370a08231146105865780637669d489146105b657806379cc6790146105d25780637da0a877146105ee57610227565b806342966c68146104d057806346904840146104ec578063572b6c051461050a5780635932a78e1461053a57610227565b806323b872dd116101b3578063313ce56711610182578063313ce5671461042e57806336568abe1461044c57806337ea010a1461046857806340c10f19146104985780634252ac3f146104b457610227565b806323b872dd14610394578063248a9ca3146103c457806324a9d853146103f45780632f2ff15d1461041257610227565b806308acece2116101fa57806308acece2146102c8578063095ea7b3146102f85780630e3d22021461032857806312b681981461034657806318160ddd1461037657610227565b806301ffc9a71461022c578063050b78831461025c57806306fdde031461028c578063075b6e33146102aa575b600080fd5b61024660048036038101906102419190612729565b6107a0565b6040516102539190612771565b60405180910390f35b61027660048036038101906102719190612847565b61081a565b6040516102839190612771565b60405180910390f35b610294610834565b6040516102a19190612958565b60405180910390f35b6102b26108c6565b6040516102bf9190612993565b60405180910390f35b6102e260048036038101906102dd9190612a38565b6108cc565b6040516102ef9190612771565b60405180910390f35b610312600480360381019061030d9190612a38565b6108e4565b60405161031f9190612771565b60405180910390f35b610330610907565b60405161033d9190612993565b60405180910390f35b610360600480360381019061035b9190612a78565b61090d565b60405161036d9190612771565b60405180910390f35b61037e61092b565b60405161038b9190612993565b60405180910390f35b6103ae60048036038101906103a99190612b2c565b610935565b6040516103bb9190612771565b60405180910390f35b6103de60048036038101906103d99190612bb5565b610964565b6040516103eb9190612bf1565b60405180910390f35b6103fc610984565b6040516104099190612993565b60405180910390f35b61042c60048036038101906104279190612c0c565b61098a565b005b610436610aa6565b6040516104439190612c68565b60405180910390f35b61046660048036038101906104619190612c0c565b610aaf565b005b610482600480360381019061047d9190612c83565b610b2a565b60405161048f9190612771565b60405180910390f35b6104b260048036038101906104ad9190612a38565b610bb7565b005b6104ce60048036038101906104c99190612cd6565b610bf0565b005b6104ea60048036038101906104e59190612d03565b610c93565b005b6104f4610ca7565b6040516105019190612d3f565b60405180910390f35b610524600480360381019061051f9190612cd6565b610ccd565b6040516105319190612771565b60405180910390f35b610554600480360381019061054f9190612c83565b610d26565b6040516105619190612771565b60405180910390f35b610584600480360381019061057f9190612847565b610dac565b005b6105a0600480360381019061059b9190612cd6565b611050565b6040516105ad9190612993565b60405180910390f35b6105d060048036038101906105cb9190612d5a565b611099565b005b6105ec60048036038101906105e79190612a38565b611283565b005b6105f66112a3565b6040516106039190612d3f565b60405180910390f35b61062660048036038101906106219190612a78565b6112c7565b6040516106339190612771565b60405180910390f35b61065660048036038101906106519190612847565b6112e5565b6040516106639190612771565b60405180910390f35b61068660048036038101906106819190612c0c565b6112ff565b6040516106939190612771565b60405180910390f35b6106a461136a565b6040516106b19190612958565b60405180910390f35b6106c26113fc565b6040516106cf9190612bf1565b60405180910390f35b6106f260048036038101906106ed9190612a38565b611403565b6040516106ff9190612771565b60405180910390f35b610722600480360381019061071d9190612cd6565b611426565b005b61073e60048036038101906107399190612d03565b6114c9565b60405161074b9190612771565b60405180910390f35b61076e60048036038101906107699190612c0c565b6114e1565b005b61078a60048036038101906107859190612dc1565b611503565b6040516107979190612993565b60405180910390f35b60007fa248c9c3000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081357506108128261158a565b5b9050919050565b600061082a858585856001611604565b9050949350505050565b60606004805461084390612e30565b80601f016020809104026020016040519081016040528092919081815260200182805461086f90612e30565b80156108bc5780601f10610891576101008083540402835291602001916108bc565b820191906000526020600020905b81548152906001019060200180831161089f57829003601f168201915b5050505050905090565b60095481565b60006108da8383600061175e565b6001905092915050565b6000806108ef61190b565b90506108fc81858561191a565b600191505092915050565b60085481565b600061091f878787878787600161192c565b90509695505050505050565b6000600354905090565b60008061094061190b565b905061094d858285611d0b565b610958858585611d9f565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b60075481565b60006109a06000801b61099b61190b565b6112ff565b905060006109d57f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e6109d061190b565b6112ff565b905081806109e05750805b610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1690612ed3565b60405180910390fd5b6000801b841480610a4f57507f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e84145b15610a955781610a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8b90612f65565b60405180910390fd5b5b610a9f8484611e93565b5050505050565b60006012905090565b610ab761190b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b1b576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b258282611f85565b505050565b6000610b3e610b3761190b565b8585611d9f565b8373ffffffffffffffffffffffffffffffffffffffff16610b5d61190b565b73ffffffffffffffffffffffffffffffffffffffff167f9be86a1edd93f234e9c42b9ec0ff205d1b91b05eed309f225cc0a82f936508308585604051610ba4929190612f85565b60405180910390a3600190509392505050565b7ffa82654b3741fbd62191c4203954d4738ea263889addcb00737382a182502a81610be181612078565b610beb838361208c565b505050565b6000801b610bfd81612078565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390612ffa565b60405180910390fd5b610c796000801b83611e93565b50610c8e6000801b610c8961190b565b611f85565b505050565b610ca4610c9e61190b565b8261210e565b50565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000610d3284846108cc565b508373ffffffffffffffffffffffffffffffffffffffff16610d5261190b565b73ffffffffffffffffffffffffffffffffffffffff167f9be86a1edd93f234e9c42b9ec0ff205d1b91b05eed309f225cc0a82f936508308585604051610d99929190612f85565b60405180910390a3600190509392505050565b6000610dc26000801b610dbd61190b565b6112ff565b90506000610df77f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e610df261190b565b6112ff565b90508180610e025750805b610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e389061308c565b60405180910390fd5b60008686905011610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e906130f8565b60405180910390fd5b858590508484905014610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec69061318a565b60405180910390fd5b6000610ed961190b565b905060005b8787905081101561104657600073ffffffffffffffffffffffffffffffffffffffff16888883818110610f1457610f136131aa565b5b9050602002016020810190610f299190612cd6565b73ffffffffffffffffffffffffffffffffffffffff1603610f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7690613225565b60405180910390fd5b6000868683818110610f9457610f936131aa565b5b9050602002013511610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd290613291565b60405180910390fd5b61103982898984818110610ff257610ff16131aa565b5b90506020020160208101906110079190612cd6565b670de0b6b3a7640000898986818110611023576110226131aa565b5b9050602002013561103491906132e0565b611d9f565b8080600101915050610ede565b5050505050505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006110af6000801b6110aa61190b565b6112ff565b905060006110e47f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e6110df61190b565b6112ff565b905081806110ef5750805b61112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590613394565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff160361119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490613400565b60405180910390fd5b6127108511156111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d99061346c565b60405180910390fd5b83831015611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c906134fe565b60405180910390fd5b85600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550846007819055508360088190555082600981905550505050505050565b6112958261128f61190b565b83611d0b565b61129f828261210e565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006112d9878787878787600161192c565b90509695505050505050565b60006112f5858585856000611604565b9050949350505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606005805461137990612e30565b80601f01602080910402602001604051908101604052809291908181526020018280546113a590612e30565b80156113f25780601f106113c7576101008083540402835291602001916113f2565b820191906000526020600020905b8154815290600101906020018083116113d557829003601f168201915b5050505050905090565b6000801b81565b60008061140e61190b565b905061141b818585611d9f565b600191505092915050565b600061143c6000801b61143761190b565b6112ff565b905060006114717f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e61146c61190b565b6112ff565b9050818061147c5750805b6114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b290612ed3565b60405180910390fd5b6114c483612190565b505050565b60006114d8600083600161175e565b60019050919050565b6114ea82610964565b6114f381612078565b6114fd8383611f85565b50505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115fd57506115fc826121d3565b5b9050919050565b600080868690501161164b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116429061356a565b60405180910390fd5b838390508686905014611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a906135d6565b60405180910390fd5b60005b868690508110156117505782156116f7576116f18787838181106116bd576116bc6131aa565b5b90506020020160208101906116d29190612cd6565b8686848181106116e5576116e46131aa565b5b905060200201356108cc565b50611743565b61174187878381811061170d5761170c6131aa565b5b90506020020160208101906117229190612cd6565b868684818110611735576117346131aa565b5b90506020020135611403565b505b8080600101915050611696565b506001905095945050505050565b600061177061176b61190b565b611050565b9050600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa90613668565b60405180910390fd5b82811015611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d906136fa565b60405180910390fd5b60006008546127106007548661185c91906132e0565b6118669190613749565b611870919061377a565b9050600060095482111561188657600954611888565b815b90506118be61189561190b565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611d9f565b83156118e5576118e06118cf61190b565b82876118db91906137ae565b61210e565b611903565b6119026118f061190b565b8783886118fd91906137ae565b611d9f565b5b505050505050565b600061191561223d565b905090565b611927838383600161226f565b505050565b6000808888905011611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a906130f8565b60405180910390fd5b8585905088889050146119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290613854565b60405180910390fd5b838390508888905014611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa906138c0565b60405180910390fd5b60005b88889050811015611c9c57600073ffffffffffffffffffffffffffffffffffffffff16898983818110611a3c57611a3b6131aa565b5b9050602002016020810190611a519190612cd6565b73ffffffffffffffffffffffffffffffffffffffff1603611aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9e9061392c565b60405180910390fd5b6000878783818110611abc57611abb6131aa565b5b9050602002013511611b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afa90613998565b60405180910390fd5b8215611b5957611b53898983818110611b1f57611b1e6131aa565b5b9050602002016020810190611b349190612cd6565b888884818110611b4757611b466131aa565b5b905060200201356108cc565b50611ba5565b611ba3898983818110611b6f57611b6e6131aa565b5b9050602002016020810190611b849190612cd6565b888884818110611b9757611b966131aa565b5b90506020020135611403565b505b6000858583818110611bba57611bb96131aa565b5b905060200201351115611c8f57888882818110611bda57611bd96131aa565b5b9050602002016020810190611bef9190612cd6565b73ffffffffffffffffffffffffffffffffffffffff16611c0d61190b565b73ffffffffffffffffffffffffffffffffffffffff167f9be86a1edd93f234e9c42b9ec0ff205d1b91b05eed309f225cc0a82f93650830898985818110611c5757611c566131aa565b5b90506020020135888886818110611c7157611c706131aa565b5b90506020020135604051611c86929190612f85565b60405180910390a35b8080600101915050611a06565b50611ca561190b565b73ffffffffffffffffffffffffffffffffffffffff167fa91f78721ec724c5d8f9e089dcea4047a178a40bbff32381b463c701f37aabd8898989898989604051611cf496959493929190613af6565b60405180910390a260019050979650505050505050565b6000611d178484611503565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611d995781811015611d89578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401611d8093929190613b48565b60405180910390fd5b611d988484848403600061226f565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e115760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401611e089190612d3f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e835760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611e7a9190612d3f565b60405180910390fd5b611e8e838383612446565b505050565b6000611e9f83836112ff565b611f7a5760016006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f1761190b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611f7f565b600090505b92915050565b6000611f9183836112ff565b1561206d5760006006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061200a61190b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050612072565b600090505b92915050565b6120898161208461190b565b61266e565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120fe5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016120f59190612d3f565b60405180910390fd5b61210a60008383612446565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121805760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016121779190612d3f565b60405180910390fd5b61218c82600083612446565b5050565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061224833610ccd565b1561225c57601436033560601c905061226b565b6122646126bf565b905061226c565b5b90565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036122e15760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016122d89190612d3f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123535760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161234a9190612d3f565b60405180910390fd5b81600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015612440578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516124379190612993565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361249857806003600082825461248c919061377a565b9250508190555061256d565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612525578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161251c93929190613b48565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125b65780600360008282540392505081905550612604565b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516126619190612993565b60405180910390a3505050565b61267882826112ff565b6126bb5780826040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526004016126b2929190613b7f565b60405180910390fd5b5050565b600033905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612706816126d1565b811461271157600080fd5b50565b600081359050612723816126fd565b92915050565b60006020828403121561273f5761273e6126c7565b5b600061274d84828501612714565b91505092915050565b60008115159050919050565b61276b81612756565b82525050565b60006020820190506127866000830184612762565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126127b1576127b061278c565b5b8235905067ffffffffffffffff8111156127ce576127cd612791565b5b6020830191508360208202830111156127ea576127e9612796565b5b9250929050565b60008083601f8401126128075761280661278c565b5b8235905067ffffffffffffffff81111561282457612823612791565b5b6020830191508360208202830111156128405761283f612796565b5b9250929050565b60008060008060408587031215612861576128606126c7565b5b600085013567ffffffffffffffff81111561287f5761287e6126cc565b5b61288b8782880161279b565b9450945050602085013567ffffffffffffffff8111156128ae576128ad6126cc565b5b6128ba878288016127f1565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b838110156129025780820151818401526020810190506128e7565b60008484015250505050565b6000601f19601f8301169050919050565b600061292a826128c8565b61293481856128d3565b93506129448185602086016128e4565b61294d8161290e565b840191505092915050565b60006020820190508181036000830152612972818461291f565b905092915050565b6000819050919050565b61298d8161297a565b82525050565b60006020820190506129a86000830184612984565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129d9826129ae565b9050919050565b6129e9816129ce565b81146129f457600080fd5b50565b600081359050612a06816129e0565b92915050565b612a158161297a565b8114612a2057600080fd5b50565b600081359050612a3281612a0c565b92915050565b60008060408385031215612a4f57612a4e6126c7565b5b6000612a5d858286016129f7565b9250506020612a6e85828601612a23565b9150509250929050565b60008060008060008060608789031215612a9557612a946126c7565b5b600087013567ffffffffffffffff811115612ab357612ab26126cc565b5b612abf89828a0161279b565b9650965050602087013567ffffffffffffffff811115612ae257612ae16126cc565b5b612aee89828a016127f1565b9450945050604087013567ffffffffffffffff811115612b1157612b106126cc565b5b612b1d89828a016127f1565b92509250509295509295509295565b600080600060608486031215612b4557612b446126c7565b5b6000612b53868287016129f7565b9350506020612b64868287016129f7565b9250506040612b7586828701612a23565b9150509250925092565b6000819050919050565b612b9281612b7f565b8114612b9d57600080fd5b50565b600081359050612baf81612b89565b92915050565b600060208284031215612bcb57612bca6126c7565b5b6000612bd984828501612ba0565b91505092915050565b612beb81612b7f565b82525050565b6000602082019050612c066000830184612be2565b92915050565b60008060408385031215612c2357612c226126c7565b5b6000612c3185828601612ba0565b9250506020612c42858286016129f7565b9150509250929050565b600060ff82169050919050565b612c6281612c4c565b82525050565b6000602082019050612c7d6000830184612c59565b92915050565b600080600060608486031215612c9c57612c9b6126c7565b5b6000612caa868287016129f7565b9350506020612cbb86828701612a23565b9250506040612ccc86828701612a23565b9150509250925092565b600060208284031215612cec57612ceb6126c7565b5b6000612cfa848285016129f7565b91505092915050565b600060208284031215612d1957612d186126c7565b5b6000612d2784828501612a23565b91505092915050565b612d39816129ce565b82525050565b6000602082019050612d546000830184612d30565b92915050565b60008060008060808587031215612d7457612d736126c7565b5b6000612d82878288016129f7565b9450506020612d9387828801612a23565b9350506040612da487828801612a23565b9250506060612db587828801612a23565b91505092959194509250565b60008060408385031215612dd857612dd76126c7565b5b6000612de6858286016129f7565b9250506020612df7858286016129f7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e4857607f821691505b602082108103612e5b57612e5a612e01565b5b50919050565b7f526f6c65206772616e74696e672072657175697265732061646d696e206f722060008201527f6d616e6167657220726f6c652e00000000000000000000000000000000000000602082015250565b6000612ebd602d836128d3565b9150612ec882612e61565b604082019050919050565b60006020820190508181036000830152612eec81612eb0565b9050919050565b7f4f6e6c792061646d696e2063616e206772616e742061646d696e206f72206d6160008201527f6e6167657220726f6c652e000000000000000000000000000000000000000000602082015250565b6000612f4f602b836128d3565b9150612f5a82612ef3565b604082019050919050565b60006020820190508181036000830152612f7e81612f42565b9050919050565b6000604082019050612f9a6000830185612984565b612fa76020830184612984565b9392505050565b7f496e76616c6964206e6577206f776e657220616464726573732e000000000000600082015250565b6000612fe4601a836128d3565b9150612fef82612fae565b602082019050919050565b6000602082019050818103600083015261301381612fd7565b9050919050565b7f41697264726f702072657175697265732061646d696e206f72206d616e61676560008201527f7220726f6c652e00000000000000000000000000000000000000000000000000602082015250565b60006130766027836128d3565b91506130818261301a565b604082019050919050565b600060208201905081810360008301526130a581613069565b9050919050565b7f4e6f20726563697069656e74732070726f76696465642e000000000000000000600082015250565b60006130e26017836128d3565b91506130ed826130ac565b602082019050919050565b60006020820190508181036000830152613111816130d5565b9050919050565b7f4d69736d6174636865642061646472657373657320616e6420616d6f756e747360008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006131746021836128d3565b915061317f82613118565b604082019050919050565b600060208201905081810360008301526131a381613167565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c696420616464726573732e00000000000000000000000000000000600082015250565b600061320f6010836128d3565b915061321a826131d9565b602082019050919050565b6000602082019050818103600083015261323e81613202565b9050919050565b7f496e76616c696420616d6f756e742e0000000000000000000000000000000000600082015250565b600061327b600f836128d3565b915061328682613245565b602082019050919050565b600060208201905081810360008301526132aa8161326e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132eb8261297a565b91506132f68361297a565b92508282026133048161297a565b9150828204841483151761331b5761331a6132b1565b5b5092915050565b7f53657474696e6720666565732072657175697265732061646d696e206f72206d60008201527f616e6167657220726f6c652e0000000000000000000000000000000000000000602082015250565b600061337e602c836128d3565b915061338982613322565b604082019050919050565b600060208201905081810360008301526133ad81613371565b9050919050565b7f496e76616c69642066656520726563697069656e7420616464726573732e0000600082015250565b60006133ea601e836128d3565b91506133f5826133b4565b602082019050919050565b60006020820190508181036000830152613419816133dd565b9050919050565b7f46656520626173697320706f696e747320657863656564206d6178696d756d2e600082015250565b60006134566020836128d3565b915061346182613420565b602082019050919050565b6000602082019050818103600083015261348581613449565b9050919050565b7f466565206361702073686f756c642062652067726561746572207468616e206f60008201527f7220657175616c20746f206669786564206665652e0000000000000000000000602082015250565b60006134e86035836128d3565b91506134f38261348c565b604082019050919050565b60006020820190508181036000830152613517816134db565b9050919050565b7f4e6f20726563697069656e747300000000000000000000000000000000000000600082015250565b6000613554600d836128d3565b915061355f8261351e565b602082019050919050565b6000602082019050818103600083015261358381613547565b9050919050565b7f616d6f756e747320617267756d656e742073697a65206d69736d617463686564600082015250565b60006135c06020836128d3565b91506135cb8261358a565b602082019050919050565b600060208201905081810360008301526135ef816135b3565b9050919050565b7f46656520726563697069656e74206e6f74207365742c2063616e6e6f7420757360008201527f65207472616e7366657257697468466565000000000000000000000000000000602082015250565b60006136526031836128d3565b915061365d826135f6565b604082019050919050565b6000602082019050818103600083015261368181613645565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63652e00000000000000000000000000000000000000000000000000602082015250565b60006136e46027836128d3565b91506136ef82613688565b604082019050919050565b60006020820190508181036000830152613713816136d7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006137548261297a565b915061375f8361297a565b92508261376f5761376e61371a565b5b828204905092915050565b60006137858261297a565b91506137908361297a565b92508282019050808211156137a8576137a76132b1565b5b92915050565b60006137b98261297a565b91506137c48361297a565b92508282039050818111156137dc576137db6132b1565b5b92915050565b7f4d69736d61746368656420726563697069656e747320616e6420616d6f756e7460008201527f732e000000000000000000000000000000000000000000000000000000000000602082015250565b600061383e6022836128d3565b9150613849826137e2565b604082019050919050565b6000602082019050818103600083015261386d81613831565b9050919050565b7f4d69736d61746368656420726563697069656e747320616e6420726566732e00600082015250565b60006138aa601f836128d3565b91506138b582613874565b602082019050919050565b600060208201905081810360008301526138d98161389d565b9050919050565b7f496e76616c696420726563697069656e7420616464726573732e000000000000600082015250565b6000613916601a836128d3565b9150613921826138e0565b602082019050919050565b6000602082019050818103600083015261394581613909565b9050919050565b7f496e76616c6964207472616e7366657220616d6f756e742e0000000000000000600082015250565b60006139826018836128d3565b915061398d8261394c565b602082019050919050565b600060208201905081810360008301526139b181613975565b9050919050565b600082825260208201905092915050565b6000819050919050565b6139dc816129ce565b82525050565b60006139ee83836139d3565b60208301905092915050565b6000613a0960208401846129f7565b905092915050565b6000602082019050919050565b6000613a2a83856139b8565b9350613a35826139c9565b8060005b85811015613a6e57613a4b82846139fa565b613a5588826139e2565b9750613a6083613a11565b925050600181019050613a39565b5085925050509392505050565b600082825260208201905092915050565b600080fd5b82818337505050565b6000613aa68385613a7b565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613ad957613ad8613a8c565b5b602083029250613aea838584613a91565b82840190509392505050565b60006060820190508181036000830152613b1181888a613a1e565b90508181036020830152613b26818688613a9a565b90508181036040830152613b3b818486613a9a565b9050979650505050505050565b6000606082019050613b5d6000830186612d30565b613b6a6020830185612984565b613b776040830184612984565b949350505050565b6000604082019050613b946000830185612d30565b613ba16020830184612be2565b939250505056fea2646970667358221220c320d76065576690508ac4298bc2f9a3d6d8fab5ad807586eb50fc286344f2a464736f6c634300081800330000000000000000000000005c1315983f35affdc61a666858baf352e0e8b5630000000000000000000000005c1315983f35affdc61a666858baf352e0e8b563000000000000000000000000fe8c38c1d960cbd375d89acc790bd7f9c03c59e1

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c806342966c6811610130578063824c0d66116100b8578063a9059cbb1161007c578063a9059cbb146106d8578063aa2a7eea14610708578063c6be49e714610724578063d547741f14610754578063dd62ed3e1461077057610227565b8063824c0d661461060c57806388d695b21461063c57806391d148541461066c57806395d89b411461069c578063a217fddf146106ba57610227565b806367243482116100ff578063672434821461056a57806370a08231146105865780637669d489146105b657806379cc6790146105d25780637da0a877146105ee57610227565b806342966c68146104d057806346904840146104ec578063572b6c051461050a5780635932a78e1461053a57610227565b806323b872dd116101b3578063313ce56711610182578063313ce5671461042e57806336568abe1461044c57806337ea010a1461046857806340c10f19146104985780634252ac3f146104b457610227565b806323b872dd14610394578063248a9ca3146103c457806324a9d853146103f45780632f2ff15d1461041257610227565b806308acece2116101fa57806308acece2146102c8578063095ea7b3146102f85780630e3d22021461032857806312b681981461034657806318160ddd1461037657610227565b806301ffc9a71461022c578063050b78831461025c57806306fdde031461028c578063075b6e33146102aa575b600080fd5b61024660048036038101906102419190612729565b6107a0565b6040516102539190612771565b60405180910390f35b61027660048036038101906102719190612847565b61081a565b6040516102839190612771565b60405180910390f35b610294610834565b6040516102a19190612958565b60405180910390f35b6102b26108c6565b6040516102bf9190612993565b60405180910390f35b6102e260048036038101906102dd9190612a38565b6108cc565b6040516102ef9190612771565b60405180910390f35b610312600480360381019061030d9190612a38565b6108e4565b60405161031f9190612771565b60405180910390f35b610330610907565b60405161033d9190612993565b60405180910390f35b610360600480360381019061035b9190612a78565b61090d565b60405161036d9190612771565b60405180910390f35b61037e61092b565b60405161038b9190612993565b60405180910390f35b6103ae60048036038101906103a99190612b2c565b610935565b6040516103bb9190612771565b60405180910390f35b6103de60048036038101906103d99190612bb5565b610964565b6040516103eb9190612bf1565b60405180910390f35b6103fc610984565b6040516104099190612993565b60405180910390f35b61042c60048036038101906104279190612c0c565b61098a565b005b610436610aa6565b6040516104439190612c68565b60405180910390f35b61046660048036038101906104619190612c0c565b610aaf565b005b610482600480360381019061047d9190612c83565b610b2a565b60405161048f9190612771565b60405180910390f35b6104b260048036038101906104ad9190612a38565b610bb7565b005b6104ce60048036038101906104c99190612cd6565b610bf0565b005b6104ea60048036038101906104e59190612d03565b610c93565b005b6104f4610ca7565b6040516105019190612d3f565b60405180910390f35b610524600480360381019061051f9190612cd6565b610ccd565b6040516105319190612771565b60405180910390f35b610554600480360381019061054f9190612c83565b610d26565b6040516105619190612771565b60405180910390f35b610584600480360381019061057f9190612847565b610dac565b005b6105a0600480360381019061059b9190612cd6565b611050565b6040516105ad9190612993565b60405180910390f35b6105d060048036038101906105cb9190612d5a565b611099565b005b6105ec60048036038101906105e79190612a38565b611283565b005b6105f66112a3565b6040516106039190612d3f565b60405180910390f35b61062660048036038101906106219190612a78565b6112c7565b6040516106339190612771565b60405180910390f35b61065660048036038101906106519190612847565b6112e5565b6040516106639190612771565b60405180910390f35b61068660048036038101906106819190612c0c565b6112ff565b6040516106939190612771565b60405180910390f35b6106a461136a565b6040516106b19190612958565b60405180910390f35b6106c26113fc565b6040516106cf9190612bf1565b60405180910390f35b6106f260048036038101906106ed9190612a38565b611403565b6040516106ff9190612771565b60405180910390f35b610722600480360381019061071d9190612cd6565b611426565b005b61073e60048036038101906107399190612d03565b6114c9565b60405161074b9190612771565b60405180910390f35b61076e60048036038101906107699190612c0c565b6114e1565b005b61078a60048036038101906107859190612dc1565b611503565b6040516107979190612993565b60405180910390f35b60007fa248c9c3000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081357506108128261158a565b5b9050919050565b600061082a858585856001611604565b9050949350505050565b60606004805461084390612e30565b80601f016020809104026020016040519081016040528092919081815260200182805461086f90612e30565b80156108bc5780601f10610891576101008083540402835291602001916108bc565b820191906000526020600020905b81548152906001019060200180831161089f57829003601f168201915b5050505050905090565b60095481565b60006108da8383600061175e565b6001905092915050565b6000806108ef61190b565b90506108fc81858561191a565b600191505092915050565b60085481565b600061091f878787878787600161192c565b90509695505050505050565b6000600354905090565b60008061094061190b565b905061094d858285611d0b565b610958858585611d9f565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b60075481565b60006109a06000801b61099b61190b565b6112ff565b905060006109d57f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e6109d061190b565b6112ff565b905081806109e05750805b610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1690612ed3565b60405180910390fd5b6000801b841480610a4f57507f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e84145b15610a955781610a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8b90612f65565b60405180910390fd5b5b610a9f8484611e93565b5050505050565b60006012905090565b610ab761190b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b1b576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b258282611f85565b505050565b6000610b3e610b3761190b565b8585611d9f565b8373ffffffffffffffffffffffffffffffffffffffff16610b5d61190b565b73ffffffffffffffffffffffffffffffffffffffff167f9be86a1edd93f234e9c42b9ec0ff205d1b91b05eed309f225cc0a82f936508308585604051610ba4929190612f85565b60405180910390a3600190509392505050565b7ffa82654b3741fbd62191c4203954d4738ea263889addcb00737382a182502a81610be181612078565b610beb838361208c565b505050565b6000801b610bfd81612078565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390612ffa565b60405180910390fd5b610c796000801b83611e93565b50610c8e6000801b610c8961190b565b611f85565b505050565b610ca4610c9e61190b565b8261210e565b50565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000610d3284846108cc565b508373ffffffffffffffffffffffffffffffffffffffff16610d5261190b565b73ffffffffffffffffffffffffffffffffffffffff167f9be86a1edd93f234e9c42b9ec0ff205d1b91b05eed309f225cc0a82f936508308585604051610d99929190612f85565b60405180910390a3600190509392505050565b6000610dc26000801b610dbd61190b565b6112ff565b90506000610df77f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e610df261190b565b6112ff565b90508180610e025750805b610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e389061308c565b60405180910390fd5b60008686905011610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e906130f8565b60405180910390fd5b858590508484905014610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec69061318a565b60405180910390fd5b6000610ed961190b565b905060005b8787905081101561104657600073ffffffffffffffffffffffffffffffffffffffff16888883818110610f1457610f136131aa565b5b9050602002016020810190610f299190612cd6565b73ffffffffffffffffffffffffffffffffffffffff1603610f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7690613225565b60405180910390fd5b6000868683818110610f9457610f936131aa565b5b9050602002013511610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd290613291565b60405180910390fd5b61103982898984818110610ff257610ff16131aa565b5b90506020020160208101906110079190612cd6565b670de0b6b3a7640000898986818110611023576110226131aa565b5b9050602002013561103491906132e0565b611d9f565b8080600101915050610ede565b5050505050505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006110af6000801b6110aa61190b565b6112ff565b905060006110e47f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e6110df61190b565b6112ff565b905081806110ef5750805b61112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590613394565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff160361119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490613400565b60405180910390fd5b6127108511156111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d99061346c565b60405180910390fd5b83831015611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c906134fe565b60405180910390fd5b85600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550846007819055508360088190555082600981905550505050505050565b6112958261128f61190b565b83611d0b565b61129f828261210e565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006112d9878787878787600161192c565b90509695505050505050565b60006112f5858585856000611604565b9050949350505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606005805461137990612e30565b80601f01602080910402602001604051908101604052809291908181526020018280546113a590612e30565b80156113f25780601f106113c7576101008083540402835291602001916113f2565b820191906000526020600020905b8154815290600101906020018083116113d557829003601f168201915b5050505050905090565b6000801b81565b60008061140e61190b565b905061141b818585611d9f565b600191505092915050565b600061143c6000801b61143761190b565b6112ff565b905060006114717f65ed49cf024b70ea8dcfe9ae13e522103c17d83f251c42b88528392b06a87a1e61146c61190b565b6112ff565b9050818061147c5750805b6114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b290612ed3565b60405180910390fd5b6114c483612190565b505050565b60006114d8600083600161175e565b60019050919050565b6114ea82610964565b6114f381612078565b6114fd8383611f85565b50505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115fd57506115fc826121d3565b5b9050919050565b600080868690501161164b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116429061356a565b60405180910390fd5b838390508686905014611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a906135d6565b60405180910390fd5b60005b868690508110156117505782156116f7576116f18787838181106116bd576116bc6131aa565b5b90506020020160208101906116d29190612cd6565b8686848181106116e5576116e46131aa565b5b905060200201356108cc565b50611743565b61174187878381811061170d5761170c6131aa565b5b90506020020160208101906117229190612cd6565b868684818110611735576117346131aa565b5b90506020020135611403565b505b8080600101915050611696565b506001905095945050505050565b600061177061176b61190b565b611050565b9050600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa90613668565b60405180910390fd5b82811015611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d906136fa565b60405180910390fd5b60006008546127106007548661185c91906132e0565b6118669190613749565b611870919061377a565b9050600060095482111561188657600954611888565b815b90506118be61189561190b565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611d9f565b83156118e5576118e06118cf61190b565b82876118db91906137ae565b61210e565b611903565b6119026118f061190b565b8783886118fd91906137ae565b611d9f565b5b505050505050565b600061191561223d565b905090565b611927838383600161226f565b505050565b6000808888905011611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a906130f8565b60405180910390fd5b8585905088889050146119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290613854565b60405180910390fd5b838390508888905014611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa906138c0565b60405180910390fd5b60005b88889050811015611c9c57600073ffffffffffffffffffffffffffffffffffffffff16898983818110611a3c57611a3b6131aa565b5b9050602002016020810190611a519190612cd6565b73ffffffffffffffffffffffffffffffffffffffff1603611aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9e9061392c565b60405180910390fd5b6000878783818110611abc57611abb6131aa565b5b9050602002013511611b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afa90613998565b60405180910390fd5b8215611b5957611b53898983818110611b1f57611b1e6131aa565b5b9050602002016020810190611b349190612cd6565b888884818110611b4757611b466131aa565b5b905060200201356108cc565b50611ba5565b611ba3898983818110611b6f57611b6e6131aa565b5b9050602002016020810190611b849190612cd6565b888884818110611b9757611b966131aa565b5b90506020020135611403565b505b6000858583818110611bba57611bb96131aa565b5b905060200201351115611c8f57888882818110611bda57611bd96131aa565b5b9050602002016020810190611bef9190612cd6565b73ffffffffffffffffffffffffffffffffffffffff16611c0d61190b565b73ffffffffffffffffffffffffffffffffffffffff167f9be86a1edd93f234e9c42b9ec0ff205d1b91b05eed309f225cc0a82f93650830898985818110611c5757611c566131aa565b5b90506020020135888886818110611c7157611c706131aa565b5b90506020020135604051611c86929190612f85565b60405180910390a35b8080600101915050611a06565b50611ca561190b565b73ffffffffffffffffffffffffffffffffffffffff167fa91f78721ec724c5d8f9e089dcea4047a178a40bbff32381b463c701f37aabd8898989898989604051611cf496959493929190613af6565b60405180910390a260019050979650505050505050565b6000611d178484611503565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611d995781811015611d89578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401611d8093929190613b48565b60405180910390fd5b611d988484848403600061226f565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e115760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401611e089190612d3f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e835760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611e7a9190612d3f565b60405180910390fd5b611e8e838383612446565b505050565b6000611e9f83836112ff565b611f7a5760016006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f1761190b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611f7f565b600090505b92915050565b6000611f9183836112ff565b1561206d5760006006600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061200a61190b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050612072565b600090505b92915050565b6120898161208461190b565b61266e565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120fe5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016120f59190612d3f565b60405180910390fd5b61210a60008383612446565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121805760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016121779190612d3f565b60405180910390fd5b61218c82600083612446565b5050565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061224833610ccd565b1561225c57601436033560601c905061226b565b6122646126bf565b905061226c565b5b90565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036122e15760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016122d89190612d3f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123535760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161234a9190612d3f565b60405180910390fd5b81600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015612440578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516124379190612993565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361249857806003600082825461248c919061377a565b9250508190555061256d565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612525578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161251c93929190613b48565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125b65780600360008282540392505081905550612604565b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516126619190612993565b60405180910390a3505050565b61267882826112ff565b6126bb5780826040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526004016126b2929190613b7f565b60405180910390fd5b5050565b600033905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612706816126d1565b811461271157600080fd5b50565b600081359050612723816126fd565b92915050565b60006020828403121561273f5761273e6126c7565b5b600061274d84828501612714565b91505092915050565b60008115159050919050565b61276b81612756565b82525050565b60006020820190506127866000830184612762565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126127b1576127b061278c565b5b8235905067ffffffffffffffff8111156127ce576127cd612791565b5b6020830191508360208202830111156127ea576127e9612796565b5b9250929050565b60008083601f8401126128075761280661278c565b5b8235905067ffffffffffffffff81111561282457612823612791565b5b6020830191508360208202830111156128405761283f612796565b5b9250929050565b60008060008060408587031215612861576128606126c7565b5b600085013567ffffffffffffffff81111561287f5761287e6126cc565b5b61288b8782880161279b565b9450945050602085013567ffffffffffffffff8111156128ae576128ad6126cc565b5b6128ba878288016127f1565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b838110156129025780820151818401526020810190506128e7565b60008484015250505050565b6000601f19601f8301169050919050565b600061292a826128c8565b61293481856128d3565b93506129448185602086016128e4565b61294d8161290e565b840191505092915050565b60006020820190508181036000830152612972818461291f565b905092915050565b6000819050919050565b61298d8161297a565b82525050565b60006020820190506129a86000830184612984565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129d9826129ae565b9050919050565b6129e9816129ce565b81146129f457600080fd5b50565b600081359050612a06816129e0565b92915050565b612a158161297a565b8114612a2057600080fd5b50565b600081359050612a3281612a0c565b92915050565b60008060408385031215612a4f57612a4e6126c7565b5b6000612a5d858286016129f7565b9250506020612a6e85828601612a23565b9150509250929050565b60008060008060008060608789031215612a9557612a946126c7565b5b600087013567ffffffffffffffff811115612ab357612ab26126cc565b5b612abf89828a0161279b565b9650965050602087013567ffffffffffffffff811115612ae257612ae16126cc565b5b612aee89828a016127f1565b9450945050604087013567ffffffffffffffff811115612b1157612b106126cc565b5b612b1d89828a016127f1565b92509250509295509295509295565b600080600060608486031215612b4557612b446126c7565b5b6000612b53868287016129f7565b9350506020612b64868287016129f7565b9250506040612b7586828701612a23565b9150509250925092565b6000819050919050565b612b9281612b7f565b8114612b9d57600080fd5b50565b600081359050612baf81612b89565b92915050565b600060208284031215612bcb57612bca6126c7565b5b6000612bd984828501612ba0565b91505092915050565b612beb81612b7f565b82525050565b6000602082019050612c066000830184612be2565b92915050565b60008060408385031215612c2357612c226126c7565b5b6000612c3185828601612ba0565b9250506020612c42858286016129f7565b9150509250929050565b600060ff82169050919050565b612c6281612c4c565b82525050565b6000602082019050612c7d6000830184612c59565b92915050565b600080600060608486031215612c9c57612c9b6126c7565b5b6000612caa868287016129f7565b9350506020612cbb86828701612a23565b9250506040612ccc86828701612a23565b9150509250925092565b600060208284031215612cec57612ceb6126c7565b5b6000612cfa848285016129f7565b91505092915050565b600060208284031215612d1957612d186126c7565b5b6000612d2784828501612a23565b91505092915050565b612d39816129ce565b82525050565b6000602082019050612d546000830184612d30565b92915050565b60008060008060808587031215612d7457612d736126c7565b5b6000612d82878288016129f7565b9450506020612d9387828801612a23565b9350506040612da487828801612a23565b9250506060612db587828801612a23565b91505092959194509250565b60008060408385031215612dd857612dd76126c7565b5b6000612de6858286016129f7565b9250506020612df7858286016129f7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e4857607f821691505b602082108103612e5b57612e5a612e01565b5b50919050565b7f526f6c65206772616e74696e672072657175697265732061646d696e206f722060008201527f6d616e6167657220726f6c652e00000000000000000000000000000000000000602082015250565b6000612ebd602d836128d3565b9150612ec882612e61565b604082019050919050565b60006020820190508181036000830152612eec81612eb0565b9050919050565b7f4f6e6c792061646d696e2063616e206772616e742061646d696e206f72206d6160008201527f6e6167657220726f6c652e000000000000000000000000000000000000000000602082015250565b6000612f4f602b836128d3565b9150612f5a82612ef3565b604082019050919050565b60006020820190508181036000830152612f7e81612f42565b9050919050565b6000604082019050612f9a6000830185612984565b612fa76020830184612984565b9392505050565b7f496e76616c6964206e6577206f776e657220616464726573732e000000000000600082015250565b6000612fe4601a836128d3565b9150612fef82612fae565b602082019050919050565b6000602082019050818103600083015261301381612fd7565b9050919050565b7f41697264726f702072657175697265732061646d696e206f72206d616e61676560008201527f7220726f6c652e00000000000000000000000000000000000000000000000000602082015250565b60006130766027836128d3565b91506130818261301a565b604082019050919050565b600060208201905081810360008301526130a581613069565b9050919050565b7f4e6f20726563697069656e74732070726f76696465642e000000000000000000600082015250565b60006130e26017836128d3565b91506130ed826130ac565b602082019050919050565b60006020820190508181036000830152613111816130d5565b9050919050565b7f4d69736d6174636865642061646472657373657320616e6420616d6f756e747360008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006131746021836128d3565b915061317f82613118565b604082019050919050565b600060208201905081810360008301526131a381613167565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c696420616464726573732e00000000000000000000000000000000600082015250565b600061320f6010836128d3565b915061321a826131d9565b602082019050919050565b6000602082019050818103600083015261323e81613202565b9050919050565b7f496e76616c696420616d6f756e742e0000000000000000000000000000000000600082015250565b600061327b600f836128d3565b915061328682613245565b602082019050919050565b600060208201905081810360008301526132aa8161326e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132eb8261297a565b91506132f68361297a565b92508282026133048161297a565b9150828204841483151761331b5761331a6132b1565b5b5092915050565b7f53657474696e6720666565732072657175697265732061646d696e206f72206d60008201527f616e6167657220726f6c652e0000000000000000000000000000000000000000602082015250565b600061337e602c836128d3565b915061338982613322565b604082019050919050565b600060208201905081810360008301526133ad81613371565b9050919050565b7f496e76616c69642066656520726563697069656e7420616464726573732e0000600082015250565b60006133ea601e836128d3565b91506133f5826133b4565b602082019050919050565b60006020820190508181036000830152613419816133dd565b9050919050565b7f46656520626173697320706f696e747320657863656564206d6178696d756d2e600082015250565b60006134566020836128d3565b915061346182613420565b602082019050919050565b6000602082019050818103600083015261348581613449565b9050919050565b7f466565206361702073686f756c642062652067726561746572207468616e206f60008201527f7220657175616c20746f206669786564206665652e0000000000000000000000602082015250565b60006134e86035836128d3565b91506134f38261348c565b604082019050919050565b60006020820190508181036000830152613517816134db565b9050919050565b7f4e6f20726563697069656e747300000000000000000000000000000000000000600082015250565b6000613554600d836128d3565b915061355f8261351e565b602082019050919050565b6000602082019050818103600083015261358381613547565b9050919050565b7f616d6f756e747320617267756d656e742073697a65206d69736d617463686564600082015250565b60006135c06020836128d3565b91506135cb8261358a565b602082019050919050565b600060208201905081810360008301526135ef816135b3565b9050919050565b7f46656520726563697069656e74206e6f74207365742c2063616e6e6f7420757360008201527f65207472616e7366657257697468466565000000000000000000000000000000602082015250565b60006136526031836128d3565b915061365d826135f6565b604082019050919050565b6000602082019050818103600083015261368181613645565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63652e00000000000000000000000000000000000000000000000000602082015250565b60006136e46027836128d3565b91506136ef82613688565b604082019050919050565b60006020820190508181036000830152613713816136d7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006137548261297a565b915061375f8361297a565b92508261376f5761376e61371a565b5b828204905092915050565b60006137858261297a565b91506137908361297a565b92508282019050808211156137a8576137a76132b1565b5b92915050565b60006137b98261297a565b91506137c48361297a565b92508282039050818111156137dc576137db6132b1565b5b92915050565b7f4d69736d61746368656420726563697069656e747320616e6420616d6f756e7460008201527f732e000000000000000000000000000000000000000000000000000000000000602082015250565b600061383e6022836128d3565b9150613849826137e2565b604082019050919050565b6000602082019050818103600083015261386d81613831565b9050919050565b7f4d69736d61746368656420726563697069656e747320616e6420726566732e00600082015250565b60006138aa601f836128d3565b91506138b582613874565b602082019050919050565b600060208201905081810360008301526138d98161389d565b9050919050565b7f496e76616c696420726563697069656e7420616464726573732e000000000000600082015250565b6000613916601a836128d3565b9150613921826138e0565b602082019050919050565b6000602082019050818103600083015261394581613909565b9050919050565b7f496e76616c6964207472616e7366657220616d6f756e742e0000000000000000600082015250565b60006139826018836128d3565b915061398d8261394c565b602082019050919050565b600060208201905081810360008301526139b181613975565b9050919050565b600082825260208201905092915050565b6000819050919050565b6139dc816129ce565b82525050565b60006139ee83836139d3565b60208301905092915050565b6000613a0960208401846129f7565b905092915050565b6000602082019050919050565b6000613a2a83856139b8565b9350613a35826139c9565b8060005b85811015613a6e57613a4b82846139fa565b613a5588826139e2565b9750613a6083613a11565b925050600181019050613a39565b5085925050509392505050565b600082825260208201905092915050565b600080fd5b82818337505050565b6000613aa68385613a7b565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613ad957613ad8613a8c565b5b602083029250613aea838584613a91565b82840190509392505050565b60006060820190508181036000830152613b1181888a613a1e565b90508181036020830152613b26818688613a9a565b90508181036040830152613b3b818486613a9a565b9050979650505050505050565b6000606082019050613b5d6000830186612d30565b613b6a6020830185612984565b613b776040830184612984565b949350505050565b6000604082019050613b946000830185612d30565b613ba16020830184612be2565b939250505056fea2646970667358221220c320d76065576690508ac4298bc2f9a3d6d8fab5ad807586eb50fc286344f2a464736f6c63430008180033

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

0000000000000000000000005c1315983f35affdc61a666858baf352e0e8b5630000000000000000000000005c1315983f35affdc61a666858baf352e0e8b563000000000000000000000000fe8c38c1d960cbd375d89acc790bd7f9c03c59e1

-----Decoded View---------------
Arg [0] : defaultAdmin (address): 0x5C1315983f35aFfDC61a666858Baf352E0e8b563
Arg [1] : minter (address): 0x5C1315983f35aFfDC61a666858Baf352E0e8b563
Arg [2] : _forwarder (address): 0xfE8C38c1D960cbd375D89ACC790bd7f9C03C59E1

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c1315983f35affdc61a666858baf352e0e8b563
Arg [1] : 0000000000000000000000005c1315983f35affdc61a666858baf352e0e8b563
Arg [2] : 000000000000000000000000fe8c38c1d960cbd375d89acc790bd7f9c03c59e1


[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.