Token ReaperToken

 

Overview ERC-20

Price
$0.00 @ 0.001359 FTM (+7.42%)
Fully Diluted Market Cap
Total Supply:
82,026,164.258349 REAPER

Holders:
2,475 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Grim Finance is a Smart Yield Optimizer Platform that allows users to stake LP-Tokens issued from AMMs (Automated Market Makers) in Grim Vaults, which automatically harvest and re-stake their rewards as LP-Tokens for a compounding effect. Helping users reap more rewards, hassle-free.


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

Contract Source Code Verified (Exact Match)

Contract Name:
ReaperToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-07-10
*/

/**
 *Submitted for verification at FtmScan.com on 2021-04-25
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

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

        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

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

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

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

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

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

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

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

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


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            revert("ECDSA: invalid signature length");
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}


/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                block.chainid,
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}


// This version of ERC20Permit is from OpenZeppelin as of commit
// https://github.com/OpenZeppelin/openzeppelin-contracts/commit/5171e46c47bd6be781aa92315944ca37126d4a73


/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping (address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {
    }

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                value,
                _useNonce(owner),
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}


/**
 * @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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
contract ReaperToken is ERC20Permit, Ownable {

    constructor() ERC20("ReaperToken", "REAPER") ERC20Permit("ReaperToken")
    {

    }

    uint256 constant private _maxTotalSupply = 100000000e18; // 100,000,000 max REAPER

    function mint(address _to, uint256 _amount) public onlyOwner {
        require(totalSupply() + _amount <= _maxTotalSupply, "ERC20: minting more then MaxTotalSupply");

        _mint(_to, _amount);
        _moveDelegates(address(0), _to, _amount);
    }


    // Returns maximum total supply of the token
    function getMaxTotalSupply() external pure returns (uint256) {
        return _maxTotalSupply;
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    // A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    // A record of states for signing / validating signatures
    //mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);
    

    function transferFrom(address sender, address recipient, uint256 amount) 
    public virtual override returns (bool)
    {
        bool result = super.transferFrom(sender, recipient, amount); // Call parent hook
        _moveDelegates(sender, recipient, amount);

        return result;
    }

    function transfer(address recipient, uint256 amount) 
    public virtual override returns (bool)
    {
        bool result = super.transfer(recipient, amount); // Call parent hook
        _moveDelegates(_msgSender(), recipient, amount);

        return result;
    }

    /**
     * @param delegator The address to get delegates for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "REAPER::delegateBySig: invalid signature");
        require(nonce == _useNonce(signatory), "REAPER::delegateBySig: invalid nonce");
        require(block.timestamp <= expiry, "REAPER::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "REAPER::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying REAPER (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld - amount;
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld + amount;
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "REAPER::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal view returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }



}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b506040518060400160405280600b81526020016a2932b0b832b92a37b5b2b760a91b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600b81526020016a2932b0b832b92a37b5b2b760a91b815250604051806040016040528060068152602001652922a0a822a960d11b8152508160039080519060200190620000d2929190620001bc565b508051620000e8906004906020840190620001bc565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a018190528183019890985260608101959095526080808601939093523085830152805180860390920182529390920192839052815191909501209093525061010052600680546001600160a01b03191633908117909155915081906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200029f565b828054620001ca9062000262565b90600052602060002090601f016020900481019282620001ee576000855562000239565b82601f106200020957805160ff191683800117855562000239565b8280016001018555821562000239579182015b82811115620002395782518255916020019190600101906200021c565b50620002479291506200024b565b5090565b5b808211156200024757600081556001016200024c565b600181811c908216806200027757607f821691505b602082108114156200029957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051611f0f620002ef6000396000610e0001526000611379015260006113c8015260006113a301526000611327015260006113500152611f0f6000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063b4b5ea5711610097578063dd62ed3e11610071578063dd62ed3e14610407578063e7a324dc14610440578063f1127ed814610467578063f2fde38b146104be57600080fd5b8063b4b5ea57146103ce578063c3cda520146103e1578063d505accf146103f457600080fd5b80638da5cb5b116100d35780638da5cb5b1461038f57806395d89b41146103a0578063a457c2d7146103a8578063a9059cbb146103bb57600080fd5b8063715018a614610361578063782d6fe1146103695780637ecebe001461037c57600080fd5b806339509351116101665780635c19a95c116101405780635c19a95c146102d95780635db30bb1146102ec5780636fcfff45146102fd57806370a082311461033857600080fd5b8063395093511461026d57806340c10f1914610280578063587cde1e1461029557600080fd5b806320606b70116101a257806320606b701461021c57806323b872dd14610243578063313ce567146102565780633644e5151461026557600080fd5b806306fdde03146101c9578063095ea7b3146101e757806318160ddd1461020a575b600080fd5b6101d16104d1565b6040516101de9190611d25565b60405180910390f35b6101fa6101f5366004611c67565b610563565b60405190151581526020016101de565b6002545b6040519081526020016101de565b61020e7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6101fa610251366004611bc3565b61057a565b604051601281526020016101de565b61020e61059d565b6101fa61027b366004611c67565b6105ac565b61029361028e366004611c67565b6105e8565b005b6102c16102a3366004611b77565b6001600160a01b039081166000908152600760205260409020541690565b6040516001600160a01b0390911681526020016101de565b6102936102e7366004611b77565b6106b3565b6a52b7d2dcc80cd2e400000061020e565b61032361030b366004611b77565b60096020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016101de565b61020e610346366004611b77565b6001600160a01b031660009081526020819052604090205490565b6102936106c0565b61020e610377366004611c67565b610734565b61020e61038a366004611b77565b61099b565b6006546001600160a01b03166102c1565b6101d16109b9565b6101fa6103b6366004611c67565b6109c8565b6101fa6103c9366004611c67565b610a63565b61020e6103dc366004611b77565b610a84565b6102936103ef366004611c90565b610af8565b610293610402366004611bfe565b610dac565b61020e610415366004611b91565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61020e7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104a2610475366004611ce7565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff90931683526020830191909152016101de565b6102936104cc366004611b77565b610f04565b6060600380546104e090611e58565b80601f016020809104026020016040519081016040528092919081815260200182805461050c90611e58565b80156105595780601f1061052e57610100808354040283529160200191610559565b820191906000526020600020905b81548152906001019060200180831161053c57829003601f168201915b5050505050905090565b6000610570338484610fef565b5060015b92915050565b600080610588858585611113565b90506105958585856111bf565b949350505050565b60006105a7611323565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916105709185906105e3908690611dad565b610fef565b6006546001600160a01b0316331461061b5760405162461bcd60e51b815260040161061290611d78565b60405180910390fd5b6a52b7d2dcc80cd2e40000008161063160025490565b61063b9190611dad565b11156106995760405162461bcd60e51b815260206004820152602760248201527f45524332303a206d696e74696e67206d6f7265207468656e204d6178546f74616044820152666c537570706c7960c81b6064820152608401610612565b6106a38282611416565b6106af600083836111bf565b5050565b6106bd33826114f5565b50565b6006546001600160a01b031633146106ea5760405162461bcd60e51b815260040161061290611d78565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b60004382106107975760405162461bcd60e51b815260206004820152602960248201527f5245415045523a3a6765745072696f72566f7465733a206e6f74207965742064604482015268195d195c9b5a5b995960ba1b6064820152608401610612565b6001600160a01b03831660009081526009602052604090205463ffffffff16806107c5576000915050610574565b6001600160a01b038416600090815260086020526040812084916107ea600185611e33565b63ffffffff90811682526020820192909252604001600020541611610853576001600160a01b03841660009081526008602052604081209061082d600184611e33565b63ffffffff1663ffffffff16815260200190815260200160002060010154915050610574565b6001600160a01b038416600090815260086020908152604080832083805290915290205463ffffffff1683101561088e576000915050610574565b60008061089c600184611e33565b90505b8163ffffffff168163ffffffff16111561096457600060026108c18484611e33565b6108cb9190611ded565b6108d59083611e33565b6001600160a01b038816600090815260086020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610938576020015194506105749350505050565b805163ffffffff1687111561094f5781935061095d565b61095a600183611e33565b92505b505061089f565b506001600160a01b038516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b6001600160a01b038116600090815260056020526040812054610574565b6060600480546104e090611e58565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610a4a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610612565b610a5933856105e38685611e1c565b5060019392505050565b600080610a708484611574565b9050610a7d3385856111bf565b9392505050565b6001600160a01b03811660009081526009602052604081205463ffffffff1680610aaf576000610a7d565b6001600160a01b038316600090815260086020526040812090610ad3600184611e33565b63ffffffff1663ffffffff168152602001908152602001600020600101549392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610b236104d1565b80519060200120610b314690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610c5d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cd15760405162461bcd60e51b815260206004820152602860248201527f5245415045523a3a64656c656761746542795369673a20696e76616c6964207360448201526769676e617475726560c01b6064820152608401610612565b610cda81611581565b8914610d345760405162461bcd60e51b8152602060048201526024808201527f5245415045523a3a64656c656761746542795369673a20696e76616c6964206e6044820152636f6e636560e01b6064820152608401610612565b87421115610d955760405162461bcd60e51b815260206004820152602860248201527f5245415045523a3a64656c656761746542795369673a207369676e617475726560448201526708195e1c1a5c995960c21b6064820152608401610612565b610d9f818b6114f5565b505050505b505050505050565b83421115610dfc5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610612565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610e2b8c611581565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610e86826115a9565b90506000610e96828787876115f7565b9050896001600160a01b0316816001600160a01b031614610ef95760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610612565b610d9f8a8a8a610fef565b6006546001600160a01b03163314610f2e5760405162461bcd60e51b815260040161061290611d78565b6001600160a01b038116610f935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610612565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166110515760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610612565b6001600160a01b0382166110b25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610612565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111208484846117a0565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156111a55760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610612565b6111b485336105e38685611e1c565b506001949350505050565b816001600160a01b0316836001600160a01b0316141580156111e15750600081115b1561131e576001600160a01b03831615611284576001600160a01b03831660009081526009602052604081205463ffffffff169081611221576000611264565b6001600160a01b038516600090815260086020526040812090611245600185611e33565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006112728483611e1c565b905061128086848484611978565b5050505b6001600160a01b0382161561131e576001600160a01b03821660009081526009602052604081205463ffffffff1690816112bf576000611302565b6001600160a01b0384166000908152600860205260408120906112e3600185611e33565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006113108483611dad565b9050610da485848484611978565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000046141561137257507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b03821661146c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610612565b806002600082825461147e9190611dad565b90915550506001600160a01b038216600090815260208190526040812080548392906114ab908490611dad565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038281166000818152600760208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461156e8284836111bf565b50505050565b60006105703384846117a0565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006105746115b6611323565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156116745760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610612565b8360ff16601b148061168957508360ff16601c145b6116e05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610612565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611734573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117975760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610612565b95945050505050565b6001600160a01b0383166118045760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610612565b6001600160a01b0382166118665760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610612565b6001600160a01b038316600090815260208190526040902054818110156118de5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610612565b6118e88282611e1c565b6001600160a01b03808616600090815260208190526040808220939093559085168152908120805484929061191e908490611dad565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161196a91815260200190565b60405180910390a350505050565b600061199c43604051806060016040528060368152602001611ea460369139611b1a565b905060008463ffffffff161180156119f657506001600160a01b038516600090815260086020526040812063ffffffff8316916119da600188611e33565b63ffffffff908116825260208201929092526040016000205416145b15611a3f576001600160a01b03851660009081526008602052604081208391611a20600188611e33565b63ffffffff168152602081019190915260400160002060010155611acf565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600883528581208a851682529092529390209151825463ffffffff191691161781559051600191820155611a9e908590611dc5565b6001600160a01b0386166000908152600960205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410611b425760405162461bcd60e51b81526004016106129190611d25565b509192915050565b80356001600160a01b0381168114611b6157600080fd5b919050565b803560ff81168114611b6157600080fd5b600060208284031215611b88578081fd5b610a7d82611b4a565b60008060408385031215611ba3578081fd5b611bac83611b4a565b9150611bba60208401611b4a565b90509250929050565b600080600060608486031215611bd7578081fd5b611be084611b4a565b9250611bee60208501611b4a565b9150604084013590509250925092565b600080600080600080600060e0888a031215611c18578283fd5b611c2188611b4a565b9650611c2f60208901611b4a565b95506040880135945060608801359350611c4b60808901611b66565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611c79578182fd5b611c8283611b4a565b946020939093013593505050565b60008060008060008060c08789031215611ca8578182fd5b611cb187611b4a565b95506020870135945060408701359350611ccd60608801611b66565b92506080870135915060a087013590509295509295509295565b60008060408385031215611cf9578182fd5b611d0283611b4a565b9150602083013563ffffffff81168114611d1a578182fd5b809150509250929050565b6000602080835283518082850152825b81811015611d5157858101830151858201604001528201611d35565b81811115611d625783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611dc057611dc0611e8d565b500190565b600063ffffffff808316818516808303821115611de457611de4611e8d565b01949350505050565b600063ffffffff80841680611e1057634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600082821015611e2e57611e2e611e8d565b500390565b600063ffffffff83811690831681811015611e5057611e50611e8d565b039392505050565b600181811c90821680611e6c57607f821691505b602082108114156115a357634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfe5245415045523a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a2646970667358221220cd82d4716922222898f725383bffd77435dfb72de24832e616c805a34721aaaa64736f6c63430008040033

Deployed ByteCode Sourcemap

31802:9718:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5686:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7826:169;;;;;;:::i;:::-;;:::i;:::-;;;3753:14:1;;3746:22;3728:41;;3716:2;3701:18;7826:169:0;3683:92:1;6779:108:0;6867:12;;6779:108;;;3926:25:1;;;3914:2;3899:18;6779:108:0;3881:76:1;33469:122:0;;33511:80;33469:122;;34311:299;;;;;;:::i;:::-;;:::i;6630:84::-;;;6704:2;15834:36:1;;15822:2;15807:18;6630:84:0;15789:87:1;29162:115:0;;;:::i;9308:215::-;;;;;;:::i;:::-;;:::i;32041:257::-;;;;;;:::i;:::-;;:::i;:::-;;34975:149;;;;;;:::i;:::-;-1:-1:-1;;;;;35095:21:0;;;35063:7;35095:21;;;:10;:21;;;;;;;;34975:149;;;;-1:-1:-1;;;;;3544:32:1;;;3526:51;;3514:2;3499:18;34975:149:0;3481:102:1;35268:104:0;;;;;;:::i;:::-;;:::i;32358:102::-;31994:12;32358:102;;33347:49;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15401:10:1;15389:23;;;15371:42;;15359:2;15344:18;33347:49:0;15326:93:1;6950:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;7051:18:0;7024:7;7051:18;;;;;;;;;;;;6950:127;31250:148;;;:::i;37816:1255::-;;;;;;:::i;:::-;;:::i;28904:128::-;;;;;;:::i;:::-;;:::i;30599:87::-;30672:6;;-1:-1:-1;;;;;30672:6:0;30599:87;;5896:95;;;:::i;10026:377::-;;;;;;:::i;:::-;;:::i;34618:273::-;;;;;;:::i;:::-;;:::i;37130:255::-;;;;;;:::i;:::-;;:::i;35806:1123::-;;;;;;:::i;:::-;;:::i;28067:771::-;;;;;;:::i;:::-;;:::i;7528:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;7644:18:0;;;7617:7;7644:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7528:151;33685:117;;33731:71;33685:117;;33208:70;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15626:10:1;15614:23;;;15596:42;;15669:2;15654:18;;15647:34;;;;15569:18;33208:70:0;15551:136:1;31553:244:0;;;;;;:::i;:::-;;:::i;5686:91::-;5731:13;5764:5;5757:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5686:91;:::o;7826:169::-;7909:4;7926:39;749:10;7949:7;7958:6;7926:8;:39::i;:::-;-1:-1:-1;7983:4:0;7826:169;;;;;:::o;34311:299::-;34423:4;34445:11;34459:45;34478:6;34486:9;34497:6;34459:18;:45::i;:::-;34445:59;;34535:41;34550:6;34558:9;34569:6;34535:14;:41::i;:::-;34596:6;34311:299;-1:-1:-1;;;;34311:299:0:o;29162:115::-;29222:7;29249:20;:18;:20::i;:::-;29242:27;;29162:115;:::o;9308:215::-;749:10;9396:4;9445:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;9445:34:0;;;;;;;;;;9396:4;;9413:80;;9436:7;;9445:47;;9482:10;;9445:47;:::i;:::-;9413:8;:80::i;32041:257::-;30672:6;;-1:-1:-1;;;;;30672:6:0;749:10;30819:23;30811:68;;;;-1:-1:-1;;;30811:68:0;;;;;;;:::i;:::-;;;;;;;;;31994:12:::1;32137:7;32121:13;6867:12:::0;;;6779:108;32121:13:::1;:23;;;;:::i;:::-;:42;;32113:94;;;::::0;-1:-1:-1;;;32113:94:0;;10652:2:1;32113:94:0::1;::::0;::::1;10634:21:1::0;10691:2;10671:18;;;10664:30;10730:34;10710:18;;;10703:62;-1:-1:-1;;;10781:18:1;;;10774:37;10828:19;;32113:94:0::1;10624:229:1::0;32113:94:0::1;32220:19;32226:3;32231:7;32220:5;:19::i;:::-;32250:40;32273:1;32277:3;32282:7;32250:14;:40::i;:::-;32041:257:::0;;:::o;35268:104::-;35332:32;35342:10;35354:9;35332;:32::i;:::-;35268:104;:::o;31250:148::-;30672:6;;-1:-1:-1;;;;;30672:6:0;749:10;30819:23;30811:68;;;;-1:-1:-1;;;30811:68:0;;;;;;;:::i;:::-;31341:6:::1;::::0;31320:40:::1;::::0;31357:1:::1;::::0;-1:-1:-1;;;;;31341:6:0::1;::::0;31320:40:::1;::::0;31357:1;;31320:40:::1;31371:6;:19:::0;;-1:-1:-1;;;;;;31371:19:0::1;::::0;;31250:148::o;37816:1255::-;37924:7;37971:12;37957:11;:26;37949:80;;;;-1:-1:-1;;;37949:80:0;;13004:2:1;37949:80:0;;;12986:21:1;13043:2;13023:18;;;13016:30;13082:34;13062:18;;;13055:62;-1:-1:-1;;;13133:18:1;;;13126:39;13182:19;;37949:80:0;12976:231:1;37949:80:0;-1:-1:-1;;;;;38064:23:0;;38042:19;38064:23;;;:14;:23;;;;;;;;38102:17;38098:58;;38143:1;38136:8;;;;;38098:58;-1:-1:-1;;;;;38216:20:0;;;;;;:11;:20;;;;;38268:11;;38237:16;38252:1;38237:12;:16;:::i;:::-;38216:38;;;;;;;;;;;;;;;-1:-1:-1;38216:38:0;:48;;:63;38212:147;;-1:-1:-1;;;;;38303:20:0;;;;;;:11;:20;;;;;;38324:16;38339:1;38324:12;:16;:::i;:::-;38303:38;;;;;;;;;;;;;;;:44;;;38296:51;;;;;38212:147;-1:-1:-1;;;;;38420:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;38416:88:0;;;38491:1;38484:8;;;;;38416:88;38516:12;;38558:16;38573:1;38558:12;:16;:::i;:::-;38543:31;;38585:428;38600:5;38592:13;;:5;:13;;;38585:428;;;38622:13;38664:1;38647:13;38655:5;38647;:13;:::i;:::-;38646:19;;;;:::i;:::-;38638:27;;:5;:27;:::i;:::-;-1:-1:-1;;;;;38730:20:0;;38707;38730;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;38707:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;38622:43;;-1:-1:-1;38777:27:0;;38773:229;;;38832:8;;;;-1:-1:-1;38825:15:0;;-1:-1:-1;;;;38825:15:0;38773:229;38866:12;;:26;;;-1:-1:-1;38862:140:0;;;38921:6;38913:14;;38862:140;;;38976:10;38985:1;38976:6;:10;:::i;:::-;38968:18;;38862:140;38585:428;;;;;-1:-1:-1;;;;;;39030:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;37816:1255:0;;;;:::o;28904:128::-;-1:-1:-1;;;;;29000:14:0;;28973:7;29000:14;;;:7;:14;;;;;24123;29000:24;24031:114;5896:95;5943:13;5976:7;5969:14;;;;;:::i;10026:377::-;749:10;10119:4;10163:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10163:34:0;;;;;;;;;;10216:35;;;;10208:85;;;;-1:-1:-1;;;10208:85:0;;14228:2:1;10208:85:0;;;14210:21:1;14267:2;14247:18;;;14240:30;14306:34;14286:18;;;14279:62;-1:-1:-1;;;14357:18:1;;;14350:35;14402:19;;10208:85:0;14200:227:1;10208:85:0;10304:67;749:10;10327:7;10336:34;10355:15;10336:16;:34;:::i;10304:67::-;-1:-1:-1;10391:4:0;;10026:377;-1:-1:-1;;;10026:377:0:o;34618:273::-;34710:4;34732:11;34746:33;34761:9;34772:6;34746:14;:33::i;:::-;34732:47;-1:-1:-1;34810:47:0;749:10;34839:9;34850:6;34810:14;:47::i;:::-;34877:6;34618:273;-1:-1:-1;;;34618:273:0:o;37130:255::-;-1:-1:-1;;;;;37269:23:0;;37222:7;37269:23;;;:14;:23;;;;;;;;37310:16;:67;;37376:1;37310:67;;;-1:-1:-1;;;;;37329:20:0;;;;;;:11;:20;;;;;;37350:16;37365:1;37350:12;:16;:::i;:::-;37329:38;;;;;;;;;;;;;;;:44;;;37303:74;37130:255;-1:-1:-1;;;37130:255:0:o;35806:1123::-;35925:23;33511:80;36054:6;:4;:6::i;:::-;36038:24;;;;;;36081:12;41468:9;;41358:153;36081:12;35975:165;;;;;;;5705:25:1;;;;5746:18;;;5739:34;;;;5789:18;;;5782:34;;;;36120:4:0;5832:18:1;;;;5825:60;;;;35975:165:0;;;;;;;;;;5677:19:1;;;35975:165:0;;35951:200;;;;;;33731:71;36209:140;;;4789:25:1;-1:-1:-1;;;;;4850:32:1;;4830:18;;;4823:60;4899:18;;;4892:34;;;4942:18;;;;4935:34;;;36209:140:0;;;;;;;;;;4761:19:1;;;36209:140:0;;;36185:175;;;;;;;-1:-1:-1;;;36414:123:0;;;3241:27:1;3284:11;;;3277:27;;;3320:12;;;3313:28;;;35951:200:0;;-1:-1:-1;;;3357:12:1;;36414:123:0;;;-1:-1:-1;;36414:123:0;;;;;;;;;36390:158;;36414:123;36390:158;;;;36561:17;36581:26;;;;;;;;;6123:25:1;;;6196:4;6184:17;;6164:18;;;6157:45;;;;6218:18;;;6211:34;;;6261:18;;;6254:34;;;36390:158:0;;-1:-1:-1;36561:17:0;36581:26;;6095:19:1;;36581:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36581:26:0;;-1:-1:-1;;36581:26:0;;;-1:-1:-1;;;;;;;36626:23:0;;36618:76;;;;-1:-1:-1;;;36618:76:0;;12189:2:1;36618:76:0;;;12171:21:1;12228:2;12208:18;;;12201:30;12267:34;12247:18;;;12240:62;-1:-1:-1;;;12318:18:1;;;12311:38;12366:19;;36618:76:0;12161:230:1;36618:76:0;36722:20;36732:9;36722;:20::i;:::-;36713:5;:29;36705:78;;;;-1:-1:-1;;;36705:78:0;;9441:2:1;36705:78:0;;;9423:21:1;9480:2;9460:18;;;9453:30;9519:34;9499:18;;;9492:62;-1:-1:-1;;;9570:18:1;;;9563:34;9614:19;;36705:78:0;9413:226:1;36705:78:0;36821:6;36802:15;:25;;36794:78;;;;-1:-1:-1;;;36794:78:0;;13414:2:1;36794:78:0;;;13396:21:1;13453:2;13433:18;;;13426:30;13492:34;13472:18;;;13465:62;-1:-1:-1;;;13543:18:1;;;13536:38;13591:19;;36794:78:0;13386:230:1;36794:78:0;36890:31;36900:9;36911;36890;:31::i;:::-;36883:38;;;;35806:1123;;;;;;;:::o;28067:771::-;28296:8;28277:15;:27;;28269:69;;;;-1:-1:-1;;;28269:69:0;;8676:2:1;28269:69:0;;;8658:21:1;8715:2;8695:18;;;8688:30;8754:31;8734:18;;;8727:59;8803:18;;28269:69:0;8648:179:1;28269:69:0;28351:18;28425:16;28460:5;28484:7;28510:5;28534:16;28544:5;28534:9;:16::i;:::-;28396:196;;;;;;4249:25:1;;;;-1:-1:-1;;;;;4348:15:1;;;4328:18;;;4321:43;4400:15;;;;4380:18;;;4373:43;4432:18;;;4425:34;4475:19;;;4468:35;4519:19;;;4512:35;;;4221:19;;28396:196:0;;;;;;;;;;;;28372:231;;;;;;28351:252;;28616:12;28631:28;28648:10;28631:16;:28::i;:::-;28616:43;;28672:14;28689:28;28703:4;28709:1;28712;28715;28689:13;:28::i;:::-;28672:45;;28746:5;-1:-1:-1;;;;;28736:15:0;:6;-1:-1:-1;;;;;28736:15:0;;28728:58;;;;-1:-1:-1;;;28728:58:0;;11060:2:1;28728:58:0;;;11042:21:1;11099:2;11079:18;;;11072:30;11138:32;11118:18;;;11111:60;11188:18;;28728:58:0;11032:180:1;28728:58:0;28799:31;28808:5;28815:7;28824:5;28799:8;:31::i;31553:244::-;30672:6;;-1:-1:-1;;;;;30672:6:0;749:10;30819:23;30811:68;;;;-1:-1:-1;;;30811:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31642:22:0;::::1;31634:73;;;::::0;-1:-1:-1;;;31634:73:0;;7866:2:1;31634:73:0::1;::::0;::::1;7848:21:1::0;7905:2;7885:18;;;7878:30;7944:34;7924:18;;;7917:62;-1:-1:-1;;;7995:18:1;;;7988:36;8041:19;;31634:73:0::1;7838:228:1::0;31634:73:0::1;31744:6;::::0;31723:38:::1;::::0;-1:-1:-1;;;;;31723:38:0;;::::1;::::0;31744:6:::1;::::0;31723:38:::1;::::0;31744:6:::1;::::0;31723:38:::1;31772:6;:17:::0;;-1:-1:-1;;;;;;31772:17:0::1;-1:-1:-1::0;;;;;31772:17:0;;;::::1;::::0;;;::::1;::::0;;31553:244::o;13382:346::-;-1:-1:-1;;;;;13484:19:0;;13476:68;;;;-1:-1:-1;;;13476:68:0;;13823:2:1;13476:68:0;;;13805:21:1;13862:2;13842:18;;;13835:30;13901:34;13881:18;;;13874:62;-1:-1:-1;;;13952:18:1;;;13945:34;13996:19;;13476:68:0;13795:226:1;13476:68:0;-1:-1:-1;;;;;13563:21:0;;13555:68;;;;-1:-1:-1;;;13555:68:0;;8273:2:1;13555:68:0;;;8255:21:1;8312:2;8292:18;;;8285:30;8351:34;8331:18;;;8324:62;-1:-1:-1;;;8402:18:1;;;8395:32;8444:19;;13555:68:0;8245:224:1;13555:68:0;-1:-1:-1;;;;;13636:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;13688:32;;3926:25:1;;;13688:32:0;;3899:18:1;13688:32:0;;;;;;;13382:346;;;:::o;8477:422::-;8583:4;8600:36;8610:6;8618:9;8629:6;8600:9;:36::i;:::-;-1:-1:-1;;;;;8676:19:0;;8649:24;8676:19;;;:11;:19;;;;;;;;749:10;8676:33;;;;;;;;8728:26;;;;8720:79;;;;-1:-1:-1;;;8720:79:0;;11419:2:1;8720:79:0;;;11401:21:1;11458:2;11438:18;;;11431:30;11497:34;11477:18;;;11470:62;-1:-1:-1;;;11548:18:1;;;11541:38;11596:19;;8720:79:0;11391:230:1;8720:79:0;8810:57;8819:6;749:10;8841:25;8860:6;8841:16;:25;:::i;8810:57::-;-1:-1:-1;8887:4:0;;8477:422;-1:-1:-1;;;;8477:422:0:o;39526:941::-;39632:6;-1:-1:-1;;;;;39622:16:0;:6;-1:-1:-1;;;;;39622:16:0;;;:30;;;;;39651:1;39642:6;:10;39622:30;39618:842;;;-1:-1:-1;;;;;39673:20:0;;;39669:382;;-1:-1:-1;;;;;39781:22:0;;39762:16;39781:22;;;:14;:22;;;;;;;;;39842:13;:60;;39901:1;39842:60;;;-1:-1:-1;;;;;39858:19:0;;;;;;:11;:19;;;;;;39878:13;39890:1;39878:9;:13;:::i;:::-;39858:34;;;;;;;;;;;;;;;:40;;;39842:60;39822:80;-1:-1:-1;39921:17:0;39941:18;39953:6;39822:80;39941:18;:::i;:::-;39921:38;;39978:57;39995:6;40003:9;40014;40025;39978:16;:57::i;:::-;39669:382;;;;-1:-1:-1;;;;;40071:20:0;;;40067:382;;-1:-1:-1;;;;;40179:22:0;;40160:16;40179:22;;;:14;:22;;;;;;;;;40240:13;:60;;40299:1;40240:60;;;-1:-1:-1;;;;;40256:19:0;;;;;;:11;:19;;;;;;40276:13;40288:1;40276:9;:13;:::i;:::-;40256:34;;;;;;;;;;;;;;;:40;;;40240:60;40220:80;-1:-1:-1;40319:17:0;40339:18;40351:6;40220:80;40339:18;:::i;:::-;40319:38;;40376:57;40393:6;40401:9;40412;40423;40376:16;:57::i;40067:382::-;39526:941;;;:::o;21858:281::-;21911:7;21952:16;21935:13;:33;21931:201;;;-1:-1:-1;21992:24:0;;21858:281::o;21931:201::-;-1:-1:-1;22300:165:0;;;22078:10;22300:165;;;;5239:25:1;;;;22090:12:0;5280:18:1;;;5273:34;22104:15:0;5323:18:1;;;5316:34;22405:13:0;5366:18:1;;;5359:34;22445:4:0;5409:19:1;;;;5402:61;;;;22300:165:0;;;;;;;;;;5211:19:1;;;;22300:165:0;;;22276:200;;;;;;29162:115::o;11779:338::-;-1:-1:-1;;;;;11863:21:0;;11855:65;;;;-1:-1:-1;;;11855:65:0;;14634:2:1;11855:65:0;;;14616:21:1;14673:2;14653:18;;;14646:30;14712:33;14692:18;;;14685:61;14763:18;;11855:65:0;14606:181:1;11855:65:0;12011:6;11995:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;12028:18:0;;:9;:18;;;;;;;;;;:28;;12050:6;;12028:9;:28;;12050:6;;12028:28;:::i;:::-;;;;-1:-1:-1;;12072:37:0;;3926:25:1;;;-1:-1:-1;;;;;12072:37:0;;;12089:1;;12072:37;;3914:2:1;3899:18;12072:37:0;;;;;;;11779:338;;:::o;39079:439::-;-1:-1:-1;;;;;39196:21:0;;;39170:23;39196:21;;;:10;:21;;;;;;;;;;7051:18;;;;;;;39332:21;;;;:33;;;-1:-1:-1;;;;;;39332:33:0;;;;;;;39383:54;;39196:21;;;;;7051:18;;39332:33;;39196:21;;;39383:54;;39170:23;39383:54;39450:60;39465:15;39482:9;39493:16;39450:14;:60::i;:::-;39079:439;;;;:::o;7290:175::-;7376:4;7393:42;749:10;7417:9;7428:6;7393:9;:42::i;29375:207::-;-1:-1:-1;;;;;29496:14:0;;29435:15;29496:14;;;:7;:14;;;;;24123;;24260:1;24242:19;;;;24123:14;29557:17;29375:207;;;;:::o;23126:167::-;23203:7;23230:55;23252:20;:18;:20::i;:::-;23274:10;18840:57;;-1:-1:-1;;;18840:57:0;;;3241:27:1;3284:11;;;3277:27;;;3320:12;;;3313:28;;;18803:7:0;;3357:12:1;;18840:57:0;;;;;;;;;;;;18830:68;;;;;;18823:75;;18710:196;;;;;16359:1432;16444:7;17369:66;17355:80;;;17347:127;;;;-1:-1:-1;;;17347:127:0;;9846:2:1;17347:127:0;;;9828:21:1;9885:2;9865:18;;;9858:30;9924:34;9904:18;;;9897:62;-1:-1:-1;;;9975:18:1;;;9968:32;10017:19;;17347:127:0;9818:224:1;17347:127:0;17493:1;:7;;17498:2;17493:7;:18;;;;17504:1;:7;;17509:2;17504:7;17493:18;17485:65;;;;-1:-1:-1;;;17485:65:0;;10249:2:1;17485:65:0;;;10231:21:1;10288:2;10268:18;;;10261:30;10327:34;10307:18;;;10300:62;-1:-1:-1;;;10378:18:1;;;10371:32;10420:19;;17485:65:0;10221:224:1;17485:65:0;17665:24;;;17648:14;17665:24;;;;;;;;;6123:25:1;;;6196:4;6184:17;;6164:18;;;6157:45;;;;6218:18;;;6211:34;;;6261:18;;;6254:34;;;17665:24:0;;6095:19:1;;17665:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17665:24:0;;-1:-1:-1;;17665:24:0;;;-1:-1:-1;;;;;;;17708:20:0;;17700:57;;;;-1:-1:-1;;;17700:57:0;;7109:2:1;17700:57:0;;;7091:21:1;7148:2;7128:18;;;7121:30;7187:26;7167:18;;;7160:54;7231:18;;17700:57:0;7081:174:1;17700:57:0;17777:6;16359:1432;-1:-1:-1;;;;;16359:1432:0:o;10893:604::-;-1:-1:-1;;;;;10999:20:0;;10991:70;;;;-1:-1:-1;;;10991:70:0;;12598:2:1;10991:70:0;;;12580:21:1;12637:2;12617:18;;;12610:30;12676:34;12656:18;;;12649:62;-1:-1:-1;;;12727:18:1;;;12720:35;12772:19;;10991:70:0;12570:227:1;10991:70:0;-1:-1:-1;;;;;11080:23:0;;11072:71;;;;-1:-1:-1;;;11072:71:0;;7462:2:1;11072:71:0;;;7444:21:1;7501:2;7481:18;;;7474:30;7540:34;7520:18;;;7513:62;-1:-1:-1;;;7591:18:1;;;7584:33;7634:19;;11072:71:0;7434:225:1;11072:71:0;-1:-1:-1;;;;;11240:17:0;;11216:21;11240:17;;;;;;;;;;;11276:23;;;;11268:74;;;;-1:-1:-1;;;11268:74:0;;9034:2:1;11268:74:0;;;9016:21:1;9073:2;9053:18;;;9046:30;9112:34;9092:18;;;9085:62;-1:-1:-1;;;9163:18:1;;;9156:36;9209:19;;11268:74:0;9006:228:1;11268:74:0;11373:22;11389:6;11373:13;:22;:::i;:::-;-1:-1:-1;;;;;11353:17:0;;;:9;:17;;;;;;;;;;;:42;;;;11406:20;;;;;;;;:30;;11430:6;;11353:9;11406:30;;11430:6;;11406:30;:::i;:::-;;;;;;;;11471:9;-1:-1:-1;;;;;11454:35:0;11463:6;-1:-1:-1;;;;;11454:35:0;;11482:6;11454:35;;;;3926:25:1;;3914:2;3899:18;;3881:76;11454:35:0;;;;;;;;10893:604;;;;:::o;40475:706::-;40654:18;40675:78;40682:12;40675:78;;;;;;;;;;;;;;;;;:6;:78::i;:::-;40654:99;;40785:1;40770:12;:16;;;:85;;;;-1:-1:-1;;;;;;40790:22:0;;;;;;:11;:22;;;;;:65;;;;40813:16;40828:1;40813:12;:16;:::i;:::-;40790:40;;;;;;;;;;;;;;;-1:-1:-1;40790:40:0;:50;;:65;40770:85;40766:339;;;-1:-1:-1;;;;;40872:22:0;;;;;;:11;:22;;;;;40921:8;;40895:16;40910:1;40895:12;:16;:::i;:::-;40872:40;;;;;;;;;;;;;-1:-1:-1;40872:40:0;:46;;:57;40766:339;;;41001:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40962:22:0;;-1:-1:-1;40962:22:0;;;:11;:22;;;;;:36;;;;;;;;;;;:72;;;;-1:-1:-1;;40962:72:0;;;;;;;;-1:-1:-1;40962:72:0;;;;41077:16;;40962:36;;41077:16;:::i;:::-;-1:-1:-1;;;;;41049:25:0;;;;;;:14;:25;;;;;:44;;-1:-1:-1;;41049:44:0;;;;;;;;;;;;40766:339;41122:51;;;15148:25:1;;;15204:2;15189:18;;15182:34;;;-1:-1:-1;;;;;41122:51:0;;;;;15121:18:1;41122:51:0;;;;;;;40475:706;;;;;:::o;41189:161::-;41264:6;41302:12;41295:5;41291:9;;41283:32;;;;-1:-1:-1;;;41283:32:0;;;;;;;;:::i;:::-;-1:-1:-1;41340:1:0;;41189:161;-1:-1:-1;;41189:161:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:156::-;258:20;;318:4;307:16;;297:27;;287:2;;338:1;335;328:12;353:196;412:6;465:2;453:9;444:7;440:23;436:32;433:2;;;486:6;478;471:22;433:2;514:29;533:9;514:29;:::i;554:270::-;622:6;630;683:2;671:9;662:7;658:23;654:32;651:2;;;704:6;696;689:22;651:2;732:29;751:9;732:29;:::i;:::-;722:39;;780:38;814:2;803:9;799:18;780:38;:::i;:::-;770:48;;641:183;;;;;:::o;829:338::-;906:6;914;922;975:2;963:9;954:7;950:23;946:32;943:2;;;996:6;988;981:22;943:2;1024:29;1043:9;1024:29;:::i;:::-;1014:39;;1072:38;1106:2;1095:9;1091:18;1072:38;:::i;:::-;1062:48;;1157:2;1146:9;1142:18;1129:32;1119:42;;933:234;;;;;:::o;1172:616::-;1283:6;1291;1299;1307;1315;1323;1331;1384:3;1372:9;1363:7;1359:23;1355:33;1352:2;;;1406:6;1398;1391:22;1352:2;1434:29;1453:9;1434:29;:::i;:::-;1424:39;;1482:38;1516:2;1505:9;1501:18;1482:38;:::i;:::-;1472:48;;1567:2;1556:9;1552:18;1539:32;1529:42;;1618:2;1607:9;1603:18;1590:32;1580:42;;1641:37;1673:3;1662:9;1658:19;1641:37;:::i;:::-;1631:47;;1725:3;1714:9;1710:19;1697:33;1687:43;;1777:3;1766:9;1762:19;1749:33;1739:43;;1342:446;;;;;;;;;;:::o;1793:264::-;1861:6;1869;1922:2;1910:9;1901:7;1897:23;1893:32;1890:2;;;1943:6;1935;1928:22;1890:2;1971:29;1990:9;1971:29;:::i;:::-;1961:39;2047:2;2032:18;;;;2019:32;;-1:-1:-1;;;1880:177:1:o;2062:541::-;2164:6;2172;2180;2188;2196;2204;2257:3;2245:9;2236:7;2232:23;2228:33;2225:2;;;2279:6;2271;2264:22;2225:2;2307:29;2326:9;2307:29;:::i;:::-;2297:39;;2383:2;2372:9;2368:18;2355:32;2345:42;;2434:2;2423:9;2419:18;2406:32;2396:42;;2457:36;2489:2;2478:9;2474:18;2457:36;:::i;:::-;2447:46;;2540:3;2529:9;2525:19;2512:33;2502:43;;2592:3;2581:9;2577:19;2564:33;2554:43;;2215:388;;;;;;;;:::o;2608:370::-;2675:6;2683;2736:2;2724:9;2715:7;2711:23;2707:32;2704:2;;;2757:6;2749;2742:22;2704:2;2785:29;2804:9;2785:29;:::i;:::-;2775:39;;2864:2;2853:9;2849:18;2836:32;2908:10;2901:5;2897:22;2890:5;2887:33;2877:2;;2939:6;2931;2924:22;2877:2;2967:5;2957:15;;;2694:284;;;;;:::o;6299:603::-;6411:4;6440:2;6469;6458:9;6451:21;6501:6;6495:13;6544:6;6539:2;6528:9;6524:18;6517:34;6569:4;6582:140;6596:6;6593:1;6590:13;6582:140;;;6691:14;;;6687:23;;6681:30;6657:17;;;6676:2;6653:26;6646:66;6611:10;;6582:140;;;6740:6;6737:1;6734:13;6731:2;;;6810:4;6805:2;6796:6;6785:9;6781:22;6777:31;6770:45;6731:2;-1:-1:-1;6886:2:1;6865:15;-1:-1:-1;;6861:29:1;6846:45;;;;6893:2;6842:54;;6420:482;-1:-1:-1;;;6420:482:1:o;11626:356::-;11828:2;11810:21;;;11847:18;;;11840:30;11906:34;11901:2;11886:18;;11879:62;11973:2;11958:18;;11800:182::o;15881:128::-;15921:3;15952:1;15948:6;15945:1;15942:13;15939:2;;;15958:18;;:::i;:::-;-1:-1:-1;15994:9:1;;15929:80::o;16014:228::-;16053:3;16081:10;16118:2;16115:1;16111:10;16148:2;16145:1;16141:10;16179:3;16175:2;16171:12;16166:3;16163:21;16160:2;;;16187:18;;:::i;:::-;16223:13;;16061:181;-1:-1:-1;;;;16061:181:1:o;16247:288::-;16286:1;16312:10;16349:2;16346:1;16342:10;16371:3;16361:2;;-1:-1:-1;;;16398:31:1;;16452:4;16449:1;16442:15;16480:4;16405:1;16470:15;16361:2;16513:10;;16509:20;;;;;16292:243;-1:-1:-1;;16292:243:1:o;16540:125::-;16580:4;16608:1;16605;16602:8;16599:2;;;16613:18;;:::i;:::-;-1:-1:-1;16650:9:1;;16589:76::o;16670:221::-;16709:4;16738:10;16798;;;;16768;;16820:12;;;16817:2;;;16835:18;;:::i;:::-;16872:13;;16718:173;-1:-1:-1;;;16718:173:1:o;16896:380::-;16975:1;16971:12;;;;17018;;;17039:2;;17093:4;17085:6;17081:17;17071:27;;17039:2;17146;17138:6;17135:14;17115:18;17112:38;17109:2;;;17192:10;17187:3;17183:20;17180:1;17173:31;17227:4;17224:1;17217:15;17255:4;17252:1;17245:15;17281:127;17342:10;17337:3;17333:20;17330:1;17323:31;17373:4;17370:1;17363:15;17397:4;17394:1;17387:15

Swarm Source

ipfs://cd82d4716922222898f725383bffd77435dfb72de24832e616c805a34721aaaa
Loading