ETH Price: $3,912.84 (+4.93%)

Contract

0xdf5A4FE3ad5181eF832d631FbF512FEB86506902
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Token Addr156577262022-10-02 3:19:35795 days ago1664680775IN
0xdf5A4FE3...B86506902
0 ETH0.000191526.54

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YieldingNft

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// File: solady/src/utils/LibString.sol


pragma solidity ^0.8.4;

/// @notice Library for converting numbers into strings and other string operations.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/LibString.sol)
/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/LibString.sol)
library LibString {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                        CUSTOM ERRORS                       */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The `length` of the output is too small to contain all the hex digits.
    error HexLengthInsufficient();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                         CONSTANTS                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The constant returned when the `search` is not found in the string.
    uint256 internal constant NOT_FOUND = uint256(int256(-1));

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                     DECIMAL OPERATIONS                     */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the base 10 decimal representation of `value`.
    function toString(uint256 value) internal pure returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                   HEXADECIMAL OPERATIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the hexadecimal representation of `value`,
    /// left-padded to an input length of `length` bytes.
    /// The output is prefixed with "0x" encoded using 2 hexadecimal digits per byte,
    /// giving a total length of `length * 2 + 2` bytes.
    /// Reverts if `length` is too small for the output to contain all the digits.
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory str) {
        assembly {
            let start := mload(0x40)
            // We need 0x20 bytes for the trailing zeros padding, `length * 2` bytes
            // for the digits, 0x02 bytes for the prefix, and 0x20 bytes for the length.
            // We add 0x20 to the total and round down to a multiple of 0x20.
            // (0x20 + 0x20 + 0x02 + 0x20) = 0x62.
            let m := add(start, and(add(shl(1, length), 0x62), not(0x1f)))
            // Allocate the memory.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end to calculate the length later.
            let end := str
            // Store "0123456789abcdef" in scratch space.
            mstore(0x0f, 0x30313233343536373839616263646566)

            let temp := value
            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for {} 1 {} {
                str := sub(str, 2)
                mstore8(add(str, 1), mload(and(temp, 15)))
                mstore8(str, mload(and(shr(4, temp), 15)))
                temp := shr(8, temp)
                length := sub(length, 1)
                // prettier-ignore
                if iszero(length) { break }
            }

            if temp {
                // Store the function selector of `HexLengthInsufficient()`.
                mstore(0x00, 0x2194895a)
                // Revert with (offset, size).
                revert(0x1c, 0x04)
            }

            // Compute the string's length.
            let strLength := add(sub(end, str), 2)
            // Move the pointer and write the "0x" prefix.
            str := sub(str, 0x20)
            mstore(str, 0x3078)
            // Move the pointer and write the length.
            str := sub(str, 2)
            mstore(str, strLength)
        }
    }

    /// @dev Returns the hexadecimal representation of `value`.
    /// The output is prefixed with "0x" and encoded using 2 hexadecimal digits per byte.
    /// As address are 20 bytes long, the output will left-padded to have
    /// a length of `20 * 2 + 2` bytes.
    function toHexString(uint256 value) internal pure returns (string memory str) {
        assembly {
            let start := mload(0x40)
            // We need 0x20 bytes for the trailing zeros padding, 0x20 bytes for the length,
            // 0x02 bytes for the prefix, and 0x40 bytes for the digits.
            // The next multiple of 0x20 above (0x20 + 0x20 + 0x02 + 0x40) is 0xa0.
            let m := add(start, 0xa0)
            // Allocate the memory.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end to calculate the length later.
            let end := str
            // Store "0123456789abcdef" in scratch space.
            mstore(0x0f, 0x30313233343536373839616263646566)

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 2)
                mstore8(add(str, 1), mload(and(temp, 15)))
                mstore8(str, mload(and(shr(4, temp), 15)))
                temp := shr(8, temp)
                // prettier-ignore
                if iszero(temp) { break }
            }

            // Compute the string's length.
            let strLength := add(sub(end, str), 2)
            // Move the pointer and write the "0x" prefix.
            str := sub(str, 0x20)
            mstore(str, 0x3078)
            // Move the pointer and write the length.
            str := sub(str, 2)
            mstore(str, strLength)
        }
    }

    /// @dev Returns the hexadecimal representation of `value`.
    /// The output is prefixed with "0x" and encoded using 2 hexadecimal digits per byte.
    function toHexString(address value) internal pure returns (string memory str) {
        assembly {
            let start := mload(0x40)
            // We need 0x20 bytes for the length, 0x02 bytes for the prefix,
            // and 0x28 bytes for the digits.
            // The next multiple of 0x20 above (0x20 + 0x02 + 0x28) is 0x60.
            str := add(start, 0x60)

            // Allocate the memory.
            mstore(0x40, str)
            // Store "0123456789abcdef" in scratch space.
            mstore(0x0f, 0x30313233343536373839616263646566)

            let length := 20
            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 2)
                mstore8(add(str, 1), mload(and(temp, 15)))
                mstore8(str, mload(and(shr(4, temp), 15)))
                temp := shr(8, temp)
                length := sub(length, 1)
                // prettier-ignore
                if iszero(length) { break }
            }

            // Move the pointer and write the "0x" prefix.
            str := sub(str, 32)
            mstore(str, 0x3078)
            // Move the pointer and write the length.
            str := sub(str, 2)
            mstore(str, 42)
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                   OTHER STRING OPERATIONS                  */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns `subject` all occurances of `search` replaced with `replacement`.
    function replace(
        string memory subject,
        string memory search,
        string memory replacement
    ) internal pure returns (string memory result) {
        assembly {
            let subjectLength := mload(subject)
            let searchLength := mload(search)
            let replacementLength := mload(replacement)

            subject := add(subject, 0x20)
            search := add(search, 0x20)
            replacement := add(replacement, 0x20)
            result := add(mload(0x40), 0x20)

            let subjectEnd := add(subject, subjectLength)
            if iszero(gt(searchLength, subjectLength)) {
                let subjectSearchEnd := add(sub(subjectEnd, searchLength), 1)
                let h := 0
                if iszero(lt(searchLength, 32)) {
                    h := keccak256(search, searchLength)
                }
                let m := shl(3, sub(32, and(searchLength, 31)))
                let s := mload(search)
                // prettier-ignore
                for {} 1 {} {
                    let t := mload(subject)
                    // Whether the first `searchLength % 32` bytes of 
                    // `subject` and `search` matches.
                    if iszero(shr(m, xor(t, s))) {
                        if h {
                            if iszero(eq(keccak256(subject, searchLength), h)) {
                                mstore(result, t)
                                result := add(result, 1)
                                subject := add(subject, 1)
                                // prettier-ignore
                                if iszero(lt(subject, subjectSearchEnd)) { break }
                                continue
                            }
                        }
                        // Copy the `replacement` one word at a time.
                        // prettier-ignore
                        for { let o := 0 } 1 {} {
                            mstore(add(result, o), mload(add(replacement, o)))
                            o := add(o, 0x20)
                            // prettier-ignore
                            if iszero(lt(o, replacementLength)) { break }
                        }
                        result := add(result, replacementLength)
                        subject := add(subject, searchLength)
                        if searchLength {
                            // prettier-ignore
                            if iszero(lt(subject, subjectSearchEnd)) { break }
                            continue
                        }
                    }
                    mstore(result, t)
                    result := add(result, 1)
                    subject := add(subject, 1)
                    // prettier-ignore
                    if iszero(lt(subject, subjectSearchEnd)) { break }
                }
            }

            let resultRemainder := result
            result := add(mload(0x40), 0x20)
            let k := add(sub(resultRemainder, result), sub(subjectEnd, subject))
            // Copy the rest of the string one word at a time.
            // prettier-ignore
            for {} lt(subject, subjectEnd) {} {
                mstore(resultRemainder, mload(subject))
                resultRemainder := add(resultRemainder, 0x20)
                subject := add(subject, 0x20)
            }
            // Zeroize the slot after the string.
            mstore(resultRemainder, 0)
            // Allocate memory for the length and the bytes,
            // rounded up to a multiple of 32.
            mstore(0x40, add(result, and(add(k, 63), not(31))))
            result := sub(result, 0x20)
            mstore(result, k)
        }
    }

    /// @dev Returns the index of the first location of `search` in `subject`,
    /// searching from left to right, starting from `from`.
    /// Returns `NOT_FOUND` (i.e. `type(uint256).max`) if the `search` is not found.
    function indexOf(
        string memory subject,
        string memory search,
        uint256 from
    ) internal pure returns (uint256 result) {
        assembly {
            // prettier-ignore
            for { let subjectLength := mload(subject) } 1 {} {
                if iszero(mload(search)) {
                    // `result = min(from, subjectLength)`.
                    result := xor(from, mul(xor(from, subjectLength), lt(subjectLength, from)))
                    break
                }
                let searchLength := mload(search)
                let subjectStart := add(subject, 0x20)    
                
                result := not(0) // Initialize to `NOT_FOUND`.

                subject := add(subjectStart, from)
                let subjectSearchEnd := add(sub(add(subjectStart, subjectLength), searchLength), 1)

                let m := shl(3, sub(32, and(searchLength, 31)))
                let s := mload(add(search, 0x20))

                // prettier-ignore
                if iszero(lt(subject, subjectSearchEnd)) { break }

                if iszero(lt(searchLength, 32)) {
                    // prettier-ignore
                    for { let h := keccak256(add(search, 0x20), searchLength) } 1 {} {
                        if iszero(shr(m, xor(mload(subject), s))) {
                            if eq(keccak256(subject, searchLength), h) {
                                result := sub(subject, subjectStart)
                                break
                            }
                        }
                        subject := add(subject, 1)
                        // prettier-ignore
                        if iszero(lt(subject, subjectSearchEnd)) { break }
                    }
                    break
                }
                // prettier-ignore
                for {} 1 {} {
                    if iszero(shr(m, xor(mload(subject), s))) {
                        result := sub(subject, subjectStart)
                        break
                    }
                    subject := add(subject, 1)
                    // prettier-ignore
                    if iszero(lt(subject, subjectSearchEnd)) { break }
                }
                break
            }
        }
    }

    /// @dev Returns the index of the first location of `search` in `subject`,
    /// searching from left to right.
    /// Returns `NOT_FOUND` (i.e. `type(uint256).max`) if the `search` is not found.
    function indexOf(string memory subject, string memory search) internal pure returns (uint256 result) {
        result = indexOf(subject, search, 0);
    }

    /// @dev Returns the index of the first location of `search` in `subject`,
    /// searching from right to left, starting from `from`.
    /// Returns `NOT_FOUND` (i.e. `type(uint256).max`) if the `search` is not found.
    function lastIndexOf(
        string memory subject,
        string memory search,
        uint256 from
    ) internal pure returns (uint256 result) {
        assembly {
            // prettier-ignore
            for {} 1 {} {
                let searchLength := mload(search)
                let fromMax := sub(mload(subject), searchLength)
                // `from = min(from, fromMax)`.
                from := xor(from, mul(xor(from, fromMax), lt(fromMax, from)))
                if iszero(mload(search)) {
                    result := from
                    break
                }
                result := not(0) // Initialize to `NOT_FOUND`.

                let subjectSearchEnd := sub(add(subject, 0x20), 1)

                subject := add(add(subject, 0x20), from)
                // prettier-ignore
                if iszero(gt(subject, subjectSearchEnd)) { break }
                // As this function is not too often used,
                // we shall simply use keccak256 for smaller bytecode size.
                // prettier-ignore
                for { let h := keccak256(add(search, 0x20), searchLength) } 1 {} {
                    if eq(keccak256(subject, searchLength), h) {
                        result := sub(subject, add(subjectSearchEnd, 1))
                        break
                    }
                    subject := sub(subject, 1)
                    // prettier-ignore
                    if iszero(gt(subject, subjectSearchEnd)) { break }
                }
                break
            }
        }
    }

    /// @dev Returns the index of the first location of `search` in `subject`,
    /// searching from right to left.
    /// Returns `NOT_FOUND` (i.e. `type(uint256).max`) if the `search` is not found.
    function lastIndexOf(string memory subject, string memory search) internal pure returns (uint256 result) {
        result = lastIndexOf(subject, search, uint256(int256(-1)));
    }

    /// @dev Returns whether `subject` starts with `search`.
    function startsWith(string memory subject, string memory search) internal pure returns (bool result) {
        assembly {
            let searchLength := mload(search)
            // Just using keccak256 directly is actually cheaper.
            result := and(
                iszero(gt(searchLength, mload(subject))),
                eq(keccak256(add(subject, 0x20), searchLength), keccak256(add(search, 0x20), searchLength))
            )
        }
    }

    /// @dev Returns whether `subject` ends with `search`.
    function endsWith(string memory subject, string memory search) internal pure returns (bool result) {
        assembly {
            let searchLength := mload(search)
            let subjectLength := mload(subject)
            // Whether `search` is not longer than `subject`.
            let withinRange := iszero(gt(searchLength, subjectLength))
            // Just using keccak256 directly is actually cheaper.
            result := and(
                withinRange,
                eq(
                    keccak256(
                        // `subject + 0x20 + max(subjectLength - searchLength, 0)`.
                        add(add(subject, 0x20), mul(withinRange, sub(subjectLength, searchLength))),
                        searchLength
                    ),
                    keccak256(add(search, 0x20), searchLength)
                )
            )
        }
    }

    /// @dev Returns `subject` repeated `times`.
    function repeat(string memory subject, uint256 times) internal pure returns (string memory result) {
        assembly {
            let subjectLength := mload(subject)
            if iszero(or(iszero(times), iszero(subjectLength))) {
                subject := add(subject, 0x20)
                result := mload(0x40)
                let output := add(result, 0x20)
                // prettier-ignore
                for {} 1 {} {
                    // Copy the `subject` one word at a time.
                    // prettier-ignore
                    for { let o := 0 } 1 {} {
                        mstore(add(output, o), mload(add(subject, o)))
                        o := add(o, 0x20)
                        // prettier-ignore
                        if iszero(lt(o, subjectLength)) { break }
                    }
                    output := add(output, subjectLength)
                    times := sub(times, 1)
                    // prettier-ignore
                    if iszero(times) { break }
                }
                // Zeroize the slot after the string.
                mstore(output, 0)
                // Store the length.
                let resultLength := sub(output, add(result, 0x20))
                mstore(result, resultLength)
                // Allocate memory for the length and the bytes,
                // rounded up to a multiple of 32.
                mstore(0x40, add(result, and(add(resultLength, 63), not(31))))
            }
        }
    }

    /// @dev Returns a copy of `subject` sliced from `start` to `end` (exclusive).
    function slice(
        string memory subject,
        uint256 start,
        uint256 end
    ) internal pure returns (string memory result) {
        assembly {
            let subjectLength := mload(subject)
            // `end = min(end, subjectLength)`.
            end := xor(end, mul(xor(end, subjectLength), lt(subjectLength, end)))
            // `start = min(start, subjectLength)`.
            start := xor(start, mul(xor(start, subjectLength), lt(subjectLength, start)))
            if lt(start, end) {
                result := mload(0x40)
                let resultLength := sub(end, start)
                mstore(result, resultLength)
                subject := add(subject, start)
                // Copy the `subject` one word at a time, backwards.
                // prettier-ignore
                for { let o := and(add(resultLength, 31), not(31)) } 1 {} {
                    mstore(add(result, o), mload(add(subject, o)))
                    o := sub(o, 0x20)
                    // prettier-ignore
                    if iszero(o) { break }
                }
                // Zeroize the slot after the string.
                mstore(add(add(result, 0x20), resultLength), 0)
                // Allocate memory for the length and the bytes,
                // rounded up to a multiple of 32.
                mstore(0x40, add(result, and(add(resultLength, 63), not(31))))
            }
        }
    }

    /// @dev Returns a copy of `subject` sliced from `start` to the end of the string.
    function slice(string memory subject, uint256 start) internal pure returns (string memory result) {
        result = slice(subject, start, uint256(int256(-1)));
    }
}

// File: solady/src/utils/Base64.sol


pragma solidity ^0.8.4;

/// @notice Library to encode strings in Base64.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/Base64.sol)
/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/Base64.sol)
/// @author Modified from (https://github.com/Brechtpd/base64/blob/main/base64.sol) by Brecht Devos - <[email protected]>.
library Base64 {
    /// @dev Encodes `data` using the base64 encoding described in RFC 4648.
    /// See: https://datatracker.ietf.org/doc/html/rfc4648
    /// @param fileSafe  Whether to replace '+' with '-' and '/' with '_'.
    /// @param noPadding Whether to strip away the padding.
    function encode(
        bytes memory data,
        bool fileSafe,
        bool noPadding
    ) internal pure returns (string memory result) {
        assembly {
            let dataLength := mload(data)

            if dataLength {
                // Multiply by 4/3 rounded up.
                // The `shl(2, ...)` is equivalent to multiplying by 4.
                let encodedLength := shl(2, div(add(dataLength, 2), 3))

                // Set `result` to point to the start of the free memory.
                result := mload(0x40)

                // Store the table into the scratch space.
                // Offsetted by -1 byte so that the `mload` will load the character.
                // We will rewrite the free memory pointer at `0x40` later with
                // the allocated size.
                // The magic constant 0x0230 will translate "-_" + "+/".
                mstore(0x1f, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef")
                mstore(0x3f, sub("ghijklmnopqrstuvwxyz0123456789-_", mul(iszero(fileSafe), 0x0230)))

                // Skip the first slot, which stores the length.
                let ptr := add(result, 0x20)
                let end := add(ptr, encodedLength)

                // Run over the input, 3 bytes at a time.
                // prettier-ignore
                for {} 1 {} {
                    data := add(data, 3) // Advance 3 bytes.
                    let input := mload(data)

                    // Write 4 bytes. Optimized for fewer stack operations.
                    mstore8(    ptr    , mload(and(shr(18, input), 0x3F)))
                    mstore8(add(ptr, 1), mload(and(shr(12, input), 0x3F)))
                    mstore8(add(ptr, 2), mload(and(shr( 6, input), 0x3F)))
                    mstore8(add(ptr, 3), mload(and(        input , 0x3F)))
                    
                    ptr := add(ptr, 4) // Advance 4 bytes.
                    // prettier-ignore
                    if iszero(lt(ptr, end)) { break }
                }

                let r := mod(dataLength, 3)

                switch noPadding
                case 0 {
                    // Offset `ptr` and pad with '='. We can simply write over the end.
                    mstore8(sub(ptr, iszero(iszero(r))), 0x3d) // Pad at `ptr - 1` if `r > 0`.
                    mstore8(sub(ptr, shl(1, eq(r, 1))), 0x3d) // Pad at `ptr - 2` if `r == 1`.
                    // Write the length of the string.
                    mstore(result, encodedLength)
                }
                default {
                    // Write the length of the string.
                    mstore(result, sub(encodedLength, add(iszero(iszero(r)), eq(r, 1))))
                }

                // Allocate the memory for the string.
                // Add 31 and mask with `not(31)` to round the
                // free memory pointer up the next multiple of 32.
                mstore(0x40, and(add(end, 31), not(31)))
            }
        }
    }

    /// @dev Encodes `data` using the base64 encoding described in RFC 4648.
    /// Equivalent to `encode(data, false, false)`.
    function encode(bytes memory data) internal pure returns (string memory result) {
        result = encode(data, false, false);
    }

    /// @dev Encodes `data` using the base64 encoding described in RFC 4648.
    /// Equivalent to `encode(data, fileSafe, false)`.
    function encode(bytes memory data, bool fileSafe) internal pure returns (string memory result) {
        result = encode(data, fileSafe, false);
    }

    /// @dev Encodes base64 encoded `data`.
    ///
    /// Supports:
    /// - RFC 4648 (both standard and file-safe mode).
    /// - RFC 3501 (63: ',').
    ///
    /// Does not support:
    /// - Line breaks.
    ///
    /// Note: For performance reasons,
    /// this function will NOT revert on invalid `data` inputs.
    /// Outputs for invalid inputs will simply be undefined behaviour.
    /// It is the user's responsibility to ensure that the `data`
    /// is a valid base64 encoded string.
    function decode(string memory data) internal pure returns (bytes memory result) {
        assembly {
            let dataLength := mload(data)

            if dataLength {
                let end := add(data, dataLength)
                let decodedLength := mul(shr(2, dataLength), 3)

                switch and(dataLength, 3)
                case 0 {
                    // If padded.
                    decodedLength := sub(
                        decodedLength,
                        add(eq(and(mload(end), 0xFF), 0x3d), eq(and(mload(end), 0xFFFF), 0x3d3d))
                    )
                }
                default {
                    // If non-padded.
                    decodedLength := add(decodedLength, sub(and(dataLength, 3), 1))
                }

                result := mload(0x40)

                // Write the length of the string.
                mstore(result, decodedLength)

                // Skip the first slot, which stores the length.
                let ptr := add(result, 0x20)

                // Load the table into the scratch space.
                // Constants are optimized for smaller bytecode with zero gas overhead.
                // `m` also doubles as the mask of the upper 6 bits.
                let m := 0xfc000000fc00686c7074787c8084888c9094989ca0a4a8acb0b4b8bcc0c4c8cc
                mstore(0x5b, m)
                mstore(0x3b, 0x04080c1014181c2024282c3034383c4044484c5054585c6064)
                mstore(0x1a, 0xf8fcf800fcd0d4d8dce0e4e8ecf0f4)

                // prettier-ignore
                for {} 1 {} {
                    // Read 4 bytes.
                    data := add(data, 4)
                    let input := mload(data)

                    // Write 3 bytes.
                    mstore(ptr, or(
                        and(m, mload(byte(28, input))),
                        shr(6, or(
                            and(m, mload(byte(29, input))),
                            shr(6, or(
                                and(m, mload(byte(30, input))),
                                shr(6, mload(byte(31, input)))
                            ))
                        ))
                    ))

                    ptr := add(ptr, 3)
                    
                    // prettier-ignore
                    if iszero(lt(data, end)) { break }
                }

                // Allocate the memory for the string.
                // Add 32 + 31 and mask with `not(31)` to round the
                // free memory pointer up the next multiple of 32.
                mstore(0x40, and(add(add(result, decodedLength), 63), not(31)))

                // Restore the zero slot.
                mstore(0x60, 0)
            }
        }
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external payable;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

// File: contracts/HydroHomiesPass.sol



pragma solidity ^0.8.4;





interface Token {
    function updateReward(address from, address to) external;
    function getReward(address _to) external;
}

contract YieldingNft is ERC721A, Ownable {
    address token;
    address WG = 0x41538872240Ef02D6eD9aC45cf4Ff864349D51ED;     
    string baseuri = 'https://yieldcoupon.mypinata.cloud/ipfs/QmcxZuUUs8zf4aXDyDSKX4E6M6nLjNPgVhFjzobd57NiRF/';   

   function _startTokenId() internal view override virtual returns (uint256) {
        return 1;
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId),"ERC721Metadata: URI query for nonexistent token");
        return buildMetadata(_tokenId);
    }

    function buildMetadata(uint256 _tokenId) public view returns(string memory) {
        return string(abi.encodePacked(
                'data:application/json;base64,', Base64.encode(bytes(abi.encodePacked(
                            '{"name": "Hydro Homies Yield Coupon # ', LibString.toString(_tokenId), 
                            '", "image": "', baseuri,  LibString.toString(_tokenId), '.png'
                            '"}')))));
    }
    constructor (address _token) ERC721A('Hydro Homies Yield Coupon', 'HHYC') {
        token = _token;
    }

    function mint() external payable {
        require(msg.value >= 1 ether, "not sending 1 ether");
        uint256 count = (msg.value / (1 ether));
        require(totalSupply() + count <= 1000);
        _safeMint(msg.sender, count);
		Token(token).updateReward(msg.sender, address(0));
    }

    function withdrawEth() external onlyOwner {
        payable(WG).call{value: (address(this).balance * 25 / 1000)}('');
        payable(msg.sender).call{value: address(this).balance}('');
    }
    function setBaseUri(string memory _newBaseUri) external onlyOwner {
        baseuri = _newBaseUri;
    }

    function setTokenAddr(address _newToken) external onlyOwner {
        token = _newToken;
    }
    function getReward() external {
        Token(token).updateReward(msg.sender, address(0));
        Token(token).getReward(msg.sender);
    }
	function transferFrom(address from, address to, uint256 tokenId) public override payable {
		Token(token).updateReward(from, to);
    	ERC721A.transferFrom(from, to, tokenId);
	}
	function safeTransferFrom(address from, address to, uint256 tokenId) public override payable {
		Token(token).updateReward(from, to);
		ERC721A.safeTransferFrom(from, to, tokenId);
	}
	function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override payable {
		Token(token).updateReward(from, to);
		ERC721A.safeTransferFrom(from, to, tokenId, _data);
	}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"buildMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newToken","type":"address"}],"name":"setTokenAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527341538872240ef02d6ed9ac45cf4ff864349d51ed600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060800160405280605781526020016200322060579139600b90805190602001906200008a929190620002b3565b503480156200009857600080fd5b5060405162003277380380620032778339818101604052810190620000be91906200037a565b6040518060400160405280601981526020017f487964726f20486f6d696573205969656c6420436f75706f6e000000000000008152506040518060400160405280600481526020017f4848594300000000000000000000000000000000000000000000000000000000815250816002908051906020019062000142929190620002b3565b5080600390805190602001906200015b929190620002b3565b506200016c620001dc60201b60201c565b60008190555050506200019462000188620001e560201b60201c565b620001ed60201b60201c565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000464565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002c190620003e0565b90600052602060002090601f016020900481019282620002e5576000855562000331565b82601f106200030057805160ff191683800117855562000331565b8280016001018555821562000331579182015b828111156200033057825182559160200191906001019062000313565b5b50905062000340919062000344565b5090565b5b808211156200035f57600081600090555060010162000345565b5090565b60008151905062000374816200044a565b92915050565b60006020828403121562000393576200039262000445565b5b6000620003a38482850162000363565b91505092915050565b6000620003b982620003c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620003f957607f821691505b6020821081141562000410576200040f62000416565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6200045581620003ac565b81146200046157600080fd5b50565b612dac80620004746000396000f3fe6080604052600436106101405760003560e01c806370a08231116100b6578063a22cb4651161006f578063a22cb465146103da578063b88d4fde14610403578063c87b56dd1461041f578063e985e9c51461045c578063edf8770414610499578063f2fde38b146104d657610140565b806370a08231146102f0578063715018a61461032d5780638da5cb5b1461034457806395d89b411461036f578063a0bcfc7f1461039a578063a0ef91df146103c357610140565b806318160ddd1161010857806318160ddd1461021057806323b872dd1461023b5780632ebd1e28146102575780633d18b9121461028057806342842e0e146102975780636352211e146102b357610140565b806301ffc9a71461014557806306fdde0314610182578063081812fc146101ad578063095ea7b3146101ea5780631249c58b14610206575b600080fd5b34801561015157600080fd5b5061016c6004803603810190610167919061224d565b6104ff565b60405161017991906126c0565b60405180910390f35b34801561018e57600080fd5b50610197610591565b6040516101a491906126db565b60405180910390f35b3480156101b957600080fd5b506101d460048036038101906101cf91906122f0565b610623565b6040516101e19190612630565b60405180910390f35b61020460048036038101906101ff919061220d565b6106a2565b005b61020e6107e6565b005b34801561021c57600080fd5b50610225610907565b604051610232919061277d565b60405180910390f35b610255600480360381019061025091906120f7565b61091e565b005b34801561026357600080fd5b5061027e6004803603810190610279919061208a565b6109bd565b005b34801561028c57600080fd5b50610295610a09565b005b6102b160048036038101906102ac91906120f7565b610b28565b005b3480156102bf57600080fd5b506102da60048036038101906102d591906122f0565b610bc7565b6040516102e79190612630565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061208a565b610bd9565b604051610324919061277d565b60405180910390f35b34801561033957600080fd5b50610342610c92565b005b34801561035057600080fd5b50610359610ca6565b6040516103669190612630565b60405180910390f35b34801561037b57600080fd5b50610384610cd0565b60405161039191906126db565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc91906122a7565b610d62565b005b3480156103cf57600080fd5b506103d8610d84565b005b3480156103e657600080fd5b5061040160048036038101906103fc91906121cd565b610e9b565b005b61041d6004803603810190610418919061214a565b610fa6565b005b34801561042b57600080fd5b50610446600480360381019061044191906122f0565b611047565b60405161045391906126db565b60405180910390f35b34801561046857600080fd5b50610483600480360381019061047e91906120b7565b6110a1565b60405161049091906126c0565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb91906122f0565b611135565b6040516104cd91906126db565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f8919061208a565b61119a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061055a57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061058a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546105a090612a19565b80601f01602080910402602001604051908101604052809291908181526020018280546105cc90612a19565b80156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b5050505050905090565b600061062e8261121e565b610664576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106ad82610bc7565b90508073ffffffffffffffffffffffffffffffffffffffff166106ce61127d565b73ffffffffffffffffffffffffffffffffffffffff1614610731576106fa816106f561127d565b6110a1565b610730576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b670de0b6b3a7640000341015610831576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108289061271d565b60405180910390fd5b6000670de0b6b3a76400003461084791906128d8565b90506103e881610855610907565b61085f9190612882565b111561086a57600080fd5b6108743382611285565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a3360006040518363ffffffff1660e01b81526004016108d292919061264b565b600060405180830381600087803b1580156108ec57600080fd5b505af1158015610900573d6000803e3d6000fd5b5050505050565b60006109116112a3565b6001546000540303905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b815260040161097b92919061264b565b600060405180830381600087803b15801561099557600080fd5b505af11580156109a9573d6000803e3d6000fd5b505050506109b88383836112ac565b505050565b6109c56115d1565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a3360006040518363ffffffff1660e01b8152600401610a6792919061264b565b600060405180830381600087803b158015610a8157600080fd5b505af1158015610a95573d6000803e3d6000fd5b50505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c00007b0336040518263ffffffff1660e01b8152600401610af49190612630565b600060405180830381600087803b158015610b0e57600080fd5b505af1158015610b22573d6000803e3d6000fd5b50505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b8152600401610b8592919061264b565b600060405180830381600087803b158015610b9f57600080fd5b505af1158015610bb3573d6000803e3d6000fd5b50505050610bc283838361164f565b505050565b6000610bd28261166f565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c41576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610c9a6115d1565b610ca4600061173d565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610cdf90612a19565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0b90612a19565b8015610d585780601f10610d2d57610100808354040283529160200191610d58565b820191906000526020600020905b815481529060010190602001808311610d3b57829003601f168201915b5050505050905090565b610d6a6115d1565b80600b9080519060200190610d80929190611e9e565b5050565b610d8c6115d1565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166103e8601947610dd59190612909565b610ddf91906128d8565b604051610deb9061261b565b60006040518083038185875af1925050503d8060008114610e28576040519150601f19603f3d011682016040523d82523d6000602084013e610e2d565b606091505b5050503373ffffffffffffffffffffffffffffffffffffffff1647604051610e549061261b565b60006040518083038185875af1925050503d8060008114610e91576040519150601f19603f3d011682016040523d82523d6000602084013e610e96565b606091505b505050565b8060076000610ea861127d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f5561127d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f9a91906126c0565b60405180910390a35050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b815260040161100392919061264b565b600060405180830381600087803b15801561101d57600080fd5b505af1158015611031573d6000803e3d6000fd5b5050505061104184848484611803565b50505050565b60606110528261121e565b611091576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110889061275d565b60405180910390fd5b61109a82611135565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606061117461114383611876565b600b61114e85611876565b604051602001611160939291906125a7565b6040516020818303038152906040526118cf565b60405160200161118491906125f9565b6040516020818303038152906040529050919050565b6111a26115d1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906126fd565b60405180910390fd5b61121b8161173d565b50565b6000816112296112a3565b11158015611238575060005482105b8015611276575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61129f8282604051806020016040528060008152506118e4565b5050565b60006001905090565b60006112b78261166f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461131e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061132a84611981565b91509150611340818761133b61127d565b6119a8565b61138c576113558661135061127d565b6110a1565b61138b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156113f3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61140086868660016119ec565b801561140b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506114d9856114b58888876119f2565b7c020000000000000000000000000000000000000000000000000000000017611a1a565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561156157600060018501905060006004600083815260200190815260200160002054141561155f57600054811461155e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115c98686866001611a45565b505050505050565b6115d9611a4b565b73ffffffffffffffffffffffffffffffffffffffff166115f7610ca6565b73ffffffffffffffffffffffffffffffffffffffff161461164d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116449061273d565b60405180910390fd5b565b61166a83838360405180602001604052806000815250610fa6565b505050565b6000808290508061167e6112a3565b11611706576000548110156117055760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611703575b60008114156116f95760046000836001900393508381526020019081526020016000205490506116ce565b8092505050611738565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61180e84848461091e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146118705761183984848484611a53565b61186f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060a060405101806040526020810391506000825281835b6001156118ba57600184039350600a81066030018453600a81049050806118b5576118ba565b61188f565b50828103602084039350808452505050919050565b60606118dd82600080611bb3565b9050919050565b6118ee8383611cc8565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461197c57600080549050600083820390505b61192e6000868380600101945086611a53565b611964576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061191b57816000541461197957600080fd5b50505b505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611a09868684611e85565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a7961127d565b8786866040518563ffffffff1660e01b8152600401611a9b9493929190612674565b602060405180830381600087803b158015611ab557600080fd5b505af1925050508015611ae657506040513d601f19601f82011682018060405250810190611ae3919061227a565b60015b611b60573d8060008114611b16576040519150601f19603f3d011682016040523d82523d6000602084013e611b1b565b606091505b50600081511415611b58576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606083518015611cc0576003600282010460021b60405192507f4142434445464748494a4b4c4d4e4f505152535455565758595a616263646566601f526102308515027f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392d5f03603f52602083018181015b600115611c79576003880197508751603f8160121c16518353603f81600c1c16516001840153603f8160061c16516002840153603f8116516003840153600483019250818310611c735750611c79565b50611c23565b600384068660008114611c9757600182148215150185038752611caf565b603d821515850353603d6001831460011b8503538487525b50601f19601f830116604052505050505b509392505050565b6000805490506000821415611d09576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d1660008483856119ec565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d8d83611d7e60008660006119f2565b611d8785611e8e565b17611a1a565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611e2e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611df3565b506000821415611e6a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611e806000848385611a45565b505050565b60009392505050565b60006001821460e11b9050919050565b828054611eaa90612a19565b90600052602060002090601f016020900481019282611ecc5760008555611f13565b82601f10611ee557805160ff1916838001178555611f13565b82800160010185558215611f13579182015b82811115611f12578251825591602001919060010190611ef7565b5b509050611f209190611f24565b5090565b5b80821115611f3d576000816000905550600101611f25565b5090565b6000611f54611f4f846127bd565b612798565b905082815260208101848484011115611f7057611f6f612b3d565b5b611f7b8482856129d7565b509392505050565b6000611f96611f91846127ee565b612798565b905082815260208101848484011115611fb257611fb1612b3d565b5b611fbd8482856129d7565b509392505050565b600081359050611fd481612d1a565b92915050565b600081359050611fe981612d31565b92915050565b600081359050611ffe81612d48565b92915050565b60008151905061201381612d48565b92915050565b600082601f83011261202e5761202d612b38565b5b813561203e848260208601611f41565b91505092915050565b600082601f83011261205c5761205b612b38565b5b813561206c848260208601611f83565b91505092915050565b60008135905061208481612d5f565b92915050565b6000602082840312156120a05761209f612b47565b5b60006120ae84828501611fc5565b91505092915050565b600080604083850312156120ce576120cd612b47565b5b60006120dc85828601611fc5565b92505060206120ed85828601611fc5565b9150509250929050565b6000806000606084860312156121105761210f612b47565b5b600061211e86828701611fc5565b935050602061212f86828701611fc5565b925050604061214086828701612075565b9150509250925092565b6000806000806080858703121561216457612163612b47565b5b600061217287828801611fc5565b945050602061218387828801611fc5565b935050604061219487828801612075565b925050606085013567ffffffffffffffff8111156121b5576121b4612b42565b5b6121c187828801612019565b91505092959194509250565b600080604083850312156121e4576121e3612b47565b5b60006121f285828601611fc5565b925050602061220385828601611fda565b9150509250929050565b6000806040838503121561222457612223612b47565b5b600061223285828601611fc5565b925050602061224385828601612075565b9150509250929050565b60006020828403121561226357612262612b47565b5b600061227184828501611fef565b91505092915050565b6000602082840312156122905761228f612b47565b5b600061229e84828501612004565b91505092915050565b6000602082840312156122bd576122bc612b47565b5b600082013567ffffffffffffffff8111156122db576122da612b42565b5b6122e784828501612047565b91505092915050565b60006020828403121561230657612305612b47565b5b600061231484828501612075565b91505092915050565b61232681612963565b82525050565b61233581612975565b82525050565b600061234682612834565b612350818561284a565b93506123608185602086016129e6565b61236981612b4c565b840191505092915050565b600061237f8261283f565b6123898185612866565b93506123998185602086016129e6565b6123a281612b4c565b840191505092915050565b60006123b88261283f565b6123c28185612877565b93506123d28185602086016129e6565b80840191505092915050565b600081546123eb81612a19565b6123f58186612877565b94506001821660008114612410576001811461242157612454565b60ff19831686528186019350612454565b61242a8561281f565b60005b8381101561244c5781548189015260018201915060208101905061242d565b838801955050505b50505092915050565b600061246a602683612866565b915061247582612b5d565b604082019050919050565b600061248d602683612877565b915061249882612bac565b602682019050919050565b60006124b0601383612866565b91506124bb82612bfb565b602082019050919050565b60006124d3600d83612877565b91506124de82612c24565b600d82019050919050565b60006124f6602083612866565b915061250182612c4d565b602082019050919050565b6000612519602f83612866565b915061252482612c76565b604082019050919050565b600061253c600683612877565b915061254782612cc5565b600682019050919050565b600061255f601d83612877565b915061256a82612cee565b601d82019050919050565b600061258260008361285b565b915061258d82612d17565b600082019050919050565b6125a1816129cd565b82525050565b60006125b282612480565b91506125be82866123ad565b91506125c9826124c6565b91506125d582856123de565b91506125e182846123ad565b91506125ec8261252f565b9150819050949350505050565b600061260482612552565b915061261082846123ad565b915081905092915050565b600061262682612575565b9150819050919050565b6000602082019050612645600083018461231d565b92915050565b6000604082019050612660600083018561231d565b61266d602083018461231d565b9392505050565b6000608082019050612689600083018761231d565b612696602083018661231d565b6126a36040830185612598565b81810360608301526126b5818461233b565b905095945050505050565b60006020820190506126d5600083018461232c565b92915050565b600060208201905081810360008301526126f58184612374565b905092915050565b600060208201905081810360008301526127168161245d565b9050919050565b60006020820190508181036000830152612736816124a3565b9050919050565b60006020820190508181036000830152612756816124e9565b9050919050565b600060208201905081810360008301526127768161250c565b9050919050565b60006020820190506127926000830184612598565b92915050565b60006127a26127b3565b90506127ae8282612a4b565b919050565b6000604051905090565b600067ffffffffffffffff8211156127d8576127d7612b09565b5b6127e182612b4c565b9050602081019050919050565b600067ffffffffffffffff82111561280957612808612b09565b5b61281282612b4c565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061288d826129cd565b9150612898836129cd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128cd576128cc612a7c565b5b828201905092915050565b60006128e3826129cd565b91506128ee836129cd565b9250826128fe576128fd612aab565b5b828204905092915050565b6000612914826129cd565b915061291f836129cd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561295857612957612a7c565b5b828202905092915050565b600061296e826129ad565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a045780820151818401526020810190506129e9565b83811115612a13576000848401525b50505050565b60006002820490506001821680612a3157607f821691505b60208210811415612a4557612a44612ada565b5b50919050565b612a5482612b4c565b810181811067ffffffffffffffff82111715612a7357612a72612b09565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a2022487964726f20486f6d696573205969656c6420436f7560008201527f706f6e2023200000000000000000000000000000000000000000000000000000602082015250565b7f6e6f742073656e64696e67203120657468657200000000000000000000000000600082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f2e706e67227d0000000000000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b50565b612d2381612963565b8114612d2e57600080fd5b50565b612d3a81612975565b8114612d4557600080fd5b50565b612d5181612981565b8114612d5c57600080fd5b50565b612d68816129cd565b8114612d7357600080fd5b5056fea2646970667358221220389255295d26ca3df7a7fccd2d6a5d3e9f46ac6ccf8f09d667bc1bfa21d5e53964736f6c6343000807003368747470733a2f2f7969656c64636f75706f6e2e6d7970696e6174612e636c6f75642f697066732f516d63785a75555573387a66346158447944534b583445364d366e4c6a4e50675668466a7a6f626435374e6952462f000000000000000000000000a8906442685644b6ce6ff14ad85bbfe61a3c2e60

Deployed Bytecode

0x6080604052600436106101405760003560e01c806370a08231116100b6578063a22cb4651161006f578063a22cb465146103da578063b88d4fde14610403578063c87b56dd1461041f578063e985e9c51461045c578063edf8770414610499578063f2fde38b146104d657610140565b806370a08231146102f0578063715018a61461032d5780638da5cb5b1461034457806395d89b411461036f578063a0bcfc7f1461039a578063a0ef91df146103c357610140565b806318160ddd1161010857806318160ddd1461021057806323b872dd1461023b5780632ebd1e28146102575780633d18b9121461028057806342842e0e146102975780636352211e146102b357610140565b806301ffc9a71461014557806306fdde0314610182578063081812fc146101ad578063095ea7b3146101ea5780631249c58b14610206575b600080fd5b34801561015157600080fd5b5061016c6004803603810190610167919061224d565b6104ff565b60405161017991906126c0565b60405180910390f35b34801561018e57600080fd5b50610197610591565b6040516101a491906126db565b60405180910390f35b3480156101b957600080fd5b506101d460048036038101906101cf91906122f0565b610623565b6040516101e19190612630565b60405180910390f35b61020460048036038101906101ff919061220d565b6106a2565b005b61020e6107e6565b005b34801561021c57600080fd5b50610225610907565b604051610232919061277d565b60405180910390f35b610255600480360381019061025091906120f7565b61091e565b005b34801561026357600080fd5b5061027e6004803603810190610279919061208a565b6109bd565b005b34801561028c57600080fd5b50610295610a09565b005b6102b160048036038101906102ac91906120f7565b610b28565b005b3480156102bf57600080fd5b506102da60048036038101906102d591906122f0565b610bc7565b6040516102e79190612630565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061208a565b610bd9565b604051610324919061277d565b60405180910390f35b34801561033957600080fd5b50610342610c92565b005b34801561035057600080fd5b50610359610ca6565b6040516103669190612630565b60405180910390f35b34801561037b57600080fd5b50610384610cd0565b60405161039191906126db565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc91906122a7565b610d62565b005b3480156103cf57600080fd5b506103d8610d84565b005b3480156103e657600080fd5b5061040160048036038101906103fc91906121cd565b610e9b565b005b61041d6004803603810190610418919061214a565b610fa6565b005b34801561042b57600080fd5b50610446600480360381019061044191906122f0565b611047565b60405161045391906126db565b60405180910390f35b34801561046857600080fd5b50610483600480360381019061047e91906120b7565b6110a1565b60405161049091906126c0565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb91906122f0565b611135565b6040516104cd91906126db565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f8919061208a565b61119a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061055a57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061058a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546105a090612a19565b80601f01602080910402602001604051908101604052809291908181526020018280546105cc90612a19565b80156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b5050505050905090565b600061062e8261121e565b610664576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106ad82610bc7565b90508073ffffffffffffffffffffffffffffffffffffffff166106ce61127d565b73ffffffffffffffffffffffffffffffffffffffff1614610731576106fa816106f561127d565b6110a1565b610730576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b670de0b6b3a7640000341015610831576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108289061271d565b60405180910390fd5b6000670de0b6b3a76400003461084791906128d8565b90506103e881610855610907565b61085f9190612882565b111561086a57600080fd5b6108743382611285565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a3360006040518363ffffffff1660e01b81526004016108d292919061264b565b600060405180830381600087803b1580156108ec57600080fd5b505af1158015610900573d6000803e3d6000fd5b5050505050565b60006109116112a3565b6001546000540303905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b815260040161097b92919061264b565b600060405180830381600087803b15801561099557600080fd5b505af11580156109a9573d6000803e3d6000fd5b505050506109b88383836112ac565b505050565b6109c56115d1565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a3360006040518363ffffffff1660e01b8152600401610a6792919061264b565b600060405180830381600087803b158015610a8157600080fd5b505af1158015610a95573d6000803e3d6000fd5b50505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c00007b0336040518263ffffffff1660e01b8152600401610af49190612630565b600060405180830381600087803b158015610b0e57600080fd5b505af1158015610b22573d6000803e3d6000fd5b50505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b8152600401610b8592919061264b565b600060405180830381600087803b158015610b9f57600080fd5b505af1158015610bb3573d6000803e3d6000fd5b50505050610bc283838361164f565b505050565b6000610bd28261166f565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c41576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610c9a6115d1565b610ca4600061173d565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610cdf90612a19565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0b90612a19565b8015610d585780601f10610d2d57610100808354040283529160200191610d58565b820191906000526020600020905b815481529060010190602001808311610d3b57829003601f168201915b5050505050905090565b610d6a6115d1565b80600b9080519060200190610d80929190611e9e565b5050565b610d8c6115d1565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166103e8601947610dd59190612909565b610ddf91906128d8565b604051610deb9061261b565b60006040518083038185875af1925050503d8060008114610e28576040519150601f19603f3d011682016040523d82523d6000602084013e610e2d565b606091505b5050503373ffffffffffffffffffffffffffffffffffffffff1647604051610e549061261b565b60006040518083038185875af1925050503d8060008114610e91576040519150601f19603f3d011682016040523d82523d6000602084013e610e96565b606091505b505050565b8060076000610ea861127d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f5561127d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f9a91906126c0565b60405180910390a35050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b815260040161100392919061264b565b600060405180830381600087803b15801561101d57600080fd5b505af1158015611031573d6000803e3d6000fd5b5050505061104184848484611803565b50505050565b60606110528261121e565b611091576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110889061275d565b60405180910390fd5b61109a82611135565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606061117461114383611876565b600b61114e85611876565b604051602001611160939291906125a7565b6040516020818303038152906040526118cf565b60405160200161118491906125f9565b6040516020818303038152906040529050919050565b6111a26115d1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906126fd565b60405180910390fd5b61121b8161173d565b50565b6000816112296112a3565b11158015611238575060005482105b8015611276575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61129f8282604051806020016040528060008152506118e4565b5050565b60006001905090565b60006112b78261166f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461131e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061132a84611981565b91509150611340818761133b61127d565b6119a8565b61138c576113558661135061127d565b6110a1565b61138b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156113f3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61140086868660016119ec565b801561140b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506114d9856114b58888876119f2565b7c020000000000000000000000000000000000000000000000000000000017611a1a565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561156157600060018501905060006004600083815260200190815260200160002054141561155f57600054811461155e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115c98686866001611a45565b505050505050565b6115d9611a4b565b73ffffffffffffffffffffffffffffffffffffffff166115f7610ca6565b73ffffffffffffffffffffffffffffffffffffffff161461164d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116449061273d565b60405180910390fd5b565b61166a83838360405180602001604052806000815250610fa6565b505050565b6000808290508061167e6112a3565b11611706576000548110156117055760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611703575b60008114156116f95760046000836001900393508381526020019081526020016000205490506116ce565b8092505050611738565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61180e84848461091e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146118705761183984848484611a53565b61186f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060a060405101806040526020810391506000825281835b6001156118ba57600184039350600a81066030018453600a81049050806118b5576118ba565b61188f565b50828103602084039350808452505050919050565b60606118dd82600080611bb3565b9050919050565b6118ee8383611cc8565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461197c57600080549050600083820390505b61192e6000868380600101945086611a53565b611964576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061191b57816000541461197957600080fd5b50505b505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611a09868684611e85565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a7961127d565b8786866040518563ffffffff1660e01b8152600401611a9b9493929190612674565b602060405180830381600087803b158015611ab557600080fd5b505af1925050508015611ae657506040513d601f19601f82011682018060405250810190611ae3919061227a565b60015b611b60573d8060008114611b16576040519150601f19603f3d011682016040523d82523d6000602084013e611b1b565b606091505b50600081511415611b58576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606083518015611cc0576003600282010460021b60405192507f4142434445464748494a4b4c4d4e4f505152535455565758595a616263646566601f526102308515027f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392d5f03603f52602083018181015b600115611c79576003880197508751603f8160121c16518353603f81600c1c16516001840153603f8160061c16516002840153603f8116516003840153600483019250818310611c735750611c79565b50611c23565b600384068660008114611c9757600182148215150185038752611caf565b603d821515850353603d6001831460011b8503538487525b50601f19601f830116604052505050505b509392505050565b6000805490506000821415611d09576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d1660008483856119ec565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d8d83611d7e60008660006119f2565b611d8785611e8e565b17611a1a565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611e2e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611df3565b506000821415611e6a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611e806000848385611a45565b505050565b60009392505050565b60006001821460e11b9050919050565b828054611eaa90612a19565b90600052602060002090601f016020900481019282611ecc5760008555611f13565b82601f10611ee557805160ff1916838001178555611f13565b82800160010185558215611f13579182015b82811115611f12578251825591602001919060010190611ef7565b5b509050611f209190611f24565b5090565b5b80821115611f3d576000816000905550600101611f25565b5090565b6000611f54611f4f846127bd565b612798565b905082815260208101848484011115611f7057611f6f612b3d565b5b611f7b8482856129d7565b509392505050565b6000611f96611f91846127ee565b612798565b905082815260208101848484011115611fb257611fb1612b3d565b5b611fbd8482856129d7565b509392505050565b600081359050611fd481612d1a565b92915050565b600081359050611fe981612d31565b92915050565b600081359050611ffe81612d48565b92915050565b60008151905061201381612d48565b92915050565b600082601f83011261202e5761202d612b38565b5b813561203e848260208601611f41565b91505092915050565b600082601f83011261205c5761205b612b38565b5b813561206c848260208601611f83565b91505092915050565b60008135905061208481612d5f565b92915050565b6000602082840312156120a05761209f612b47565b5b60006120ae84828501611fc5565b91505092915050565b600080604083850312156120ce576120cd612b47565b5b60006120dc85828601611fc5565b92505060206120ed85828601611fc5565b9150509250929050565b6000806000606084860312156121105761210f612b47565b5b600061211e86828701611fc5565b935050602061212f86828701611fc5565b925050604061214086828701612075565b9150509250925092565b6000806000806080858703121561216457612163612b47565b5b600061217287828801611fc5565b945050602061218387828801611fc5565b935050604061219487828801612075565b925050606085013567ffffffffffffffff8111156121b5576121b4612b42565b5b6121c187828801612019565b91505092959194509250565b600080604083850312156121e4576121e3612b47565b5b60006121f285828601611fc5565b925050602061220385828601611fda565b9150509250929050565b6000806040838503121561222457612223612b47565b5b600061223285828601611fc5565b925050602061224385828601612075565b9150509250929050565b60006020828403121561226357612262612b47565b5b600061227184828501611fef565b91505092915050565b6000602082840312156122905761228f612b47565b5b600061229e84828501612004565b91505092915050565b6000602082840312156122bd576122bc612b47565b5b600082013567ffffffffffffffff8111156122db576122da612b42565b5b6122e784828501612047565b91505092915050565b60006020828403121561230657612305612b47565b5b600061231484828501612075565b91505092915050565b61232681612963565b82525050565b61233581612975565b82525050565b600061234682612834565b612350818561284a565b93506123608185602086016129e6565b61236981612b4c565b840191505092915050565b600061237f8261283f565b6123898185612866565b93506123998185602086016129e6565b6123a281612b4c565b840191505092915050565b60006123b88261283f565b6123c28185612877565b93506123d28185602086016129e6565b80840191505092915050565b600081546123eb81612a19565b6123f58186612877565b94506001821660008114612410576001811461242157612454565b60ff19831686528186019350612454565b61242a8561281f565b60005b8381101561244c5781548189015260018201915060208101905061242d565b838801955050505b50505092915050565b600061246a602683612866565b915061247582612b5d565b604082019050919050565b600061248d602683612877565b915061249882612bac565b602682019050919050565b60006124b0601383612866565b91506124bb82612bfb565b602082019050919050565b60006124d3600d83612877565b91506124de82612c24565b600d82019050919050565b60006124f6602083612866565b915061250182612c4d565b602082019050919050565b6000612519602f83612866565b915061252482612c76565b604082019050919050565b600061253c600683612877565b915061254782612cc5565b600682019050919050565b600061255f601d83612877565b915061256a82612cee565b601d82019050919050565b600061258260008361285b565b915061258d82612d17565b600082019050919050565b6125a1816129cd565b82525050565b60006125b282612480565b91506125be82866123ad565b91506125c9826124c6565b91506125d582856123de565b91506125e182846123ad565b91506125ec8261252f565b9150819050949350505050565b600061260482612552565b915061261082846123ad565b915081905092915050565b600061262682612575565b9150819050919050565b6000602082019050612645600083018461231d565b92915050565b6000604082019050612660600083018561231d565b61266d602083018461231d565b9392505050565b6000608082019050612689600083018761231d565b612696602083018661231d565b6126a36040830185612598565b81810360608301526126b5818461233b565b905095945050505050565b60006020820190506126d5600083018461232c565b92915050565b600060208201905081810360008301526126f58184612374565b905092915050565b600060208201905081810360008301526127168161245d565b9050919050565b60006020820190508181036000830152612736816124a3565b9050919050565b60006020820190508181036000830152612756816124e9565b9050919050565b600060208201905081810360008301526127768161250c565b9050919050565b60006020820190506127926000830184612598565b92915050565b60006127a26127b3565b90506127ae8282612a4b565b919050565b6000604051905090565b600067ffffffffffffffff8211156127d8576127d7612b09565b5b6127e182612b4c565b9050602081019050919050565b600067ffffffffffffffff82111561280957612808612b09565b5b61281282612b4c565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061288d826129cd565b9150612898836129cd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128cd576128cc612a7c565b5b828201905092915050565b60006128e3826129cd565b91506128ee836129cd565b9250826128fe576128fd612aab565b5b828204905092915050565b6000612914826129cd565b915061291f836129cd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561295857612957612a7c565b5b828202905092915050565b600061296e826129ad565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a045780820151818401526020810190506129e9565b83811115612a13576000848401525b50505050565b60006002820490506001821680612a3157607f821691505b60208210811415612a4557612a44612ada565b5b50919050565b612a5482612b4c565b810181811067ffffffffffffffff82111715612a7357612a72612b09565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a2022487964726f20486f6d696573205969656c6420436f7560008201527f706f6e2023200000000000000000000000000000000000000000000000000000602082015250565b7f6e6f742073656e64696e67203120657468657200000000000000000000000000600082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f2e706e67227d0000000000000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b50565b612d2381612963565b8114612d2e57600080fd5b50565b612d3a81612975565b8114612d4557600080fd5b50565b612d5181612981565b8114612d5c57600080fd5b50565b612d68816129cd565b8114612d7357600080fd5b5056fea2646970667358221220389255295d26ca3df7a7fccd2d6a5d3e9f46ac6ccf8f09d667bc1bfa21d5e53964736f6c63430008070033

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

000000000000000000000000a8906442685644b6ce6ff14ad85bbfe61a3c2e60

-----Decoded View---------------
Arg [0] : _token (address): 0xA8906442685644B6Ce6Ff14ad85BBFE61a3C2E60

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a8906442685644b6ce6ff14ad85bbfe61a3c2e60


Deployed Bytecode Sourcemap

86867:2618:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53621:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54523:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61014:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;60447:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;88030:296;;;:::i;:::-;;50274:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;88896:181;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;88648:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;88750:143;;;;;;;;;;;;;:::i;:::-;;89080:186;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;55916:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51458:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;34400:103;;;;;;;;;;;;;:::i;:::-;;33752:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54699:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;88534:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;88334:194;;;;;;;;;;;;;:::i;:::-;;61572:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;89269:213;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87228:225;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61963:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87461:448;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;34658:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;53621:639;53706:4;54045:10;54030:25;;:11;:25;;;;:102;;;;54122:10;54107:25;;:11;:25;;;;54030:102;:179;;;;54199:10;54184:25;;:11;:25;;;;54030:179;54010:199;;53621:639;;;:::o;54523:100::-;54577:13;54610:5;54603:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54523:100;:::o;61014:218::-;61090:7;61115:16;61123:7;61115;:16::i;:::-;61110:64;;61140:34;;;;;;;;;;;;;;61110:64;61194:15;:24;61210:7;61194:24;;;;;;;;;;;:30;;;;;;;;;;;;61187:37;;61014:218;;;:::o;60447:408::-;60536:13;60552:16;60560:7;60552;:16::i;:::-;60536:32;;60608:5;60585:28;;:19;:17;:19::i;:::-;:28;;;60581:175;;60633:44;60650:5;60657:19;:17;:19::i;:::-;60633:16;:44::i;:::-;60628:128;;60705:35;;;;;;;;;;;;;;60628:128;60581:175;60801:2;60768:15;:24;60784:7;60768:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;60839:7;60835:2;60819:28;;60828:5;60819:28;;;;;;;;;;;;60525:330;60447:408;;:::o;88030:296::-;88095:7;88082:9;:20;;88074:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;88137:13;88167:7;88154:9;:21;;;;:::i;:::-;88137:39;;88220:4;88211:5;88195:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:29;;88187:38;;;;;;88236:28;88246:10;88258:5;88236:9;:28::i;:::-;88275:5;;;;;;;;;;;88269:25;;;88295:10;88315:1;88269:49;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88063:263;88030:296::o;50274:323::-;50335:7;50563:15;:13;:15::i;:::-;50548:12;;50532:13;;:28;:46;50525:53;;50274:323;:::o;88896:181::-;88996:5;;;;;;;;;;;88990:25;;;89016:4;89022:2;88990:35;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89033:39;89054:4;89060:2;89064:7;89033:20;:39::i;:::-;88896:181;;;:::o;88648:96::-;33638:13;:11;:13::i;:::-;88727:9:::1;88719:5;;:17;;;;;;;;;;;;;;;;;;88648:96:::0;:::o;88750:143::-;88797:5;;;;;;;;;;;88791:25;;;88817:10;88837:1;88791:49;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88857:5;;;;;;;;;;;88851:22;;;88874:10;88851:34;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88750:143::o;89080:186::-;89184:5;;;;;;;;;;;89178:25;;;89204:4;89210:2;89178:35;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89218:43;89243:4;89249:2;89253:7;89218:24;:43::i;:::-;89080:186;;;:::o;55916:152::-;55988:7;56031:27;56050:7;56031:18;:27::i;:::-;56008:52;;55916:152;;;:::o;51458:233::-;51530:7;51571:1;51554:19;;:5;:19;;;51550:60;;;51582:28;;;;;;;;;;;;;;51550:60;45617:13;51628:18;:25;51647:5;51628:25;;;;;;;;;;;;;;;;:55;51621:62;;51458:233;;;:::o;34400:103::-;33638:13;:11;:13::i;:::-;34465:30:::1;34492:1;34465:18;:30::i;:::-;34400:103::o:0;33752:87::-;33798:7;33825:6;;;;;;;;;;;33818:13;;33752:87;:::o;54699:104::-;54755:13;54788:7;54781:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54699:104;:::o;88534:106::-;33638:13;:11;:13::i;:::-;88621:11:::1;88611:7;:21;;;;;;;;;;;;:::i;:::-;;88534:106:::0;:::o;88334:194::-;33638:13;:11;:13::i;:::-;88395:2:::1;;;;;;;;;;;88387:16;;88441:4;88436:2;88412:21;:26;;;;:::i;:::-;:33;;;;:::i;:::-;88387:64;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88470:10;88462:24;;88494:21;88462:58;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88334:194::o:0;61572:234::-;61719:8;61667:18;:39;61686:19;:17;:19::i;:::-;61667:39;;;;;;;;;;;;;;;:49;61707:8;61667:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;61779:8;61743:55;;61758:19;:17;:19::i;:::-;61743:55;;;61789:8;61743:55;;;;;;:::i;:::-;;;;;;;;61572:234;;:::o;89269:213::-;89393:5;;;;;;;;;;;89387:25;;;89413:4;89419:2;89387:35;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89427:50;89452:4;89458:2;89462:7;89471:5;89427:24;:50::i;:::-;89269:213;;;;:::o;87228:225::-;87302:13;87336:17;87344:8;87336:7;:17::i;:::-;87328:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;87422:23;87436:8;87422:13;:23::i;:::-;87415:30;;87228:225;;;:::o;61963:164::-;62060:4;62084:18;:25;62103:5;62084:25;;;;;;;;;;;;;;;:35;62110:8;62084:35;;;;;;;;;;;;;;;;;;;;;;;;;62077:42;;61963:164;;;;:::o;87461:448::-;87522:13;87630:269;87739:28;87758:8;87739:18;:28::i;:::-;87816:7;87826:28;87845:8;87826:18;:28::i;:::-;87650:247;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;87630:13;:269::i;:::-;87562:338;;;;;;;;:::i;:::-;;;;;;;;;;;;;87548:353;;87461:448;;;:::o;34658:201::-;33638:13;:11;:13::i;:::-;34767:1:::1;34747:22;;:8;:22;;;;34739:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;34823:28;34842:8;34823:18;:28::i;:::-;34658:201:::0;:::o;62385:282::-;62450:4;62506:7;62487:15;:13;:15::i;:::-;:26;;:66;;;;;62540:13;;62530:7;:23;62487:66;:153;;;;;62639:1;46393:8;62591:17;:26;62609:7;62591:26;;;;;;;;;;;;:44;:49;62487:153;62467:173;;62385:282;;;:::o;84693:105::-;84753:7;84780:10;84773:17;;84693:105;:::o;78525:112::-;78602:27;78612:2;78616:8;78602:27;;;;;;;;;;;;:9;:27::i;:::-;78525:112;;:::o;87119:101::-;87184:7;87211:1;87204:8;;87119:101;:::o;64653:2825::-;64795:27;64825;64844:7;64825:18;:27::i;:::-;64795:57;;64910:4;64869:45;;64885:19;64869:45;;;64865:86;;64923:28;;;;;;;;;;;;;;64865:86;64965:27;64994:23;65021:35;65048:7;65021:26;:35::i;:::-;64964:92;;;;65156:68;65181:15;65198:4;65204:19;:17;:19::i;:::-;65156:24;:68::i;:::-;65151:180;;65244:43;65261:4;65267:19;:17;:19::i;:::-;65244:16;:43::i;:::-;65239:92;;65296:35;;;;;;;;;;;;;;65239:92;65151:180;65362:1;65348:16;;:2;:16;;;65344:52;;;65373:23;;;;;;;;;;;;;;65344:52;65409:43;65431:4;65437:2;65441:7;65450:1;65409:21;:43::i;:::-;65545:15;65542:160;;;65685:1;65664:19;65657:30;65542:160;66082:18;:24;66101:4;66082:24;;;;;;;;;;;;;;;;66080:26;;;;;;;;;;;;66151:18;:22;66170:2;66151:22;;;;;;;;;;;;;;;;66149:24;;;;;;;;;;;66473:146;66510:2;66559:45;66574:4;66580:2;66584:19;66559:14;:45::i;:::-;46673:8;66531:73;66473:18;:146::i;:::-;66444:17;:26;66462:7;66444:26;;;;;;;;;;;:175;;;;66790:1;46673:8;66739:19;:47;:52;66735:627;;;66812:19;66844:1;66834:7;:11;66812:33;;67001:1;66967:17;:30;66985:11;66967:30;;;;;;;;;;;;:35;66963:384;;;67105:13;;67090:11;:28;67086:242;;67285:19;67252:17;:30;67270:11;67252:30;;;;;;;;;;;:52;;;;67086:242;66963:384;66793:569;66735:627;67409:7;67405:2;67390:27;;67399:4;67390:27;;;;;;;;;;;;67428:42;67449:4;67455:2;67459:7;67468:1;67428:20;:42::i;:::-;64784:2694;;;64653:2825;;;:::o;33917:132::-;33992:12;:10;:12::i;:::-;33981:23;;:7;:5;:7::i;:::-;:23;;;33973:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;33917:132::o;67574:193::-;67720:39;67737:4;67743:2;67747:7;67720:39;;;;;;;;;;;;:16;:39::i;:::-;67574:193;;;:::o;57071:1275::-;57138:7;57158:12;57173:7;57158:22;;57241:4;57222:15;:13;:15::i;:::-;:23;57218:1061;;57275:13;;57268:4;:20;57264:1015;;;57313:14;57330:17;:23;57348:4;57330:23;;;;;;;;;;;;57313:40;;57447:1;46393:8;57419:6;:24;:29;57415:845;;;58084:113;58101:1;58091:6;:11;58084:113;;;58144:17;:25;58162:6;;;;;;;58144:25;;;;;;;;;;;;58135:34;;58084:113;;;58230:6;58223:13;;;;;;57415:845;57290:989;57264:1015;57218:1061;58307:31;;;;;;;;;;;;;;57071:1275;;;;:::o;35019:191::-;35093:16;35112:6;;;;;;;;;;;35093:25;;35138:8;35129:6;;:17;;;;;;;;;;;;;;;;;;35193:8;35162:40;;35183:8;35162:40;;;;;;;;;;;;35082:128;35019:191;:::o;68365:407::-;68540:31;68553:4;68559:2;68563:7;68540:12;:31::i;:::-;68604:1;68586:2;:14;;;:19;68582:183;;68625:56;68656:4;68662:2;68666:7;68675:5;68625:30;:56::i;:::-;68620:145;;68709:40;;;;;;;;;;;;;;68620:145;68582:183;68365:407;;;;:::o;1591:1736::-;1647:17;2081:4;2074;2068:11;2064:22;2173:1;2167:4;2160:15;2248:4;2245:1;2241:12;2234:19;;2330:1;2325:3;2318:14;2434:3;2673:5;2655:428;2681:1;2655:428;;;2721:1;2716:3;2712:11;2705:18;;2892:2;2886:4;2882:13;2878:2;2874:22;2869:3;2861:36;2986:2;2980:4;2976:13;2968:21;;3053:4;3043:25;;3061:5;;3043:25;2655:428;;;2659:21;3122:3;3117;3113:13;3237:4;3232:3;3228:14;3221:21;;3302:6;3297:3;3290:19;1686:1634;;;1591:1736;;;:::o;27879:134::-;27937:20;27979:26;27986:4;27992:5;27999;27979:6;:26::i;:::-;27970:35;;27879:134;;;:::o;77752:689::-;77883:19;77889:2;77893:8;77883:5;:19::i;:::-;77962:1;77944:2;:14;;;:19;77940:483;;77984:11;77998:13;;77984:27;;78030:13;78052:8;78046:3;:14;78030:30;;78079:233;78110:62;78149:1;78153:2;78157:7;;;;;;78166:5;78110:30;:62::i;:::-;78105:167;;78208:40;;;;;;;;;;;;;;78105:167;78307:3;78299:5;:11;78079:233;;78394:3;78377:13;;:20;78373:34;;78399:8;;;78373:34;77965:458;;77940:483;77752:689;;;:::o;63548:485::-;63650:27;63679:23;63720:38;63761:15;:24;63777:7;63761:24;;;;;;;;;;;63720:65;;63938:18;63915:41;;63995:19;63989:26;63970:45;;63900:126;63548:485;;;:::o;62776:659::-;62925:11;63090:16;63083:5;63079:28;63070:37;;63250:16;63239:9;63235:32;63222:45;;63400:15;63389:9;63386:30;63378:5;63367:9;63364:20;63361:56;63351:66;;62776:659;;;;;:::o;69434:159::-;;;;;:::o;84002:311::-;84137:7;84157:16;46797:3;84183:19;:41;;84157:68;;46797:3;84251:31;84262:4;84268:2;84272:9;84251:10;:31::i;:::-;84243:40;;:62;;84236:69;;;84002:311;;;;;:::o;58894:450::-;58974:14;59142:16;59135:5;59131:28;59122:37;;59319:5;59305:11;59280:23;59276:41;59273:52;59266:5;59263:63;59253:73;;58894:450;;;;:::o;70258:158::-;;;;;:::o;32303:98::-;32356:7;32383:10;32376:17;;32303:98;:::o;70856:716::-;71019:4;71065:2;71040:45;;;71086:19;:17;:19::i;:::-;71107:4;71113:7;71122:5;71040:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;71036:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71340:1;71323:6;:13;:18;71319:235;;;71369:40;;;;;;;;;;;;;;71319:235;71512:6;71506:13;71497:6;71493:2;71489:15;71482:38;71036:529;71209:54;;;71199:64;;;:6;:64;;;;71192:71;;;70856:716;;;;;;:::o;24709:3031::-;24832:20;24913:4;24907:11;24937:10;24934:2788;;;25140:1;25136;25124:10;25120:18;25116:26;25113:1;25109:34;25254:4;25248:11;25238:21;;25633:34;25627:4;25620:48;25761:6;25750:8;25743:16;25739:29;25703:34;25699:70;25693:4;25686:84;25879:4;25871:6;25867:17;25922:13;25917:3;25913:23;26051:700;26058:1;26051:700;;;26104:1;26098:4;26094:12;26086:20;;26167:4;26161:11;26320:4;26312:5;26308:2;26304:14;26300:25;26294:32;26285:3;26273:54;26396:4;26388:5;26384:2;26380:14;26376:25;26370:32;26366:1;26361:3;26357:11;26349:54;26472:4;26464:5;26461:1;26456:14;26452:25;26446:32;26442:1;26437:3;26433:11;26425:54;26548:4;26540:5;26528:25;26522:32;26518:1;26513:3;26509:11;26501:54;26615:1;26610:3;26606:11;26599:18;;26717:3;26712;26709:12;26699:33;;26725:5;;;26699:33;26063:688;26051:700;;;26796:1;26784:10;26780:18;26825:9;26857:1;26852:415;;;;27435:1;27432;27429:8;27424:1;27417:9;27410:17;27406:32;27391:13;27387:52;27379:6;27372:68;26818:641;;26852:415;27008:4;27002:1;26995:9;26988:17;26983:3;26979:27;26971:42;27103:4;27097:1;27094;27091:8;27088:1;27084:16;27079:3;27075:26;27067:41;27234:13;27226:6;27219:29;26818:641;;27702:2;27698:7;27693:2;27688:3;27684:12;27680:26;27674:4;27667:40;24948:2774;;;;24934:2788;24874:2859;24709:3031;;;;;:::o;72034:2966::-;72107:20;72130:13;;72107:36;;72170:1;72158:8;:13;72154:44;;;72180:18;;;;;;;;;;;;;;72154:44;72211:61;72241:1;72245:2;72249:12;72263:8;72211:21;:61::i;:::-;72755:1;45755:2;72725:1;:26;;72724:32;72712:8;:45;72686:18;:22;72705:2;72686:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;73034:139;73071:2;73125:33;73148:1;73152:2;73156:1;73125:14;:33::i;:::-;73092:30;73113:8;73092:20;:30::i;:::-;:66;73034:18;:139::i;:::-;73000:17;:31;73018:12;73000:31;;;;;;;;;;;:173;;;;73190:16;73221:11;73250:8;73235:12;:23;73221:37;;73771:16;73767:2;73763:25;73751:37;;74143:12;74103:8;74062:1;74000:25;73941:1;73880;73853:335;74514:1;74500:12;74496:20;74454:346;74555:3;74546:7;74543:16;74454:346;;74773:7;74763:8;74760:1;74733:25;74730:1;74727;74722:59;74608:1;74599:7;74595:15;74584:26;;74454:346;;;74458:77;74845:1;74833:8;:13;74829:45;;;74855:19;;;;;;;;;;;;;;74829:45;74907:3;74891:13;:19;;;;72460:2462;;74932:60;74961:1;74965:2;74969:12;74983:8;74932:20;:60::i;:::-;72096:2904;72034:2966;;:::o;83703:147::-;83840:6;83703:147;;;;;:::o;59446:324::-;59516:14;59749:1;59739:8;59736:15;59710:24;59706:46;59696:56;;59446:324;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:410:1:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:112;;;280:79;;:::i;:::-;249:112;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;7:410;;;;;:::o;423:412::-;501:5;526:66;542:49;584:6;542:49;:::i;:::-;526:66;:::i;:::-;517:75;;615:6;608:5;601:21;653:4;646:5;642:16;691:3;682:6;677:3;673:16;670:25;667:112;;;698:79;;:::i;:::-;667:112;788:41;822:6;817:3;812;788:41;:::i;:::-;507:328;423:412;;;;;:::o;841:139::-;887:5;925:6;912:20;903:29;;941:33;968:5;941:33;:::i;:::-;841:139;;;;:::o;986:133::-;1029:5;1067:6;1054:20;1045:29;;1083:30;1107:5;1083:30;:::i;:::-;986:133;;;;:::o;1125:137::-;1170:5;1208:6;1195:20;1186:29;;1224:32;1250:5;1224:32;:::i;:::-;1125:137;;;;:::o;1268:141::-;1324:5;1355:6;1349:13;1340:22;;1371:32;1397:5;1371:32;:::i;:::-;1268:141;;;;:::o;1428:338::-;1483:5;1532:3;1525:4;1517:6;1513:17;1509:27;1499:122;;1540:79;;:::i;:::-;1499:122;1657:6;1644:20;1682:78;1756:3;1748:6;1741:4;1733:6;1729:17;1682:78;:::i;:::-;1673:87;;1489:277;1428:338;;;;:::o;1786:340::-;1842:5;1891:3;1884:4;1876:6;1872:17;1868:27;1858:122;;1899:79;;:::i;:::-;1858:122;2016:6;2003:20;2041:79;2116:3;2108:6;2101:4;2093:6;2089:17;2041:79;:::i;:::-;2032:88;;1848:278;1786:340;;;;:::o;2132:139::-;2178:5;2216:6;2203:20;2194:29;;2232:33;2259:5;2232:33;:::i;:::-;2132:139;;;;:::o;2277:329::-;2336:6;2385:2;2373:9;2364:7;2360:23;2356:32;2353:119;;;2391:79;;:::i;:::-;2353:119;2511:1;2536:53;2581:7;2572:6;2561:9;2557:22;2536:53;:::i;:::-;2526:63;;2482:117;2277:329;;;;:::o;2612:474::-;2680:6;2688;2737:2;2725:9;2716:7;2712:23;2708:32;2705:119;;;2743:79;;:::i;:::-;2705:119;2863:1;2888:53;2933:7;2924:6;2913:9;2909:22;2888:53;:::i;:::-;2878:63;;2834:117;2990:2;3016:53;3061:7;3052:6;3041:9;3037:22;3016:53;:::i;:::-;3006:63;;2961:118;2612:474;;;;;:::o;3092:619::-;3169:6;3177;3185;3234:2;3222:9;3213:7;3209:23;3205:32;3202:119;;;3240:79;;:::i;:::-;3202:119;3360:1;3385:53;3430:7;3421:6;3410:9;3406:22;3385:53;:::i;:::-;3375:63;;3331:117;3487:2;3513:53;3558:7;3549:6;3538:9;3534:22;3513:53;:::i;:::-;3503:63;;3458:118;3615:2;3641:53;3686:7;3677:6;3666:9;3662:22;3641:53;:::i;:::-;3631:63;;3586:118;3092:619;;;;;:::o;3717:943::-;3812:6;3820;3828;3836;3885:3;3873:9;3864:7;3860:23;3856:33;3853:120;;;3892:79;;:::i;:::-;3853:120;4012:1;4037:53;4082:7;4073:6;4062:9;4058:22;4037:53;:::i;:::-;4027:63;;3983:117;4139:2;4165:53;4210:7;4201:6;4190:9;4186:22;4165:53;:::i;:::-;4155:63;;4110:118;4267:2;4293:53;4338:7;4329:6;4318:9;4314:22;4293:53;:::i;:::-;4283:63;;4238:118;4423:2;4412:9;4408:18;4395:32;4454:18;4446:6;4443:30;4440:117;;;4476:79;;:::i;:::-;4440:117;4581:62;4635:7;4626:6;4615:9;4611:22;4581:62;:::i;:::-;4571:72;;4366:287;3717:943;;;;;;;:::o;4666:468::-;4731:6;4739;4788:2;4776:9;4767:7;4763:23;4759:32;4756:119;;;4794:79;;:::i;:::-;4756:119;4914:1;4939:53;4984:7;4975:6;4964:9;4960:22;4939:53;:::i;:::-;4929:63;;4885:117;5041:2;5067:50;5109:7;5100:6;5089:9;5085:22;5067:50;:::i;:::-;5057:60;;5012:115;4666:468;;;;;:::o;5140:474::-;5208:6;5216;5265:2;5253:9;5244:7;5240:23;5236:32;5233:119;;;5271:79;;:::i;:::-;5233:119;5391:1;5416:53;5461:7;5452:6;5441:9;5437:22;5416:53;:::i;:::-;5406:63;;5362:117;5518:2;5544:53;5589:7;5580:6;5569:9;5565:22;5544:53;:::i;:::-;5534:63;;5489:118;5140:474;;;;;:::o;5620:327::-;5678:6;5727:2;5715:9;5706:7;5702:23;5698:32;5695:119;;;5733:79;;:::i;:::-;5695:119;5853:1;5878:52;5922:7;5913:6;5902:9;5898:22;5878:52;:::i;:::-;5868:62;;5824:116;5620:327;;;;:::o;5953:349::-;6022:6;6071:2;6059:9;6050:7;6046:23;6042:32;6039:119;;;6077:79;;:::i;:::-;6039:119;6197:1;6222:63;6277:7;6268:6;6257:9;6253:22;6222:63;:::i;:::-;6212:73;;6168:127;5953:349;;;;:::o;6308:509::-;6377:6;6426:2;6414:9;6405:7;6401:23;6397:32;6394:119;;;6432:79;;:::i;:::-;6394:119;6580:1;6569:9;6565:17;6552:31;6610:18;6602:6;6599:30;6596:117;;;6632:79;;:::i;:::-;6596:117;6737:63;6792:7;6783:6;6772:9;6768:22;6737:63;:::i;:::-;6727:73;;6523:287;6308:509;;;;:::o;6823:329::-;6882:6;6931:2;6919:9;6910:7;6906:23;6902:32;6899:119;;;6937:79;;:::i;:::-;6899:119;7057:1;7082:53;7127:7;7118:6;7107:9;7103:22;7082:53;:::i;:::-;7072:63;;7028:117;6823:329;;;;:::o;7158:118::-;7245:24;7263:5;7245:24;:::i;:::-;7240:3;7233:37;7158:118;;:::o;7282:109::-;7363:21;7378:5;7363:21;:::i;:::-;7358:3;7351:34;7282:109;;:::o;7397:360::-;7483:3;7511:38;7543:5;7511:38;:::i;:::-;7565:70;7628:6;7623:3;7565:70;:::i;:::-;7558:77;;7644:52;7689:6;7684:3;7677:4;7670:5;7666:16;7644:52;:::i;:::-;7721:29;7743:6;7721:29;:::i;:::-;7716:3;7712:39;7705:46;;7487:270;7397:360;;;;:::o;7763:364::-;7851:3;7879:39;7912:5;7879:39;:::i;:::-;7934:71;7998:6;7993:3;7934:71;:::i;:::-;7927:78;;8014:52;8059:6;8054:3;8047:4;8040:5;8036:16;8014:52;:::i;:::-;8091:29;8113:6;8091:29;:::i;:::-;8086:3;8082:39;8075:46;;7855:272;7763:364;;;;:::o;8133:377::-;8239:3;8267:39;8300:5;8267:39;:::i;:::-;8322:89;8404:6;8399:3;8322:89;:::i;:::-;8315:96;;8420:52;8465:6;8460:3;8453:4;8446:5;8442:16;8420:52;:::i;:::-;8497:6;8492:3;8488:16;8481:23;;8243:267;8133:377;;;;:::o;8540:845::-;8643:3;8680:5;8674:12;8709:36;8735:9;8709:36;:::i;:::-;8761:89;8843:6;8838:3;8761:89;:::i;:::-;8754:96;;8881:1;8870:9;8866:17;8897:1;8892:137;;;;9043:1;9038:341;;;;8859:520;;8892:137;8976:4;8972:9;8961;8957:25;8952:3;8945:38;9012:6;9007:3;9003:16;8996:23;;8892:137;;9038:341;9105:38;9137:5;9105:38;:::i;:::-;9165:1;9179:154;9193:6;9190:1;9187:13;9179:154;;;9267:7;9261:14;9257:1;9252:3;9248:11;9241:35;9317:1;9308:7;9304:15;9293:26;;9215:4;9212:1;9208:12;9203:17;;9179:154;;;9362:6;9357:3;9353:16;9346:23;;9045:334;;8859:520;;8647:738;;8540:845;;;;:::o;9391:366::-;9533:3;9554:67;9618:2;9613:3;9554:67;:::i;:::-;9547:74;;9630:93;9719:3;9630:93;:::i;:::-;9748:2;9743:3;9739:12;9732:19;;9391:366;;;:::o;9763:402::-;9923:3;9944:85;10026:2;10021:3;9944:85;:::i;:::-;9937:92;;10038:93;10127:3;10038:93;:::i;:::-;10156:2;10151:3;10147:12;10140:19;;9763:402;;;:::o;10171:366::-;10313:3;10334:67;10398:2;10393:3;10334:67;:::i;:::-;10327:74;;10410:93;10499:3;10410:93;:::i;:::-;10528:2;10523:3;10519:12;10512:19;;10171:366;;;:::o;10543:402::-;10703:3;10724:85;10806:2;10801:3;10724:85;:::i;:::-;10717:92;;10818:93;10907:3;10818:93;:::i;:::-;10936:2;10931:3;10927:12;10920:19;;10543:402;;;:::o;10951:366::-;11093:3;11114:67;11178:2;11173:3;11114:67;:::i;:::-;11107:74;;11190:93;11279:3;11190:93;:::i;:::-;11308:2;11303:3;11299:12;11292:19;;10951:366;;;:::o;11323:::-;11465:3;11486:67;11550:2;11545:3;11486:67;:::i;:::-;11479:74;;11562:93;11651:3;11562:93;:::i;:::-;11680:2;11675:3;11671:12;11664:19;;11323:366;;;:::o;11695:400::-;11855:3;11876:84;11958:1;11953:3;11876:84;:::i;:::-;11869:91;;11969:93;12058:3;11969:93;:::i;:::-;12087:1;12082:3;12078:11;12071:18;;11695:400;;;:::o;12101:402::-;12261:3;12282:85;12364:2;12359:3;12282:85;:::i;:::-;12275:92;;12376:93;12465:3;12376:93;:::i;:::-;12494:2;12489:3;12485:12;12478:19;;12101:402;;;:::o;12509:398::-;12668:3;12689:83;12770:1;12765:3;12689:83;:::i;:::-;12682:90;;12781:93;12870:3;12781:93;:::i;:::-;12899:1;12894:3;12890:11;12883:18;;12509:398;;;:::o;12913:118::-;13000:24;13018:5;13000:24;:::i;:::-;12995:3;12988:37;12913:118;;:::o;13037:1387::-;13565:3;13587:148;13731:3;13587:148;:::i;:::-;13580:155;;13752:95;13843:3;13834:6;13752:95;:::i;:::-;13745:102;;13864:148;14008:3;13864:148;:::i;:::-;13857:155;;14029:92;14117:3;14108:6;14029:92;:::i;:::-;14022:99;;14138:95;14229:3;14220:6;14138:95;:::i;:::-;14131:102;;14250:148;14394:3;14250:148;:::i;:::-;14243:155;;14415:3;14408:10;;13037:1387;;;;;;:::o;14430:541::-;14663:3;14685:148;14829:3;14685:148;:::i;:::-;14678:155;;14850:95;14941:3;14932:6;14850:95;:::i;:::-;14843:102;;14962:3;14955:10;;14430:541;;;;:::o;14977:379::-;15161:3;15183:147;15326:3;15183:147;:::i;:::-;15176:154;;15347:3;15340:10;;14977:379;;;:::o;15362:222::-;15455:4;15493:2;15482:9;15478:18;15470:26;;15506:71;15574:1;15563:9;15559:17;15550:6;15506:71;:::i;:::-;15362:222;;;;:::o;15590:332::-;15711:4;15749:2;15738:9;15734:18;15726:26;;15762:71;15830:1;15819:9;15815:17;15806:6;15762:71;:::i;:::-;15843:72;15911:2;15900:9;15896:18;15887:6;15843:72;:::i;:::-;15590:332;;;;;:::o;15928:640::-;16123:4;16161:3;16150:9;16146:19;16138:27;;16175:71;16243:1;16232:9;16228:17;16219:6;16175:71;:::i;:::-;16256:72;16324:2;16313:9;16309:18;16300:6;16256:72;:::i;:::-;16338;16406:2;16395:9;16391:18;16382:6;16338:72;:::i;:::-;16457:9;16451:4;16447:20;16442:2;16431:9;16427:18;16420:48;16485:76;16556:4;16547:6;16485:76;:::i;:::-;16477:84;;15928:640;;;;;;;:::o;16574:210::-;16661:4;16699:2;16688:9;16684:18;16676:26;;16712:65;16774:1;16763:9;16759:17;16750:6;16712:65;:::i;:::-;16574:210;;;;:::o;16790:313::-;16903:4;16941:2;16930:9;16926:18;16918:26;;16990:9;16984:4;16980:20;16976:1;16965:9;16961:17;16954:47;17018:78;17091:4;17082:6;17018:78;:::i;:::-;17010:86;;16790:313;;;;:::o;17109:419::-;17275:4;17313:2;17302:9;17298:18;17290:26;;17362:9;17356:4;17352:20;17348:1;17337:9;17333:17;17326:47;17390:131;17516:4;17390:131;:::i;:::-;17382:139;;17109:419;;;:::o;17534:::-;17700:4;17738:2;17727:9;17723:18;17715:26;;17787:9;17781:4;17777:20;17773:1;17762:9;17758:17;17751:47;17815:131;17941:4;17815:131;:::i;:::-;17807:139;;17534:419;;;:::o;17959:::-;18125:4;18163:2;18152:9;18148:18;18140:26;;18212:9;18206:4;18202:20;18198:1;18187:9;18183:17;18176:47;18240:131;18366:4;18240:131;:::i;:::-;18232:139;;17959:419;;;:::o;18384:::-;18550:4;18588:2;18577:9;18573:18;18565:26;;18637:9;18631:4;18627:20;18623:1;18612:9;18608:17;18601:47;18665:131;18791:4;18665:131;:::i;:::-;18657:139;;18384:419;;;:::o;18809:222::-;18902:4;18940:2;18929:9;18925:18;18917:26;;18953:71;19021:1;19010:9;19006:17;18997:6;18953:71;:::i;:::-;18809:222;;;;:::o;19037:129::-;19071:6;19098:20;;:::i;:::-;19088:30;;19127:33;19155:4;19147:6;19127:33;:::i;:::-;19037:129;;;:::o;19172:75::-;19205:6;19238:2;19232:9;19222:19;;19172:75;:::o;19253:307::-;19314:4;19404:18;19396:6;19393:30;19390:56;;;19426:18;;:::i;:::-;19390:56;19464:29;19486:6;19464:29;:::i;:::-;19456:37;;19548:4;19542;19538:15;19530:23;;19253:307;;;:::o;19566:308::-;19628:4;19718:18;19710:6;19707:30;19704:56;;;19740:18;;:::i;:::-;19704:56;19778:29;19800:6;19778:29;:::i;:::-;19770:37;;19862:4;19856;19852:15;19844:23;;19566:308;;;:::o;19880:141::-;19929:4;19952:3;19944:11;;19975:3;19972:1;19965:14;20009:4;20006:1;19996:18;19988:26;;19880:141;;;:::o;20027:98::-;20078:6;20112:5;20106:12;20096:22;;20027:98;;;:::o;20131:99::-;20183:6;20217:5;20211:12;20201:22;;20131:99;;;:::o;20236:168::-;20319:11;20353:6;20348:3;20341:19;20393:4;20388:3;20384:14;20369:29;;20236:168;;;;:::o;20410:147::-;20511:11;20548:3;20533:18;;20410:147;;;;:::o;20563:169::-;20647:11;20681:6;20676:3;20669:19;20721:4;20716:3;20712:14;20697:29;;20563:169;;;;:::o;20738:148::-;20840:11;20877:3;20862:18;;20738:148;;;;:::o;20892:305::-;20932:3;20951:20;20969:1;20951:20;:::i;:::-;20946:25;;20985:20;21003:1;20985:20;:::i;:::-;20980:25;;21139:1;21071:66;21067:74;21064:1;21061:81;21058:107;;;21145:18;;:::i;:::-;21058:107;21189:1;21186;21182:9;21175:16;;20892:305;;;;:::o;21203:185::-;21243:1;21260:20;21278:1;21260:20;:::i;:::-;21255:25;;21294:20;21312:1;21294:20;:::i;:::-;21289:25;;21333:1;21323:35;;21338:18;;:::i;:::-;21323:35;21380:1;21377;21373:9;21368:14;;21203:185;;;;:::o;21394:348::-;21434:7;21457:20;21475:1;21457:20;:::i;:::-;21452:25;;21491:20;21509:1;21491:20;:::i;:::-;21486:25;;21679:1;21611:66;21607:74;21604:1;21601:81;21596:1;21589:9;21582:17;21578:105;21575:131;;;21686:18;;:::i;:::-;21575:131;21734:1;21731;21727:9;21716:20;;21394:348;;;;:::o;21748:96::-;21785:7;21814:24;21832:5;21814:24;:::i;:::-;21803:35;;21748:96;;;:::o;21850:90::-;21884:7;21927:5;21920:13;21913:21;21902:32;;21850:90;;;:::o;21946:149::-;21982:7;22022:66;22015:5;22011:78;22000:89;;21946:149;;;:::o;22101:126::-;22138:7;22178:42;22171:5;22167:54;22156:65;;22101:126;;;:::o;22233:77::-;22270:7;22299:5;22288:16;;22233:77;;;:::o;22316:154::-;22400:6;22395:3;22390;22377:30;22462:1;22453:6;22448:3;22444:16;22437:27;22316:154;;;:::o;22476:307::-;22544:1;22554:113;22568:6;22565:1;22562:13;22554:113;;;22653:1;22648:3;22644:11;22638:18;22634:1;22629:3;22625:11;22618:39;22590:2;22587:1;22583:10;22578:15;;22554:113;;;22685:6;22682:1;22679:13;22676:101;;;22765:1;22756:6;22751:3;22747:16;22740:27;22676:101;22525:258;22476:307;;;:::o;22789:320::-;22833:6;22870:1;22864:4;22860:12;22850:22;;22917:1;22911:4;22907:12;22938:18;22928:81;;22994:4;22986:6;22982:17;22972:27;;22928:81;23056:2;23048:6;23045:14;23025:18;23022:38;23019:84;;;23075:18;;:::i;:::-;23019:84;22840:269;22789:320;;;:::o;23115:281::-;23198:27;23220:4;23198:27;:::i;:::-;23190:6;23186:40;23328:6;23316:10;23313:22;23292:18;23280:10;23277:34;23274:62;23271:88;;;23339:18;;:::i;:::-;23271:88;23379:10;23375:2;23368:22;23158:238;23115:281;;:::o;23402:180::-;23450:77;23447:1;23440:88;23547:4;23544:1;23537:15;23571:4;23568:1;23561:15;23588:180;23636:77;23633:1;23626:88;23733:4;23730:1;23723:15;23757:4;23754:1;23747:15;23774:180;23822:77;23819:1;23812:88;23919:4;23916:1;23909:15;23943:4;23940:1;23933:15;23960:180;24008:77;24005:1;23998:88;24105:4;24102:1;24095:15;24129:4;24126:1;24119:15;24146:117;24255:1;24252;24245:12;24269:117;24378:1;24375;24368:12;24392:117;24501:1;24498;24491:12;24515:117;24624:1;24621;24614:12;24638:102;24679:6;24730:2;24726:7;24721:2;24714:5;24710:14;24706:28;24696:38;;24638:102;;;:::o;24746:225::-;24886:34;24882:1;24874:6;24870:14;24863:58;24955:8;24950:2;24942:6;24938:15;24931:33;24746:225;:::o;24977:257::-;25117:66;25113:1;25105:6;25101:14;25094:90;25218:8;25213:2;25205:6;25201:15;25194:33;24977:257;:::o;25240:169::-;25380:21;25376:1;25368:6;25364:14;25357:45;25240:169;:::o;25415:214::-;25555:66;25551:1;25543:6;25539:14;25532:90;25415:214;:::o;25635:182::-;25775:34;25771:1;25763:6;25759:14;25752:58;25635:182;:::o;25823:234::-;25963:34;25959:1;25951:6;25947:14;25940:58;26032:17;26027:2;26019:6;26015:15;26008:42;25823:234;:::o;26063:214::-;26203:66;26199:1;26191:6;26187:14;26180:90;26063:214;:::o;26283:179::-;26423:31;26419:1;26411:6;26407:14;26400:55;26283:179;:::o;26468:114::-;;:::o;26588:122::-;26661:24;26679:5;26661:24;:::i;:::-;26654:5;26651:35;26641:63;;26700:1;26697;26690:12;26641:63;26588:122;:::o;26716:116::-;26786:21;26801:5;26786:21;:::i;:::-;26779:5;26776:32;26766:60;;26822:1;26819;26812:12;26766:60;26716:116;:::o;26838:120::-;26910:23;26927:5;26910:23;:::i;:::-;26903:5;26900:34;26890:62;;26948:1;26945;26938:12;26890:62;26838:120;:::o;26964:122::-;27037:24;27055:5;27037:24;:::i;:::-;27030:5;27027:35;27017:63;;27076:1;27073;27066:12;27017:63;26964:122;:::o

Swarm Source

ipfs://389255295d26ca3df7a7fccd2d6a5d3e9f46ac6ccf8f09d667bc1bfa21d5e539

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.