ETH Price: $3,713.02 (+4.72%)

Token

ERC20 ***
 

Overview

Max Total Supply

916,321.805477 ERC20 ***

Holders

237

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Balance
539.844133 ERC20 ***

Value
$0.00
0x08b1f1847efd58B7e39e8E9E45c674844E4EC844
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x00e0C1ea...8cbB1b0b7
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Pool

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Pool.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.7;

import { ERC20 }       from "../modules/erc20/contracts/ERC20.sol";
import { ERC20Helper } from "../modules/erc20-helper/src/ERC20Helper.sol";

import { IPoolManagerLike } from "./interfaces/Interfaces.sol";
import { IERC20, IPool }    from "./interfaces/IPool.sol";

/*

    ██████╗  ██████╗  ██████╗ ██╗
    ██╔══██╗██╔═══██╗██╔═══██╗██║
    ██████╔╝██║   ██║██║   ██║██║
    ██╔═══╝ ██║   ██║██║   ██║██║
    ██║     ╚██████╔╝╚██████╔╝███████╗
    ╚═╝      ╚═════╝  ╚═════╝ ╚══════╝

*/

contract Pool is IPool, ERC20 {

    uint256 public immutable override BOOTSTRAP_MINT;

    address public override asset;    // Underlying ERC-20 asset handled by the ERC-4626 contract.
    address public override manager;  // Address of the contract that manages administrative functionality.

    uint256 private _locked = 1;  // Used when checking for reentrancy.

    constructor(
        address manager_,
        address asset_,
        address destination_,
        uint256 bootstrapMint_,
        uint256 initialSupply_,
        string memory name_,
        string memory symbol_
    )
        ERC20(name_, symbol_, ERC20(asset_).decimals())
    {
        require((manager = manager_) != address(0), "P:C:ZERO_MANAGER");
        require((asset   = asset_)   != address(0), "P:C:ZERO_ASSET");

        if (initialSupply_ != 0) {
            _mint(destination_, initialSupply_);
        }

        BOOTSTRAP_MINT = bootstrapMint_;

        require(ERC20Helper.approve(asset_, manager_, type(uint256).max), "P:C:FAILED_APPROVE");
    }

    /******************************************************************************************************************************/
    /*** Modifiers                                                                                                              ***/
    /******************************************************************************************************************************/

    modifier checkCall(bytes32 functionId_) {
        ( bool success_, string memory errorMessage_ ) = IPoolManagerLike(manager).canCall(functionId_, msg.sender, msg.data[4:]);

        require(success_, errorMessage_);

        _;
    }

    modifier nonReentrant() {
        require(_locked == 1, "P:LOCKED");

        _locked = 2;

        _;

        _locked = 1;
    }

    /******************************************************************************************************************************/
    /*** LP Functions                                                                                                           ***/
    /******************************************************************************************************************************/

    function deposit(uint256 assets_, address receiver_) external override nonReentrant checkCall("P:deposit") returns (uint256 shares_) {
        _mint(shares_ = previewDeposit(assets_), assets_, receiver_, msg.sender);
    }

    function depositWithPermit(
        uint256 assets_,
        address receiver_,
        uint256 deadline_,
        uint8   v_,
        bytes32 r_,
        bytes32 s_
    )
        external override nonReentrant checkCall("P:depositWithPermit") returns (uint256 shares_)
    {
        ERC20(asset).permit(msg.sender, address(this), assets_, deadline_, v_, r_, s_);
        _mint(shares_ = previewDeposit(assets_), assets_, receiver_, msg.sender);
    }

    function mint(uint256 shares_, address receiver_) external override nonReentrant checkCall("P:mint") returns (uint256 assets_) {
        _mint(shares_, assets_ = previewMint(shares_), receiver_, msg.sender);
    }

    function mintWithPermit(
        uint256 shares_,
        address receiver_,
        uint256 maxAssets_,
        uint256 deadline_,
        uint8   v_,
        bytes32 r_,
        bytes32 s_
    )
        external override nonReentrant checkCall("P:mintWithPermit") returns (uint256 assets_)
    {
        require((assets_ = previewMint(shares_)) <= maxAssets_, "P:MWP:INSUFFICIENT_PERMIT");

        ERC20(asset).permit(msg.sender, address(this), maxAssets_, deadline_, v_, r_, s_);
        _mint(shares_, assets_, receiver_, msg.sender);
    }

    function redeem(uint256 shares_, address receiver_, address owner_) external override nonReentrant checkCall("P:redeem") returns (uint256 assets_) {
        uint256 redeemableShares_;
        ( redeemableShares_, assets_ ) = IPoolManagerLike(manager).processRedeem(shares_, owner_, msg.sender);
        _burn(redeemableShares_, assets_, receiver_, owner_, msg.sender);
    }

    function withdraw(uint256 assets_, address receiver_, address owner_) external override nonReentrant checkCall("P:withdraw") returns (uint256 shares_) {
        ( shares_, assets_ ) = IPoolManagerLike(manager).processWithdraw(assets_, owner_, msg.sender);
        _burn(shares_, assets_, receiver_, owner_, msg.sender);
    }

    /******************************************************************************************************************************/
    /*** ERC-20 Overridden Functions                                                                                            ***/
    /******************************************************************************************************************************/

    function transfer(
        address recipient_,
        uint256 amount_
    )
        public override(IERC20, ERC20) checkCall("P:transfer") returns (bool success_)
    {
        success_ = super.transfer(recipient_, amount_);
    }

    function transferFrom(
        address owner_,
        address recipient_,
        uint256 amount_
    )
        public override(IERC20, ERC20) checkCall("P:transferFrom") returns (bool success_)
    {
        success_ = super.transferFrom(owner_, recipient_, amount_);
    }

    /******************************************************************************************************************************/
    /*** Withdrawal Request Functions                                                                                           ***/
    /******************************************************************************************************************************/

    function removeShares(uint256 shares_, address owner_) external override nonReentrant checkCall("P:removeShares") returns (uint256 sharesReturned_) {
        if (msg.sender != owner_) _decreaseAllowance(owner_, msg.sender, shares_);

        emit SharesRemoved(
            owner_,
            sharesReturned_ = IPoolManagerLike(manager).removeShares(shares_, owner_)
        );
    }

    function requestRedeem(uint256 shares_, address owner_) external override nonReentrant checkCall("P:requestRedeem") returns (uint256 escrowedShares_) {
        emit RedemptionRequested(
            owner_,
            shares_,
            escrowedShares_ = _requestRedeem(shares_, owner_)
        );
    }

    function requestWithdraw(uint256 assets_, address owner_) external override nonReentrant checkCall("P:requestWithdraw") returns (uint256 escrowedShares_) {
        emit WithdrawRequested(
            owner_,
            assets_,
            escrowedShares_ = _requestWithdraw(assets_, owner_)
        );
    }

    /******************************************************************************************************************************/
    /*** Internal Functions                                                                                                     ***/
    /******************************************************************************************************************************/

    function _burn(uint256 shares_, uint256 assets_, address receiver_, address owner_, address caller_) internal {
        require(receiver_ != address(0), "P:B:ZERO_RECEIVER");

        if (shares_ == 0) return;

        if (caller_ != owner_) {
            _decreaseAllowance(owner_, caller_, shares_);
        }

        _burn(owner_, shares_);

        emit Withdraw(caller_, receiver_, owner_, assets_, shares_);

        require(ERC20Helper.transfer(asset, receiver_, assets_), "P:B:TRANSFER");
    }

    function _divRoundUp(uint256 numerator_, uint256 divisor_) internal pure returns (uint256 result_) {
        result_ = (numerator_ + divisor_ - 1) / divisor_;
    }

    function _mint(uint256 shares_, uint256 assets_, address receiver_, address caller_) internal {
        require(receiver_ != address(0), "P:M:ZERO_RECEIVER");
        require(shares_   != uint256(0), "P:M:ZERO_SHARES");
        require(assets_   != uint256(0), "P:M:ZERO_ASSETS");

        if (totalSupply == 0 && BOOTSTRAP_MINT != 0) {
            _mint(address(0), BOOTSTRAP_MINT);

            emit BootstrapMintPerformed(caller_, receiver_, assets_, shares_, BOOTSTRAP_MINT);

            shares_ -= BOOTSTRAP_MINT;
        }

        _mint(receiver_, shares_);

        emit Deposit(caller_, receiver_, assets_, shares_);

        require(ERC20Helper.transferFrom(asset, caller_, address(this), assets_), "P:M:TRANSFER_FROM");
    }

    function _requestRedeem(uint256 shares_, address owner_) internal returns (uint256 escrowShares_) {
        address destination_;

        ( escrowShares_, destination_ ) = IPoolManagerLike(manager).getEscrowParams(owner_, shares_);

        if (msg.sender != owner_) {
            _decreaseAllowance(owner_, msg.sender, escrowShares_);
        }

        if (escrowShares_ != 0 && destination_ != address(0)) {
            _transfer(owner_, destination_, escrowShares_);
        }

        IPoolManagerLike(manager).requestRedeem(escrowShares_, owner_, msg.sender);
    }

    function _requestWithdraw(uint256 assets_, address owner_) internal returns (uint256 escrowShares_) {
        address destination_;

        ( escrowShares_, destination_ ) = IPoolManagerLike(manager).getEscrowParams(owner_, convertToExitShares(assets_));

        if (msg.sender != owner_) {
            _decreaseAllowance(owner_, msg.sender, escrowShares_);
        }

        if (escrowShares_ != 0 && destination_ != address(0)) {
            _transfer(owner_, destination_, escrowShares_);
        }

        IPoolManagerLike(manager).requestWithdraw(escrowShares_, assets_, owner_, msg.sender);
    }

    /******************************************************************************************************************************/
    /*** External View Functions                                                                                                ***/
    /******************************************************************************************************************************/

    function balanceOfAssets(address account_) external view override returns (uint256 balanceOfAssets_) {
        balanceOfAssets_ = convertToAssets(balanceOf[account_]);
    }

    function maxDeposit(address receiver_) external view override returns (uint256 maxAssets_) {
        maxAssets_ = IPoolManagerLike(manager).maxDeposit(receiver_);
    }

    function maxMint(address receiver_) external view override returns (uint256 maxShares_) {
        maxShares_ = IPoolManagerLike(manager).maxMint(receiver_);
    }

    function maxRedeem(address owner_) external view override returns (uint256 maxShares_) {
        maxShares_ = IPoolManagerLike(manager).maxRedeem(owner_);
    }

    function maxWithdraw(address owner_) external view override returns (uint256 maxAssets_) {
        maxAssets_ = IPoolManagerLike(manager).maxWithdraw(owner_);
    }

    function previewRedeem(uint256 shares_) external view override returns (uint256 assets_) {
        assets_ = IPoolManagerLike(manager).previewRedeem(msg.sender, shares_);
    }

    function previewWithdraw(uint256 assets_) external view override returns (uint256 shares_) {
        shares_ = IPoolManagerLike(manager).previewWithdraw(msg.sender, assets_);
    }

    /******************************************************************************************************************************/
    /*** Public View Functions                                                                                                  ***/
    /******************************************************************************************************************************/

    function convertToAssets(uint256 shares_) public view override returns (uint256 assets_) {
        uint256 totalSupply_ = totalSupply;

        assets_ = totalSupply_ == 0 ? shares_ : (shares_ * totalAssets()) / totalSupply_;
    }

    function convertToExitAssets(uint256 shares_) public view override returns (uint256 assets_) {
        uint256 totalSupply_ = totalSupply;

        assets_ = totalSupply_ == 0 ? shares_ : shares_ * (totalAssets() - unrealizedLosses()) / totalSupply_;
    }

    function convertToShares(uint256 assets_) public view override returns (uint256 shares_) {
        uint256 totalSupply_ = totalSupply;

        shares_ = totalSupply_ == 0 ? assets_ : (assets_ * totalSupply_) / totalAssets();
    }

    function convertToExitShares(uint256 amount_) public view override returns (uint256 shares_) {
        shares_ = _divRoundUp(amount_ * totalSupply, totalAssets() - unrealizedLosses());
    }

    function previewDeposit(uint256 assets_) public view override returns (uint256 shares_) {
        // As per https://eips.ethereum.org/EIPS/eip-4626#security-considerations,
        // it should round DOWN if it’s calculating the amount of shares to issue to a user, given an amount of assets provided.
        shares_ = convertToShares(assets_);
    }

    function previewMint(uint256 shares_) public view override returns (uint256 assets_) {
        uint256 totalSupply_ = totalSupply;

        // As per https://eips.ethereum.org/EIPS/eip-4626#security-considerations,
        // it should round UP if it’s calculating the amount of assets a user must provide, to be issued a given amount of shares.
        assets_ = totalSupply_ == 0 ? shares_ : _divRoundUp(shares_ * totalAssets(), totalSupply_);
    }

    function totalAssets() public view override returns (uint256 totalAssets_) {
        totalAssets_ = IPoolManagerLike(manager).totalAssets();
    }

    function unrealizedLosses() public view override returns (uint256 unrealizedLosses_) {
        unrealizedLosses_ = IPoolManagerLike(manager).unrealizedLosses();
    }

}

File 2 of 8 : IERC4626.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.7;

import { IERC20 } from "../../modules/erc20/contracts/interfaces/IERC20.sol";

/// @title A standard for tokenized Vaults with a single underlying ERC-20 token.
interface IERC4626 is IERC20 {

    /******************************************************************************************************************************/
    /*** Events                                                                                                                  ***/
    /******************************************************************************************************************************/

    /**
     *  @dev   `caller_` has exchanged `assets_` for `shares_` and transferred them to `owner_`.
     *         MUST be emitted when assets are deposited via the `deposit` or `mint` methods.
     *  @param caller_ The caller of the function that emitted the `Deposit` event.
     *  @param owner_  The owner of the shares.
     *  @param assets_ The amount of assets deposited.
     *  @param shares_ The amount of shares minted.
     */
    event Deposit(address indexed caller_, address indexed owner_, uint256 assets_, uint256 shares_);

    /**
     *  @dev   `caller_` has exchanged `shares_`, owned by `owner_`, for `assets_`, and transferred them to `receiver_`.
     *         MUST be emitted when assets are withdrawn via the `withdraw` or `redeem` methods.
     *  @param caller_   The caller of the function that emitted the `Withdraw` event.
     *  @param receiver_ The receiver of the assets.
     *  @param owner_    The owner of the shares.
     *  @param assets_   The amount of assets withdrawn.
     *  @param shares_   The amount of shares burned.
     */
    event Withdraw(address indexed caller_, address indexed receiver_, address indexed owner_, uint256 assets_, uint256 shares_);

    /******************************************************************************************************************************/
    /*** State Variables                                                                                                        ***/
    /******************************************************************************************************************************/

    /**
     *  @dev    The address of the underlying asset used by the Vault.
     *          MUST be a contract that implements the ERC-20 standard.
     *          MUST NOT revert.
     *  @return asset_ The address of the underlying asset.
     */
    function asset() external view returns (address asset_);

    /******************************************************************************************************************************/
    /*** State Changing Functions                                                                                               ***/
    /******************************************************************************************************************************/

    /**
     *  @dev    Mints `shares_` to `receiver_` by depositing `assets_` into the Vault.
     *          MUST emit the {Deposit} event.
     *          MUST revert if all of the assets cannot be deposited (due to insufficient approval, deposit limits, slippage, etc).
     *  @param  assets_   The amount of assets to deposit.
     *  @param  receiver_ The receiver of the shares.
     *  @return shares_   The amount of shares minted.
     */
    function deposit(uint256 assets_, address receiver_) external returns (uint256 shares_);

    /**
     *  @dev    Mints `shares_` to `receiver_` by depositing `assets_` into the Vault.
     *          MUST emit the {Deposit} event.
     *          MUST revert if all of shares cannot be minted (due to insufficient approval, deposit limits, slippage, etc).
     *  @param  shares_   The amount of shares to mint.
     *  @param  receiver_ The receiver of the shares.
     *  @return assets_   The amount of assets deposited.
     */
    function mint(uint256 shares_, address receiver_) external returns (uint256 assets_);

    /**
     *  @dev    Burns `shares_` from `owner_` and sends `assets_` to `receiver_`.
     *          MUST emit the {Withdraw} event.
     *          MUST revert if all of the shares cannot be redeemed (due to insufficient shares, withdrawal limits, slippage, etc).
     *  @param  shares_   The amount of shares to redeem.
     *  @param  receiver_ The receiver of the assets.
     *  @param  owner_    The owner of the shares.
     *  @return assets_   The amount of assets sent to the receiver.
     */
    function redeem(uint256 shares_, address receiver_, address owner_) external returns (uint256 assets_);

    /**
     *  @dev    Burns `shares_` from `owner_` and sends `assets_` to `receiver_`.
     *          MUST emit the {Withdraw} event.
     *          MUST revert if all of the assets cannot be withdrawn (due to insufficient assets, withdrawal limits, slippage, etc).
     *  @param  assets_   The amount of assets to withdraw.
     *  @param  receiver_ The receiver of the assets.
     *  @param  owner_    The owner of the assets.
     *  @return shares_   The amount of shares burned from the owner.
     */
    function withdraw(uint256 assets_, address receiver_, address owner_) external returns (uint256 shares_);

    /******************************************************************************************************************************/
    /*** View Functions                                                                                                         ***/
    /******************************************************************************************************************************/

    /**
     *  @dev    The amount of `assets_` the `shares_` are currently equivalent to.
     *          MUST NOT be inclusive of any fees that are charged against assets in the Vault.
     *          MUST NOT reflect slippage or other on-chain conditions when performing the actual exchange.
     *          MUST NOT show any variations depending on the caller.
     *          MUST NOT revert.
     *  @param  shares_ The amount of shares to convert.
     *  @return assets_ The amount of equivalent assets.
     */
    function convertToAssets(uint256 shares_) external view returns (uint256 assets_);

    /**
     *  @dev    The amount of `shares_` the `assets_` are currently equivalent to.
     *          MUST NOT be inclusive of any fees that are charged against assets in the Vault.
     *          MUST NOT reflect slippage or other on-chain conditions when performing the actual exchange.
     *          MUST NOT show any variations depending on the caller.
     *          MUST NOT revert.
     *  @param  assets_ The amount of assets to convert.
     *  @return shares_ The amount of equivalent shares.
     */
    function convertToShares(uint256 assets_) external view returns (uint256 shares_);

    /**
     *  @dev    Maximum amount of `assets_` that can be deposited on behalf of the `receiver_` through a `deposit` call.
     *          MUST return a limited value if the receiver is subject to any limits, or the maximum value otherwise.
     *          MUST NOT revert.
     *  @param  receiver_ The receiver of the assets.
     *  @return assets_   The maximum amount of assets that can be deposited.
     */
    function maxDeposit(address receiver_) external view returns (uint256 assets_);

    /**
     *  @dev    Maximum amount of `shares_` that can be minted on behalf of the `receiver_` through a `mint` call.
     *          MUST return a limited value if the receiver is subject to any limits, or the maximum value otherwise.
     *          MUST NOT revert.
     *  @param  receiver_ The receiver of the shares.
     *  @return shares_   The maximum amount of shares that can be minted.
     */
    function maxMint(address receiver_) external view returns (uint256 shares_);

    /**
     *  @dev    Maximum amount of `shares_` that can be redeemed from the `owner_` through a `redeem` call.
     *          MUST return a limited value if the owner is subject to any limits, or the total amount of owned shares otherwise.
     *          MUST NOT revert.
     *  @param  owner_  The owner of the shares.
     *  @return shares_ The maximum amount of shares that can be redeemed.
     */
    function maxRedeem(address owner_) external view returns (uint256 shares_);

    /**
     *  @dev    Maximum amount of `assets_` that can be withdrawn from the `owner_` through a `withdraw` call.
     *          MUST return a limited value if the owner is subject to any limits, or the total amount of owned assets otherwise.
     *          MUST NOT revert.
     *  @param  owner_  The owner of the assets.
     *  @return assets_ The maximum amount of assets that can be withdrawn.
     */
    function maxWithdraw(address owner_) external view returns (uint256 assets_);

    /**
     *  @dev    Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given current on-chain conditions.
     *          MUST return as close to and no more than the exact amount of shares that would be minted in a `deposit` call in the same transaction.
     *          MUST NOT account for deposit limits like those returned from `maxDeposit` and should always act as though the deposit would be accepted.
     *  @param  assets_ The amount of assets to deposit.
     *  @return shares_ The amount of shares that would be minted.
     */
    function previewDeposit(uint256 assets_) external view returns (uint256 shares_);

    /**
     *  @dev    Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given current on-chain conditions.
     *          MUST return as close to and no fewer than the exact amount of assets that would be deposited in a `mint` call in the same transaction.
     *          MUST NOT account for mint limits like those returned from `maxMint` and should always act as though the minting would be accepted.
     *  @param  shares_ The amount of shares to mint.
     *  @return assets_ The amount of assets that would be deposited.
     */
    function previewMint(uint256 shares_) external view returns (uint256 assets_);

    /**
     *  @dev    Allows an on-chain or off-chain user to simulate the effects of their redemption at the current block, given current on-chain conditions.
     *          MUST return as close to and no more than the exact amount of assets that would be withdrawn in a `redeem` call in the same transaction.
     *          MUST NOT account for redemption limits like those returned from `maxRedeem` and should always act as though the redemption would be accepted.
     *  @param  shares_ The amount of shares to redeem.
     *  @return assets_ The amount of assets that would be withdrawn.
     */
    function previewRedeem(uint256 shares_) external view returns (uint256 assets_);

    /**
     *  @dev    Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block, given current on-chain conditions.
     *          MUST return as close to and no fewer than the exact amount of shares that would be burned in a `withdraw` call in the same transaction.
     *          MUST NOT account for withdrawal limits like those returned from `maxWithdraw` and should always act as though the withdrawal would be accepted.
     *  @param  assets_ The amount of assets to withdraw.
     *  @return shares_ The amount of shares that would be redeemed.
     */
    function previewWithdraw(uint256 assets_) external view returns (uint256 shares_);

    /**
     *  @dev    Total amount of the underlying asset that is managed by the Vault.
     *          SHOULD include compounding that occurs from any yields.
     *          MUST NOT revert.
     *  @return totalAssets_ The total amount of assets the Vault manages.
     */
    function totalAssets() external view returns (uint256 totalAssets_);

}

File 3 of 8 : IPool.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.7;

import { IERC20 } from "../../modules/erc20/contracts/interfaces/IERC20.sol";

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

interface IPool is IERC20, IERC4626 {

    /******************************************************************************************************************************/
    /*** Events                                                                                                                 ***/
    /******************************************************************************************************************************/

    /**
     *  @dev   Initial shares amount was minted to the zero address to prevent the first depositor frontrunning exploit.
     *  @param caller_              The caller of the function that emitted the `BootstrapMintPerformed` event.
     *  @param receiver_            The user that was minted the shares.
     *  @param assets_              The amount of assets deposited.
     *  @param shares_              The amount of shares that would have been minted to the user if it was not the first deposit.
     *  @param bootStrapMintAmount_ The amount of shares that was minted to the zero address to protect the first depositor.
     */
    event BootstrapMintPerformed(address indexed caller_, address indexed receiver_, uint256 assets_, uint256 shares_, uint256 bootStrapMintAmount_);

    /**
     *  @dev   `newOwner_` has accepted the transferral of RDT ownership from `previousOwner_`.
     *  @param previousOwner_ The previous RDT owner.
     *  @param newOwner_      The new RDT owner.
     */
    event OwnershipAccepted(address indexed previousOwner_, address indexed newOwner_);

    /**
     *  @dev   `owner_` has set the new pending owner of RDT to `pendingOwner_`.
     *  @param owner_        The current RDT owner.
     *  @param pendingOwner_ The new pending RDT owner.
     */
    event PendingOwnerSet(address indexed owner_, address indexed pendingOwner_);

    /**
     *  @dev   A new redemption request has been made.
     *  @param owner_          The owner of shares.
     *  @param shares_         The amount of shares requested to redeem.
     *  @param escrowedShares_ The amount of shares actually escrowed for this withdrawal request.
     */
    event RedemptionRequested(address indexed owner_, uint256 shares_, uint256 escrowedShares_);

    /**
     *  @dev   Shares have been removed.
     *  @param owner_  The owner of shares.
     *  @param shares_ The amount of shares requested to be removed.
     */
    event SharesRemoved(address indexed owner_, uint256 shares_);

    /**
     *  @dev   A new withdrawal request has been made.
     *  @param owner_          The owner of shares.
     *  @param assets_         The amount of assets requested to withdraw.
     *  @param escrowedShares_ The amount of shares actually escrowed for this withdrawal request.
     */
    event WithdrawRequested(address indexed owner_, uint256 assets_, uint256 escrowedShares_);

    /******************************************************************************************************************************/
    /*** State Variables                                                                                                        ***/
    /******************************************************************************************************************************/

    /**
     *  @dev    The amount of shares that will be burned during the first deposit/mint.
     *  @return bootstrapMint_ The amount of shares to be burned.
     */
    function BOOTSTRAP_MINT() external view returns (uint256 bootstrapMint_);

    /**
     *  @dev    The address of the account that is allowed to update the vesting schedule.
     *  @return manager_ The address of the pool manager.
     */
    function manager() external view returns (address manager_);

    /******************************************************************************************************************************/
    /*** LP Functions                                                                                                           ***/
    /******************************************************************************************************************************/

    /**
     *  @dev    Does a ERC4626 `deposit` with a ERC-2612 `permit`.
     *  @param  assets_   The amount of `asset` to deposit.
     *  @param  receiver_ The receiver of the shares.
     *  @param  deadline_ The timestamp after which the `permit` signature is no longer valid.
     *  @param  v_        ECDSA signature v component.
     *  @param  r_        ECDSA signature r component.
     *  @param  s_        ECDSA signature s component.
     *  @return shares_   The amount of shares minted.
     */
    function depositWithPermit(uint256 assets_, address receiver_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) external returns (uint256 shares_);

    /**
     *  @dev    Does a ERC4626 `mint` with a ERC-2612 `permit`.
     *  @param  shares_    The amount of `shares` to mint.
     *  @param  receiver_  The receiver of the shares.
     *  @param  maxAssets_ The maximum amount of assets that can be taken, as per the permit.
     *  @param  deadline_  The timestamp after which the `permit` signature is no longer valid.
     *  @param  v_         ECDSA signature v component.
     *  @param  r_         ECDSA signature r component.
     *  @param  s_         ECDSA signature s component.
     *  @return assets_    The amount of shares deposited.
     */
    function mintWithPermit(uint256 shares_, address receiver_, uint256 maxAssets_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) external returns (uint256 assets_);

    /******************************************************************************************************************************/
    /*** Withdrawal Request Functions                                                                                           ***/
    /******************************************************************************************************************************/

    /**
     *  @dev    Removes shares from the withdrawal mechanism, can only be called after the beginning of the withdrawal window has passed.
     *  @param  shares_         The amount of shares to redeem.
     *  @param  owner_          The owner of the shares.
     *  @return sharesReturned_ The amount of shares withdrawn.
     */
    function removeShares(uint256 shares_, address owner_) external returns (uint256 sharesReturned_);

    /**
     *  @dev    Requests a withdrawal of assets from the pool.
     *  @param  assets_       The amount of assets to withdraw.
     *  @param  owner_        The owner of the shares.
     *  @return escrowShares_ The amount of shares sent to escrow.
     */
    function requestWithdraw(uint256 assets_, address owner_) external returns (uint256 escrowShares_);

    /**
     *  @dev    Requests a redemption of shares from the pool.
     *  @param  shares_       The amount of shares to redeem.
     *  @param  owner_        The owner of the shares.
     *  @return escrowShares_ The amount of shares sent to escrow.
     */
    function requestRedeem(uint256 shares_, address owner_) external returns (uint256 escrowShares_);

    /******************************************************************************************************************************/
    /*** View Functions                                                                                                         ***/
    /******************************************************************************************************************************/

    /**
     *  @dev    Returns the amount of underlying assets owned by the specified account.
     *  @param  account_ Address of the account.
     *  @return assets_  Amount of assets owned.
     */
    function balanceOfAssets(address account_) external view returns (uint256 assets_);

    /**
     *  @dev    Returns the amount of exit assets for the input amount.
     *  @param  shares_ The amount of shares to convert to assets.
     *  @return assets_ Amount of assets able to be exited.
     */
    function convertToExitAssets(uint256 shares_) external view returns (uint256 assets_);

    /**
     *  @dev    Returns the amount of exit shares for the input amount.
     *  @param  assets_ The amount of assets to convert to shares.
     *  @return shares_ Amount of shares able to be exited.
     */
    function convertToExitShares(uint256 assets_) external view returns (uint256 shares_);

    /**
     *  @dev    Returns the amount unrealized losses.
     *  @return unrealizedLosses_ Amount of unrealized losses.
     */
    function unrealizedLosses() external view returns (uint256 unrealizedLosses_);

}

File 4 of 8 : Interfaces.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.7;

interface IERC20Like {

    function balanceOf(address account_) external view returns (uint256 balance_);

    function decimals() external view returns (uint8 decimals_);

    function totalSupply() external view returns (uint256 totalSupply_);

}

interface ILoanManagerLike {

    function acceptNewTerms(
        address loan_,
        address refinancer_,
        uint256 deadline_,
        bytes[] calldata calls_
    ) external;

    function assetsUnderManagement() external view returns (uint256 assetsUnderManagement_);

    function claim(address loan_, bool hasSufficientCover_) external;

    function finishCollateralLiquidation(address loan_) external returns (uint256 remainingLosses_, uint256 serviceFee_);

    function fund(address loan_) external;

    function removeLoanImpairment(address loan_, bool isGovernor_) external;

    function setAllowedSlippage(address collateralAsset_, uint256 allowedSlippage_) external;

    function setMinRatio(address collateralAsset_, uint256 minRatio_) external;

    function impairLoan(address loan_, bool isGovernor_) external;

    function triggerDefault(address loan_, address liquidatorFactory_) external returns (bool liquidationComplete_, uint256 remainingLosses_, uint256 platformFees_);

    function unrealizedLosses() external view returns (uint256 unrealizedLosses_);

}

interface ILoanManagerInitializerLike {

    function encodeArguments(address pool_) external pure returns (bytes memory calldata_);

    function decodeArguments(bytes calldata calldata_) external pure returns (address pool_);

}

interface ILiquidatorLike {

    function collateralRemaining() external view returns (uint256 collateralRemaining_);

    function liquidatePortion(uint256 swapAmount_, uint256 maxReturnAmount_, bytes calldata data_) external;

    function pullFunds(address token_, address destination_, uint256 amount_) external;

    function setCollateralRemaining(uint256 collateralAmount_) external;

}

interface IMapleGlobalsLike {

    function bootstrapMint(address asset_) external view returns (uint256 bootstrapMint_);

    function getLatestPrice(address asset_) external view returns (uint256 price_);

    function governor() external view returns (address governor_);

    function isBorrower(address account_) external view returns (bool isBorrower_);

    function isFactory(bytes32 factoryId_, address factory_) external view returns (bool isValid_);

    function isPoolAsset(address asset_) external view returns (bool isPoolAsset_);

    function isPoolDelegate(address account_) external view returns (bool isPoolDelegate_);

    function isPoolDeployer(address poolDeployer_) external view returns (bool isPoolDeployer_);

    function isValidScheduledCall(address caller_, address contract_, bytes32 functionId_, bytes calldata callData_) external view returns (bool isValid_);

    function platformManagementFeeRate(address poolManager_) external view returns (uint256 platformManagementFeeRate_);

    function maxCoverLiquidationPercent(address poolManager_) external view returns (uint256 maxCoverLiquidationPercent_);

    function migrationAdmin() external view returns (address migrationAdmin_);

    function minCoverAmount(address poolManager_) external view returns (uint256 minCoverAmount_);

    function mapleTreasury() external view returns (address mapleTreasury_);

    function ownedPoolManager(address poolDelegate_) external view returns (address poolManager_);

    function protocolPaused() external view returns (bool protocolPaused_);

    function transferOwnedPoolManager(address fromPoolDelegate_, address toPoolDelegate_) external;

    function unscheduleCall(address caller_, bytes32 functionId_, bytes calldata callData_) external;

}

interface IMapleLoanLike {

    function acceptLender() external;

    function acceptNewTerms(address refinancer_, uint256 deadline_, bytes[] calldata calls_) external returns (bytes32 refinanceCommitment_);

    function batchClaimFunds(uint256[] memory amounts_, address[] memory destinations_) external;

    function borrower() external view returns (address borrower_);

    function claimFunds(uint256 amount_, address destination_) external;

    function collateral() external view returns (uint256 collateral);

    function collateralAsset() external view returns(address asset_);

    function feeManager() external view returns (address feeManager_);

    function fundsAsset() external view returns (address asset_);

    function fundLoan(address lender_) external returns (uint256 fundsLent_);

    function getClosingPaymentBreakdown() external view returns (
        uint256 principal_,
        uint256 interest_,
        uint256 delegateServiceFee_,
        uint256 platformServiceFee_
    );

    function getNextPaymentDetailedBreakdown() external view returns (
        uint256 principal_,
        uint256[3] memory interest_,
        uint256[2] memory fees_
    );

    function getNextPaymentBreakdown() external view returns (
        uint256 principal_,
        uint256 interest_,
        uint256 fees_
    );

    function getUnaccountedAmount(address asset_) external view returns (uint256 unaccountedAmount_);

    function gracePeriod() external view returns (uint256 gracePeriod_);

    function interestRate() external view returns (uint256 interestRate_);

    function isImpaired() external view returns (bool isImpaired_);

    function lateFeeRate() external view returns (uint256 lateFeeRate_);

    function lender() external view returns (address lender_);

    function nextPaymentDueDate() external view returns (uint256 nextPaymentDueDate_);

    function originalNextPaymentDueDate() external view returns (uint256 originalNextPaymentDueDate_);

    function paymentInterval() external view returns (uint256 paymentInterval_);

    function paymentsRemaining() external view returns (uint256 paymentsRemaining_);

    function principal() external view returns (uint256 principal_);

    function principalRequested() external view returns (uint256 principalRequested_);

    function refinanceInterest() external view returns (uint256 refinanceInterest_);

    function removeLoanImpairment() external;

    function repossess(address destination_) external returns (uint256 collateralRepossessed_, uint256 fundsRepossessed_);

    function setPendingLender(address pendingLender_) external;

    function skim(address token_, address destination_) external returns (uint256 skimmed_);

    function impairLoan() external;

    function unimpairedPaymentDueDate() external view returns (uint256 unimpairedPaymentDueDate_);

}

interface IMapleLoanV3Like {

    function acceptLender() external;

    function getNextPaymentBreakdown() external view returns (uint256 principal_, uint256 interest_, uint256, uint256);

    function nextPaymentDueDate() external view returns (uint256 nextPaymentDueDate_);

    function paymentInterval() external view returns (uint256 paymentInterval_);

    function principal() external view returns (uint256 principal_);

    function refinanceInterest() external view returns (uint256 refinanceInterest_);

    function setPendingLender(address pendingLender_) external;

}

interface IMapleProxyFactoryLike {

    function mapleGlobals() external view returns (address mapleGlobals_);

}

interface ILoanFactoryLike {

    function isLoan(address loan_) external view returns (bool isLoan_);

}

interface IPoolDelegateCoverLike {

    function moveFunds(uint256 amount_, address recipient_) external;

}

interface IPoolLike is IERC20Like {

    function allowance(address owner_, address spender_) external view returns (uint256 allowance_);

    function asset() external view returns (address asset_);

    function convertToAssets(uint256 shares_) external view returns (uint256 assets_);

    function convertToExitAssets(uint256 shares_) external view returns (uint256 assets_);

    function convertToExitShares(uint256 assets_) external view returns (uint256 shares_);

    function deposit(uint256 assets_, address receiver_) external returns (uint256 shares_);

    function manager() external view returns (address manager_);

    function previewDeposit(uint256 assets_) external view returns (uint256 shares_);

    function previewMint(uint256 shares_) external view returns (uint256 assets_);

    function processExit(uint256 shares_, uint256 assets_, address receiver_, address owner_) external;

    function redeem(uint256 shares_, address receiver_, address owner_) external returns (uint256 assets_);

}

interface IPoolManagerLike {

    function addLoanManager(address loanManager_) external;

    function canCall(bytes32 functionId_, address caller_, bytes memory data_) external view returns (bool canCall_, string memory errorMessage_);

    function convertToExitShares(uint256 assets_) external view returns (uint256 shares_);

    function claim(address loan_) external;

    function delegateManagementFeeRate() external view returns (uint256 delegateManagementFeeRate_);

    function fund(uint256 principalAmount_, address loan_, address loanManager_) external;

    function getEscrowParams(address owner_, uint256 shares_) external view returns (uint256 escrowShares_, address escrow_);

    function globals() external view returns (address globals_);

    function hasSufficientCover() external view returns (bool hasSufficientCover_);

    function loanManager() external view returns (address loanManager_);

    function maxDeposit(address receiver_) external view returns (uint256 maxAssets_);

    function maxMint(address receiver_) external view returns (uint256 maxShares_);

    function maxRedeem(address owner_) external view returns (uint256 maxShares_);

    function maxWithdraw(address owner_) external view returns (uint256 maxAssets_);

    function previewRedeem(address owner_, uint256 shares_) external view returns (uint256 assets_);

    function previewWithdraw(address owner_, uint256 assets_) external view returns (uint256 shares_);

    function processRedeem(uint256 shares_, address owner_, address sender_) external returns (uint256 redeemableShares_, uint256 resultingAssets_);

    function processWithdraw(uint256 assets_, address owner_, address sender_) external returns (uint256 redeemableShares_, uint256 resultingAssets_);

    function poolDelegate() external view returns (address poolDelegate_);

    function poolDelegateCover() external view returns (address poolDelegateCover_);

    function removeLoanManager(address loanManager_) external;

    function removeShares(uint256 shares_, address owner_) external returns (uint256 sharesReturned_);

    function requestRedeem(uint256 shares_, address owner_, address sender_) external;

    function requestWithdraw(uint256 shares_, uint256 assets_, address owner_, address sender_) external;

    function setWithdrawalManager(address withdrawalManager_) external;

    function totalAssets() external view returns (uint256 totalAssets_);

    function unrealizedLosses() external view returns (uint256 unrealizedLosses_);

    function withdrawalManager() external view returns (address withdrawalManager_);

}

interface IWithdrawalManagerInitializerLike {

    function encodeArguments(address pool_, uint256 cycleDuration_, uint256 windowDuration_) external pure returns (bytes memory calldata_);

    function decodeArguments(bytes calldata calldata_) external pure returns (address pool_, uint256 cycleDuration_, uint256 windowDuration_);

}

interface IWithdrawalManagerLike {

    function addShares(uint256 shares_, address owner_) external;

    function isInExitWindow(address owner_) external view returns (bool isInExitWindow_);

    function lockedLiquidity() external view returns (uint256 lockedLiquidity_);

    function lockedShares(address owner_) external view returns (uint256 lockedShares_);

    function previewRedeem(address owner_, uint256 shares) external view returns (uint256 redeemableShares, uint256 resultingAssets_);

    function previewWithdraw(address owner_, uint256 assets_) external view returns (uint256 redeemableAssets_, uint256 resultingShares_);

    function processExit(uint256 shares_, address account_) external returns (uint256 redeemableShares_, uint256 resultingAssets_);

    function removeShares(uint256 shares_, address owner_) external returns (uint256 sharesReturned_);

}

File 5 of 8 : ERC20.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.7;

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

/*
    ███████╗██████╗  ██████╗    ██████╗  ██████╗
    ██╔════╝██╔══██╗██╔════╝    ╚════██╗██╔═████╗
    █████╗  ██████╔╝██║          █████╔╝██║██╔██║
    ██╔══╝  ██╔══██╗██║         ██╔═══╝ ████╔╝██║
    ███████╗██║  ██║╚██████╗    ███████╗╚██████╔╝
    ╚══════╝╚═╝  ╚═╝ ╚═════╝    ╚══════╝ ╚═════╝
*/

/**
 *  @title Modern ERC-20 implementation.
 *  @dev   Acknowledgements to Solmate, OpenZeppelin, and DSS for inspiring this code.
 */
contract ERC20 is IERC20 {

    /**************/
    /*** ERC-20 ***/
    /**************/

    string public override name;
    string public override symbol;

    uint8 public immutable override decimals;

    uint256 public override totalSupply;

    mapping(address => uint256) public override balanceOf;

    mapping(address => mapping(address => uint256)) public override allowance;

    /****************/
    /*** ERC-2612 ***/
    /****************/

    // PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant override PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    mapping(address => uint256) public override nonces;

    /**
     *  @param name_     The name of the token.
     *  @param symbol_   The symbol of the token.
     *  @param decimals_ The decimal precision used by the token.
     */
    constructor(string memory name_, string memory symbol_, uint8 decimals_) {
        name     = name_;
        symbol   = symbol_;
        decimals = decimals_;
    }

    /**************************/
    /*** External Functions ***/
    /**************************/

    function approve(address spender_, uint256 amount_) public virtual override returns (bool success_) {
        _approve(msg.sender, spender_, amount_);
        return true;
    }

    function decreaseAllowance(address spender_, uint256 subtractedAmount_) public virtual override returns (bool success_) {
        _decreaseAllowance(msg.sender, spender_, subtractedAmount_);
        return true;
    }

    function increaseAllowance(address spender_, uint256 addedAmount_) public virtual override returns (bool success_) {
        _approve(msg.sender, spender_, allowance[msg.sender][spender_] + addedAmount_);
        return true;
    }

    function permit(address owner_, address spender_, uint256 amount_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) public virtual override {
        require(deadline_ >= block.timestamp, "ERC20:P:EXPIRED");

        // Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}.
        require(
            uint256(s_) <= uint256(0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) &&
            (v_ == 27 || v_ == 28),
            "ERC20:P:MALLEABLE"
        );

        // Nonce realistically cannot overflow.
        unchecked {
            bytes32 digest = keccak256(
                abi.encodePacked(
                    "\x19\x01",
                    DOMAIN_SEPARATOR(),
                    keccak256(abi.encode(PERMIT_TYPEHASH, owner_, spender_, amount_, nonces[owner_]++, deadline_))
                )
            );

            address recoveredAddress = ecrecover(digest, v_, r_, s_);

            require(recoveredAddress == owner_ && owner_ != address(0), "ERC20:P:INVALID_SIGNATURE");
        }

        _approve(owner_, spender_, amount_);
    }

    function transfer(address recipient_, uint256 amount_) public virtual override returns (bool success_) {
        _transfer(msg.sender, recipient_, amount_);
        return true;
    }

    function transferFrom(address owner_, address recipient_, uint256 amount_) public virtual override returns (bool success_) {
        _decreaseAllowance(owner_, msg.sender, amount_);
        _transfer(owner_, recipient_, amount_);
        return true;
    }

    /**********************/
    /*** View Functions ***/
    /**********************/

    function DOMAIN_SEPARATOR() public view override returns (bytes32 domainSeparator_) {
        return keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name)),
                keccak256(bytes("1")),
                block.chainid,
                address(this)
            )
        );
    }

    /**************************/
    /*** Internal Functions ***/
    /**************************/

    function _approve(address owner_, address spender_, uint256 amount_) internal {
        emit Approval(owner_, spender_, allowance[owner_][spender_] = amount_);
    }

    function _burn(address owner_, uint256 amount_) internal {
        balanceOf[owner_] -= amount_;

        // Cannot underflow because a user's balance will never be larger than the total supply.
        unchecked { totalSupply -= amount_; }

        emit Transfer(owner_, address(0), amount_);
    }

    function _decreaseAllowance(address owner_, address spender_, uint256 subtractedAmount_) internal {
        uint256 spenderAllowance = allowance[owner_][spender_];  // Cache to memory.

        if (spenderAllowance != type(uint256).max) {
            _approve(owner_, spender_, spenderAllowance - subtractedAmount_);
        }
    }

    function _mint(address recipient_, uint256 amount_) internal {
        totalSupply += amount_;

        // Cannot overflow because totalSupply would first overflow in the statement above.
        unchecked { balanceOf[recipient_] += amount_; }

        emit Transfer(address(0), recipient_, amount_);
    }

    function _transfer(address owner_, address recipient_, uint256 amount_) internal {
        balanceOf[owner_] -= amount_;

        // Cannot overflow because minting prevents overflow of totalSupply, and sum of user balances == totalSupply.
        unchecked { balanceOf[recipient_] += amount_; }

        emit Transfer(owner_, recipient_, amount_);
    }

}

File 6 of 8 : IERC20.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.7;

/// @title Interface of the ERC20 standard as defined in the EIP, including EIP-2612 permit functionality.
interface IERC20 {

    /**************/
    /*** Events ***/
    /**************/

    /**
     *  @dev   Emitted when one account has set the allowance of another account over their tokens.
     *  @param owner_   Account that tokens are approved from.
     *  @param spender_ Account that tokens are approved for.
     *  @param amount_  Amount of tokens that have been approved.
     */
    event Approval(address indexed owner_, address indexed spender_, uint256 amount_);

    /**
     *  @dev   Emitted when tokens have moved from one account to another.
     *  @param owner_     Account that tokens have moved from.
     *  @param recipient_ Account that tokens have moved to.
     *  @param amount_    Amount of tokens that have been transferred.
     */
    event Transfer(address indexed owner_, address indexed recipient_, uint256 amount_);

    /**************************/
    /*** External Functions ***/
    /**************************/

    /**
     *  @dev    Function that allows one account to set the allowance of another account over their tokens.
     *          Emits an {Approval} event.
     *  @param  spender_ Account that tokens are approved for.
     *  @param  amount_  Amount of tokens that have been approved.
     *  @return success_ Boolean indicating whether the operation succeeded.
     */
    function approve(address spender_, uint256 amount_) external returns (bool success_);

    /**
     *  @dev    Function that allows one account to decrease the allowance of another account over their tokens.
     *          Emits an {Approval} event.
     *  @param  spender_          Account that tokens are approved for.
     *  @param  subtractedAmount_ Amount to decrease approval by.
     *  @return success_          Boolean indicating whether the operation succeeded.
     */
    function decreaseAllowance(address spender_, uint256 subtractedAmount_) external returns (bool success_);

    /**
     *  @dev    Function that allows one account to increase the allowance of another account over their tokens.
     *          Emits an {Approval} event.
     *  @param  spender_     Account that tokens are approved for.
     *  @param  addedAmount_ Amount to increase approval by.
     *  @return success_     Boolean indicating whether the operation succeeded.
     */
    function increaseAllowance(address spender_, uint256 addedAmount_) external returns (bool success_);

    /**
     *  @dev   Approve by signature.
     *  @param owner_    Owner address that signed the permit.
     *  @param spender_  Spender of the permit.
     *  @param amount_   Permit approval spend limit.
     *  @param deadline_ Deadline after which the permit is invalid.
     *  @param v_        ECDSA signature v component.
     *  @param r_        ECDSA signature r component.
     *  @param s_        ECDSA signature s component.
     */
    function permit(address owner_, address spender_, uint amount_, uint deadline_, uint8 v_, bytes32 r_, bytes32 s_) external;

    /**
     *  @dev    Moves an amount of tokens from `msg.sender` to a specified account.
     *          Emits a {Transfer} event.
     *  @param  recipient_ Account that receives tokens.
     *  @param  amount_    Amount of tokens that are transferred.
     *  @return success_   Boolean indicating whether the operation succeeded.
     */
    function transfer(address recipient_, uint256 amount_) external returns (bool success_);

    /**
     *  @dev    Moves a pre-approved amount of tokens from a sender to a specified account.
     *          Emits a {Transfer} event.
     *          Emits an {Approval} event.
     *  @param  owner_     Account that tokens are moving from.
     *  @param  recipient_ Account that receives tokens.
     *  @param  amount_    Amount of tokens that are transferred.
     *  @return success_   Boolean indicating whether the operation succeeded.
     */
    function transferFrom(address owner_, address recipient_, uint256 amount_) external returns (bool success_);

    /**********************/
    /*** View Functions ***/
    /**********************/

    /**
     *  @dev    Returns the allowance that one account has given another over their tokens.
     *  @param  owner_     Account that tokens are approved from.
     *  @param  spender_   Account that tokens are approved for.
     *  @return allowance_ Allowance that one account has given another over their tokens.
     */
    function allowance(address owner_, address spender_) external view returns (uint256 allowance_);

    /**
     *  @dev    Returns the amount of tokens owned by a given account.
     *  @param  account_ Account that owns the tokens.
     *  @return balance_ Amount of tokens owned by a given account.
     */
    function balanceOf(address account_) external view returns (uint256 balance_);

    /**
     *  @dev    Returns the decimal precision used by the token.
     *  @return decimals_ The decimal precision used by the token.
     */
    function decimals() external view returns (uint8 decimals_);

    /**
     *  @dev    Returns the signature domain separator.
     *  @return domainSeparator_ The signature domain separator.
     */
    function DOMAIN_SEPARATOR() external view returns (bytes32 domainSeparator_);

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

    /**
      *  @dev    Returns the nonce for the given owner.
      *  @param  owner_  The address of the owner account.
      *  @return nonce_ The nonce for the given owner.
     */
    function nonces(address owner_) external view returns (uint256 nonce_);

    /**
     *  @dev    Returns the permit type hash.
     *  @return permitTypehash_ The permit type hash.
     */
    function PERMIT_TYPEHASH() external view returns (bytes32 permitTypehash_);

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

    /**
     *  @dev    Returns the total amount of tokens in existence.
     *  @return totalSupply_ The total amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256 totalSupply_);

}

File 7 of 8 : ERC20Helper.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.7;

import { IERC20Like } from "./interfaces/IERC20Like.sol";

/**
 * @title Small Library to standardize erc20 token interactions.
 */
library ERC20Helper {

    /**************************/
    /*** Internal Functions ***/
    /**************************/

    function transfer(address token_, address to_, uint256 amount_) internal returns (bool success_) {
        return _call(token_, abi.encodeWithSelector(IERC20Like.transfer.selector, to_, amount_));
    }

    function transferFrom(address token_, address from_, address to_, uint256 amount_) internal returns (bool success_) {
        return _call(token_, abi.encodeWithSelector(IERC20Like.transferFrom.selector, from_, to_, amount_));
    }

    function approve(address token_, address spender_, uint256 amount_) internal returns (bool success_) {
        // If setting approval to zero fails, return false.
        if (!_call(token_, abi.encodeWithSelector(IERC20Like.approve.selector, spender_, uint256(0)))) return false;

        // If `amount_` is zero, return true as the previous step already did this.
        if (amount_ == uint256(0)) return true;

        // Return the result of setting the approval to `amount_`.
        return _call(token_, abi.encodeWithSelector(IERC20Like.approve.selector, spender_, amount_));
    }

    function _call(address token_, bytes memory data_) private returns (bool success_) {
        if (token_.code.length == uint256(0)) return false;

        bytes memory returnData;
        ( success_, returnData ) = token_.call(data_);

        return success_ && (returnData.length == uint256(0) || abi.decode(returnData, (bool)));
    }

}

File 8 of 8 : IERC20Like.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.7;

/// @title Interface of the ERC20 standard as needed by ERC20Helper.
interface IERC20Like {

    function approve(address spender_, uint256 amount_) external returns (bool success_);

    function transfer(address recipient_, uint256 amount_) external returns (bool success_);

    function transferFrom(address owner_, address recipient_, uint256 amount_) external returns (bool success_);

}

Settings
{
  "remappings": [
    "contract-test-utils/=modules/contract-test-utils/contracts/",
    "erc20-helper/=modules/erc20-helper/src/",
    "erc20/=modules/erc20/",
    "maple-proxy-factory/=modules/maple-proxy-factory/",
    "proxy-factory/=modules/maple-proxy-factory/modules/proxy-factory/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"manager_","type":"address"},{"internalType":"address","name":"asset_","type":"address"},{"internalType":"address","name":"destination_","type":"address"},{"internalType":"uint256","name":"bootstrapMint_","type":"uint256"},{"internalType":"uint256","name":"initialSupply_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":true,"internalType":"address","name":"spender_","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller_","type":"address"},{"indexed":true,"internalType":"address","name":"receiver_","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets_","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares_","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bootStrapMintAmount_","type":"uint256"}],"name":"BootstrapMintPerformed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller_","type":"address"},{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets_","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner_","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner_","type":"address"}],"name":"OwnershipAccepted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":true,"internalType":"address","name":"pendingOwner_","type":"address"}],"name":"PendingOwnerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares_","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"escrowedShares_","type":"uint256"}],"name":"RedemptionRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"SharesRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":true,"internalType":"address","name":"recipient_","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller_","type":"address"},{"indexed":true,"internalType":"address","name":"receiver_","type":"address"},{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets_","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets_","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"escrowedShares_","type":"uint256"}],"name":"WithdrawRequested","type":"event"},{"inputs":[],"name":"BOOTSTRAP_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"domainSeparator_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success_","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"asset","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"}],"name":"balanceOfAssets","outputs":[{"internalType":"uint256","name":"balanceOfAssets_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"convertToAssets","outputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"convertToExitAssets","outputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"convertToExitShares","outputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"name":"convertToShares","outputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"subtractedAmount_","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"success_","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets_","type":"uint256"},{"internalType":"address","name":"receiver_","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets_","type":"uint256"},{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint256","name":"deadline_","type":"uint256"},{"internalType":"uint8","name":"v_","type":"uint8"},{"internalType":"bytes32","name":"r_","type":"bytes32"},{"internalType":"bytes32","name":"s_","type":"bytes32"}],"name":"depositWithPermit","outputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"addedAmount_","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"success_","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver_","type":"address"}],"name":"maxDeposit","outputs":[{"internalType":"uint256","name":"maxAssets_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver_","type":"address"}],"name":"maxMint","outputs":[{"internalType":"uint256","name":"maxShares_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"maxRedeem","outputs":[{"internalType":"uint256","name":"maxShares_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"maxWithdraw","outputs":[{"internalType":"uint256","name":"maxAssets_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"},{"internalType":"address","name":"receiver_","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"},{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint256","name":"maxAssets_","type":"uint256"},{"internalType":"uint256","name":"deadline_","type":"uint256"},{"internalType":"uint8","name":"v_","type":"uint8"},{"internalType":"bytes32","name":"r_","type":"bytes32"},{"internalType":"bytes32","name":"s_","type":"bytes32"}],"name":"mintWithPermit","outputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"uint256","name":"deadline_","type":"uint256"},{"internalType":"uint8","name":"v_","type":"uint8"},{"internalType":"bytes32","name":"r_","type":"bytes32"},{"internalType":"bytes32","name":"s_","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"name":"previewDeposit","outputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"previewMint","outputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"previewRedeem","outputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"name":"previewWithdraw","outputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"},{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"assets_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"},{"internalType":"address","name":"owner_","type":"address"}],"name":"removeShares","outputs":[{"internalType":"uint256","name":"sharesReturned_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares_","type":"uint256"},{"internalType":"address","name":"owner_","type":"address"}],"name":"requestRedeem","outputs":[{"internalType":"uint256","name":"escrowedShares_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets_","type":"uint256"},{"internalType":"address","name":"owner_","type":"address"}],"name":"requestWithdraw","outputs":[{"internalType":"uint256","name":"escrowedShares_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"totalAssets_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success_","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success_","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrealizedLosses","outputs":[{"internalType":"uint256","name":"unrealizedLosses_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets_","type":"uint256"},{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"shares_","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

60c060405260016008553480156200001657600080fd5b506040516200351e3803806200351e833981016040819052620000399162000582565b8181876001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200007557600080fd5b505afa1580156200008a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b091906200065d565b8251620000c59060009060208601906200042e565b508151620000db9060019060208501906200042e565b5060f81b7fff00000000000000000000000000000000000000000000000000000000000000166080525050600780546001600160a01b0319166001600160a01b038916908117909155620001695760405162461bcd60e51b815260206004820152601060248201526f281d219d2d22a927afa6a0a720a3a2a960811b60448201526064015b60405180910390fd5b600680546001600160a01b0319166001600160a01b038816908117909155620001c65760405162461bcd60e51b815260206004820152600e60248201526d140e90ce96915493d7d054d4d15560921b604482015260640162000160565b8215620001d957620001d985846200024b565b8360a08181525050620001fb8688600019620002b860201b62001c871760201c565b6200023e5760405162461bcd60e51b8152602060048201526012602482015271503a433a4641494c45445f415050524f564560701b604482015260640162000160565b505050505050506200074d565b80600260008282546200025f9190620006a0565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6040516001600160a01b0383166024820152600060448201819052906200032190859063095ea7b360e01b906064015b60408051808303601f190181529190526020810180516001600160e01b0319939093166001600160e01b03938416179052906200037a16565b6200032f5750600062000373565b816200033e5750600162000373565b6040516001600160a01b0384166024820152604481018390526200037090859063095ea7b360e01b90606401620002e8565b90505b9392505050565b60006001600160a01b0383163b620003955750600062000428565b6060836001600160a01b031683604051620003b1919062000682565b6000604051808303816000865af19150503d8060008114620003f0576040519150601f19603f3d011682016040523d82523d6000602084013e620003f5565b606091505b509092509050818015620004245750805115806200042457508080602001905181019062000424919062000639565b9150505b92915050565b8280546200043c90620006fa565b90600052602060002090601f016020900481019282620004605760008555620004ab565b82601f106200047b57805160ff1916838001178555620004ab565b82800160010185558215620004ab579182015b82811115620004ab5782518255916020019190600101906200048e565b50620004b9929150620004bd565b5090565b5b80821115620004b95760008155600101620004be565b80516001600160a01b0381168114620004ec57600080fd5b919050565b600082601f8301126200050357600080fd5b81516001600160401b038082111562000520576200052062000737565b604051601f8301601f19908116603f011681019082821181831017156200054b576200054b62000737565b816040528381528660208588010111156200056557600080fd5b62000578846020830160208901620006c7565b9695505050505050565b600080600080600080600060e0888a0312156200059e57600080fd5b620005a988620004d4565b9650620005b960208901620004d4565b9550620005c960408901620004d4565b606089015160808a015160a08b015192975090955093506001600160401b0380821115620005f657600080fd5b620006048b838c01620004f1565b935060c08a01519150808211156200061b57600080fd5b506200062a8a828b01620004f1565b91505092959891949750929550565b6000602082840312156200064c57600080fd5b815180151581146200037357600080fd5b6000602082840312156200067057600080fd5b815160ff811681146200037357600080fd5b6000825162000696818460208701620006c7565b9190910192915050565b60008219821115620006c257634e487b7160e01b600052601160045260246000fd5b500190565b60005b83811015620006e4578181015183820152602001620006ca565b83811115620006f4576000848401525b50505050565b600181811c908216806200070f57607f821691505b602082108114156200073157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160f81c60a051612d8c62000792600039600081816105e80152818161201d0152818161204b015281816120a801526120f40152600061034a0152612d8c6000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80636e553f6511610146578063b460af94116100c3578063ce96cb7711610087578063ce96cb771461056a578063d505accf1461057d578063d905777e14610592578063dd62ed3e146105a5578063ef8b30f7146105d0578063f1a0e4cb146105e357600080fd5b8063b460af941461050b578063ba0876521461051e578063c63d75b614610531578063c6e6f59214610544578063ccc143b81461055757600080fd5b806395d89b411161010a57806395d89b41146104b7578063a457c2d7146104bf578063a58c3eff146104d2578063a9059cbb146104e5578063b3d7f6b9146104f857600080fd5b80636e553f651461043e57806370a08231146104515780637ecebe00146104715780639159b2061461049157806394bf804d146104a457600080fd5b8063313ce567116101df578063481c6a75116101a3578063481c6a75146103d75780634cdad506146103ea57806350496cbd146103fd57806350921b231461041057806360dd37d91461042357806367e2ba231461043657600080fd5b8063313ce567146103455780633644e5151461037e57806338d52e0f1461038657806339509351146103b1578063402d267d146103c457600080fd5b8063107703ab11610226578063107703ab146102dc57806318160ddd146102ef5780631b8f1830146102f857806323b872dd1461030b57806330adf81f1461031e57600080fd5b806301e1d1141461026357806306fdde031461027e57806307a2d13a14610293578063095ea7b3146102a65780630a28a477146102c9575b600080fd5b61026b61060a565b6040519081526020015b60405180910390f35b61028661068b565b6040516102759190612bbc565b61026b6102a1366004612913565b610719565b6102b96102b436600461280c565b610750565b6040519015158152602001610275565b61026b6102d7366004612913565b610767565b61026b6102ea366004612945565b6107eb565b61026b60025481565b61026b610306366004612945565b61094d565b6102b961031936600461275d565b610b1c565b61026b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b61036c7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610275565b61026b610c04565b600654610399906001600160a01b031681565b6040516001600160a01b039091168152602001610275565b6102b96103bf36600461280c565b610cb3565b61026b6103d2366004612707565b610cef565b600754610399906001600160a01b031681565b61026b6103f8366004612913565b610d22565b61026b61040b366004612913565b610d5a565b61026b61041e3660046129fe565b610d81565b61026b6104313660046129d1565b610f16565b61026b6110f9565b61026b61044c366004612945565b61113e565b61026b61045f366004612707565b60036020526000908152604090205481565b61026b61047f366004612707565b60056020526000908152604090205481565b61026b61049f366004612707565b611257565b61026b6104b2366004612945565b611279565b610286611381565b6102b96104cd36600461280c565b61138e565b61026b6104e0366004612913565b61139b565b6102b96104f336600461280c565b6113cd565b61026b610506366004612913565b6114af565b61026b61051936600461298f565b6114d6565b61026b61052c36600461298f565b611676565b61026b61053f366004612707565b611817565b61026b610552366004612913565b61184a565b61026b610565366004612945565b611868565b61026b610578366004612707565b61199a565b61059061058b36600461279e565b6119cd565b005b61026b6105a0366004612707565b611c49565b61026b6105b3366004612724565b600460209081526000928352604080842090915290825290205481565b61026b6105de366004612913565b611c7c565b61026b7f000000000000000000000000000000000000000000000000000000000000000081565b600754604080516278744560e21b815290516000926001600160a01b0316916301e1d114916004808301926020929190829003018186803b15801561064e57600080fd5b505afa158015610662573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610686919061292c565b905090565b6000805461069890612cd7565b80601f01602080910402602001604051908101604052809291908181526020018280546106c490612cd7565b80156107115780601f106106e657610100808354040283529160200191610711565b820191906000526020600020905b8154815290600101906020018083116106f457829003601f168201915b505050505081565b6002546000908015610747578061072e61060a565b6107389085612c75565b6107429190612c53565b610749565b825b9392505050565b600061075d338484611d3e565b5060015b92915050565b600754604051632ef1bc7760e21b8152336004820152602481018390526000916001600160a01b03169063bbc6f1dc906044015b60206040518083038186803b1580156107b357600080fd5b505afa1580156107c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610761919061292c565b60006008546001146108185760405162461bcd60e51b815260040161080f90612bef565b60405180910390fd5b60026008556007546e503a7265717565737452656465656d60881b9060009081906001600160a01b0316637bd243de84336108563660048188612c11565b6040518563ffffffff1660e01b81526004016108759493929190612b75565b60006040518083038186803b15801561088d57600080fd5b505afa1580156108a1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108c99190810190612853565b915091508181906108ed5760405162461bcd60e51b815260040161080f9190612bbc565b50846001600160a01b03167f46949ee51143d5b58e4df83122d6c382a04f7bffbe563f78cd7fa61ee519ec08876109248989611da0565b6040805192835260208301829052909750015b60405180910390a2505060016008555092915050565b60006008546001146109715760405162461bcd60e51b815260040161080f90612bef565b60026008556007546d503a72656d6f766553686172657360901b9060009081906001600160a01b0316637bd243de84336109ae3660048188612c11565b6040518563ffffffff1660e01b81526004016109cd9493929190612b75565b60006040518083038186803b1580156109e557600080fd5b505afa1580156109f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a219190810190612853565b91509150818190610a455760405162461bcd60e51b815260040161080f9190612bbc565b50336001600160a01b03861614610a6157610a61853388611ee2565b6007546040516301b8f18360e41b8152600481018890526001600160a01b0387811660248301819052927f4b171f7fc0550bd6b41ba56e9b2b88100206431510ba9427518f3485198db36d92911690631b8f183090604401602060405180830381600087803b158015610ad357600080fd5b505af1158015610ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0b919061292c565b604051818152909650602001610937565b6007546000906d503a7472616e7366657246726f6d60901b90829081906001600160a01b0316637bd243de8433610b563660048188612c11565b6040518563ffffffff1660e01b8152600401610b759493929190612b75565b60006040518083038186803b158015610b8d57600080fd5b505afa158015610ba1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc99190810190612853565b91509150818190610bed5760405162461bcd60e51b815260040161080f9190612bbc565b50610bf9878787611f26565b979650505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610c369190612a98565b60408051918290038220828201825260018352603160f81b6020938401528151928301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909161075d918590610cea908690612c3b565b611d3e565b60075460405163402d267d60e01b81526001600160a01b038381166004830152600092169063402d267d9060240161079b565b60075460405163cbe52ae360e01b8152336004820152602481018390526000916001600160a01b03169063cbe52ae39060440161079b565b60025460009080156107475780610d6f6110f9565b610d7761060a565b61072e9190612c94565b6000600854600114610da55760405162461bcd60e51b815260040161080f90612bef565b600260085560075472140e99195c1bdcda5d15da5d1a14195c9b5a5d606a1b9060009081906001600160a01b0316637bd243de8433610de73660048188612c11565b6040518563ffffffff1660e01b8152600401610e069493929190612b75565b60006040518083038186803b158015610e1e57600080fd5b505afa158015610e32573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e5a9190810190612853565b91509150818190610e7e5760405162461bcd60e51b815260040161080f9190612bbc565b5060065460405163d505accf60e01b81526001600160a01b039091169063d505accf90610ebb90339030908f908e908e908e908e90600401612b34565b600060405180830381600087803b158015610ed557600080fd5b505af1158015610ee9573d6000803e3d6000fd5b50505050610f04610ef98b611c7c565b9450848b8b33611f48565b50506001600855509695505050505050565b6000600854600114610f3a5760405162461bcd60e51b815260040161080f90612bef565b60026008556007546f140e9b5a5b9d15da5d1a14195c9b5a5d60821b9060009081906001600160a01b0316637bd243de8433610f793660048188612c11565b6040518563ffffffff1660e01b8152600401610f989493929190612b75565b60006040518083038186803b158015610fb057600080fd5b505afa158015610fc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fec9190810190612853565b915091508181906110105760405162461bcd60e51b815260040161080f9190612bbc565b508861101b8c6114af565b945084111561106c5760405162461bcd60e51b815260206004820152601960248201527f503a4d57503a494e53554646494349454e545f5045524d495400000000000000604482015260640161080f565b60065460405163d505accf60e01b81526001600160a01b039091169063d505accf906110a890339030908e908e908e908e908e90600401612b34565b600060405180830381600087803b1580156110c257600080fd5b505af11580156110d6573d6000803e3d6000fd5b505050506110e68b858c33611f48565b5050600160085550979650505050505050565b600754604080516367e2ba2360e01b815290516000926001600160a01b0316916367e2ba23916004808301926020929190829003018186803b15801561064e57600080fd5b60006008546001146111625760405162461bcd60e51b815260040161080f90612bef565b600260085560075468140e99195c1bdcda5d60ba1b9060009081906001600160a01b0316637bd243de843361119a3660048188612c11565b6040518563ffffffff1660e01b81526004016111b99493929190612b75565b60006040518083038186803b1580156111d157600080fd5b505afa1580156111e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261120d9190810190612853565b915091508181906112315760405162461bcd60e51b815260040161080f9190612bbc565b5061124961123e87611c7c565b945084878733611f48565b505060016008555092915050565b6001600160a01b03811660009081526003602052604081205461076190610719565b600060085460011461129d5760405162461bcd60e51b815260040161080f90612bef565b600260085560075465140e9b5a5b9d60d21b9060009081906001600160a01b0316637bd243de84336112d23660048188612c11565b6040518563ffffffff1660e01b81526004016112f19493929190612b75565b60006040518083038186803b15801561130957600080fd5b505afa15801561131d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113459190810190612853565b915091508181906113695760405162461bcd60e51b815260040161080f9190612bbc565b5061124986611377886114af565b9550858733611f48565b6001805461069890612cd7565b600061075d338484611ee2565b6000610761600254836113ae9190612c75565b6113b66110f9565b6113be61060a565b6113c89190612c94565b6121d4565b60075460009069281d3a3930b739b332b960b11b90829081906001600160a01b0316637bd243de84336114033660048188612c11565b6040518563ffffffff1660e01b81526004016114229493929190612b75565b60006040518083038186803b15801561143a57600080fd5b505afa15801561144e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114769190810190612853565b9150915081819061149a5760405162461bcd60e51b815260040161080f9190612bbc565b506114a586866121f7565b9695505050505050565b6002546000908015610747576107426114c661060a565b6114d09085612c75565b826121d4565b60006008546001146114fa5760405162461bcd60e51b815260040161080f90612bef565b600260085560075469503a776974686472617760b01b9060009081906001600160a01b0316637bd243de84336115333660048188612c11565b6040518563ffffffff1660e01b81526004016115529493929190612b75565b60006040518083038186803b15801561156a57600080fd5b505afa15801561157e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a69190810190612853565b915091508181906115ca5760405162461bcd60e51b815260040161080f9190612bbc565b506007546040516371a2fa5b60e11b8152600481018990526001600160a01b0387811660248301523360448301529091169063e345f4b6906064016040805180830381600087803b15801561161e57600080fd5b505af1158015611632573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116569190612a58565b975093506116678488888833612204565b50506001600855509392505050565b600060085460011461169a5760405162461bcd60e51b815260040161080f90612bef565b600260085560075467503a72656465656d60c01b9060009081906001600160a01b0316637bd243de84336116d13660048188612c11565b6040518563ffffffff1660e01b81526004016116f09493929190612b75565b60006040518083038186803b15801561170857600080fd5b505afa15801561171c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117449190810190612853565b915091508181906117685760405162461bcd60e51b815260040161080f9190612bbc565b506007546040516360af6ad360e01b8152600481018990526001600160a01b03878116602483015233604483015260009216906360af6ad3906064016040805180830381600087803b1580156117bd57600080fd5b505af11580156117d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f59190612a58565b955090506118068186898933612204565b505060016008555090949350505050565b60075460405163631ebadb60e11b81526001600160a01b038381166004830152600092169063c63d75b69060240161079b565b60025460009080156107475761185e61060a565b6107388285612c75565b600060085460011461188c5760405162461bcd60e51b815260040161080f90612bef565b600260085560075470503a72657175657374576974686472617760781b9060009081906001600160a01b0316637bd243de84336118cc3660048188612c11565b6040518563ffffffff1660e01b81526004016118eb9493929190612b75565b60006040518083038186803b15801561190357600080fd5b505afa158015611917573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261193f9190810190612853565b915091508181906119635760405162461bcd60e51b815260040161080f9190612bbc565b50846001600160a01b03167fd72eb5d043f24a0168ae744d5c44f9596fd673a26bf74d9646bff4b844882d1487610924898961233f565b60075460405163ce96cb7760e01b81526001600160a01b038381166004830152600092169063ce96cb779060240161079b565b42841015611a0f5760405162461bcd60e51b815260206004820152600f60248201526e115490cc8c0e940e91561412549151608a1b604482015260640161080f565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08111801590611a4f57508260ff16601b1480611a4f57508260ff16601c145b611a8f5760405162461bcd60e51b815260206004820152601160248201527045524332303a503a4d414c4c4541424c4560781b604482015260640161080f565b6000611a99610c04565b6001600160a01b0389811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938c166060840152608083018b905260a083019390935260c08083018a90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015611bb2573d6000803e3d6000fd5b505050602060405103519050886001600160a01b0316816001600160a01b0316148015611be757506001600160a01b03891615155b611c335760405162461bcd60e51b815260206004820152601960248201527f45524332303a503a494e56414c49445f5349474e415455524500000000000000604482015260640161080f565b5050611c40878787611d3e565b50505050505050565b600754604051636c82bbbf60e11b81526001600160a01b038381166004830152600092169063d905777e9060240161079b565b60006107618261184a565b6040516001600160a01b038316602482015260006044820181905290611ced90859063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612467565b611cf957506000610749565b81611d0657506001610749565b6040516001600160a01b038416602482015260448101839052611d3690859063095ea7b360e01b90606401611cb6565b949350505050565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600754604051635cf2ed5760e01b81526001600160a01b038381166004830152602482018590526000928392911690635cf2ed5790604401604080518083038186803b158015611def57600080fd5b505afa158015611e03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e27919061296a565b9092509050336001600160a01b03841614611e4757611e47833384611ee2565b8115801590611e5e57506001600160a01b03811615155b15611e6e57611e6e838284612507565b600754604051633ea0e43760e11b8152600481018490526001600160a01b03858116602483015233604483015290911690637d41c86e906064015b600060405180830381600087803b158015611ec357600080fd5b505af1158015611ed7573d6000803e3d6000fd5b505050505092915050565b6001600160a01b038084166000908152600460209081526040808320938616835292905220546000198114611f2057611f208484610cea8585612c94565b50505050565b6000611f33843384611ee2565b611f3e848484612507565b5060019392505050565b6001600160a01b038216611f925760405162461bcd60e51b8152602060048201526011602482015270281d269d2d22a927afa922a1a2a4ab22a960791b604482015260640161080f565b83611fd15760405162461bcd60e51b815260206004820152600f60248201526e503a4d3a5a45524f5f53484152455360881b604482015260640161080f565b826120105760405162461bcd60e51b815260206004820152600f60248201526e503a4d3a5a45524f5f41535345545360881b604482015260640161080f565b60025415801561203f57507f000000000000000000000000000000000000000000000000000000000000000015155b1561211c5761206f60007f000000000000000000000000000000000000000000000000000000000000000061258a565b816001600160a01b0316816001600160a01b03167fc5e0c49c290d3bf655c61fddb46eb9fd8d635737c3119287c40c1c1dd78e771e85877f00000000000000000000000000000000000000000000000000000000000000006040516120e7939291909283526020830191909152604082015260600190565b60405180910390a36121197f000000000000000000000000000000000000000000000000000000000000000085612c94565b93505b612126828561258a565b816001600160a01b0316816001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78587604051612174929190918252602082015260400190565b60405180910390a3600654612194906001600160a01b03168230866125f6565b611f205760405162461bcd60e51b8152602060048201526011602482015270503a4d3a5452414e534645525f46524f4d60781b604482015260640161080f565b60008160016121e38286612c3b565b6121ed9190612c94565b6107499190612c53565b600061075d338484612507565b6001600160a01b03831661224e5760405162461bcd60e51b8152602060048201526011602482015270281d211d2d22a927afa922a1a2a4ab22a960791b604482015260640161080f565b8461225857612338565b816001600160a01b0316816001600160a01b03161461227c5761227c828287611ee2565b612286828661263a565b816001600160a01b0316836001600160a01b0316826001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db87896040516122de929190918252602082015260400190565b60405180910390a46006546122fd906001600160a01b031684866126ae565b6123385760405162461bcd60e51b815260206004820152600c60248201526b281d211d2a2920a729a322a960a11b604482015260640161080f565b5050505050565b60075460009081906001600160a01b0316635cf2ed578461235f8761139b565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401604080518083038186803b1580156123a257600080fd5b505afa1580156123b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123da919061296a565b9092509050336001600160a01b038416146123fa576123fa833384611ee2565b811580159061241157506001600160a01b03811615155b1561242157612421838284612507565b600754604051631a9ba08760e31b815260048101849052602481018690526001600160a01b0385811660448301523360648301529091169063d4dd043890608401611ea9565b60006001600160a01b0383163b61248057506000610761565b6060836001600160a01b03168360405161249a9190612a7c565b6000604051808303816000865af19150503d80600081146124d7576040519150601f19603f3d011682016040523d82523d6000602084013e6124dc565b606091505b509092509050818015611d36575080511580611d36575080806020019051810190611d369190612838565b6001600160a01b0383166000908152600360205260408120805483929061252f908490612c94565b90915550506001600160a01b03808316600081815260036020526040908190208054850190555190918516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d939085815260200190565b806002600082825461259c9190612c3b565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526000906126319086906323b872dd60e01b90608401611cb6565b95945050505050565b6001600160a01b03821660009081526003602052604081208054839290612662908490612c94565b90915550506002805482900390556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016125ea565b6040516001600160a01b038316602482015260448101829052600090611d3690859063a9059cbb60e01b90606401611cb6565b805180151581146126f157600080fd5b919050565b803560ff811681146126f157600080fd5b60006020828403121561271957600080fd5b813561074981612d3e565b6000806040838503121561273757600080fd5b823561274281612d3e565b9150602083013561275281612d3e565b809150509250929050565b60008060006060848603121561277257600080fd5b833561277d81612d3e565b9250602084013561278d81612d3e565b929592945050506040919091013590565b600080600080600080600060e0888a0312156127b957600080fd5b87356127c481612d3e565b965060208801356127d481612d3e565b955060408801359450606088013593506127f0608089016126f6565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561281f57600080fd5b823561282a81612d3e565b946020939093013593505050565b60006020828403121561284a57600080fd5b610749826126e1565b6000806040838503121561286657600080fd5b61286f836126e1565b9150602083015167ffffffffffffffff8082111561288c57600080fd5b818501915085601f8301126128a057600080fd5b8151818111156128b2576128b2612d28565b604051601f8201601f19908116603f011681019083821181831017156128da576128da612d28565b816040528281528860208487010111156128f357600080fd5b612904836020830160208801612cab565b80955050505050509250929050565b60006020828403121561292557600080fd5b5035919050565b60006020828403121561293e57600080fd5b5051919050565b6000806040838503121561295857600080fd5b82359150602083013561275281612d3e565b6000806040838503121561297d57600080fd5b82519150602083015161275281612d3e565b6000806000606084860312156129a457600080fd5b8335925060208401356129b681612d3e565b915060408401356129c681612d3e565b809150509250925092565b600080600080600080600060e0888a0312156129ec57600080fd5b8735965060208801356127d481612d3e565b60008060008060008060c08789031215612a1757600080fd5b863595506020870135612a2981612d3e565b945060408701359350612a3e606088016126f6565b92506080870135915060a087013590509295509295509295565b60008060408385031215612a6b57600080fd5b505080516020909101519092909150565b60008251612a8e818460208701612cab565b9190910192915050565b600080835481600182811c915080831680612ab457607f831692505b6020808410821415612ad457634e487b7160e01b86526022600452602486fd5b818015612ae85760018114612af957612b26565b60ff19861689528489019650612b26565b60008a81526020902060005b86811015612b1e5781548b820152908501908301612b05565b505084890196505b509498975050505050505050565b6001600160a01b0397881681529590961660208601526040850193909352606084019190915260ff16608083015260a082015260c081019190915260e00190565b8481526001600160a01b03841660208201526060604082018190528101829052818360808301376000818301608090810191909152601f909201601f191601019392505050565b6020815260008251806020840152612bdb816040850160208701612cab565b601f01601f19169190910160400192915050565b602080825260089082015267140e9313d0d2d15160c21b604082015260600190565b60008085851115612c2157600080fd5b83861115612c2e57600080fd5b5050820193919092039150565b60008219821115612c4e57612c4e612d12565b500190565b600082612c7057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612c8f57612c8f612d12565b500290565b600082821015612ca657612ca6612d12565b500390565b60005b83811015612cc6578181015183820152602001612cae565b83811115611f205750506000910152565b600181811c90821680612ceb57607f821691505b60208210811415612d0c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114612d5357600080fd5b5056fea2646970667358221220b7d76801fa0b81c05a152ecdaee4ae793603b8e9d4db32bf834cf811e56c5c8a64736f6c6343000807003300000000000000000000000024617612dec91855e126e6330580425f6a262ee9000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000580b1a894b9fbdbf7d29ba9b492807bf539dd50800000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000ecb3711e0cd00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000001b4d313120437265646974204d61706c6520506f6f6c2055534443310000000000000000000000000000000000000000000000000000000000000000000000000b4d504c2d6d635553444331000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c80636e553f6511610146578063b460af94116100c3578063ce96cb7711610087578063ce96cb771461056a578063d505accf1461057d578063d905777e14610592578063dd62ed3e146105a5578063ef8b30f7146105d0578063f1a0e4cb146105e357600080fd5b8063b460af941461050b578063ba0876521461051e578063c63d75b614610531578063c6e6f59214610544578063ccc143b81461055757600080fd5b806395d89b411161010a57806395d89b41146104b7578063a457c2d7146104bf578063a58c3eff146104d2578063a9059cbb146104e5578063b3d7f6b9146104f857600080fd5b80636e553f651461043e57806370a08231146104515780637ecebe00146104715780639159b2061461049157806394bf804d146104a457600080fd5b8063313ce567116101df578063481c6a75116101a3578063481c6a75146103d75780634cdad506146103ea57806350496cbd146103fd57806350921b231461041057806360dd37d91461042357806367e2ba231461043657600080fd5b8063313ce567146103455780633644e5151461037e57806338d52e0f1461038657806339509351146103b1578063402d267d146103c457600080fd5b8063107703ab11610226578063107703ab146102dc57806318160ddd146102ef5780631b8f1830146102f857806323b872dd1461030b57806330adf81f1461031e57600080fd5b806301e1d1141461026357806306fdde031461027e57806307a2d13a14610293578063095ea7b3146102a65780630a28a477146102c9575b600080fd5b61026b61060a565b6040519081526020015b60405180910390f35b61028661068b565b6040516102759190612bbc565b61026b6102a1366004612913565b610719565b6102b96102b436600461280c565b610750565b6040519015158152602001610275565b61026b6102d7366004612913565b610767565b61026b6102ea366004612945565b6107eb565b61026b60025481565b61026b610306366004612945565b61094d565b6102b961031936600461275d565b610b1c565b61026b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b61036c7f000000000000000000000000000000000000000000000000000000000000000681565b60405160ff9091168152602001610275565b61026b610c04565b600654610399906001600160a01b031681565b6040516001600160a01b039091168152602001610275565b6102b96103bf36600461280c565b610cb3565b61026b6103d2366004612707565b610cef565b600754610399906001600160a01b031681565b61026b6103f8366004612913565b610d22565b61026b61040b366004612913565b610d5a565b61026b61041e3660046129fe565b610d81565b61026b6104313660046129d1565b610f16565b61026b6110f9565b61026b61044c366004612945565b61113e565b61026b61045f366004612707565b60036020526000908152604090205481565b61026b61047f366004612707565b60056020526000908152604090205481565b61026b61049f366004612707565b611257565b61026b6104b2366004612945565b611279565b610286611381565b6102b96104cd36600461280c565b61138e565b61026b6104e0366004612913565b61139b565b6102b96104f336600461280c565b6113cd565b61026b610506366004612913565b6114af565b61026b61051936600461298f565b6114d6565b61026b61052c36600461298f565b611676565b61026b61053f366004612707565b611817565b61026b610552366004612913565b61184a565b61026b610565366004612945565b611868565b61026b610578366004612707565b61199a565b61059061058b36600461279e565b6119cd565b005b61026b6105a0366004612707565b611c49565b61026b6105b3366004612724565b600460209081526000928352604080842090915290825290205481565b61026b6105de366004612913565b611c7c565b61026b7f00000000000000000000000000000000000000000000000000000000000186a081565b600754604080516278744560e21b815290516000926001600160a01b0316916301e1d114916004808301926020929190829003018186803b15801561064e57600080fd5b505afa158015610662573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610686919061292c565b905090565b6000805461069890612cd7565b80601f01602080910402602001604051908101604052809291908181526020018280546106c490612cd7565b80156107115780601f106106e657610100808354040283529160200191610711565b820191906000526020600020905b8154815290600101906020018083116106f457829003601f168201915b505050505081565b6002546000908015610747578061072e61060a565b6107389085612c75565b6107429190612c53565b610749565b825b9392505050565b600061075d338484611d3e565b5060015b92915050565b600754604051632ef1bc7760e21b8152336004820152602481018390526000916001600160a01b03169063bbc6f1dc906044015b60206040518083038186803b1580156107b357600080fd5b505afa1580156107c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610761919061292c565b60006008546001146108185760405162461bcd60e51b815260040161080f90612bef565b60405180910390fd5b60026008556007546e503a7265717565737452656465656d60881b9060009081906001600160a01b0316637bd243de84336108563660048188612c11565b6040518563ffffffff1660e01b81526004016108759493929190612b75565b60006040518083038186803b15801561088d57600080fd5b505afa1580156108a1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108c99190810190612853565b915091508181906108ed5760405162461bcd60e51b815260040161080f9190612bbc565b50846001600160a01b03167f46949ee51143d5b58e4df83122d6c382a04f7bffbe563f78cd7fa61ee519ec08876109248989611da0565b6040805192835260208301829052909750015b60405180910390a2505060016008555092915050565b60006008546001146109715760405162461bcd60e51b815260040161080f90612bef565b60026008556007546d503a72656d6f766553686172657360901b9060009081906001600160a01b0316637bd243de84336109ae3660048188612c11565b6040518563ffffffff1660e01b81526004016109cd9493929190612b75565b60006040518083038186803b1580156109e557600080fd5b505afa1580156109f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a219190810190612853565b91509150818190610a455760405162461bcd60e51b815260040161080f9190612bbc565b50336001600160a01b03861614610a6157610a61853388611ee2565b6007546040516301b8f18360e41b8152600481018890526001600160a01b0387811660248301819052927f4b171f7fc0550bd6b41ba56e9b2b88100206431510ba9427518f3485198db36d92911690631b8f183090604401602060405180830381600087803b158015610ad357600080fd5b505af1158015610ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0b919061292c565b604051818152909650602001610937565b6007546000906d503a7472616e7366657246726f6d60901b90829081906001600160a01b0316637bd243de8433610b563660048188612c11565b6040518563ffffffff1660e01b8152600401610b759493929190612b75565b60006040518083038186803b158015610b8d57600080fd5b505afa158015610ba1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc99190810190612853565b91509150818190610bed5760405162461bcd60e51b815260040161080f9190612bbc565b50610bf9878787611f26565b979650505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610c369190612a98565b60408051918290038220828201825260018352603160f81b6020938401528151928301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909161075d918590610cea908690612c3b565b611d3e565b60075460405163402d267d60e01b81526001600160a01b038381166004830152600092169063402d267d9060240161079b565b60075460405163cbe52ae360e01b8152336004820152602481018390526000916001600160a01b03169063cbe52ae39060440161079b565b60025460009080156107475780610d6f6110f9565b610d7761060a565b61072e9190612c94565b6000600854600114610da55760405162461bcd60e51b815260040161080f90612bef565b600260085560075472140e99195c1bdcda5d15da5d1a14195c9b5a5d606a1b9060009081906001600160a01b0316637bd243de8433610de73660048188612c11565b6040518563ffffffff1660e01b8152600401610e069493929190612b75565b60006040518083038186803b158015610e1e57600080fd5b505afa158015610e32573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e5a9190810190612853565b91509150818190610e7e5760405162461bcd60e51b815260040161080f9190612bbc565b5060065460405163d505accf60e01b81526001600160a01b039091169063d505accf90610ebb90339030908f908e908e908e908e90600401612b34565b600060405180830381600087803b158015610ed557600080fd5b505af1158015610ee9573d6000803e3d6000fd5b50505050610f04610ef98b611c7c565b9450848b8b33611f48565b50506001600855509695505050505050565b6000600854600114610f3a5760405162461bcd60e51b815260040161080f90612bef565b60026008556007546f140e9b5a5b9d15da5d1a14195c9b5a5d60821b9060009081906001600160a01b0316637bd243de8433610f793660048188612c11565b6040518563ffffffff1660e01b8152600401610f989493929190612b75565b60006040518083038186803b158015610fb057600080fd5b505afa158015610fc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fec9190810190612853565b915091508181906110105760405162461bcd60e51b815260040161080f9190612bbc565b508861101b8c6114af565b945084111561106c5760405162461bcd60e51b815260206004820152601960248201527f503a4d57503a494e53554646494349454e545f5045524d495400000000000000604482015260640161080f565b60065460405163d505accf60e01b81526001600160a01b039091169063d505accf906110a890339030908e908e908e908e908e90600401612b34565b600060405180830381600087803b1580156110c257600080fd5b505af11580156110d6573d6000803e3d6000fd5b505050506110e68b858c33611f48565b5050600160085550979650505050505050565b600754604080516367e2ba2360e01b815290516000926001600160a01b0316916367e2ba23916004808301926020929190829003018186803b15801561064e57600080fd5b60006008546001146111625760405162461bcd60e51b815260040161080f90612bef565b600260085560075468140e99195c1bdcda5d60ba1b9060009081906001600160a01b0316637bd243de843361119a3660048188612c11565b6040518563ffffffff1660e01b81526004016111b99493929190612b75565b60006040518083038186803b1580156111d157600080fd5b505afa1580156111e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261120d9190810190612853565b915091508181906112315760405162461bcd60e51b815260040161080f9190612bbc565b5061124961123e87611c7c565b945084878733611f48565b505060016008555092915050565b6001600160a01b03811660009081526003602052604081205461076190610719565b600060085460011461129d5760405162461bcd60e51b815260040161080f90612bef565b600260085560075465140e9b5a5b9d60d21b9060009081906001600160a01b0316637bd243de84336112d23660048188612c11565b6040518563ffffffff1660e01b81526004016112f19493929190612b75565b60006040518083038186803b15801561130957600080fd5b505afa15801561131d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113459190810190612853565b915091508181906113695760405162461bcd60e51b815260040161080f9190612bbc565b5061124986611377886114af565b9550858733611f48565b6001805461069890612cd7565b600061075d338484611ee2565b6000610761600254836113ae9190612c75565b6113b66110f9565b6113be61060a565b6113c89190612c94565b6121d4565b60075460009069281d3a3930b739b332b960b11b90829081906001600160a01b0316637bd243de84336114033660048188612c11565b6040518563ffffffff1660e01b81526004016114229493929190612b75565b60006040518083038186803b15801561143a57600080fd5b505afa15801561144e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114769190810190612853565b9150915081819061149a5760405162461bcd60e51b815260040161080f9190612bbc565b506114a586866121f7565b9695505050505050565b6002546000908015610747576107426114c661060a565b6114d09085612c75565b826121d4565b60006008546001146114fa5760405162461bcd60e51b815260040161080f90612bef565b600260085560075469503a776974686472617760b01b9060009081906001600160a01b0316637bd243de84336115333660048188612c11565b6040518563ffffffff1660e01b81526004016115529493929190612b75565b60006040518083038186803b15801561156a57600080fd5b505afa15801561157e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a69190810190612853565b915091508181906115ca5760405162461bcd60e51b815260040161080f9190612bbc565b506007546040516371a2fa5b60e11b8152600481018990526001600160a01b0387811660248301523360448301529091169063e345f4b6906064016040805180830381600087803b15801561161e57600080fd5b505af1158015611632573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116569190612a58565b975093506116678488888833612204565b50506001600855509392505050565b600060085460011461169a5760405162461bcd60e51b815260040161080f90612bef565b600260085560075467503a72656465656d60c01b9060009081906001600160a01b0316637bd243de84336116d13660048188612c11565b6040518563ffffffff1660e01b81526004016116f09493929190612b75565b60006040518083038186803b15801561170857600080fd5b505afa15801561171c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117449190810190612853565b915091508181906117685760405162461bcd60e51b815260040161080f9190612bbc565b506007546040516360af6ad360e01b8152600481018990526001600160a01b03878116602483015233604483015260009216906360af6ad3906064016040805180830381600087803b1580156117bd57600080fd5b505af11580156117d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f59190612a58565b955090506118068186898933612204565b505060016008555090949350505050565b60075460405163631ebadb60e11b81526001600160a01b038381166004830152600092169063c63d75b69060240161079b565b60025460009080156107475761185e61060a565b6107388285612c75565b600060085460011461188c5760405162461bcd60e51b815260040161080f90612bef565b600260085560075470503a72657175657374576974686472617760781b9060009081906001600160a01b0316637bd243de84336118cc3660048188612c11565b6040518563ffffffff1660e01b81526004016118eb9493929190612b75565b60006040518083038186803b15801561190357600080fd5b505afa158015611917573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261193f9190810190612853565b915091508181906119635760405162461bcd60e51b815260040161080f9190612bbc565b50846001600160a01b03167fd72eb5d043f24a0168ae744d5c44f9596fd673a26bf74d9646bff4b844882d1487610924898961233f565b60075460405163ce96cb7760e01b81526001600160a01b038381166004830152600092169063ce96cb779060240161079b565b42841015611a0f5760405162461bcd60e51b815260206004820152600f60248201526e115490cc8c0e940e91561412549151608a1b604482015260640161080f565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08111801590611a4f57508260ff16601b1480611a4f57508260ff16601c145b611a8f5760405162461bcd60e51b815260206004820152601160248201527045524332303a503a4d414c4c4541424c4560781b604482015260640161080f565b6000611a99610c04565b6001600160a01b0389811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938c166060840152608083018b905260a083019390935260c08083018a90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015611bb2573d6000803e3d6000fd5b505050602060405103519050886001600160a01b0316816001600160a01b0316148015611be757506001600160a01b03891615155b611c335760405162461bcd60e51b815260206004820152601960248201527f45524332303a503a494e56414c49445f5349474e415455524500000000000000604482015260640161080f565b5050611c40878787611d3e565b50505050505050565b600754604051636c82bbbf60e11b81526001600160a01b038381166004830152600092169063d905777e9060240161079b565b60006107618261184a565b6040516001600160a01b038316602482015260006044820181905290611ced90859063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612467565b611cf957506000610749565b81611d0657506001610749565b6040516001600160a01b038416602482015260448101839052611d3690859063095ea7b360e01b90606401611cb6565b949350505050565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600754604051635cf2ed5760e01b81526001600160a01b038381166004830152602482018590526000928392911690635cf2ed5790604401604080518083038186803b158015611def57600080fd5b505afa158015611e03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e27919061296a565b9092509050336001600160a01b03841614611e4757611e47833384611ee2565b8115801590611e5e57506001600160a01b03811615155b15611e6e57611e6e838284612507565b600754604051633ea0e43760e11b8152600481018490526001600160a01b03858116602483015233604483015290911690637d41c86e906064015b600060405180830381600087803b158015611ec357600080fd5b505af1158015611ed7573d6000803e3d6000fd5b505050505092915050565b6001600160a01b038084166000908152600460209081526040808320938616835292905220546000198114611f2057611f208484610cea8585612c94565b50505050565b6000611f33843384611ee2565b611f3e848484612507565b5060019392505050565b6001600160a01b038216611f925760405162461bcd60e51b8152602060048201526011602482015270281d269d2d22a927afa922a1a2a4ab22a960791b604482015260640161080f565b83611fd15760405162461bcd60e51b815260206004820152600f60248201526e503a4d3a5a45524f5f53484152455360881b604482015260640161080f565b826120105760405162461bcd60e51b815260206004820152600f60248201526e503a4d3a5a45524f5f41535345545360881b604482015260640161080f565b60025415801561203f57507f00000000000000000000000000000000000000000000000000000000000186a015155b1561211c5761206f60007f00000000000000000000000000000000000000000000000000000000000186a061258a565b816001600160a01b0316816001600160a01b03167fc5e0c49c290d3bf655c61fddb46eb9fd8d635737c3119287c40c1c1dd78e771e85877f00000000000000000000000000000000000000000000000000000000000186a06040516120e7939291909283526020830191909152604082015260600190565b60405180910390a36121197f00000000000000000000000000000000000000000000000000000000000186a085612c94565b93505b612126828561258a565b816001600160a01b0316816001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78587604051612174929190918252602082015260400190565b60405180910390a3600654612194906001600160a01b03168230866125f6565b611f205760405162461bcd60e51b8152602060048201526011602482015270503a4d3a5452414e534645525f46524f4d60781b604482015260640161080f565b60008160016121e38286612c3b565b6121ed9190612c94565b6107499190612c53565b600061075d338484612507565b6001600160a01b03831661224e5760405162461bcd60e51b8152602060048201526011602482015270281d211d2d22a927afa922a1a2a4ab22a960791b604482015260640161080f565b8461225857612338565b816001600160a01b0316816001600160a01b03161461227c5761227c828287611ee2565b612286828661263a565b816001600160a01b0316836001600160a01b0316826001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db87896040516122de929190918252602082015260400190565b60405180910390a46006546122fd906001600160a01b031684866126ae565b6123385760405162461bcd60e51b815260206004820152600c60248201526b281d211d2a2920a729a322a960a11b604482015260640161080f565b5050505050565b60075460009081906001600160a01b0316635cf2ed578461235f8761139b565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401604080518083038186803b1580156123a257600080fd5b505afa1580156123b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123da919061296a565b9092509050336001600160a01b038416146123fa576123fa833384611ee2565b811580159061241157506001600160a01b03811615155b1561242157612421838284612507565b600754604051631a9ba08760e31b815260048101849052602481018690526001600160a01b0385811660448301523360648301529091169063d4dd043890608401611ea9565b60006001600160a01b0383163b61248057506000610761565b6060836001600160a01b03168360405161249a9190612a7c565b6000604051808303816000865af19150503d80600081146124d7576040519150601f19603f3d011682016040523d82523d6000602084013e6124dc565b606091505b509092509050818015611d36575080511580611d36575080806020019051810190611d369190612838565b6001600160a01b0383166000908152600360205260408120805483929061252f908490612c94565b90915550506001600160a01b03808316600081815260036020526040908190208054850190555190918516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d939085815260200190565b806002600082825461259c9190612c3b565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526000906126319086906323b872dd60e01b90608401611cb6565b95945050505050565b6001600160a01b03821660009081526003602052604081208054839290612662908490612c94565b90915550506002805482900390556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016125ea565b6040516001600160a01b038316602482015260448101829052600090611d3690859063a9059cbb60e01b90606401611cb6565b805180151581146126f157600080fd5b919050565b803560ff811681146126f157600080fd5b60006020828403121561271957600080fd5b813561074981612d3e565b6000806040838503121561273757600080fd5b823561274281612d3e565b9150602083013561275281612d3e565b809150509250929050565b60008060006060848603121561277257600080fd5b833561277d81612d3e565b9250602084013561278d81612d3e565b929592945050506040919091013590565b600080600080600080600060e0888a0312156127b957600080fd5b87356127c481612d3e565b965060208801356127d481612d3e565b955060408801359450606088013593506127f0608089016126f6565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561281f57600080fd5b823561282a81612d3e565b946020939093013593505050565b60006020828403121561284a57600080fd5b610749826126e1565b6000806040838503121561286657600080fd5b61286f836126e1565b9150602083015167ffffffffffffffff8082111561288c57600080fd5b818501915085601f8301126128a057600080fd5b8151818111156128b2576128b2612d28565b604051601f8201601f19908116603f011681019083821181831017156128da576128da612d28565b816040528281528860208487010111156128f357600080fd5b612904836020830160208801612cab565b80955050505050509250929050565b60006020828403121561292557600080fd5b5035919050565b60006020828403121561293e57600080fd5b5051919050565b6000806040838503121561295857600080fd5b82359150602083013561275281612d3e565b6000806040838503121561297d57600080fd5b82519150602083015161275281612d3e565b6000806000606084860312156129a457600080fd5b8335925060208401356129b681612d3e565b915060408401356129c681612d3e565b809150509250925092565b600080600080600080600060e0888a0312156129ec57600080fd5b8735965060208801356127d481612d3e565b60008060008060008060c08789031215612a1757600080fd5b863595506020870135612a2981612d3e565b945060408701359350612a3e606088016126f6565b92506080870135915060a087013590509295509295509295565b60008060408385031215612a6b57600080fd5b505080516020909101519092909150565b60008251612a8e818460208701612cab565b9190910192915050565b600080835481600182811c915080831680612ab457607f831692505b6020808410821415612ad457634e487b7160e01b86526022600452602486fd5b818015612ae85760018114612af957612b26565b60ff19861689528489019650612b26565b60008a81526020902060005b86811015612b1e5781548b820152908501908301612b05565b505084890196505b509498975050505050505050565b6001600160a01b0397881681529590961660208601526040850193909352606084019190915260ff16608083015260a082015260c081019190915260e00190565b8481526001600160a01b03841660208201526060604082018190528101829052818360808301376000818301608090810191909152601f909201601f191601019392505050565b6020815260008251806020840152612bdb816040850160208701612cab565b601f01601f19169190910160400192915050565b602080825260089082015267140e9313d0d2d15160c21b604082015260600190565b60008085851115612c2157600080fd5b83861115612c2e57600080fd5b5050820193919092039150565b60008219821115612c4e57612c4e612d12565b500190565b600082612c7057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612c8f57612c8f612d12565b500290565b600082821015612ca657612ca6612d12565b500390565b60005b83811015612cc6578181015183820152602001612cae565b83811115611f205750506000910152565b600181811c90821680612ceb57607f821691505b60208210811415612d0c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114612d5357600080fd5b5056fea2646970667358221220b7d76801fa0b81c05a152ecdaee4ae793603b8e9d4db32bf834cf811e56c5c8a64736f6c63430008070033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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