ETH Price: $3,082.18 (-1.25%)

Token

Staked Frax Ether (sfrxETH)
 

Overview

Max Total Supply

106,180.203266568997025919 sfrxETH

Holders

3,495 (0.00%)

Market

Price

$3,390.07 @ 1.099892 ETH (-0.49%)

Onchain Market Cap

$359,957,928.30

Circulating Supply Market Cap

$388,113,272.55

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
perate92.eth
Balance
0 sfrxETH

Value
$0.00
0x1dacdc738c87c2f04dd21c874a314372f876cab7
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

sfrxETH is the version of frxETH which accrues staking yield. All profit generated from Frax Ether validators is distributed to sfrxETH holders. By exchanging frxETH for sfrxETH, one become's eligible for staking yield, which is redeemed upon converting sfrxETH back to frxETH.

Market

Volume (24H):$142,987.67
Market Capitalization:$388,113,272.55
Circulating Supply:114,485.00 sfrxETH
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
sfrxETH

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv2 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-19
*/

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.8.0;


// ====================================================================
// |     ______                   _______                             |
// |    / _____________ __  __   / ____(_____  ____ _____  ________   |
// |   / /_  / ___/ __ `| |/_/  / /_  / / __ \/ __ `/ __ \/ ___/ _ \  |
// |  / __/ / /  / /_/ _>  <   / __/ / / / / / /_/ / / / / /__/  __/  |
// | /_/   /_/   \__,_/_/|_|  /_/   /_/_/ /_/\__,_/_/ /_/\___/\___/   |
// |                                                                  |
// ====================================================================
// ============================== sfrxETH =============================
// ====================================================================
// Frax Finance: https://github.com/FraxFinance

// Primary Author(s)
// Jack Corddry: https://github.com/corddry
// Nader Ghazvini: https://github.com/amirnader-ghazvini 

// Reviewer(s) / Contributor(s)
// Sam Kazemian: https://github.com/samkazemian
// Dennett: https://github.com/denett
// Travis Moore: https://github.com/FortisFortuna
// Jamie Turley: https://github.com/jyturley

// Rewards logic inspired by xERC20 (https://github.com/ZeframLou/playpen/blob/main/src/xERC20.sol)

/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.
abstract contract ERC20 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 amount);

    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /*//////////////////////////////////////////////////////////////
                            METADATA STORAGE
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    uint8 public immutable decimals;

    /*//////////////////////////////////////////////////////////////
                              ERC20 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;

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

    /*//////////////////////////////////////////////////////////////
                            EIP-2612 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 internal immutable INITIAL_CHAIN_ID;

    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;

    mapping(address => uint256) public nonces;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals
    ) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;

        INITIAL_CHAIN_ID = block.chainid;
        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();
    }

    /*//////////////////////////////////////////////////////////////
                               ERC20 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 amount) public virtual returns (bool) {
        allowance[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);

        return true;
    }

    function transfer(address to, uint256 amount) public virtual returns (bool) {
        balanceOf[msg.sender] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(msg.sender, to, amount);

        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.

        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;

        balanceOf[from] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(from, to, amount);

        return true;
    }

    /*//////////////////////////////////////////////////////////////
                             EIP-2612 LOGIC
    //////////////////////////////////////////////////////////////*/

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual {
        require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED");

        // Unchecked because the only math done is incrementing
        // the owner's nonce which cannot realistically overflow.
        unchecked {
            address recoveredAddress = ecrecover(
                keccak256(
                    abi.encodePacked(
                        "\x19\x01",
                        DOMAIN_SEPARATOR(),
                        keccak256(
                            abi.encode(
                                keccak256(
                                    "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
                                ),
                                owner,
                                spender,
                                value,
                                nonces[owner]++,
                                deadline
                            )
                        )
                    )
                ),
                v,
                r,
                s
            );

            require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER");

            allowance[recoveredAddress][spender] = value;
        }

        emit Approval(owner, spender, value);
    }

    function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {
        return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();
    }

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

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 amount) internal virtual {
        totalSupply += amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(address(0), to, amount);
    }

    function _burn(address from, uint256 amount) internal virtual {
        balanceOf[from] -= amount;

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

        emit Transfer(from, address(0), amount);
    }
}

/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)
/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.
/// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.
library SafeTransferLib {
    /*//////////////////////////////////////////////////////////////
                             ETH OPERATIONS
    //////////////////////////////////////////////////////////////*/

    function safeTransferETH(address to, uint256 amount) internal {
        bool success;

        assembly {
            // Transfer the ETH and store if it succeeded or not.
            success := call(gas(), to, amount, 0, 0, 0, 0)
        }

        require(success, "ETH_TRANSFER_FAILED");
    }

    /*//////////////////////////////////////////////////////////////
                            ERC20 OPERATIONS
    //////////////////////////////////////////////////////////////*/

    function safeTransferFrom(
        ERC20 token,
        address from,
        address to,
        uint256 amount
    ) internal {
        bool success;

        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), from) // Append the "from" argument.
            mstore(add(freeMemoryPointer, 36), to) // Append the "to" argument.
            mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 100, 0, 32)
            )
        }

        require(success, "TRANSFER_FROM_FAILED");
    }

    function safeTransfer(
        ERC20 token,
        address to,
        uint256 amount
    ) internal {
        bool success;

        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), to) // Append the "to" argument.
            mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)
            )
        }

        require(success, "TRANSFER_FAILED");
    }

    function safeApprove(
        ERC20 token,
        address to,
        uint256 amount
    ) internal {
        bool success;

        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), to) // Append the "to" argument.
            mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)
            )
        }

        require(success, "APPROVE_FAILED");
    }
}

/// @notice Arithmetic library with operations for fixed-point numbers.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/FixedPointMathLib.sol)
/// @author Inspired by USM (https://github.com/usmfum/USM/blob/master/contracts/WadMath.sol)
library FixedPointMathLib {
    /*//////////////////////////////////////////////////////////////
                    SIMPLIFIED FIXED POINT OPERATIONS
    //////////////////////////////////////////////////////////////*/

    uint256 internal constant WAD = 1e18; // The scalar of ETH and most ERC20s.

    function mulWadDown(uint256 x, uint256 y) internal pure returns (uint256) {
        return mulDivDown(x, y, WAD); // Equivalent to (x * y) / WAD rounded down.
    }

    function mulWadUp(uint256 x, uint256 y) internal pure returns (uint256) {
        return mulDivUp(x, y, WAD); // Equivalent to (x * y) / WAD rounded up.
    }

    function divWadDown(uint256 x, uint256 y) internal pure returns (uint256) {
        return mulDivDown(x, WAD, y); // Equivalent to (x * WAD) / y rounded down.
    }

    function divWadUp(uint256 x, uint256 y) internal pure returns (uint256) {
        return mulDivUp(x, WAD, y); // Equivalent to (x * WAD) / y rounded up.
    }

    /*//////////////////////////////////////////////////////////////
                    LOW LEVEL FIXED POINT OPERATIONS
    //////////////////////////////////////////////////////////////*/

    function mulDivDown(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 z) {
        assembly {
            // Store x * y in z for now.
            z := mul(x, y)

            // Equivalent to require(denominator != 0 && (x == 0 || (x * y) / x == y))
            if iszero(and(iszero(iszero(denominator)), or(iszero(x), eq(div(z, x), y)))) {
                revert(0, 0)
            }

            // Divide z by the denominator.
            z := div(z, denominator)
        }
    }

    function mulDivUp(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 z) {
        assembly {
            // Store x * y in z for now.
            z := mul(x, y)

            // Equivalent to require(denominator != 0 && (x == 0 || (x * y) / x == y))
            if iszero(and(iszero(iszero(denominator)), or(iszero(x), eq(div(z, x), y)))) {
                revert(0, 0)
            }

            // First, divide z - 1 by the denominator and add 1.
            // We allow z - 1 to underflow if z is 0, because we multiply the
            // end result by 0 if z is zero, ensuring we return 0 if z is zero.
            z := mul(iszero(iszero(z)), add(div(sub(z, 1), denominator), 1))
        }
    }

    function rpow(
        uint256 x,
        uint256 n,
        uint256 scalar
    ) internal pure returns (uint256 z) {
        assembly {
            switch x
            case 0 {
                switch n
                case 0 {
                    // 0 ** 0 = 1
                    z := scalar
                }
                default {
                    // 0 ** n = 0
                    z := 0
                }
            }
            default {
                switch mod(n, 2)
                case 0 {
                    // If n is even, store scalar in z for now.
                    z := scalar
                }
                default {
                    // If n is odd, store x in z for now.
                    z := x
                }

                // Shifting right by 1 is like dividing by 2.
                let half := shr(1, scalar)

                for {
                    // Shift n right by 1 before looping to halve it.
                    n := shr(1, n)
                } n {
                    // Shift n right by 1 each iteration to halve it.
                    n := shr(1, n)
                } {
                    // Revert immediately if x ** 2 would overflow.
                    // Equivalent to iszero(eq(div(xx, x), x)) here.
                    if shr(128, x) {
                        revert(0, 0)
                    }

                    // Store x squared.
                    let xx := mul(x, x)

                    // Round to the nearest number.
                    let xxRound := add(xx, half)

                    // Revert if xx + half overflowed.
                    if lt(xxRound, xx) {
                        revert(0, 0)
                    }

                    // Set x to scaled xxRound.
                    x := div(xxRound, scalar)

                    // If n is even:
                    if mod(n, 2) {
                        // Compute z * x.
                        let zx := mul(z, x)

                        // If z * x overflowed:
                        if iszero(eq(div(zx, x), z)) {
                            // Revert if x is non-zero.
                            if iszero(iszero(x)) {
                                revert(0, 0)
                            }
                        }

                        // Round to the nearest number.
                        let zxRound := add(zx, half)

                        // Revert if zx + half overflowed.
                        if lt(zxRound, zx) {
                            revert(0, 0)
                        }

                        // Return properly scaled zxRound.
                        z := div(zxRound, scalar)
                    }
                }
            }
        }
    }

    /*//////////////////////////////////////////////////////////////
                        GENERAL NUMBER UTILITIES
    //////////////////////////////////////////////////////////////*/

    function sqrt(uint256 x) internal pure returns (uint256 z) {
        assembly {
            let y := x // We start y at x, which will help us make our initial estimate.

            z := 181 // The "correct" value is 1, but this saves a multiplication later.

            // This segment is to get a reasonable initial estimate for the Babylonian method. With a bad
            // start, the correct # of bits increases ~linearly each iteration instead of ~quadratically.

            // We check y >= 2^(k + 8) but shift right by k bits
            // each branch to ensure that if x >= 256, then y >= 256.
            if iszero(lt(y, 0x10000000000000000000000000000000000)) {
                y := shr(128, y)
                z := shl(64, z)
            }
            if iszero(lt(y, 0x1000000000000000000)) {
                y := shr(64, y)
                z := shl(32, z)
            }
            if iszero(lt(y, 0x10000000000)) {
                y := shr(32, y)
                z := shl(16, z)
            }
            if iszero(lt(y, 0x1000000)) {
                y := shr(16, y)
                z := shl(8, z)
            }

            // Goal was to get z*z*y within a small factor of x. More iterations could
            // get y in a tighter range. Currently, we will have y in [256, 256*2^16).
            // We ensured y >= 256 so that the relative difference between y and y+1 is small.
            // That's not possible if x < 256 but we can just verify those cases exhaustively.

            // Now, z*z*y <= x < z*z*(y+1), and y <= 2^(16+8), and either y >= 256, or x < 256.
            // Correctness can be checked exhaustively for x < 256, so we assume y >= 256.
            // Then z*sqrt(y) is within sqrt(257)/sqrt(256) of sqrt(x), or about 20bps.

            // For s in the range [1/256, 256], the estimate f(s) = (181/1024) * (s+1) is in the range
            // (1/2.84 * sqrt(s), 2.84 * sqrt(s)), with largest error when s = 1 and when s = 256 or 1/256.

            // Since y is in [256, 256*2^16), let a = y/65536, so that a is in [1/256, 256). Then we can estimate
            // sqrt(y) using sqrt(65536) * 181/1024 * (a + 1) = 181/4 * (y + 65536)/65536 = 181 * (y + 65536)/2^18.

            // There is no overflow risk here since y < 2^136 after the first branch above.
            z := shr(18, mul(z, add(y, 65536))) // A mul() is saved from starting z at 181.

            // Given the worst case multiplicative error of 2.84 above, 7 iterations should be enough.
            z := shr(1, add(z, div(x, z)))
            z := shr(1, add(z, div(x, z)))
            z := shr(1, add(z, div(x, z)))
            z := shr(1, add(z, div(x, z)))
            z := shr(1, add(z, div(x, z)))
            z := shr(1, add(z, div(x, z)))
            z := shr(1, add(z, div(x, z)))

            // If x+1 is a perfect square, the Babylonian method cycles between
            // floor(sqrt(x)) and ceil(sqrt(x)). This statement ensures we return floor.
            // See: https://en.wikipedia.org/wiki/Integer_square_root#Using_only_integer_division
            // Since the ceil is rare, we save gas on the assignment and repeat division in the rare case.
            // If you don't care whether the floor or ceil square root is returned, you can remove this statement.
            z := sub(z, lt(div(x, z), z))
        }
    }

    function unsafeMod(uint256 x, uint256 y) internal pure returns (uint256 z) {
        assembly {
            // Mod x by y. Note this will return
            // 0 instead of reverting if y is zero.
            z := mod(x, y)
        }
    }

    function unsafeDiv(uint256 x, uint256 y) internal pure returns (uint256 r) {
        assembly {
            // Divide x by y. Note this will return
            // 0 instead of reverting if y is zero.
            r := div(x, y)
        }
    }

    function unsafeDivUp(uint256 x, uint256 y) internal pure returns (uint256 z) {
        assembly {
            // Add 1 to x * y if x % y > 0. Note this will
            // return 0 instead of reverting if y is zero.
            z := add(gt(mod(x, y), 0), div(x, y))
        }
    }
}

/// @notice Minimal ERC4626 tokenized Vault implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/mixins/ERC4626.sol)
abstract contract ERC4626 is ERC20 {
    using SafeTransferLib for ERC20;
    using FixedPointMathLib for uint256;

    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares);

    event Withdraw(
        address indexed caller,
        address indexed receiver,
        address indexed owner,
        uint256 assets,
        uint256 shares
    );

    /*//////////////////////////////////////////////////////////////
                               IMMUTABLES
    //////////////////////////////////////////////////////////////*/

    ERC20 public immutable asset;

    constructor(
        ERC20 _asset,
        string memory _name,
        string memory _symbol
    ) ERC20(_name, _symbol, _asset.decimals()) {
        asset = _asset;
    }

    /*//////////////////////////////////////////////////////////////
                        DEPOSIT/WITHDRAWAL LOGIC
    //////////////////////////////////////////////////////////////*/

    function deposit(uint256 assets, address receiver) public virtual returns (uint256 shares) {
        // Check for rounding error since we round down in previewDeposit.
        require((shares = previewDeposit(assets)) != 0, "ZERO_SHARES");

        // Need to transfer before minting or ERC777s could reenter.
        asset.safeTransferFrom(msg.sender, address(this), assets);

        _mint(receiver, shares);

        emit Deposit(msg.sender, receiver, assets, shares);

        afterDeposit(assets, shares);
    }

    function mint(uint256 shares, address receiver) public virtual returns (uint256 assets) {
        assets = previewMint(shares); // No need to check for rounding error, previewMint rounds up.

        // Need to transfer before minting or ERC777s could reenter.
        asset.safeTransferFrom(msg.sender, address(this), assets);

        _mint(receiver, shares);

        emit Deposit(msg.sender, receiver, assets, shares);

        afterDeposit(assets, shares);
    }

    function withdraw(
        uint256 assets,
        address receiver,
        address owner
    ) public virtual returns (uint256 shares) {
        shares = previewWithdraw(assets); // No need to check for rounding error, previewWithdraw rounds up.

        if (msg.sender != owner) {
            uint256 allowed = allowance[owner][msg.sender]; // Saves gas for limited approvals.

            if (allowed != type(uint256).max) allowance[owner][msg.sender] = allowed - shares;
        }

        beforeWithdraw(assets, shares);

        _burn(owner, shares);

        emit Withdraw(msg.sender, receiver, owner, assets, shares);

        asset.safeTransfer(receiver, assets);
    }

    function redeem(
        uint256 shares,
        address receiver,
        address owner
    ) public virtual returns (uint256 assets) {
        if (msg.sender != owner) {
            uint256 allowed = allowance[owner][msg.sender]; // Saves gas for limited approvals.

            if (allowed != type(uint256).max) allowance[owner][msg.sender] = allowed - shares;
        }

        // Check for rounding error since we round down in previewRedeem.
        require((assets = previewRedeem(shares)) != 0, "ZERO_ASSETS");

        beforeWithdraw(assets, shares);

        _burn(owner, shares);

        emit Withdraw(msg.sender, receiver, owner, assets, shares);

        asset.safeTransfer(receiver, assets);
    }

    /*//////////////////////////////////////////////////////////////
                            ACCOUNTING LOGIC
    //////////////////////////////////////////////////////////////*/

    function totalAssets() public view virtual returns (uint256);

    function convertToShares(uint256 assets) public view virtual returns (uint256) {
        uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.

        return supply == 0 ? assets : assets.mulDivDown(supply, totalAssets());
    }

    function convertToAssets(uint256 shares) public view virtual returns (uint256) {
        uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.

        return supply == 0 ? shares : shares.mulDivDown(totalAssets(), supply);
    }

    function previewDeposit(uint256 assets) public view virtual returns (uint256) {
        return convertToShares(assets);
    }

    function previewMint(uint256 shares) public view virtual returns (uint256) {
        uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.

        return supply == 0 ? shares : shares.mulDivUp(totalAssets(), supply);
    }

    function previewWithdraw(uint256 assets) public view virtual returns (uint256) {
        uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.

        return supply == 0 ? assets : assets.mulDivUp(supply, totalAssets());
    }

    function previewRedeem(uint256 shares) public view virtual returns (uint256) {
        return convertToAssets(shares);
    }

    /*//////////////////////////////////////////////////////////////
                     DEPOSIT/WITHDRAWAL LIMIT LOGIC
    //////////////////////////////////////////////////////////////*/

    function maxDeposit(address) public view virtual returns (uint256) {
        return type(uint256).max;
    }

    function maxMint(address) public view virtual returns (uint256) {
        return type(uint256).max;
    }

    function maxWithdraw(address owner) public view virtual returns (uint256) {
        return convertToAssets(balanceOf[owner]);
    }

    function maxRedeem(address owner) public view virtual returns (uint256) {
        return balanceOf[owner];
    }

    /*//////////////////////////////////////////////////////////////
                          INTERNAL HOOKS LOGIC
    //////////////////////////////////////////////////////////////*/

    function beforeWithdraw(uint256 assets, uint256 shares) internal virtual {}

    function afterDeposit(uint256 assets, uint256 shares) internal virtual {}
}

/// @notice Safe unsigned integer casting library that reverts on overflow.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeCastLib.sol)
/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeCast.sol)
library SafeCastLib {
    function safeCastTo248(uint256 x) internal pure returns (uint248 y) {
        require(x < 1 << 248);

        y = uint248(x);
    }

    function safeCastTo224(uint256 x) internal pure returns (uint224 y) {
        require(x < 1 << 224);

        y = uint224(x);
    }

    function safeCastTo192(uint256 x) internal pure returns (uint192 y) {
        require(x < 1 << 192);

        y = uint192(x);
    }

    function safeCastTo160(uint256 x) internal pure returns (uint160 y) {
        require(x < 1 << 160);

        y = uint160(x);
    }

    function safeCastTo128(uint256 x) internal pure returns (uint128 y) {
        require(x < 1 << 128);

        y = uint128(x);
    }

    function safeCastTo96(uint256 x) internal pure returns (uint96 y) {
        require(x < 1 << 96);

        y = uint96(x);
    }

    function safeCastTo64(uint256 x) internal pure returns (uint64 y) {
        require(x < 1 << 64);

        y = uint64(x);
    }

    function safeCastTo32(uint256 x) internal pure returns (uint32 y) {
        require(x < 1 << 32);

        y = uint32(x);
    }

    function safeCastTo24(uint256 x) internal pure returns (uint24 y) {
        require(x < 1 << 24);

        y = uint24(x);
    }

    function safeCastTo16(uint256 x) internal pure returns (uint16 y) {
        require(x < 1 << 16);

        y = uint16(x);
    }

    function safeCastTo8(uint256 x) internal pure returns (uint8 y) {
        require(x < 1 << 8);

        y = uint8(x);
    }
}

// Rewards logic inspired by xERC20 (https://github.com/ZeframLou/playpen/blob/main/src/xERC20.sol)

/** 
 @title  An xERC4626 Single Staking Contract Interface
 @notice This contract allows users to autocompound rewards denominated in an underlying reward token. 
         It is fully compatible with [ERC4626](https://eips.ethereum.org/EIPS/eip-4626) allowing for DeFi composability.
         It maintains balances using internal accounting to prevent instantaneous changes in the exchange rate.
         NOTE: an exception is at contract creation, when a reward cycle begins before the first deposit. After the first deposit, exchange rate updates smoothly.

         Operates on "cycles" which distribute the rewards surplus over the internal balance to users linearly over the remainder of the cycle window.
*/
interface IxERC4626 {
    /*////////////////////////////////////////////////////////
                        Custom Errors
    ////////////////////////////////////////////////////////*/

    /// @dev thrown when syncing before cycle ends.
    error SyncError();

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

    /// @dev emit every time a new rewards cycle starts
    event NewRewardsCycle(uint32 indexed cycleEnd, uint256 rewardAmount);

    /*////////////////////////////////////////////////////////
                        View Methods
    ////////////////////////////////////////////////////////*/

    /// @notice the maximum length of a rewards cycle
    function rewardsCycleLength() external view returns (uint32);

    /// @notice the effective start of the current cycle
    /// NOTE: This will likely be after `rewardsCycleEnd - rewardsCycleLength` as this is set as block.timestamp of the last `syncRewards` call.
    function lastSync() external view returns (uint32);

    /// @notice the end of the current cycle. Will always be evenly divisible by `rewardsCycleLength`.
    function rewardsCycleEnd() external view returns (uint32);

    /// @notice the amount of rewards distributed in a the most recent cycle
    function lastRewardAmount() external view returns (uint192);

    /*////////////////////////////////////////////////////////
                    State Changing Methods
    ////////////////////////////////////////////////////////*/

    /// @notice Distributes rewards to xERC4626 holders.
    /// All surplus `asset` balance of the contract over the internal balance becomes queued for the next cycle.
    function syncRewards() external;
}

/** 
 @title  An xERC4626 Single Staking Contract
 @notice This contract allows users to autocompound rewards denominated in an underlying reward token. 
         It is fully compatible with [ERC4626](https://eips.ethereum.org/EIPS/eip-4626) allowing for DeFi composability.
         It maintains balances using internal accounting to prevent instantaneous changes in the exchange rate.
         NOTE: an exception is at contract creation, when a reward cycle begins before the first deposit. After the first deposit, exchange rate updates smoothly.

         Operates on "cycles" which distribute the rewards surplus over the internal balance to users linearly over the remainder of the cycle window.
*/
abstract contract xERC4626 is IxERC4626, ERC4626 {
    using SafeCastLib for *;

    /// @notice the maximum length of a rewards cycle
    uint32 public immutable rewardsCycleLength;

    /// @notice the effective start of the current cycle
    uint32 public lastSync;

    /// @notice the end of the current cycle. Will always be evenly divisible by `rewardsCycleLength`.
    uint32 public rewardsCycleEnd;

    /// @notice the amount of rewards distributed in a the most recent cycle.
    uint192 public lastRewardAmount;

    uint256 internal storedTotalAssets;

    constructor(uint32 _rewardsCycleLength) {
        rewardsCycleLength = _rewardsCycleLength;
        // seed initial rewardsCycleEnd
        rewardsCycleEnd = (block.timestamp.safeCastTo32() / rewardsCycleLength) * rewardsCycleLength;
    }

    /// @notice Compute the amount of tokens available to share holders.
    ///         Increases linearly during a reward distribution period from the sync call, not the cycle start.
    function totalAssets() public view override returns (uint256) {
        // cache global vars
        uint256 storedTotalAssets_ = storedTotalAssets;
        uint192 lastRewardAmount_ = lastRewardAmount;
        uint32 rewardsCycleEnd_ = rewardsCycleEnd;
        uint32 lastSync_ = lastSync;

        if (block.timestamp >= rewardsCycleEnd_) {
            // no rewards or rewards fully unlocked
            // entire reward amount is available
            return storedTotalAssets_ + lastRewardAmount_;
        }

        // rewards not fully unlocked
        // add unlocked rewards to stored total
        uint256 unlockedRewards = (lastRewardAmount_ * (block.timestamp - lastSync_)) / (rewardsCycleEnd_ - lastSync_);
        return storedTotalAssets_ + unlockedRewards;
    }

    // Update storedTotalAssets on withdraw/redeem
    function beforeWithdraw(uint256 amount, uint256 shares) internal virtual override {
        super.beforeWithdraw(amount, shares);
        storedTotalAssets -= amount;
    }

    // Update storedTotalAssets on deposit/mint
    function afterDeposit(uint256 amount, uint256 shares) internal virtual override {
        storedTotalAssets += amount;
        super.afterDeposit(amount, shares);
    }

    /// @notice Distributes rewards to xERC4626 holders.
    /// All surplus `asset` balance of the contract over the internal balance becomes queued for the next cycle.
    function syncRewards() public virtual {
        uint192 lastRewardAmount_ = lastRewardAmount;
        uint32 timestamp = block.timestamp.safeCastTo32();

        if (timestamp < rewardsCycleEnd) revert SyncError();

        uint256 storedTotalAssets_ = storedTotalAssets;
        uint256 nextRewards = asset.balanceOf(address(this)) - storedTotalAssets_ - lastRewardAmount_;

        storedTotalAssets = storedTotalAssets_ + lastRewardAmount_; // SSTORE

        uint32 end = ((timestamp + rewardsCycleLength) / rewardsCycleLength) * rewardsCycleLength;

        if (end - timestamp < rewardsCycleLength / 20) {
            end += rewardsCycleLength;
        }

        // Combined single SSTORE
        lastRewardAmount = nextRewards.safeCastTo192();
        lastSync = timestamp;
        rewardsCycleEnd = end;

        emit NewRewardsCycle(end, nextRewards);
    }
}

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

/// @title Vault token for staked frxETH
/// @notice Is a vault that takes frxETH and gives you sfrxETH erc20 tokens
/** @dev Exchange rate between frxETH and sfrxETH floats, you can convert your sfrxETH for more frxETH over time.
    Exchange rate increases as the frax msig mints new frxETH corresponding to the staking yield and drops it into the vault (sfrxETH contract).
    There is a short time period, “cycles” which the exchange rate increases linearly over. This is to prevent gaming the exchange rate (MEV).
    The cycles are constant length, but calling syncRewards slightly into a would-be cycle keeps the same would-be endpoint (so cycle ends are every X seconds).
    Someone must call syncRewards, which queues any new frxETH in the contract to be added to the redeemable amount.
    sfrxETH adheres to ERC-4626 vault specs 
    Mint vs Deposit
    mint() - deposit targeting a specific number of sfrxETH out
    deposit() - deposit knowing a specific number of frxETH in */
contract sfrxETH is xERC4626, ReentrancyGuard {

    modifier andSync {
        if (block.timestamp >= rewardsCycleEnd) { syncRewards(); } 
        _;
    }

    /* ========== CONSTRUCTOR ========== */
    constructor(ERC20 _underlying, uint32 _rewardsCycleLength)
        ERC4626(_underlying, "Staked Frax Ether", "sfrxETH")
        xERC4626(_rewardsCycleLength)
    {}

    /// @notice inlines syncRewards with deposits when able
    function deposit(uint256 assets, address receiver) public override andSync returns (uint256 shares) {
        return super.deposit(assets, receiver);
    }
    
    /// @notice inlines syncRewards with mints when able
    function mint(uint256 shares, address receiver) public override andSync returns (uint256 assets) {
        return super.mint(shares, receiver);
    }

    /// @notice inlines syncRewards with withdrawals when able
    function withdraw(
        uint256 assets,
        address receiver,
        address owner
    ) public override andSync returns (uint256 shares) {
        return super.withdraw(assets, receiver, owner);
    }

    /// @notice inlines syncRewards with redemptions when able
    function redeem(
        uint256 shares,
        address receiver,
        address owner
    ) public override andSync returns (uint256 assets) {
        return super.redeem(shares, receiver, owner);
    }

    /// @notice How much frxETH is 1E18 sfrxETH worth. Price is in ETH, not USD
    function pricePerShare() public view returns (uint256) {
        return convertToAssets(1e18);
    }

    /// @notice Approve and deposit() in one transaction
    function depositWithSignature(
        uint256 assets,
        address receiver,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external nonReentrant returns (uint256 shares) {
        uint256 amount = approveMax ? type(uint256).max : assets;
        asset.permit(msg.sender, address(this), amount, deadline, v, r, s);
        return (deposit(assets, receiver));
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ERC20","name":"_underlying","type":"address"},{"internalType":"uint32","name":"_rewardsCycleLength","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"SyncError","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","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":"uint32","name":"cycleEnd","type":"uint32"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"name":"NewRewardsCycle","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"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"},{"inputs":[],"name":"DOMAIN_SEPARATOR","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":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"asset","outputs":[{"internalType":"contract ERC20","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":"uint256","name":"shares","type":"uint256"}],"name":"convertToAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"convertToShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":"bool","name":"approveMax","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"depositWithSignature","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastRewardAmount","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSync","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"maxRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"maxWithdraw","outputs":[{"internalType":"uint256","name":"","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":[],"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":"value","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":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerShare","outputs":[{"internalType":"uint256","name":"","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":[],"name":"rewardsCycleEnd","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsCycleLength","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"syncRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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"}]

6101206040523480156200001257600080fd5b506040516200217a3803806200217a833981016040819052620000359162000257565b80826040518060400160405280601181526020017029ba30b5b2b210233930bc1022ba3432b960791b815250604051806040016040528060078152602001660e6cce4f08aa8960cb1b8152508181846001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000e89190620002a9565b6000620000f684826200037a565b5060016200010583826200037a565b5060ff81166080524660a0526200011b620001a3565b60c052505050506001600160a01b039190911660e0525063ffffffff81166101008190528062000157426200023f602090811b62000fc717901c565b62000163919062000446565b6200016f919062000478565b6006805463ffffffff929092166401000000000263ffffffff60201b19909216919091179055505060016008555062000531565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620001d79190620004b3565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600064010000000082106200025357600080fd5b5090565b600080604083850312156200026b57600080fd5b82516001600160a01b03811681146200028357600080fd5b602084015190925063ffffffff811681146200029e57600080fd5b809150509250929050565b600060208284031215620002bc57600080fd5b815160ff81168114620002ce57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200030057607f821691505b6020821081036200032157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037557600081815260208120601f850160051c81016020861015620003505750805b601f850160051c820191505b8181101562000371578281556001016200035c565b5050505b505050565b81516001600160401b03811115620003965762000396620002d5565b620003ae81620003a78454620002eb565b8462000327565b602080601f831160018114620003e65760008415620003cd5750858301515b600019600386901b1c1916600185901b17855562000371565b600085815260208120601f198616915b828110156200041757888601518255948401946001909101908401620003f6565b5085821015620004365787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600063ffffffff808416806200046c57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600063ffffffff80831681851681830481118215151615620004aa57634e487b7160e01b600052601160045260246000fd5b02949350505050565b6000808354620004c381620002eb565b60018281168015620004de5760018114620004f45762000525565b60ff198416875282151583028701945062000525565b8760005260208060002060005b858110156200051c5781548a82015290840190820162000501565b50505082870194505b50929695505050505050565b60805160a05160c05160e05161010051611bc5620005b560003960008181610390015281816109e501528181610a2c0152610a710152600081816102f10152818161094201528181610b7b0152818161111c015281816112230152818161138c01526114d80152600061086d01526000610838015260006102b00152611bc56000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806375e077c311610125578063bafedcaa116100ad578063d505accf1161007c578063d505accf146104d6578063d905777e146104e9578063dd62ed3e14610512578063e7ff69f11461053d578063ef8b30f71461055457600080fd5b8063bafedcaa1461047e578063c63d75b61461032b578063c6e6f592146104b0578063ce96cb77146104c357600080fd5b806399530b06116100f457806399530b061461042a578063a9059cbb14610432578063b3d7f6b914610445578063b460af9414610458578063ba0876521461046b57600080fd5b806375e077c3146103dc5780637ecebe00146103ef57806394bf804d1461040f57806395d89b411461042257600080fd5b80633644e515116101a85780636917516b116101775780636917516b146103535780636e553f65146103785780636fcf5e5f1461038b57806370a08231146103b257806372c0c211146103d257600080fd5b80633644e515146102e457806338d52e0f146102ec578063402d267d1461032b5780634cdad5061461034057600080fd5b80630a28a477116101e45780630a28a4771461027c57806318160ddd1461028f57806323b872dd14610298578063313ce567146102ab57600080fd5b806301e1d1141461021657806306fdde031461023157806307a2d13a14610246578063095ea7b314610259575b600080fd5b61021e610567565b6040519081526020015b60405180910390f35b61023961060c565b6040516102289190611702565b61021e610254366004611750565b61069a565b61026c610267366004611785565b6106c7565b6040519015158152602001610228565b61021e61028a366004611750565b610734565b61021e60025481565b61026c6102a63660046117af565b610754565b6102d27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610228565b61021e610834565b6103137f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610228565b61021e6103393660046117eb565b5060001990565b61021e61034e366004611750565b61088f565b6006546103639063ffffffff1681565b60405163ffffffff9091168152602001610228565b61021e610386366004611806565b61089a565b6103637f000000000000000000000000000000000000000000000000000000000000000081565b61021e6103c03660046117eb565b60036020526000908152604090205481565b6103da6108c5565b005b61021e6103ea366004611843565b610b1d565b61021e6103fd3660046117eb565b60056020526000908152604090205481565b61021e61041d366004611806565b610c01565b610239610c2c565b61021e610c39565b61026c610440366004611785565b610c4c565b61021e610453366004611750565b610cb2565b61021e6104663660046118b4565b610cd1565b61021e6104793660046118b4565b610d05565b60065461049890600160401b90046001600160c01b031681565b6040516001600160c01b039091168152602001610228565b61021e6104be366004611750565b610d31565b61021e6104d13660046117eb565b610d51565b6103da6104e43660046118f0565b610d73565b61021e6104f73660046117eb565b6001600160a01b031660009081526003602052604090205490565b61021e61052036600461193e565b600460209081526000928352604080842090915290825290205481565b60065461036390600160201b900463ffffffff1681565b61021e610562366004611750565b610fbc565b600754600654600091906001600160c01b03600160401b8204169063ffffffff600160201b8204811691164282116105b5576105ac6001600160c01b0384168561197e565b94505050505090565b60006105c18284611991565b63ffffffff168263ffffffff16426105d991906119b5565b6105ec906001600160c01b0387166119c8565b6105f691906119fd565b9050610602818661197e565b9550505050505090565b6000805461061990611a11565b80601f016020809104026020016040519081016040528092919081815260200182805461064590611a11565b80156106925780601f1061066757610100808354040283529160200191610692565b820191906000526020600020905b81548152906001019060200180831161067557829003601f168201915b505050505081565b60025460009080156106be576106b96106b1610567565b849083610fdd565b6106c0565b825b9392505050565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107229086815260200190565b60405180910390a35060015b92915050565b60025460009080156106be576106b98161074c610567565b859190610ffc565b6001600160a01b038316600090815260046020908152604080832033845290915281205460001981146107b05761078b83826119b5565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906107d89084906119b5565b90915550506001600160a01b0380851660008181526003602052604090819020805487019055519091871690600080516020611b70833981519152906108219087815260200190565b60405180910390a3506001949350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461461086a5761086561102a565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b600061072e8261069a565b600654600090600160201b900463ffffffff1642106108bb576108bb6108c5565b6106c083836110c4565b600654600160401b90046001600160c01b031660006108e342610fc7565b60065490915063ffffffff600160201b9091048116908216101561091a5760405163127d33e760e21b815260040160405180910390fd5b6007546040516370a0823160e01b81523060048201526000906001600160c01b0385169083907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b59190611a4b565b6109bf91906119b5565b6109c991906119b5565b90506109de6001600160c01b0385168361197e565b60075560007f000000000000000000000000000000000000000000000000000000000000000080610a0f8187611a64565b610a199190611a81565b610a239190611aa4565b9050610a5060147f0000000000000000000000000000000000000000000000000000000000000000611a81565b63ffffffff16610a608583611991565b63ffffffff161015610a9957610a967f000000000000000000000000000000000000000000000000000000000000000082611a64565b90505b610aa28261119e565b63ffffffff828116600160201b81026001600160c01b0393909316600160401b0267ffffffffffffffff191691871691909117919091176006556040517f2fa39aac60d1c94cda4ab0e86ae9c0ffab5b926e5b827a4ccba1d9b5b2ef596e90610b0e9085815260200190565b60405180910390a25050505050565b6000610b276111b0565b600085610b345788610b38565b6000195b60405163d505accf60e01b8152336004820152306024820152604481018290526064810189905260ff8716608482015260a4810186905260c481018590529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d505accf9060e401600060405180830381600087803b158015610bc757600080fd5b505af1158015610bdb573d6000803e3d6000fd5b50505050610be9898961089a565b915050610bf66001600855565b979650505050505050565b600654600090600160201b900463ffffffff164210610c2257610c226108c5565b6106c08383611209565b6001805461061990611a11565b6000610865670de0b6b3a764000061069a565b33600090815260036020526040812080548391908390610c6d9084906119b5565b90915550506001600160a01b03831660008181526003602052604090819020805485019055513390600080516020611b70833981519152906107229086815260200190565b60025460009080156106be576106b9610cc9610567565b849083610ffc565b600654600090600160201b900463ffffffff164210610cf257610cf26108c5565b610cfd8484846112a5565b949350505050565b600654600090600160201b900463ffffffff164210610d2657610d266108c5565b610cfd8484846113b3565b60025460009080156106be576106b981610d49610567565b859190610fdd565b6001600160a01b03811660009081526003602052604081205461072e9061069a565b42841015610dc85760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b60006001610dd4610834565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610ee0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f165750876001600160a01b0316816001600160a01b0316145b610f535760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610dbf565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b600061072e82610d31565b6000600160201b8210610fd957600080fd5b5090565b828202811515841585830485141716610ff557600080fd5b0492915050565b82820281151584158583048514171661101457600080fd5b6001826001830304018115150290509392505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405161105c9190611ad0565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b60006110cf83610fbc565b90508060000361110f5760405162461bcd60e51b815260206004820152600b60248201526a5a45524f5f53484152455360a81b6044820152606401610dbf565b6111446001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330866114ff565b61114e8282611589565b60408051848152602081018390526001600160a01b0384169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a361072e83826115e3565b6000600160c01b8210610fd957600080fd5b6002600854036112025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610dbf565b6002600855565b600061121483610cb2565b905061124b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846114ff565b6112558284611589565b60408051828152602081018590526001600160a01b0384169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a361072e81846115e3565b60006112b084610734565b9050336001600160a01b03831614611320576001600160a01b0382166000908152600460209081526040808320338452909152902054600019811461131e576112f982826119b5565b6001600160a01b03841660009081526004602090815260408083203384529091529020555b505b61132a8482611607565b6113348282611622565b60408051858152602081018390526001600160a01b03808516929086169133917ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db910160405180910390a46106c06001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168486611684565b6000336001600160a01b03831614611423576001600160a01b03821660009081526004602090815260408083203384529091529020546000198114611421576113fc85826119b5565b6001600160a01b03841660009081526004602090815260408083203384529091529020555b505b61142c8461088f565b90508060000361146c5760405162461bcd60e51b815260206004820152600b60248201526a5a45524f5f41535345545360a81b6044820152606401610dbf565b6114768185611607565b6114808285611622565b60408051828152602081018690526001600160a01b03808516929086169133917ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db910160405180910390a46106c06001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168483611684565b60006040516323b872dd60e01b81528460048201528360248201528260448201526020600060648360008a5af13d15601f3d11600160005114161716915050806115825760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b6044820152606401610dbf565b5050505050565b806002600082825461159b919061197e565b90915550506001600160a01b038216600081815260036020908152604080832080548601905551848152600080516020611b7083398151915291015b60405180910390a35050565b81600760008282546115f5919061197e565b909155506116039050828282565b5050565b816007600082825461161991906119b5565b90915550505050565b6001600160a01b0382166000908152600360205260408120805483929061164a9084906119b5565b90915550506002805482900390556040518181526000906001600160a01b03841690600080516020611b70833981519152906020016115d7565b600060405163a9059cbb60e01b8152836004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806116fc5760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610dbf565b50505050565b600060208083528351808285015260005b8181101561172f57858101830151858201604001528201611713565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561176257600080fd5b5035919050565b80356001600160a01b038116811461178057600080fd5b919050565b6000806040838503121561179857600080fd5b6117a183611769565b946020939093013593505050565b6000806000606084860312156117c457600080fd5b6117cd84611769565b92506117db60208501611769565b9150604084013590509250925092565b6000602082840312156117fd57600080fd5b6106c082611769565b6000806040838503121561181957600080fd5b8235915061182960208401611769565b90509250929050565b803560ff8116811461178057600080fd5b600080600080600080600060e0888a03121561185e57600080fd5b8735965061186e60208901611769565b9550604088013594506060880135801515811461188a57600080fd5b935061189860808901611832565b925060a0880135915060c0880135905092959891949750929550565b6000806000606084860312156118c957600080fd5b833592506118d960208501611769565b91506118e760408501611769565b90509250925092565b600080600080600080600060e0888a03121561190b57600080fd5b61191488611769565b965061192260208901611769565b9550604088013594506060880135935061189860808901611832565b6000806040838503121561195157600080fd5b61195a83611769565b915061182960208401611769565b634e487b7160e01b600052601160045260246000fd5b8082018082111561072e5761072e611968565b63ffffffff8281168282160390808211156119ae576119ae611968565b5092915050565b8181038181111561072e5761072e611968565b60008160001904831182151516156119e2576119e2611968565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611a0c57611a0c6119e7565b500490565b600181811c90821680611a2557607f821691505b602082108103611a4557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a5d57600080fd5b5051919050565b63ffffffff8181168382160190808211156119ae576119ae611968565b600063ffffffff80841680611a9857611a986119e7565b92169190910492915050565b600063ffffffff80831681851681830481118215151615611ac757611ac7611968565b02949350505050565b600080835481600182811c915080831680611aec57607f831692505b60208084108203611b0b57634e487b7160e01b86526022600452602486fd5b818015611b1f5760018114611b3457611b61565b60ff1986168952841515850289019650611b61565b60008a81526020902060005b86811015611b595781548b820152908501908301611b40565b505084890196505b50949897505050505050505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212208f059a8438b52331181933efb862ac2366df392bb2272ddf39f886897590616564736f6c634300081000330000000000000000000000005e8422345238f34275888049021821e8e08caa1f0000000000000000000000000000000000000000000000000000000000093a80

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c806375e077c311610125578063bafedcaa116100ad578063d505accf1161007c578063d505accf146104d6578063d905777e146104e9578063dd62ed3e14610512578063e7ff69f11461053d578063ef8b30f71461055457600080fd5b8063bafedcaa1461047e578063c63d75b61461032b578063c6e6f592146104b0578063ce96cb77146104c357600080fd5b806399530b06116100f457806399530b061461042a578063a9059cbb14610432578063b3d7f6b914610445578063b460af9414610458578063ba0876521461046b57600080fd5b806375e077c3146103dc5780637ecebe00146103ef57806394bf804d1461040f57806395d89b411461042257600080fd5b80633644e515116101a85780636917516b116101775780636917516b146103535780636e553f65146103785780636fcf5e5f1461038b57806370a08231146103b257806372c0c211146103d257600080fd5b80633644e515146102e457806338d52e0f146102ec578063402d267d1461032b5780634cdad5061461034057600080fd5b80630a28a477116101e45780630a28a4771461027c57806318160ddd1461028f57806323b872dd14610298578063313ce567146102ab57600080fd5b806301e1d1141461021657806306fdde031461023157806307a2d13a14610246578063095ea7b314610259575b600080fd5b61021e610567565b6040519081526020015b60405180910390f35b61023961060c565b6040516102289190611702565b61021e610254366004611750565b61069a565b61026c610267366004611785565b6106c7565b6040519015158152602001610228565b61021e61028a366004611750565b610734565b61021e60025481565b61026c6102a63660046117af565b610754565b6102d27f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610228565b61021e610834565b6103137f0000000000000000000000005e8422345238f34275888049021821e8e08caa1f81565b6040516001600160a01b039091168152602001610228565b61021e6103393660046117eb565b5060001990565b61021e61034e366004611750565b61088f565b6006546103639063ffffffff1681565b60405163ffffffff9091168152602001610228565b61021e610386366004611806565b61089a565b6103637f0000000000000000000000000000000000000000000000000000000000093a8081565b61021e6103c03660046117eb565b60036020526000908152604090205481565b6103da6108c5565b005b61021e6103ea366004611843565b610b1d565b61021e6103fd3660046117eb565b60056020526000908152604090205481565b61021e61041d366004611806565b610c01565b610239610c2c565b61021e610c39565b61026c610440366004611785565b610c4c565b61021e610453366004611750565b610cb2565b61021e6104663660046118b4565b610cd1565b61021e6104793660046118b4565b610d05565b60065461049890600160401b90046001600160c01b031681565b6040516001600160c01b039091168152602001610228565b61021e6104be366004611750565b610d31565b61021e6104d13660046117eb565b610d51565b6103da6104e43660046118f0565b610d73565b61021e6104f73660046117eb565b6001600160a01b031660009081526003602052604090205490565b61021e61052036600461193e565b600460209081526000928352604080842090915290825290205481565b60065461036390600160201b900463ffffffff1681565b61021e610562366004611750565b610fbc565b600754600654600091906001600160c01b03600160401b8204169063ffffffff600160201b8204811691164282116105b5576105ac6001600160c01b0384168561197e565b94505050505090565b60006105c18284611991565b63ffffffff168263ffffffff16426105d991906119b5565b6105ec906001600160c01b0387166119c8565b6105f691906119fd565b9050610602818661197e565b9550505050505090565b6000805461061990611a11565b80601f016020809104026020016040519081016040528092919081815260200182805461064590611a11565b80156106925780601f1061066757610100808354040283529160200191610692565b820191906000526020600020905b81548152906001019060200180831161067557829003601f168201915b505050505081565b60025460009080156106be576106b96106b1610567565b849083610fdd565b6106c0565b825b9392505050565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107229086815260200190565b60405180910390a35060015b92915050565b60025460009080156106be576106b98161074c610567565b859190610ffc565b6001600160a01b038316600090815260046020908152604080832033845290915281205460001981146107b05761078b83826119b5565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906107d89084906119b5565b90915550506001600160a01b0380851660008181526003602052604090819020805487019055519091871690600080516020611b70833981519152906108219087815260200190565b60405180910390a3506001949350505050565b60007f0000000000000000000000000000000000000000000000000000000000000001461461086a5761086561102a565b905090565b507fe8254029df4a5fbfcf2de75f8fcf68b1060354a363693b1507e1197cc3dcc29b90565b600061072e8261069a565b600654600090600160201b900463ffffffff1642106108bb576108bb6108c5565b6106c083836110c4565b600654600160401b90046001600160c01b031660006108e342610fc7565b60065490915063ffffffff600160201b9091048116908216101561091a5760405163127d33e760e21b815260040160405180910390fd5b6007546040516370a0823160e01b81523060048201526000906001600160c01b0385169083907f0000000000000000000000005e8422345238f34275888049021821e8e08caa1f6001600160a01b0316906370a0823190602401602060405180830381865afa158015610991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b59190611a4b565b6109bf91906119b5565b6109c991906119b5565b90506109de6001600160c01b0385168361197e565b60075560007f0000000000000000000000000000000000000000000000000000000000093a8080610a0f8187611a64565b610a199190611a81565b610a239190611aa4565b9050610a5060147f0000000000000000000000000000000000000000000000000000000000093a80611a81565b63ffffffff16610a608583611991565b63ffffffff161015610a9957610a967f0000000000000000000000000000000000000000000000000000000000093a8082611a64565b90505b610aa28261119e565b63ffffffff828116600160201b81026001600160c01b0393909316600160401b0267ffffffffffffffff191691871691909117919091176006556040517f2fa39aac60d1c94cda4ab0e86ae9c0ffab5b926e5b827a4ccba1d9b5b2ef596e90610b0e9085815260200190565b60405180910390a25050505050565b6000610b276111b0565b600085610b345788610b38565b6000195b60405163d505accf60e01b8152336004820152306024820152604481018290526064810189905260ff8716608482015260a4810186905260c481018590529091507f0000000000000000000000005e8422345238f34275888049021821e8e08caa1f6001600160a01b03169063d505accf9060e401600060405180830381600087803b158015610bc757600080fd5b505af1158015610bdb573d6000803e3d6000fd5b50505050610be9898961089a565b915050610bf66001600855565b979650505050505050565b600654600090600160201b900463ffffffff164210610c2257610c226108c5565b6106c08383611209565b6001805461061990611a11565b6000610865670de0b6b3a764000061069a565b33600090815260036020526040812080548391908390610c6d9084906119b5565b90915550506001600160a01b03831660008181526003602052604090819020805485019055513390600080516020611b70833981519152906107229086815260200190565b60025460009080156106be576106b9610cc9610567565b849083610ffc565b600654600090600160201b900463ffffffff164210610cf257610cf26108c5565b610cfd8484846112a5565b949350505050565b600654600090600160201b900463ffffffff164210610d2657610d266108c5565b610cfd8484846113b3565b60025460009080156106be576106b981610d49610567565b859190610fdd565b6001600160a01b03811660009081526003602052604081205461072e9061069a565b42841015610dc85760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b60006001610dd4610834565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610ee0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f165750876001600160a01b0316816001600160a01b0316145b610f535760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610dbf565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b600061072e82610d31565b6000600160201b8210610fd957600080fd5b5090565b828202811515841585830485141716610ff557600080fd5b0492915050565b82820281151584158583048514171661101457600080fd5b6001826001830304018115150290509392505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405161105c9190611ad0565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b60006110cf83610fbc565b90508060000361110f5760405162461bcd60e51b815260206004820152600b60248201526a5a45524f5f53484152455360a81b6044820152606401610dbf565b6111446001600160a01b037f0000000000000000000000005e8422345238f34275888049021821e8e08caa1f163330866114ff565b61114e8282611589565b60408051848152602081018390526001600160a01b0384169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a361072e83826115e3565b6000600160c01b8210610fd957600080fd5b6002600854036112025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610dbf565b6002600855565b600061121483610cb2565b905061124b6001600160a01b037f0000000000000000000000005e8422345238f34275888049021821e8e08caa1f163330846114ff565b6112558284611589565b60408051828152602081018590526001600160a01b0384169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a361072e81846115e3565b60006112b084610734565b9050336001600160a01b03831614611320576001600160a01b0382166000908152600460209081526040808320338452909152902054600019811461131e576112f982826119b5565b6001600160a01b03841660009081526004602090815260408083203384529091529020555b505b61132a8482611607565b6113348282611622565b60408051858152602081018390526001600160a01b03808516929086169133917ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db910160405180910390a46106c06001600160a01b037f0000000000000000000000005e8422345238f34275888049021821e8e08caa1f168486611684565b6000336001600160a01b03831614611423576001600160a01b03821660009081526004602090815260408083203384529091529020546000198114611421576113fc85826119b5565b6001600160a01b03841660009081526004602090815260408083203384529091529020555b505b61142c8461088f565b90508060000361146c5760405162461bcd60e51b815260206004820152600b60248201526a5a45524f5f41535345545360a81b6044820152606401610dbf565b6114768185611607565b6114808285611622565b60408051828152602081018690526001600160a01b03808516929086169133917ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db910160405180910390a46106c06001600160a01b037f0000000000000000000000005e8422345238f34275888049021821e8e08caa1f168483611684565b60006040516323b872dd60e01b81528460048201528360248201528260448201526020600060648360008a5af13d15601f3d11600160005114161716915050806115825760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b6044820152606401610dbf565b5050505050565b806002600082825461159b919061197e565b90915550506001600160a01b038216600081815260036020908152604080832080548601905551848152600080516020611b7083398151915291015b60405180910390a35050565b81600760008282546115f5919061197e565b909155506116039050828282565b5050565b816007600082825461161991906119b5565b90915550505050565b6001600160a01b0382166000908152600360205260408120805483929061164a9084906119b5565b90915550506002805482900390556040518181526000906001600160a01b03841690600080516020611b70833981519152906020016115d7565b600060405163a9059cbb60e01b8152836004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806116fc5760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610dbf565b50505050565b600060208083528351808285015260005b8181101561172f57858101830151858201604001528201611713565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561176257600080fd5b5035919050565b80356001600160a01b038116811461178057600080fd5b919050565b6000806040838503121561179857600080fd5b6117a183611769565b946020939093013593505050565b6000806000606084860312156117c457600080fd5b6117cd84611769565b92506117db60208501611769565b9150604084013590509250925092565b6000602082840312156117fd57600080fd5b6106c082611769565b6000806040838503121561181957600080fd5b8235915061182960208401611769565b90509250929050565b803560ff8116811461178057600080fd5b600080600080600080600060e0888a03121561185e57600080fd5b8735965061186e60208901611769565b9550604088013594506060880135801515811461188a57600080fd5b935061189860808901611832565b925060a0880135915060c0880135905092959891949750929550565b6000806000606084860312156118c957600080fd5b833592506118d960208501611769565b91506118e760408501611769565b90509250925092565b600080600080600080600060e0888a03121561190b57600080fd5b61191488611769565b965061192260208901611769565b9550604088013594506060880135935061189860808901611832565b6000806040838503121561195157600080fd5b61195a83611769565b915061182960208401611769565b634e487b7160e01b600052601160045260246000fd5b8082018082111561072e5761072e611968565b63ffffffff8281168282160390808211156119ae576119ae611968565b5092915050565b8181038181111561072e5761072e611968565b60008160001904831182151516156119e2576119e2611968565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611a0c57611a0c6119e7565b500490565b600181811c90821680611a2557607f821691505b602082108103611a4557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a5d57600080fd5b5051919050565b63ffffffff8181168382160190808211156119ae576119ae611968565b600063ffffffff80841680611a9857611a986119e7565b92169190910492915050565b600063ffffffff80831681851681830481118215151615611ac757611ac7611968565b02949350505050565b600080835481600182811c915080831680611aec57607f831692505b60208084108203611b0b57634e487b7160e01b86526022600452602486fd5b818015611b1f5760018114611b3457611b61565b60ff1986168952841515850289019650611b61565b60008a81526020902060005b86811015611b595781548b820152908501908301611b40565b505084890196505b50949897505050505050505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212208f059a8438b52331181933efb862ac2366df392bb2272ddf39f886897590616564736f6c63430008100033

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

0000000000000000000000005e8422345238f34275888049021821e8e08caa1f0000000000000000000000000000000000000000000000000000000000093a80

-----Decoded View---------------
Arg [0] : _underlying (address): 0x5E8422345238F34275888049021821E8E08CAa1f
Arg [1] : _rewardsCycleLength (uint32): 604800

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000005e8422345238f34275888049021821e8e08caa1f
Arg [1] : 0000000000000000000000000000000000000000000000000000000000093a80


Deployed Bytecode Sourcemap

43030:2104:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36851:795;;;:::i;:::-;;;160:25:1;;;148:2;133:18;36851:795:0;;;;;;;;2288:18;;;:::i;:::-;;;;;;;:::i;28449:261::-;;;;;;:::i;:::-;;:::i;3765:217::-;;;;;;:::i;:::-;;:::i;:::-;;;1536:14:1;;1529:22;1511:41;;1499:2;1484:18;3765:217:0;1371:187:1;29116:259:0;;;;;;:::i;:::-;;:::i;2571:26::-;;;;;;4383:612;;;;;;:::i;:::-;;:::i;2344:31::-;;;;;;;;2068:4:1;2056:17;;;2038:36;;2026:2;2011:18;2344:31:0;1896:184:1;6725:179:0;;;:::i;25037:28::-;;;;;;;;-1:-1:-1;;;;;2444:32:1;;;2426:51;;2414:2;2399:18;25037:28:0;2267:216:1;29712:110:0;;;;;;:::i;:::-;-1:-1:-1;;;29797:17:0;29712:110;29383:126;;;;;;:::i;:::-;;:::i;36078:22::-;;;;;;;;;;;;2853:10:1;2841:23;;;2823:42;;2811:2;2796:18;36078:22:0;2679:192:1;43480:157:0;;;;;;:::i;:::-;;:::i;35969:42::-;;;;;2606:44;;;;;;:::i;:::-;;;;;;;;;;;;;;38289:890;;;:::i;:::-;;44685:444;;;;;;:::i;:::-;;:::i;3032:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;43707:151;;;;;;:::i;:::-;;:::i;2315:20::-;;;:::i;44517:102::-;;;:::i;3990:385::-;;;;;;:::i;:::-;;:::i;28853:255::-;;;;;;:::i;:::-;;:::i;43930:215::-;;;;;;:::i;:::-;;:::i;44217:211::-;;;;;;:::i;:::-;;:::i;36330:31::-;;;;;-1:-1:-1;;;36330:31:0;;-1:-1:-1;;;;;36330:31:0;;;;;;-1:-1:-1;;;;;4491:32:1;;;4473:51;;4461:2;4446:18;36330:31:0;4327:203:1;28180:261:0;;;;;;:::i;:::-;;:::i;29945:133::-;;;;;;:::i;:::-;;:::i;5190:1527::-;;;;;;:::i;:::-;;:::i;30086:114::-;;;;;;:::i;:::-;-1:-1:-1;;;;;30176:16:0;30149:7;30176:16;;;:9;:16;;;;;;;30086:114;2659:64;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;36213:29;;;;;-1:-1:-1;;;36213:29:0;;;;;;28718:127;;;;;;:::i;:::-;;:::i;36851:795::-;36983:17;;37039:16;;36904:7;;36983:17;-1:-1:-1;;;;;;;;37039:16:0;;;;37092:15;-1:-1:-1;;;37092:15:0;;;;;37137:8;37162:15;:35;-1:-1:-1;37158:216:0;;37324:38;-1:-1:-1;;;;;37324:38:0;;:18;:38;:::i;:::-;37317:45;;;;;;36851:795;:::o;37158:216::-;37474:23;37555:28;37574:9;37555:16;:28;:::i;:::-;37500:84;;37540:9;37522:27;;:15;:27;;;;:::i;:::-;37501:49;;-1:-1:-1;;;;;37501:49:0;;;:::i;:::-;37500:84;;;;:::i;:::-;37474:110;-1:-1:-1;37602:36:0;37474:110;37602:18;:36;:::i;:::-;37595:43;;;;;;;36851:795;:::o;2288:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28449:261::-;28556:11;;28519:7;;28639:11;;:63;;28662:40;28680:13;:11;:13::i;:::-;28662:6;;28695;28662:17;:40::i;:::-;28639:63;;;28653:6;28639:63;28632:70;28449:261;-1:-1:-1;;;28449:261:0:o;3765:217::-;3866:10;3839:4;3856:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;3856:30:0;;;;;;;;;;:39;;;3913:37;3839:4;;3856:30;;3913:37;;;;3889:6;160:25:1;;148:2;133:18;;14:177;3913:37:0;;;;;;;;-1:-1:-1;3970:4:0;3765:217;;;;;:::o;29116:259::-;29223:11;;29186:7;;29306:11;;:61;;29329:38;29345:6;29353:13;:11;:13::i;:::-;29329:6;;:38;:15;:38::i;4383:612::-;-1:-1:-1;;;;;4540:15:0;;4505:4;4540:15;;;:9;:15;;;;;;;;4556:10;4540:27;;;;;;;;-1:-1:-1;;4620:28:0;;4616:80;;4680:16;4690:6;4680:7;:16;:::i;:::-;-1:-1:-1;;;;;4650:15:0;;;;;;:9;:15;;;;;;;;4666:10;4650:27;;;;;;;:46;4616:80;-1:-1:-1;;;;;4709:15:0;;;;;;:9;:15;;;;;:25;;4728:6;;4709:15;:25;;4728:6;;4709:25;:::i;:::-;;;;-1:-1:-1;;;;;;;4885:13:0;;;;;;;:9;:13;;;;;;;:23;;;;;;4937:26;4885:13;;4937:26;;;-1:-1:-1;;;;;;;;;;;4937:26:0;;;4902:6;160:25:1;;148:2;133:18;;14:177;4937:26:0;;;;;;;;-1:-1:-1;4983:4:0;;4383:612;-1:-1:-1;;;;4383:612:0:o;6725:179::-;6782:7;6826:16;6809:13;:33;:87;;6872:24;:22;:24::i;:::-;6802:94;;6725:179;:::o;6809:87::-;-1:-1:-1;6845:24:0;;6725:179::o;29383:126::-;29451:7;29478:23;29494:6;29478:15;:23::i;43480:157::-;43136:15;;43564:14;;-1:-1:-1;;;43136:15:0;;;;43117;:34;43113:58;;43155:13;:11;:13::i;:::-;43598:31:::1;43612:6;43620:8;43598:13;:31::i;38289:890::-:0;38366:16;;-1:-1:-1;;;38366:16:0;;-1:-1:-1;;;;;38366:16:0;38338:25;38412:30;:15;:28;:30::i;:::-;38471:15;;38393:49;;-1:-1:-1;38471:15:0;-1:-1:-1;;;38471:15:0;;;;;38459:27;;;;38455:51;;;38495:11;;-1:-1:-1;;;38495:11:0;;;;;;;;;;;38455:51;38548:17;;38598:30;;-1:-1:-1;;;38598:30:0;;38622:4;38598:30;;;2426:51:1;38519:26:0;;-1:-1:-1;;;;;38598:71:0;;;38548:17;;38598:5;-1:-1:-1;;;;;38598:15:0;;;;2399:18:1;;38598:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;;;;:::i;:::-;:71;;;;:::i;:::-;38576:93;-1:-1:-1;38702:38:0;-1:-1:-1;;;;;38702:38:0;;:18;:38;:::i;:::-;38682:17;:58;38763:10;38834:18;;38778:30;38834:18;38778:9;:30;:::i;:::-;38777:53;;;;:::i;:::-;38776:76;;;;:::i;:::-;38763:89;-1:-1:-1;38887:23:0;38908:2;38887:18;:23;:::i;:::-;38869:41;;:15;38875:9;38869:3;:15;:::i;:::-;:41;;;38865:99;;;38927:25;38934:18;38927:25;;:::i;:::-;;;38865:99;39030:27;:11;:25;:27::i;:::-;39068:20;39099:21;;;-1:-1:-1;;;39099:21:0;;-1:-1:-1;;;;;39011:46:0;;;;-1:-1:-1;;;39011:46:0;-1:-1:-1;;39099:21:0;39068:20;;;39099:21;;;;;;;;39011:16;39099:21;39138:33;;;;;;39159:11;160:25:1;;148:2;133:18;;14:177;39138:33:0;;;;;;;;38327:852;;;;;38289:890::o;44685:444::-;44916:14;41422:21;:19;:21::i;:::-;44943:14:::1;44960:10;:39;;44993:6;44960:39;;;-1:-1:-1::0;;44960:39:0::1;45010:66;::::0;-1:-1:-1;;;45010:66:0;;45023:10:::1;45010:66;::::0;::::1;8187:34:1::0;45043:4:0::1;8237:18:1::0;;;8230:43;8289:18;;;8282:34;;;8332:18;;;8325:34;;;8408:4;8396:17;;8375:19;;;8368:46;8430:19;;;8423:35;;;8474:19;;;8467:35;;;44943:56:0;;-1:-1:-1;45010:5:0::1;-1:-1:-1::0;;;;;45010:12:0::1;::::0;::::1;::::0;8121:19:1;;45010:66:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;45095:25;45103:6;45111:8;45095:7;:25::i;:::-;45087:34;;;41466:20:::0;40860:1;41986:7;:22;41803:213;41466:20;44685:444;;;;;;;;;:::o;43707:151::-;43136:15;;43788:14;;-1:-1:-1;;;43136:15:0;;;;43117;:34;43113:58;;43155:13;:11;:13::i;:::-;43822:28:::1;43833:6;43841:8;43822:10;:28::i;2315:20::-:0;;;;;;;:::i;44517:102::-;44563:7;44590:21;44606:4;44590:15;:21::i;3990:385::-;4087:10;4060:4;4077:21;;;:9;:21;;;;;:31;;4102:6;;4077:21;4060:4;;4077:31;;4102:6;;4077:31;:::i;:::-;;;;-1:-1:-1;;;;;;;4259:13:0;;;;;;:9;:13;;;;;;;:23;;;;;;4311:32;4320:10;;-1:-1:-1;;;;;;;;;;;4311:32:0;;;4276:6;160:25:1;;148:2;133:18;;14:177;28853:255:0;28956:11;;28919:7;;29039:11;;:61;;29062:38;29078:13;:11;:13::i;:::-;29062:6;;29093;29062:15;:38::i;43930:215::-;43136:15;;44064:14;;-1:-1:-1;;;43136:15:0;;;;43117;:34;43113:58;;43155:13;:11;:13::i;:::-;44098:39:::1;44113:6;44121:8;44131:5;44098:14;:39::i;:::-;44091:46:::0;43930:215;-1:-1:-1;;;;43930:215:0:o;44217:211::-;43136:15;;44349:14;;-1:-1:-1;;;43136:15:0;;;;43117;:34;43113:58;;43155:13;:11;:13::i;:::-;44383:37:::1;44396:6;44404:8;44414:5;44383:12;:37::i;28180:261::-:0;28287:11;;28250:7;;28370:11;;:63;;28393:40;28411:6;28419:13;:11;:13::i;:::-;28393:6;;:40;:17;:40::i;29945:133::-;-1:-1:-1;;;;;30053:16:0;;30010:7;30053:16;;;:9;:16;;;;;;30037:33;;:15;:33::i;5190:1527::-;5418:15;5406:8;:27;;5398:63;;;;-1:-1:-1;;;5398:63:0;;8715:2:1;5398:63:0;;;8697:21:1;8754:2;8734:18;;;8727:30;8793:25;8773:18;;;8766:53;8836:18;;5398:63:0;;;;;;;;;5631:24;5658:827;5798:18;:16;:18::i;:::-;-1:-1:-1;;;;;6252:13:0;;;;;;;:6;:13;;;;;;;;;:15;;;;;;;;5883:458;;5928:167;5883:458;;;9152:25:1;9231:18;;;9224:43;;;;9303:15;;;9283:18;;;9276:43;9335:18;;;9328:34;;;9378:19;;;9371:35;;;;9422:19;;;;9415:35;;;5883:458:0;;;;;;;;;;9124:19:1;;;5883:458:0;;;5843:525;;;;;;;;-1:-1:-1;;;5718:673:0;;;9719:27:1;9762:11;;;9755:27;;;;9798:12;;;9791:28;;;;9835:12;;5718:673:0;;;-1:-1:-1;;5718:673:0;;;;;;;;;5686:724;;5718:673;5686:724;;;;5658:827;;;;;;;;;10085:25:1;10158:4;10146:17;;10126:18;;;10119:45;10180:18;;;10173:34;;;10223:18;;;10216:34;;;10057:19;;5658:827:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5658:827:0;;-1:-1:-1;;5658:827:0;;;-1:-1:-1;;;;;;;6510:30:0;;;;;;:59;;;6564:5;-1:-1:-1;;;;;6544:25:0;:16;-1:-1:-1;;;;;6544:25:0;;6510:59;6502:86;;;;-1:-1:-1;;;6502:86:0;;10463:2:1;6502:86:0;;;10445:21:1;10502:2;10482:18;;;10475:30;-1:-1:-1;;;10521:18:1;;;10514:44;10575:18;;6502:86:0;10261:338:1;6502:86:0;-1:-1:-1;;;;;6605:27:0;;;;;;;:9;:27;;;;;;;;:36;;;;;;;;;;;;;:44;;;6678:31;160:25:1;;;6605:36:0;;6678:31;;;;;133:18:1;6678:31:0;;;;;;;5190:1527;;;;;;;:::o;28718:127::-;28787:7;28814:23;28830:6;28814:15;:23::i;31903:131::-;31959:8;-1:-1:-1;;;31988:1:0;:11;31980:20;;;;;;-1:-1:-1;32024:1:0;31903:131::o;15518:552::-;15731:9;;;15865:19;;15858:27;15890:9;;15904;;;15901:16;;15887:31;15854:65;15844:123;;15950:1;15947;15940:12;15844:123;16033:19;;15518:552;-1:-1:-1;;15518:552:0:o;16078:771::-;16289:9;;;16423:19;;16416:27;16448:9;;16462;;;16459:16;;16445:31;16412:65;16402:123;;16508:1;16505;16498:12;16402:123;16828:1;16814:11;16810:1;16807;16803:9;16799:27;16795:35;16790:1;16783:9;16776:17;16772:59;16767:64;;16078:771;;;;;:::o;6912:457::-;6977:7;7078:95;7212:4;7196:22;;;;;;:::i;:::-;;;;;;;;;;7045:301;;;12130:25:1;;;;12171:18;;12164:34;;;;7241:14:0;12214:18:1;;;12207:34;7278:13:0;12257:18:1;;;12250:34;7322:4:0;12300:19:1;;;12293:61;12102:19;;7045:301:0;;;;;;;;;;;;7017:344;;;;;;6997:364;;6912:457;:::o;25452:528::-;25527:14;25648:22;25663:6;25648:14;:22::i;:::-;25639:31;;;25675:1;25638:38;25630:62;;;;-1:-1:-1;;;25630:62:0;;12567:2:1;25630:62:0;;;12549:21:1;12606:2;12586:18;;;12579:30;-1:-1:-1;;;12625:18:1;;;12618:41;12676:18;;25630:62:0;12365:335:1;25630:62:0;25775:57;-1:-1:-1;;;;;25775:5:0;:22;25798:10;25818:4;25825:6;25775:22;:57::i;:::-;25845:23;25851:8;25861:6;25845:5;:23::i;:::-;25886:45;;;12879:25:1;;;12935:2;12920:18;;12913:34;;;-1:-1:-1;;;;;25886:45:0;;;25894:10;;25886:45;;12852:18:1;25886:45:0;;;;;;;25944:28;25957:6;25965;25944:12;:28::i;31196:135::-;31253:9;-1:-1:-1;;;31283:1:0;:12;31275:21;;;;;41502:293;40904:1;41636:7;;:19;41628:63;;;;-1:-1:-1;;;41628:63:0;;13160:2:1;41628:63:0;;;13142:21:1;13199:2;13179:18;;;13172:30;13238:33;13218:18;;;13211:61;13289:18;;41628:63:0;12958:355:1;41628:63:0;40904:1;41769:7;:18;41502:293::o;25988:478::-;26060:14;26096:19;26108:6;26096:11;:19::i;:::-;26087:28;-1:-1:-1;26261:57:0;-1:-1:-1;;;;;26261:5:0;:22;26284:10;26304:4;26087:28;26261:22;:57::i;:::-;26331:23;26337:8;26347:6;26331:5;:23::i;:::-;26372:45;;;12879:25:1;;;12935:2;12920:18;;12913:34;;;-1:-1:-1;;;;;26372:45:0;;;26380:10;;26372:45;;12852:18:1;26372:45:0;;;;;;;26430:28;26443:6;26451;26430:12;:28::i;26474:699::-;26599:14;26635:23;26651:6;26635:15;:23::i;:::-;26626:32;-1:-1:-1;26742:10:0;-1:-1:-1;;;;;26742:19:0;;;26738:232;;-1:-1:-1;;;;;26796:16:0;;26778:15;26796:16;;;:9;:16;;;;;;;;26813:10;26796:28;;;;;;;;-1:-1:-1;;26881:28:0;;26877:81;;26942:16;26952:6;26942:7;:16;:::i;:::-;-1:-1:-1;;;;;26911:16:0;;;;;;:9;:16;;;;;;;;26928:10;26911:28;;;;;;;:47;26877:81;26763:207;26738:232;26982:30;26997:6;27005;26982:14;:30::i;:::-;27025:20;27031:5;27038:6;27025:5;:20::i;:::-;27063:53;;;12879:25:1;;;12935:2;12920:18;;12913:34;;;-1:-1:-1;;;;;27063:53:0;;;;;;;;27072:10;;27063:53;;12852:18:1;27063:53:0;;;;;;;27129:36;-1:-1:-1;;;;;27129:5:0;:18;27148:8;27158:6;27129:18;:36::i;27181:734::-;27304:14;27335:10;-1:-1:-1;;;;;27335:19:0;;;27331:232;;-1:-1:-1;;;;;27389:16:0;;27371:15;27389:16;;;:9;:16;;;;;;;;27406:10;27389:28;;;;;;;;-1:-1:-1;;27474:28:0;;27470:81;;27535:16;27545:6;27535:7;:16;:::i;:::-;-1:-1:-1;;;;;27504:16:0;;;;;;:9;:16;;;;;;;;27521:10;27504:28;;;;;;;:47;27470:81;27356:207;27331:232;27668:21;27682:6;27668:13;:21::i;:::-;27659:30;;;27694:1;27658:37;27650:61;;;;-1:-1:-1;;;27650:61:0;;13520:2:1;27650:61:0;;;13502:21:1;13559:2;13539:18;;;13532:30;-1:-1:-1;;;13578:18:1;;;13571:41;13629:18;;27650:61:0;13318:335:1;27650:61:0;27724:30;27739:6;27747;27724:14;:30::i;:::-;27767:20;27773:5;27780:6;27767:5;:20::i;:::-;27805:53;;;12879:25:1;;;12935:2;12920:18;;12913:34;;;-1:-1:-1;;;;;27805:53:0;;;;;;;;27814:10;;27805:53;;12852:18:1;27805:53:0;;;;;;;27871:36;-1:-1:-1;;;;;27871:5:0;:18;27890:8;27900:6;27871:18;:36::i;9454:1604::-;9598:12;9729:4;9723:11;-1:-1:-1;;;9855:17:0;9848:93;9989:4;9985:1;9966:17;9962:25;9955:39;10074:2;10069;10050:17;10046:26;10039:38;10155:6;10150:2;10131:17;10127:26;10120:42;10969:2;10966:1;10961:3;10942:17;10939:1;10932:5;10925;10920:52;10483:16;10476:24;10470:2;10452:16;10449:24;10445:1;10441;10435:8;10432:15;10428:46;10425:76;10222:765;10211:776;;;11018:7;11010:40;;;;-1:-1:-1;;;11010:40:0;;13860:2:1;11010:40:0;;;13842:21:1;13899:2;13879:18;;;13872:30;-1:-1:-1;;;13918:18:1;;;13911:50;13978:18;;11010:40:0;13658:344:1;11010:40:0;9587:1471;9454:1604;;;;:::o;7569:335::-;7655:6;7640:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;7812:13:0;;;;;;:9;:13;;;;;;;;:23;;;;;;7864:32;160:25:1;;;-1:-1:-1;;;;;;;;;;;7864:32:0;133:18:1;7864:32:0;;;;;;;;7569:335;;:::o;37938:171::-;38050:6;38029:17;;:27;;;;;;;:::i;:::-;;;;-1:-1:-1;38067:34:0;;-1:-1:-1;38086:6:0;38094;38067:34;:::i;:::-;37938:171;;:::o;37706:175::-;37867:6;37846:17;;:27;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;37706:175:0:o;7912:338::-;-1:-1:-1;;;;;7985:15:0;;;;;;:9;:15;;;;;:25;;8004:6;;7985:15;:25;;8004:6;;7985:25;:::i;:::-;;;;-1:-1:-1;;8158:11:0;:21;;;;;;;8208:34;;160:25:1;;;-1:-1:-1;;;;;;;8208:34:0;;;-1:-1:-1;;;;;;;;;;;8208:34:0;148:2:1;133:18;8208:34:0;14:177:1;11066:1485:0;11183:12;11314:4;11308:11;-1:-1:-1;;;11440:17:0;11433:93;11574:2;11570:1;11551:17;11547:25;11540:37;11655:6;11650:2;11631:17;11627:26;11620:42;12467:2;12464:1;12460:2;12441:17;12438:1;12431:5;12424;12419:51;11983:16;11976:24;11970:2;11952:16;11949:24;11945:1;11941;11935:8;11932:15;11928:46;11925:76;11722:763;11711:774;;;12516:7;12508:35;;;;-1:-1:-1;;;12508:35:0;;14209:2:1;12508:35:0;;;14191:21:1;14248:2;14228:18;;;14221:30;-1:-1:-1;;;14267:18:1;;;14260:45;14322:18;;12508:35:0;14007:339:1;12508:35:0;11172:1379;11066:1485;;;:::o;196:548:1:-;308:4;337:2;366;355:9;348:21;398:6;392:13;441:6;436:2;425:9;421:18;414:34;466:1;476:140;490:6;487:1;484:13;476:140;;;585:14;;;581:23;;575:30;551:17;;;570:2;547:26;540:66;505:10;;476:140;;;480:3;665:1;660:2;651:6;640:9;636:22;632:31;625:42;735:2;728;724:7;719:2;711:6;707:15;703:29;692:9;688:45;684:54;676:62;;;;196:548;;;;:::o;749:180::-;808:6;861:2;849:9;840:7;836:23;832:32;829:52;;;877:1;874;867:12;829:52;-1:-1:-1;900:23:1;;749:180;-1:-1:-1;749:180:1:o;934:173::-;1002:20;;-1:-1:-1;;;;;1051:31:1;;1041:42;;1031:70;;1097:1;1094;1087:12;1031:70;934:173;;;:::o;1112:254::-;1180:6;1188;1241:2;1229:9;1220:7;1216:23;1212:32;1209:52;;;1257:1;1254;1247:12;1209:52;1280:29;1299:9;1280:29;:::i;:::-;1270:39;1356:2;1341:18;;;;1328:32;;-1:-1:-1;;;1112:254:1:o;1563:328::-;1640:6;1648;1656;1709:2;1697:9;1688:7;1684:23;1680:32;1677:52;;;1725:1;1722;1715:12;1677:52;1748:29;1767:9;1748:29;:::i;:::-;1738:39;;1796:38;1830:2;1819:9;1815:18;1796:38;:::i;:::-;1786:48;;1881:2;1870:9;1866:18;1853:32;1843:42;;1563:328;;;;;:::o;2488:186::-;2547:6;2600:2;2588:9;2579:7;2575:23;2571:32;2568:52;;;2616:1;2613;2606:12;2568:52;2639:29;2658:9;2639:29;:::i;2876:254::-;2944:6;2952;3005:2;2993:9;2984:7;2980:23;2976:32;2973:52;;;3021:1;3018;3011:12;2973:52;3057:9;3044:23;3034:33;;3086:38;3120:2;3109:9;3105:18;3086:38;:::i;:::-;3076:48;;2876:254;;;;;:::o;3135:156::-;3201:20;;3261:4;3250:16;;3240:27;;3230:55;;3281:1;3278;3271:12;3296:693;3404:6;3412;3420;3428;3436;3444;3452;3505:3;3493:9;3484:7;3480:23;3476:33;3473:53;;;3522:1;3519;3512:12;3473:53;3558:9;3545:23;3535:33;;3587:38;3621:2;3610:9;3606:18;3587:38;:::i;:::-;3577:48;;3672:2;3661:9;3657:18;3644:32;3634:42;;3726:2;3715:9;3711:18;3698:32;3773:5;3766:13;3759:21;3752:5;3749:32;3739:60;;3795:1;3792;3785:12;3739:60;3818:5;-1:-1:-1;3842:37:1;3874:3;3859:19;;3842:37;:::i;:::-;3832:47;;3926:3;3915:9;3911:19;3898:33;3888:43;;3978:3;3967:9;3963:19;3950:33;3940:43;;3296:693;;;;;;;;;;:::o;3994:328::-;4071:6;4079;4087;4140:2;4128:9;4119:7;4115:23;4111:32;4108:52;;;4156:1;4153;4146:12;4108:52;4192:9;4179:23;4169:33;;4221:38;4255:2;4244:9;4240:18;4221:38;:::i;:::-;4211:48;;4278:38;4312:2;4301:9;4297:18;4278:38;:::i;:::-;4268:48;;3994:328;;;;;:::o;4535:606::-;4646:6;4654;4662;4670;4678;4686;4694;4747:3;4735:9;4726:7;4722:23;4718:33;4715:53;;;4764:1;4761;4754:12;4715:53;4787:29;4806:9;4787:29;:::i;:::-;4777:39;;4835:38;4869:2;4858:9;4854:18;4835:38;:::i;:::-;4825:48;;4920:2;4909:9;4905:18;4892:32;4882:42;;4971:2;4960:9;4956:18;4943:32;4933:42;;4994:37;5026:3;5015:9;5011:19;4994:37;:::i;5146:260::-;5214:6;5222;5275:2;5263:9;5254:7;5250:23;5246:32;5243:52;;;5291:1;5288;5281:12;5243:52;5314:29;5333:9;5314:29;:::i;:::-;5304:39;;5362:38;5396:2;5385:9;5381:18;5362:38;:::i;5411:127::-;5472:10;5467:3;5463:20;5460:1;5453:31;5503:4;5500:1;5493:15;5527:4;5524:1;5517:15;5543:125;5608:9;;;5629:10;;;5626:36;;;5642:18;;:::i;5673:175::-;5741:10;5784;;;5772;;;5768:27;;5807:12;;;5804:38;;;5822:18;;:::i;:::-;5804:38;5673:175;;;;:::o;5853:128::-;5920:9;;;5941:11;;;5938:37;;;5955:18;;:::i;5986:168::-;6026:7;6092:1;6088;6084:6;6080:14;6077:1;6074:21;6069:1;6062:9;6055:17;6051:45;6048:71;;;6099:18;;:::i;:::-;-1:-1:-1;6139:9:1;;5986:168::o;6159:127::-;6220:10;6215:3;6211:20;6208:1;6201:31;6251:4;6248:1;6241:15;6275:4;6272:1;6265:15;6291:120;6331:1;6357;6347:35;;6362:18;;:::i;:::-;-1:-1:-1;6396:9:1;;6291:120::o;6416:380::-;6495:1;6491:12;;;;6538;;;6559:61;;6613:4;6605:6;6601:17;6591:27;;6559:61;6666:2;6658:6;6655:14;6635:18;6632:38;6629:161;;6712:10;6707:3;6703:20;6700:1;6693:31;6747:4;6744:1;6737:15;6775:4;6772:1;6765:15;6629:161;;6416:380;;;:::o;7009:184::-;7079:6;7132:2;7120:9;7111:7;7107:23;7103:32;7100:52;;;7148:1;7145;7138:12;7100:52;-1:-1:-1;7171:16:1;;7009:184;-1:-1:-1;7009:184:1:o;7198:172::-;7265:10;7295;;;7307;;;7291:27;;7330:11;;;7327:37;;;7344:18;;:::i;7375:191::-;7414:1;7440:10;7477:2;7474:1;7470:10;7499:3;7489:37;;7506:18;;:::i;:::-;7544:10;;7540:20;;;;;7375:191;-1:-1:-1;;7375:191:1:o;7571:262::-;7610:7;7642:10;7679:2;7676:1;7672:10;7709:2;7706:1;7702:10;7765:3;7761:2;7757:12;7752:3;7749:21;7742:3;7735:11;7728:19;7724:47;7721:73;;;7774:18;;:::i;:::-;7814:13;;7571:262;-1:-1:-1;;;;7571:262:1:o;10733:1133::-;10863:3;10892:1;10925:6;10919:13;10955:3;10977:1;11005:9;11001:2;10997:18;10987:28;;11065:2;11054:9;11050:18;11087;11077:61;;11131:4;11123:6;11119:17;11109:27;;11077:61;11157:2;11205;11197:6;11194:14;11174:18;11171:38;11168:165;;-1:-1:-1;;;11232:33:1;;11288:4;11285:1;11278:15;11318:4;11239:3;11306:17;11168:165;11349:18;11376:133;;;;11523:1;11518:323;;;;11342:499;;11376:133;-1:-1:-1;;11409:24:1;;11397:37;;11482:14;;11475:22;11463:35;;11454:45;;;-1:-1:-1;11376:133:1;;11518:323;10680:1;10673:14;;;10717:4;10704:18;;11616:1;11630:165;11644:6;11641:1;11638:13;11630:165;;;11722:14;;11709:11;;;11702:35;11765:16;;;;11659:10;;11630:165;;;11634:3;;11824:6;11819:3;11815:16;11808:23;;11342:499;-1:-1:-1;11857:3:1;;10733:1133;-1:-1:-1;;;;;;;;10733:1133:1:o

Swarm Source

ipfs://8f059a8438b52331181933efb862ac2366df392bb2272ddf39f8868975906165
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.