ETH Price: $3,346.60 (-1.40%)

Contract

0x2dBAe2F35030F4C9d0f139BCB426F235A972EA73
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit210773492024-10-30 8:44:4723 days ago1730277887IN
0x2dBAe2F3...5A972EA73
0 ETH0.0037334612.56393293
Deposit210145462024-10-21 14:27:1132 days ago1729520831IN
0x2dBAe2F3...5A972EA73
0 ETH0.004378713.92661232
Set_protocol_fee207984042024-09-21 10:38:1162 days ago1726915091IN
0x2dBAe2F3...5A972EA73
0 ETH0.00038047.71653274
Deposit207764232024-09-18 8:55:5965 days ago1726649759IN
0x2dBAe2F3...5A972EA73
0 ETH0.001563278.66036146
Claim207648972024-09-16 18:15:1167 days ago1726510511IN
0x2dBAe2F3...5A972EA73
0 ETH0.000141924.60472744
Claim207648892024-09-16 18:13:3567 days ago1726510415IN
0x2dBAe2F3...5A972EA73
0 ETH0.000275324.78706709
Claim207202152024-09-10 12:28:2373 days ago1725971303IN
0x2dBAe2F3...5A972EA73
0 ETH0.002693557.99506325
Withdraw207194762024-09-10 9:59:3573 days ago1725962375IN
0x2dBAe2F3...5A972EA73
0 ETH0.000606052.19616794
Claim207171812024-09-10 2:17:4774 days ago1725934667IN
0x2dBAe2F3...5A972EA73
0 ETH0.000363045.13839092
Start_rentals207060342024-09-08 12:57:2375 days ago1725800243IN
0x2dBAe2F3...5A972EA73
0 ETH0.000438991.93240486
Start_rentals207060092024-09-08 12:52:2375 days ago1725799943IN
0x2dBAe2F3...5A972EA73
0 ETH0.000837381.70236957
Start_rentals206555372024-09-01 11:51:3582 days ago1725191495IN
0x2dBAe2F3...5A972EA73
0 ETH0.000523041.15661642
Start_rentals206431072024-08-30 18:12:3584 days ago1725041555IN
0x2dBAe2F3...5A972EA73
0 ETH0.004995471.82204
Delegate_to_wall...206265662024-08-28 10:43:5986 days ago1724841839IN
0x2dBAe2F3...5A972EA73
0 ETH0.001074151.98924101
Delegate_to_wall...206265462024-08-28 10:39:5986 days ago1724841599IN
0x2dBAe2F3...5A972EA73
0 ETH0.000980672.11487219
Delegate_to_wall...206265232024-08-28 10:35:2386 days ago1724841323IN
0x2dBAe2F3...5A972EA73
0 ETH0.000520662.11172871
Withdraw206225972024-08-27 21:25:2387 days ago1724793923IN
0x2dBAe2F3...5A972EA73
0 ETH0.000316522.5252896
Withdraw205988762024-08-24 13:52:3590 days ago1724507555IN
0x2dBAe2F3...5A972EA73
0 ETH0.000974141.24407036
Claim205976462024-08-24 9:44:4790 days ago1724492687IN
0x2dBAe2F3...5A972EA73
0 ETH0.000142471.13760859
Deposit205976362024-08-24 9:42:4790 days ago1724492567IN
0x2dBAe2F3...5A972EA73
0 ETH0.000923831.09918797
Claim205668512024-08-20 2:27:5995 days ago1724120879IN
0x2dBAe2F3...5A972EA73
0 ETH0.000344185.33540628
Close_rentals205327142024-08-15 8:03:4799 days ago1723709027IN
0x2dBAe2F3...5A972EA73
0 ETH0.000286372.71599479
Close_rentals205327082024-08-15 8:02:3599 days ago1723708955IN
0x2dBAe2F3...5A972EA73
0 ETH0.000369322.89552452
Start_rentals205280282024-08-14 16:21:11100 days ago1723652471IN
0x2dBAe2F3...5A972EA73
0 ETH0.001242575.33675568
Start_rentals205264762024-08-14 11:08:59100 days ago1723633739IN
0x2dBAe2F3...5A972EA73
0 ETH0.00058023
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
210773492024-10-30 8:44:4723 days ago1730277887
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
210145462024-10-21 14:27:1132 days ago1729520831
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
210145462024-10-21 14:27:1132 days ago1729520831
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
207764232024-09-18 8:55:5965 days ago1726649759
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
204244482024-07-31 5:29:11114 days ago1722403751
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
204244482024-07-31 5:29:11114 days ago1722403751
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
204244482024-07-31 5:29:11114 days ago1722403751
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
204244482024-07-31 5:29:11114 days ago1722403751
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
203090032024-07-15 2:43:59131 days ago1721011439
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
202403862024-07-05 12:44:35140 days ago1720183475
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
202403862024-07-05 12:44:35140 days ago1720183475
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
202403862024-07-05 12:44:35140 days ago1720183475
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
202007982024-06-30 0:03:11146 days ago1719705791
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
201929242024-06-28 21:38:59147 days ago1719610739
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
201461082024-06-22 8:39:23153 days ago1719045563
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200624282024-06-10 15:48:47165 days ago1718034527
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200329152024-06-06 12:53:59169 days ago1717678439
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200329152024-06-06 12:53:59169 days ago1717678439
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200329152024-06-06 12:53:59169 days ago1717678439
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200329152024-06-06 12:53:59169 days ago1717678439
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200088092024-06-03 4:08:23173 days ago1717387703
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200088092024-06-03 4:08:23173 days ago1717387703
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200088092024-06-03 4:08:23173 days ago1717387703
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200088092024-06-03 4:08:23173 days ago1717387703
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
200088092024-06-03 4:08:23173 days ago1717387703
0x2dBAe2F3...5A972EA73
 Contract Creation0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Zharta Renting Contract

Compiler Version
vyper:0.3.10

Optimization Enabled:
N/A

Other Settings:
None license
# @version 0.3.10

"""
@title Zharta Renting Contract
@author [Zharta](https://zharta.io/)
@notice This contract manages the renting process for NFTs in the LOTM Renting Protocol.
@dev This contract is the single user-facing contract for each Renting Market. It does not hold any NFTs, although it holds the rentals values and the protocol fees (payment tokens). It also manages the creation of vaults (as minimal proxies to the vault implementation) and implements the rental logic. The delegation and staking functionality are implemented in the vaults.
The information regarding listings and rentals was externalized in order to reduce the gas costs while using the protocol. That requires the state to be passed as an argument to each function and validated by matching its hash against the one stored in the contract. Conversly, changes to the state are hashed and stored, and the resulting state variables are either published as events or returned directly to the user.
The information that hold the state (`TokenContext`) consist of the token id, the owner of the NFT and the active rental (`Rental`), which are required to keep the integrity of the contract.
The listings (`SignedListing`) are required arguments for the relevant functions and must be signed by both the owner (EIP-712 type 3) and the protocol admin (EIP-712 type 0). The signature is validated by the contract and requires the signature timestamp to be within 2 minutes of the current timestamp
"""


# Interfaces

from vyper.interfaces import ERC20 as IERC20
from vyper.interfaces import ERC721 as IERC721

interface IVault:
    def initialise(): nonpayable
    def deposit(token_id: uint256, nft_owner: address, delegate: address): nonpayable
    def withdraw(token_id: uint256, wallet: address): nonpayable
    def delegate_to_wallet(delegate: address, expiration: uint256): nonpayable
    def staking_deposit(sender: address, amount: uint256, token_id: uint256, staking_addr: address, pool_method_id: bytes4): nonpayable
    def staking_withdraw(wallet: address, amount: uint256, token_id: uint256, staking_addr: address, pool_method_id: bytes4): nonpayable
    def staking_claim(wallet: address, token_id: uint256, staking_addr: address, pool_method_id: bytes4): nonpayable
    def staking_compound(token_id: uint256, staking_addr: address, pool_claim_method_id: bytes4, pool_deposit_method_id: bytes4): nonpayable


interface ERC721Receiver:
    def onERC721Received(_operator: address, _from: address, _tokenId: uint256, _data: Bytes[1024]) -> bytes4: view

interface RentingERC721:
    def initialise(): nonpayable
    def mint(tokens: DynArray[TokenAndWallet, 32]): nonpayable
    def burn(tokens: DynArray[TokenAndWallet, 32]): nonpayable
    def ownerOf(tokenId: uint256) -> address: view
    def owner_of(tokenId: uint256) -> address: view


# Structs

struct TokenContext:
    token_id: uint256
    nft_owner: address
    active_rental: Rental

struct Rental:
    id: bytes32 # keccak256 of the renter, token_id, start and expiration
    owner: address
    renter: address
    delegate: address
    token_id: uint256
    start: uint256
    min_expiration: uint256
    expiration: uint256
    amount: uint256
    protocol_fee: uint256

struct Listing:
    token_id: uint256
    price: uint256 # price per hour, 0 means not listed
    min_duration: uint256 # min duration in hours
    max_duration: uint256 # max duration in hours, 0 means unlimited
    timestamp: uint256

struct Signature:
    v: uint256
    r: uint256
    s: uint256

struct SignedListing:
    listing: Listing
    owner_signature: Signature
    admin_signature: Signature

struct TokenContextAndListing:
    token_context: TokenContext
    signed_listing: SignedListing
    duration: uint256

struct TokenContextAndAmount:
    token_context: TokenContext
    amount: uint256

struct RentalLog:
    id: bytes32
    vault: address
    owner: address
    token_id: uint256
    start: uint256
    min_expiration: uint256
    expiration: uint256
    amount: uint256
    protocol_fee: uint256

struct RentalExtensionLog:
    id: bytes32
    vault: address
    owner: address
    token_id: uint256
    start: uint256
    min_expiration: uint256
    expiration: uint256
    amount_settled: uint256
    extension_amount: uint256
    protocol_fee: uint256


struct RewardLog:
    token_id: uint256
    active_rental_amount: uint256

struct WithdrawalLog:
    vault: address
    token_id: uint256

struct VaultLog:
    vault: address
    token_id: uint256

struct StakingLog:
    token_id: uint256
    amount: uint256

struct TokenAndWallet:
    token_id: uint256
    wallet: address

# Events

event NftsDeposited:
    owner: address
    nft_contract: address
    vaults: DynArray[VaultLog, 32]
    delegate: address

event NftsWithdrawn:
    owner: address
    nft_contract: address
    total_rewards: uint256
    withdrawals: DynArray[WithdrawalLog, 32]

event DelegatedToWallet:
    owner: address
    delegate: address
    nft_contract: address
    vaults: DynArray[VaultLog, 32]

event RenterDelegatedToWallet:
    renter: address
    delegate: address
    nft_contract: address
    vaults: DynArray[VaultLog, 32]

event ListingsRevoked:
    owner: address
    timestamp: uint256
    token_ids: DynArray[uint256, 32]

event RentalStarted:
    renter: address
    delegate: address
    nft_contract: address
    rentals: DynArray[RentalLog, 32]

event RentalClosed:
    renter: address
    nft_contract: address
    rentals: DynArray[RentalLog, 32]

event RentalExtended:
    renter: address
    nft_contract: address
    rentals: DynArray[RentalExtensionLog, 32]

event RewardsClaimed:
    owner: address
    nft_contract: address
    amount: uint256
    protocol_fee_amount: uint256
    rewards: DynArray[RewardLog, 32]

event TokenOwnershipChanged:
    new_owner: address
    nft_contract: address
    tokens: DynArray[uint256, 32]

event ProtocolFeeSet:
    old_fee: uint256
    new_fee: uint256
    fee_wallet: address

event ProtocolWalletChanged:
    old_wallet: address
    new_wallet: address

event StakingAddressSet:
    old_value: address
    new_value: address

event AdminProposed:
    admin: address
    proposed_admin: address

event OwnershipTransferred:
    old_admin: address
    new_admin: address

event StakingDeposit:
    owner: address
    nft_contract: address
    tokens: DynArray[StakingLog, 32]

event StakingWithdraw:
    owner: address
    nft_contract: address
    recipient: address
    tokens: DynArray[StakingLog, 32]

event StakingClaim:
    owner: address
    nft_contract: address
    recipient: address
    tokens: DynArray[uint256, 32]

event StakingCompound:
    owner: address
    nft_contract: address
    tokens: DynArray[uint256, 32]

event FeesClaimed:
    fee_wallet: address
    amount: uint256


event PauseStateSet:
    old_value: bool
    new_value: bool


# Global Variables

ZHARTA_DOMAIN_NAME: constant(String[6]) = "Zharta"
ZHARTA_DOMAIN_VERSION: constant(String[1]) = "1"

DOMAIN_TYPE_HASH: constant(bytes32) = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")
LISTING_TYPE_HASH: constant(bytes32) = keccak256("Listing(uint256 token_id,uint256 price,uint256 min_duration,uint256 max_duration,uint256 timestamp)")

_COLLISION_OFFSET: constant(bytes1) = 0xFF
_DEPLOYMENT_CODE: constant(bytes9) = 0x602D3D8160093D39F3
_PRE: constant(bytes10) = 0x363d3d373d3d3d363d73
_POST: constant(bytes15) = 0x5af43d82803e903d91602b57fd5bf3

SUPPORTED_INTERFACES: constant(bytes4[2]) = [0x01ffc9a7, 0x80ac58cd] # ERC165, ERC721

LISTINGS_SIGNATURE_VALID_PERIOD: constant(uint256) = 120

listing_sig_domain_separator: immutable(bytes32)
vault_impl_addr: public(immutable(address))
payment_token: public(immutable(IERC20))
nft_contract_addr: public(immutable(address))
delegation_registry_addr: public(immutable(address))
staking_addr: public(address)
renting_erc721: public(immutable(RentingERC721))
max_protocol_fee: public(immutable(uint256))

protocol_wallet: public(address)
protocol_fee: public(uint256)
protocol_admin: public(address)
proposed_admin: public(address)

rental_states: public(HashMap[uint256, bytes32]) # token_id -> hash(token_context)
listing_revocations: public(HashMap[uint256, uint256]) # token_id -> timestamp

unclaimed_rewards: public(HashMap[address, uint256]) # wallet -> amount
protocol_fees_amount: public(uint256)
paused: public(bool)

##### EXTERNAL METHODS - WRITE #####


@external
def __init__(
    _vault_impl_addr: address,
    _payment_token_addr: address,
    _nft_contract_addr: address,
    _delegation_registry_addr: address,
    _renting_erc721: address,
    _staking_addr: address,
    _max_protocol_fee: uint256,
    _protocol_fee: uint256,
    _protocol_wallet: address,
    _protocol_admin: address
):
    """
    @notice Initialize the renting contract with necessary parameters and addresses.
    @dev Sets up the contract by initializing various addresses and fees.
    @param _vault_impl_addr The address of the vault implementation.
    @param _payment_token_addr The address of the payment token.
    @param _nft_contract_addr The address of the NFT contract.
    @param _delegation_registry_addr The address of the delegation registry.
    @param _renting_erc721 The address of the renting ERC721 contract.
    @param _max_protocol_fee The maximum protocol fee that can be set.
    @param _protocol_fee The initial protocol fee.
    @param _protocol_wallet The wallet to receive protocol fees.
    @param _protocol_admin The administrator of the protocol.
    """

    assert _vault_impl_addr != empty(address), "vault impl is the zero addr"
    assert _payment_token_addr != empty(address), "payment token is the zero addr"
    assert _nft_contract_addr != empty(address), "nft contract is the zero addr"
    assert _delegation_registry_addr != empty(address), "deleg registry is the zero addr"
    assert _renting_erc721 != empty(address), "renting_erc721 is the zero addr"
    assert _max_protocol_fee <= 10000, "max protocol fee > 100%"
    assert _protocol_fee <= _max_protocol_fee, "protocol fee > max fee"
    assert _protocol_wallet != empty(address), "protocol wallet not set"
    assert _protocol_admin != empty(address), "admin wallet not set"

    vault_impl_addr = _vault_impl_addr
    payment_token = IERC20(_payment_token_addr)
    nft_contract_addr = _nft_contract_addr
    delegation_registry_addr = _delegation_registry_addr
    max_protocol_fee = _max_protocol_fee
    renting_erc721 = RentingERC721(_renting_erc721)

    self.staking_addr = _staking_addr
    self.protocol_wallet = _protocol_wallet
    self.protocol_fee = _protocol_fee
    self.protocol_admin = _protocol_admin
    self.paused = False

    listing_sig_domain_separator = keccak256(
        _abi_encode(
            DOMAIN_TYPE_HASH,
            keccak256(ZHARTA_DOMAIN_NAME),
            keccak256(ZHARTA_DOMAIN_VERSION),
            chain.id,
            self
        )
    )

    renting_erc721.initialise()


@external
def delegate_to_wallet(token_contexts: DynArray[TokenContext, 32], delegate: address):

    """
    @notice Delegates multiple NFTs to a wallet while not rented
    @dev Iterates over token contexts to delegate NFTs to a wallet
    @param token_contexts An array of token contexts, each containing the vault state for an NFT.
    @param delegate The address to delegate the NFTs to.
    """

    vault_logs: DynArray[VaultLog, 32] = empty(DynArray[VaultLog, 32])

    for token_context in token_contexts:
        assert self._is_context_valid(token_context), "invalid context"
        assert not self._is_rental_active(token_context.active_rental), "active rental"
        assert msg.sender == token_context.nft_owner, "not owner"
        vault: IVault = self._get_vault(token_context.token_id)

        vault.delegate_to_wallet(delegate, max_value(uint256))

        vault_logs.append(VaultLog({vault: vault.address, token_id: token_context.token_id}))

    log DelegatedToWallet(msg.sender, delegate, nft_contract_addr, vault_logs)



@external
def renter_delegate_to_wallet(token_contexts: DynArray[TokenContext, 32], delegate: address):

    """
    @notice Delegates multiple NFTs to a wallet while rented
    @dev Iterates over token contexts to delegate NFTs to a wallet
    @param token_contexts An array of token contexts, each containing the vault state for an NFT.
    @param delegate The address to delegate the NFTs to.
    """

    vault_logs: DynArray[VaultLog, 32] = empty(DynArray[VaultLog, 32])

    for token_context in token_contexts:
        assert self._is_context_valid(token_context), "invalid context"
        assert self._is_rental_active(token_context.active_rental), "no active rental"
        assert msg.sender == token_context.active_rental.renter, "not renter"

        vault: IVault = self._get_vault(token_context.token_id)
        vault.delegate_to_wallet(delegate, token_context.active_rental.expiration)

        self._store_token_state(
            token_context.token_id,
            token_context.nft_owner,
            Rental({
                id: token_context.active_rental.id,
                owner: token_context.active_rental.owner,
                renter: token_context.active_rental.renter,
                delegate: delegate,
                token_id: token_context.active_rental.token_id,
                start: token_context.active_rental.start,
                min_expiration: token_context.active_rental.min_expiration,
                expiration: token_context.active_rental.expiration,
                amount: token_context.active_rental.amount,
                protocol_fee: token_context.active_rental.protocol_fee,
            })
        )

        vault_logs.append(VaultLog({vault: vault.address, token_id: token_context.token_id}))

    log RenterDelegatedToWallet(msg.sender, delegate, nft_contract_addr, vault_logs)


@external
def deposit(token_ids: DynArray[uint256, 32], delegate: address):

    """
    @notice Deposits a set of NFTs in vaults (creating them if needed) and sets up delegations
    @dev Iterates over a list of token ids, creating vaults if not needed, transfering the NFTs to the vaults and setting the delegations
    @param token_ids An array of NFT token ids to deposit.
    @param delegate Address to delegate the NFT to while listed.
    """

    self._check_not_paused()
    vault_logs: DynArray[VaultLog, 32] = empty(DynArray[VaultLog, 32])

    for token_id in token_ids:
        assert self.rental_states[token_id] == empty(bytes32), "invalid state"
        vault: IVault = self._create_vault(token_id)
        vault.deposit(token_id, msg.sender, delegate)

        self._store_token_state(token_id, msg.sender, empty(Rental))

        vault_logs.append(VaultLog({
            vault: vault.address,
            token_id: token_id
        }))

    log NftsDeposited(msg.sender, nft_contract_addr, vault_logs, delegate)


@external
def mint(token_contexts: DynArray[TokenContext, 32]):

    """
    @notice Mints ERC721 renting tokens for a set of NFTs
    @dev Iterates over a list of token contexts, creating ERC721 renting tokens with matching ids for each NFT
    @param token_contexts An array of token contexts, each containing the rental state for an NFT.
    """

    tokens: DynArray[TokenAndWallet, 32] = empty(DynArray[TokenAndWallet, 32])

    for token_context in token_contexts:
        assert self._is_context_valid(token_context), "invalid context"

        tokens.append(TokenAndWallet({
            token_id: token_context.token_id,
            wallet: token_context.nft_owner
        }))

    renting_erc721.mint(tokens)


@external
def revoke_listing(token_contexts: DynArray[TokenContext, 32]):

    """
    @notice Revokes any existing listings for a set of NFTs
    @dev Iterates over a list of token contexts, revoking listings for each NFT created before the current block timestamp
    @param token_contexts An array of token contexts, each containing the rental state for an NFT.
    """

    token_ids: DynArray[uint256, 32] = empty(DynArray[uint256, 32])
    for token_context in token_contexts:
        assert self._is_context_valid(token_context), "invalid context"
        assert token_context.nft_owner == msg.sender, "not owner"
        self.listing_revocations[token_context.token_id] = block.timestamp
        token_ids.append(token_context.token_id)
    log ListingsRevoked(msg.sender, block.timestamp, token_ids)


@external
def start_rentals(token_contexts: DynArray[TokenContextAndListing, 32], delegate: address, signature_timestamp: uint256):

    """
    @notice Start rentals for multiple NFTs for the specified duration and delegate them to a wallet
    @dev Iterates over token contexts to begin rentals for each NFT. The rental conditions are evaluated against the matching listing, signed by the owner and the protocol admin. The rental amount is computed and transferred to the protocol wallet and the delegation is created for the given wallet.
    @param token_contexts An array of token contexts, each containing the rental state and signed listing for an NFT.
    @param delegate The address to delegate the NFT to during the rental period.
    @param signature_timestamp The timestamp of the protocol admin signature.
    """

    self._check_not_paused()

    rental_logs: DynArray[RentalLog, 32] = []
    rental_amounts: uint256 = 0

    for context in token_contexts:
        rental_amounts += self._compute_rental_amount(block.timestamp, block.timestamp + context.duration * 3600, context.signed_listing.listing.price)

    self._receive_payment_token(msg.sender, rental_amounts)

    for context in token_contexts:
        vault: IVault = self._get_vault(context.token_context.token_id)
        assert self._is_context_valid(context.token_context), "invalid context"
        assert not self._is_rental_active(context.token_context.active_rental), "active rental"
        assert self._is_within_duration_range(context.signed_listing.listing, context.duration), "duration not respected"
        assert context.signed_listing.listing.price > 0, "listing not active"
        self._check_valid_listing(context.token_context.token_id, context.signed_listing, signature_timestamp, context.token_context.nft_owner)

        expiration: uint256 = block.timestamp + context.duration * 3600
        vault.delegate_to_wallet(delegate if delegate != empty(address) else msg.sender, expiration)

        # store unclaimed rewards
        self._consolidate_claims(context.token_context.token_id, context.token_context.nft_owner, context.token_context.active_rental)

        # create rental
        rental_id: bytes32 = self._compute_rental_id(msg.sender, context.token_context.token_id, block.timestamp, expiration)

        new_rental: Rental = Rental({
            id: rental_id,
            owner: context.token_context.nft_owner,
            renter: msg.sender,
            delegate: delegate,
            token_id: context.token_context.token_id,
            start: block.timestamp,
            min_expiration: block.timestamp + context.signed_listing.listing.min_duration * 3600,
            expiration: expiration,
            amount: self._compute_rental_amount(block.timestamp, expiration, context.signed_listing.listing.price),
            protocol_fee: self.protocol_fee,
        })

        self._store_token_state(context.token_context.token_id, context.token_context.nft_owner, new_rental)

        rental_logs.append(RentalLog({
            id: rental_id,
            vault: vault.address,
            owner: context.token_context.nft_owner,
            token_id: context.token_context.token_id,
            start: block.timestamp,
            min_expiration: new_rental.min_expiration,
            expiration: expiration,
            amount: new_rental.amount,
            protocol_fee: new_rental.protocol_fee,
        }))

    log RentalStarted(msg.sender, delegate, nft_contract_addr, rental_logs)


@external
def close_rentals(token_contexts: DynArray[TokenContext, 32]):

    """
    @notice Close rentals for multiple NFTs and claim rewards
    @dev Iterates over token contexts to close rentals for each NFT. The new rental amount is computed pro-rata (considering the minimum duration) and any payback amount transferred to the renter. The protocol fee is computed and accrued and the delegation is revoked.
    @param token_contexts An array of token contexts, each containing the rental state for an NFT.
    """

    rental_logs: DynArray[RentalLog, 32] = []
    protocol_fees_amount: uint256 = 0
    payback_amounts: uint256 = 0

    for token_context in token_contexts:
        vault: IVault = self._get_vault(token_context.token_id)
        assert self._is_context_valid(token_context), "invalid context"
        assert self._is_rental_active(token_context.active_rental), "active rental does not exist"
        assert msg.sender == token_context.active_rental.renter, "not renter of active rental"

        real_expiration_adjusted: uint256 = block.timestamp
        if block.timestamp < token_context.active_rental.min_expiration:
            real_expiration_adjusted = token_context.active_rental.min_expiration

        pro_rata_rental_amount: uint256 = self._compute_real_rental_amount(
            token_context.active_rental.expiration - token_context.active_rental.start,
            real_expiration_adjusted - token_context.active_rental.start,
            token_context.active_rental.amount
        )
        payback_amount: uint256 = token_context.active_rental.amount - pro_rata_rental_amount
        payback_amounts += payback_amount

        protocol_fee_amount: uint256 = pro_rata_rental_amount * token_context.active_rental.protocol_fee / 10000
        protocol_fees_amount += protocol_fee_amount

        # clear active rental
        self._store_token_state(token_context.token_id, token_context.nft_owner, empty(Rental))

        # set unclaimed rewards
        self.unclaimed_rewards[token_context.nft_owner] += pro_rata_rental_amount - protocol_fee_amount

        # revoke delegation
        vault.delegate_to_wallet(empty(address), 0)

        rental_logs.append(RentalLog({
            id: token_context.active_rental.id,
            vault: vault.address,
            owner: token_context.active_rental.owner,
            token_id: token_context.active_rental.token_id,
            start: token_context.active_rental.start,
            min_expiration: token_context.active_rental.min_expiration,
            expiration: block.timestamp,
            amount: pro_rata_rental_amount,
            protocol_fee: token_context.active_rental.protocol_fee,
        }))

    assert payment_token.transfer(msg.sender, payback_amounts), "transfer failed"

    if protocol_fees_amount > 0:
        self.protocol_fees_amount += protocol_fees_amount

    log RentalClosed(msg.sender, nft_contract_addr, rental_logs)


@external
def extend_rentals(token_contexts: DynArray[TokenContextAndListing, 32], signature_timestamp: uint256):

    """
    @notice Extend rentals for multiple NFTs for the specified duration
    @dev Iterates over token contexts to extend rentals for each NFT. The rental amount is computed pro-rata (considering the minimum duration) and the new rental amount is computed. The difference between the new rental amount and the payback amount is transferred from / to the renter and the new rental protocol fee is computed and accrued.
    @param token_contexts An array of token contexts, each containing the rental state and signed listing for an NFT.
    @param signature_timestamp The timestamp of the protocol admin signature.
    """

    rental_logs: DynArray[RentalExtensionLog, 32] = []
    protocol_fees_amount: uint256 = 0
    payback_amounts: uint256 = 0
    extension_amounts: uint256 = 0

    for context in token_contexts:
        vault: IVault = self._get_vault(context.token_context.token_id)
        assert self._is_context_valid(context.token_context), "invalid context"
        assert self._is_rental_active(context.token_context.active_rental), "no active rental"
        assert msg.sender == context.token_context.active_rental.renter, "not renter of active rental"

        assert self._is_within_duration_range(context.signed_listing.listing, context.duration), "duration not respected"
        assert context.signed_listing.listing.price > 0, "listing not active"
        self._check_valid_listing(context.token_context.token_id, context.signed_listing, signature_timestamp, context.token_context.nft_owner)

        expiration: uint256 = block.timestamp + context.duration * 3600
        real_expiration_adjusted: uint256 = block.timestamp
        if block.timestamp < context.token_context.active_rental.min_expiration:
            real_expiration_adjusted = context.token_context.active_rental.min_expiration

        pro_rata_rental_amount: uint256 = self._compute_real_rental_amount(
            context.token_context.active_rental.expiration - context.token_context.active_rental.start,
            real_expiration_adjusted - context.token_context.active_rental.start,
            context.token_context.active_rental.amount
        )
        new_rental_amount: uint256 = self._compute_rental_amount(block.timestamp, expiration, context.signed_listing.listing.price)
        extension_amounts += new_rental_amount

        payback_amount: uint256 = context.token_context.active_rental.amount - pro_rata_rental_amount
        payback_amounts += payback_amount

        protocol_fee_amount: uint256 = pro_rata_rental_amount * context.token_context.active_rental.protocol_fee / 10000
        protocol_fees_amount += protocol_fee_amount

        new_rental: Rental = Rental({
            id: context.token_context.active_rental.id,
            owner: context.token_context.nft_owner,
            renter: msg.sender,
            delegate: context.token_context.active_rental.delegate,
            token_id: context.token_context.token_id,
            start: block.timestamp,
            min_expiration: block.timestamp + context.signed_listing.listing.min_duration * 3600,
            expiration: expiration,
            amount: new_rental_amount,
            protocol_fee: self.protocol_fee,
        })
        # clear active rental
        self._store_token_state(context.token_context.token_id, context.token_context.nft_owner, new_rental)

        # set unclaimed rewards
        self.unclaimed_rewards[context.token_context.nft_owner] += pro_rata_rental_amount - protocol_fee_amount

        rental_logs.append(RentalExtensionLog({
            id: context.token_context.active_rental.id,
            vault: vault.address,
            owner: context.token_context.active_rental.owner,
            token_id: context.token_context.active_rental.token_id,
            start: block.timestamp,
            min_expiration: block.timestamp + context.signed_listing.listing.min_duration * 3600,
            expiration: expiration,
            amount_settled: pro_rata_rental_amount,
            extension_amount: new_rental_amount,
            protocol_fee: context.token_context.active_rental.protocol_fee,
        }))

    if payback_amounts > extension_amounts:
        self._transfer_payment_token(msg.sender, payback_amounts - extension_amounts)
    elif payback_amounts < extension_amounts:
        self._receive_payment_token(msg.sender, extension_amounts - payback_amounts)

    if protocol_fees_amount > 0:
        self.protocol_fees_amount += protocol_fees_amount

    log RentalExtended(msg.sender, nft_contract_addr, rental_logs)


@external
def withdraw(token_contexts: DynArray[TokenContext, 32]):

    """
    @notice Withdraw multiple NFTs and claim rewards
    @dev Iterates over token contexts to withdraw NFTs from their vaults and claim any unclaimed rewards, while also burning the matching ERC721 renting token.
    @param token_contexts An array of token contexts, each containing the vault state for an NFT.
    """


    withdrawal_log: DynArray[WithdrawalLog, 32] = empty(DynArray[WithdrawalLog, 32])
    tokens: DynArray[TokenAndWallet, 32] = empty(DynArray[TokenAndWallet, 32])
    total_rewards: uint256 = 0

    for token_context in token_contexts:
        assert self._is_context_valid(token_context), "invalid context"
        assert not self._is_rental_active(token_context.active_rental), "active rental"
        token_owner: address = renting_erc721.owner_of(token_context.token_id)
        if token_owner != empty(address):
            assert msg.sender == token_owner, "not owner"
        else:
            assert msg.sender == token_context.nft_owner, "not owner"

        vault: IVault = self._get_vault(token_context.token_id)

        self._consolidate_claims(token_context.token_id, token_context.nft_owner, token_context.active_rental, False)

        self._clear_token_state(token_context.token_id)

        tokens.append(TokenAndWallet({
            token_id: token_context.token_id,
            wallet: token_context.nft_owner
        }))

        vault.withdraw(token_context.token_id, msg.sender)
        self.listing_revocations[token_context.token_id] = block.timestamp

        withdrawal_log.append(WithdrawalLog({
            vault: vault.address,
            token_id: token_context.token_id,
        }))

    renting_erc721.burn(tokens)

    rewards_to_claim: uint256 = self.unclaimed_rewards[msg.sender]

    # transfer reward to nft owner
    if rewards_to_claim > 0:
        self.unclaimed_rewards[msg.sender] = 0
        self._transfer_payment_token(msg.sender, rewards_to_claim)

    log NftsWithdrawn(
        msg.sender,
        nft_contract_addr,
        rewards_to_claim,
        withdrawal_log
    )


@external
def stake_deposit(token_contexts: DynArray[TokenContextAndAmount, 32], pool_method_id: bytes4):

    """
    @notice Deposit the given amounts for multiple NFTs in the configured staking pool
    @dev Iterates over token contexts to deposit the given amounts for each NFT in the staking pool
    @param token_contexts An array of token contexts paired with amounts, each containing the rental state for an NFT.
    @param pool_method_id The method id to call on the staking pool to deposit the given amounts.
    """

    self._check_not_paused()
    staking_addr: address = self.staking_addr
    assert staking_addr != empty(address), "staking not supported"

    staking_log: DynArray[StakingLog, 32] = empty(DynArray[StakingLog, 32])

    for context in token_contexts:
        assert msg.sender == context.token_context.nft_owner, "not owner"
        assert self._is_context_valid(context.token_context), "invalid context"

        vault: IVault = self._get_vault(context.token_context.token_id)
        assert payment_token.transferFrom(msg.sender, vault.address, context.amount), "transferFrom failed"
        vault.staking_deposit(msg.sender, context.amount, context.token_context.token_id, staking_addr, pool_method_id)
        staking_log.append(StakingLog({
            token_id: context.token_context.token_id,
            amount: context.amount
        }))

    log StakingDeposit(msg.sender, nft_contract_addr, staking_log)


@external
def stake_withdraw(token_contexts: DynArray[TokenContextAndAmount, 32], recipient: address, pool_method_id: bytes4):

    """
    @notice Withdraw the given amounts for multiple NFTs from the configured staking pool
    @dev Iterates over token contexts to withdraw the given amounts for each NFT from the staking pool
    @param token_contexts An array of token contexts paired with amounts, each containing the rental state for an NFT.
    @param recipient The address to receive the withdrawn amounts.
    @param pool_method_id The method id to call on the staking pool to withdraw the given amounts.
    """

    staking_addr: address = self.staking_addr
    assert staking_addr != empty(address), "staking not supported"

    staking_log: DynArray[StakingLog, 32] = empty(DynArray[StakingLog, 32])

    for context in token_contexts:
        assert msg.sender == context.token_context.nft_owner, "not owner"
        assert self._is_context_valid(context.token_context), "invalid context"

        self._get_vault(context.token_context.token_id).staking_withdraw(recipient, context.amount, context.token_context.token_id, staking_addr, pool_method_id)
        staking_log.append(StakingLog({
            token_id: context.token_context.token_id,
            amount: context.amount
        }))

    log StakingWithdraw(msg.sender, nft_contract_addr, recipient, staking_log)


@external
def stake_claim(token_contexts: DynArray[TokenContextAndAmount, 32], recipient: address, pool_method_id: bytes4):

    """
    @notice Claim the rewards for multiple NFTs from the configured staking pool
    @dev Iterates over token contexts to claim the rewards for each NFT from the staking pool
    @param token_contexts An array of token contexts paired with amounts, each containing the rental state for an NFT.
    @param recipient The address to receive the claimed rewards.
    @param pool_method_id The method id to call on the staking pool to claim the rewards.
    """

    staking_addr: address = self.staking_addr
    assert staking_addr != empty(address), "staking not supported"
    tokens: DynArray[uint256, 32] = empty(DynArray[uint256, 32])

    for context in token_contexts:
        assert msg.sender == context.token_context.nft_owner, "not owner"
        assert self._is_context_valid(context.token_context), "invalid context"
        self._get_vault(context.token_context.token_id).staking_claim(recipient, context.token_context.token_id, staking_addr, pool_method_id)
        tokens.append(context.token_context.token_id)

    log StakingClaim(msg.sender, nft_contract_addr, recipient, tokens)


@external
def stake_compound(token_contexts: DynArray[TokenContextAndAmount, 32], pool_claim_method_id: bytes4, pool_deposit_method_id: bytes4):

    """
    @notice Compound the rewards for multiple NFTs in the configured staking pool
    @dev Iterates over token contexts to compound the rewards for each NFT in the staking pool
    @param token_contexts An array of token contexts paired with amounts, each containing the rental state for an NFT.
    @param pool_claim_method_id The method id to call on the staking pool to claim the rewards.
    @param pool_deposit_method_id The method id to call on the staking pool to deposit the rewards.
    """

    self._check_not_paused()
    staking_addr: address = self.staking_addr
    assert staking_addr != empty(address), "staking not supported"
    tokens: DynArray[uint256, 32] = empty(DynArray[uint256, 32])

    for context in token_contexts:
        assert msg.sender == context.token_context.nft_owner, "not owner"
        assert self._is_context_valid(context.token_context), "invalid context"

        self._get_vault(context.token_context.token_id).staking_compound(context.token_context.token_id, staking_addr, pool_claim_method_id, pool_deposit_method_id)
        tokens.append(context.token_context.token_id)

    log StakingCompound(msg.sender, nft_contract_addr, tokens)


@external
def claim(token_contexts: DynArray[TokenContext, 32]):

    """
    @notice Claim the rental rewards for multiple NFTs
    @dev Iterates over token contexts to claim rewards for each expired rental. The rental rewards and any previous unclaimed rewards are transferred to the NFT owner and the protocol fees are accrued.
    @param token_contexts An array of token contexts, each containing the rental state for an NFT.
    """

    reward_logs: DynArray[RewardLog, 32] = []

    for token_context in token_contexts:
        assert self._is_context_valid(token_context), "invalid context"
        assert token_context.nft_owner == msg.sender, "not owner"

        result_active_rental: Rental = self._consolidate_claims(token_context.token_id, token_context.nft_owner, token_context.active_rental)

        reward_logs.append(RewardLog({
            token_id: token_context.token_id,
            active_rental_amount: result_active_rental.amount
        }))

    rewards_to_claim: uint256 = self.unclaimed_rewards[msg.sender]

    # transfer reward to nft owner
    assert rewards_to_claim > 0, "no rewards to claim"
    assert payment_token.transfer(msg.sender, rewards_to_claim), "transfer failed"
    self.unclaimed_rewards[msg.sender] = 0

    log RewardsClaimed(msg.sender, nft_contract_addr, rewards_to_claim, self.protocol_fees_amount, reward_logs)


@view
@external
def claimable_rewards(nft_owner: address, token_contexts: DynArray[TokenContext, 32]) -> uint256:

    """
    @notice Compute the claimable rewards for a given NFT owner
    @dev Iterates over token contexts to compute the claimable rewards for each expired rental, wich are then summed up to any previous unclaimed rewards.
    @param nft_owner The address of the NFT owner.
    @param token_contexts An array of token contexts, each containing the rental state for an NFT.
    @return The claimable rewards for the given NFT owner.
    """

    rewards: uint256 = self.unclaimed_rewards[nft_owner]
    for context in token_contexts:
        assert self._is_context_valid(context), "invalid context"
        assert context.nft_owner == nft_owner, "not owner"
        if context.active_rental.expiration < block.timestamp:
            rewards += context.active_rental.amount * (10000 - context.active_rental.protocol_fee) / 10000
    return rewards


@external
def claim_token_ownership(token_contexts: DynArray[TokenContext, 32]):

    """
    @notice Allow the owner of rental ERC721 tokens to claim the ownership of the underlying NFTs
    @dev Iterates over token contexts to claim the ownership of each NFT. The ownership is transferred to the NFT owner.
    @param token_contexts An array of token contexts, each containing the rental state for an NFT.
    """

    tokens: DynArray[uint256, 32] = empty(DynArray[uint256, 32])

    for token_context in token_contexts:
        assert self._is_context_valid(token_context), "invalid context"
        assert renting_erc721.ownerOf(token_context.token_id) == msg.sender, "not owner"
        self._store_token_state(token_context.token_id, msg.sender, token_context.active_rental)
        tokens.append(token_context.token_id)

    log TokenOwnershipChanged(msg.sender, nft_contract_addr, tokens)


@external
def claim_fees():

    """
    @notice Claim the accrued protocol fees
    @dev Transfers the accrued protocol fees to the protocol wallet and logs the event.
    """

    assert msg.sender == self.protocol_admin, "not admin"
    protocol_fees_amount: uint256 = self.protocol_fees_amount
    self.protocol_fees_amount = 0
    self._transfer_payment_token(self.protocol_wallet, protocol_fees_amount)
    log FeesClaimed(self.protocol_wallet, protocol_fees_amount)


@external
def set_protocol_fee(protocol_fee: uint256):

    """
    @notice Set the protocol fee
    @dev Sets the protocol fee to the given value and logs the event. Admin function.
    @param protocol_fee The new protocol fee.
    """

    assert msg.sender == self.protocol_admin, "not protocol admin"
    assert protocol_fee <= max_protocol_fee, "protocol fee > max fee"

    log ProtocolFeeSet(self.protocol_fee, protocol_fee, self.protocol_wallet)
    self.protocol_fee = protocol_fee


@external
def change_protocol_wallet(new_protocol_wallet: address):

    """
    @notice Change the protocol wallet
    @dev Changes the protocol wallet to the given address and logs the event. Admin function.
    @param new_protocol_wallet The new protocol wallet.
    """

    assert msg.sender == self.protocol_admin, "not protocol admin"
    assert new_protocol_wallet != empty(address), "wallet is the zero address"

    log ProtocolWalletChanged(self.protocol_wallet, new_protocol_wallet)
    self.protocol_wallet = new_protocol_wallet


@external
def set_paused(paused: bool):

    """
    @notice Pause or unpause the contract
    @dev Pauses or unpauses the contract and logs the event. Admin function.
    @param paused The new paused state.
    """

    assert msg.sender == self.protocol_admin, "not protocol admin"

    log PauseStateSet(self.paused, paused)

    self.paused = paused


@external
def set_staking_addr(staking_addr: address):

    """
    @notice Set the staking pool address
    @dev Sets the staking pool address to the given value and logs the event. Admin function.
    @param staking_addr The new staking pool address.
    """

    assert msg.sender == self.protocol_admin, "not protocol admin"
    log StakingAddressSet(self.staking_addr, staking_addr)
    self.staking_addr = staking_addr


@external
def propose_admin(_address: address):

    """
    @notice Propose a new admin
    @dev Proposes a new admin and logs the event. Admin function.
    @param _address The address of the proposed admin.
    """

    assert msg.sender == self.protocol_admin, "not the admin"
    assert _address != empty(address), "_address is the zero address"

    log AdminProposed(self.protocol_admin, _address)
    self.proposed_admin = _address


@external
def claim_ownership():

    """
    @notice Claim the ownership of the contract
    @dev Claims the ownership of the contract and logs the event. Requires the caller to be the proposed admin.
    """

    assert msg.sender == self.proposed_admin, "not the proposed"

    log OwnershipTransferred(self.protocol_admin, self.proposed_admin)
    self.protocol_admin = self.proposed_admin
    self.proposed_admin = empty(address)


@view
@external
def tokenid_to_vault(token_id: uint256) -> address:

    """
    @notice Get the vault address for a given token id
    @dev Computes the vault address for the given token id and returns it.
    @param token_id The token id.
    @return The vault address for the given token id.
    """

    return self._tokenid_to_vault(token_id)


@view
@internal
def _tokenid_to_vault(token_id: uint256) -> address:
    return self._compute_address(
        convert(token_id, bytes32),
        keccak256(concat(
            _DEPLOYMENT_CODE,
            _PRE,
            convert(vault_impl_addr, bytes20),
            _POST
        )),
        self
    )


@pure
@internal
def _state_hash(token_id: uint256, nft_owner: address, rental: Rental) -> bytes32:
    return keccak256(
        concat(
            convert(token_id, bytes32),
            convert(nft_owner, bytes32),
            rental.id,
            convert(rental.owner, bytes32),
            convert(rental.renter, bytes32),
            convert(rental.delegate, bytes32),  #should this be part of state?
            convert(rental.token_id, bytes32),
            convert(rental.start, bytes32),
            convert(rental.min_expiration, bytes32),
            convert(rental.expiration, bytes32),
            convert(rental.amount, bytes32),
            convert(rental.protocol_fee, bytes32),
        )
    )


@pure
@internal
def _compute_address(salt: bytes32, bytecode_hash: bytes32, deployer: address) -> address:
    data: bytes32 = keccak256(concat(_COLLISION_OFFSET, convert(deployer, bytes20), salt, bytecode_hash))
    return self._convert_keccak256_2_address(data)


@pure
@internal
def _convert_keccak256_2_address(digest: bytes32) -> address:
    return convert(convert(digest, uint256) & convert(max_value(uint160), uint256), address)


@view
@internal
def _is_rental_active(rental: Rental) -> bool:
    return rental.expiration > block.timestamp


@view
@internal
def _is_context_valid(context: TokenContext) -> bool:
    """ Check if the context is valid, also meaning that the token is deposited """
    return self.rental_states[context.token_id] == self._state_hash(context.token_id, context.nft_owner, context.active_rental)


@internal
def _store_token_state(token_id: uint256, nft_owner: address, rental: Rental):
    self.rental_states[token_id] = self._state_hash(token_id, nft_owner, rental)


@internal
def _clear_token_state(token_id: uint256):
    self.rental_states[token_id] = empty(bytes32)


@internal
def _get_vault(token_id: uint256) -> IVault:
    vault: address = self._tokenid_to_vault(token_id)
    assert vault.is_contract, "no vault exists for token_id"
    return IVault(vault)


@internal
def _create_vault(token_id: uint256) -> IVault:
    # only creates a vault if needed
    vault: address = self._tokenid_to_vault(token_id)
    if not vault.is_contract:
        vault = create_minimal_proxy_to(vault_impl_addr, salt=convert(token_id, bytes32))
        IVault(vault).initialise()

    return IVault(vault)


@internal
def _transfer_payment_token(_to: address, _amount: uint256):
    assert payment_token.transfer(_to, _amount), "transferFrom failed"


@internal
def _receive_payment_token(_from: address, _amount: uint256):
    assert payment_token.transferFrom(_from, self, _amount), "transferFrom failed"


@pure
@internal
def _compute_rental_id(renter: address, token_id: uint256, start: uint256, expiration: uint256) -> bytes32:
    return keccak256(concat(convert(renter, bytes32), convert(token_id, bytes32), convert(start, bytes32), convert(expiration, bytes32)))

@pure
@internal
def _compute_rental_amount(start: uint256, expiration: uint256, price: uint256) -> uint256:
    return (expiration - start) * price / 3600


@pure
@internal
def _compute_real_rental_amount(duration: uint256, real_duration: uint256, rental_amount: uint256) -> uint256:
    return rental_amount * real_duration / duration


@internal
def _check_not_paused():
    assert not self.paused, "paused"


@internal
def _consolidate_claims(token_id: uint256, nft_owner: address, active_rental: Rental, store_state: bool = True) -> Rental:
    if active_rental.amount == 0 or active_rental.expiration >= block.timestamp:
        return active_rental
    else:
        protocol_fee_amount: uint256 = active_rental.amount * active_rental.protocol_fee / 10000

        self.unclaimed_rewards[active_rental.owner] += active_rental.amount - protocol_fee_amount
        self.protocol_fees_amount += protocol_fee_amount

        new_rental: Rental = Rental({
            id: active_rental.id,
            owner: active_rental.owner,
            renter: active_rental.renter,
            delegate: active_rental.delegate,
            token_id: token_id,
            start: active_rental.start,
            min_expiration: active_rental.min_expiration,
            expiration: active_rental.expiration,
            amount: 0,
            protocol_fee: active_rental.protocol_fee,
        })

        if store_state:
            self._store_token_state(token_id, nft_owner, new_rental)

        return new_rental


@internal
def _check_valid_listing(token_id: uint256, signed_listing: SignedListing, signature_timestamp:uint256, nft_owner: address):
    assert token_id == signed_listing.listing.token_id, "invalid token_id"
    assert self._is_listing_signed_by_owner(signed_listing, nft_owner), "invalid owner signature"
    assert self._is_listing_signed_by_admin(signed_listing, signature_timestamp), "invalid admin signature"
    assert signature_timestamp + LISTINGS_SIGNATURE_VALID_PERIOD > block.timestamp, "listing expired"
    assert self.listing_revocations[signed_listing.listing.token_id] < signed_listing.listing.timestamp, "listing revoked"


@internal
def _is_within_duration_range(listing: Listing, duration: uint256) -> bool:
    return duration >= listing.min_duration and (listing.max_duration == 0 or duration <= listing.max_duration)


@internal
def _is_listing_signed_by_owner(signed_listing: SignedListing, owner: address) -> bool:
    return ecrecover(
        keccak256(
            concat(
                convert("\x19\x01", Bytes[2]),
                _abi_encode(
                    listing_sig_domain_separator,
                    keccak256(_abi_encode(LISTING_TYPE_HASH, signed_listing.listing))
                )
            )
        ),
        signed_listing.owner_signature.v,
        signed_listing.owner_signature.r,
        signed_listing.owner_signature.s
    ) == owner


@internal
def _is_listing_signed_by_admin(signed_listing: SignedListing, signature_timestamp: uint256) -> bool:
    return ecrecover(
        keccak256(
            concat(
                convert("\x19\x00", Bytes[2]),
                convert(self, bytes20),
                keccak256(_abi_encode(signed_listing.owner_signature)),
                convert(signature_timestamp, bytes32)
            )
        ),
        signed_listing.admin_signature.v,
        signed_listing.admin_signature.r,
        signed_listing.admin_signature.s
    ) == self.protocol_admin

Contract Security Audit

Contract ABI

[{"name":"NftsDeposited","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"vaults","type":"tuple[]","components":[{"name":"vault","type":"address"},{"name":"token_id","type":"uint256"}],"indexed":false},{"name":"delegate","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"NftsWithdrawn","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"total_rewards","type":"uint256","indexed":false},{"name":"withdrawals","type":"tuple[]","components":[{"name":"vault","type":"address"},{"name":"token_id","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"DelegatedToWallet","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"delegate","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"vaults","type":"tuple[]","components":[{"name":"vault","type":"address"},{"name":"token_id","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"RenterDelegatedToWallet","inputs":[{"name":"renter","type":"address","indexed":false},{"name":"delegate","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"vaults","type":"tuple[]","components":[{"name":"vault","type":"address"},{"name":"token_id","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"ListingsRevoked","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"timestamp","type":"uint256","indexed":false},{"name":"token_ids","type":"uint256[]","indexed":false}],"anonymous":false,"type":"event"},{"name":"RentalStarted","inputs":[{"name":"renter","type":"address","indexed":false},{"name":"delegate","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"rentals","type":"tuple[]","components":[{"name":"id","type":"bytes32"},{"name":"vault","type":"address"},{"name":"owner","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"RentalClosed","inputs":[{"name":"renter","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"rentals","type":"tuple[]","components":[{"name":"id","type":"bytes32"},{"name":"vault","type":"address"},{"name":"owner","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"RentalExtended","inputs":[{"name":"renter","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"rentals","type":"tuple[]","components":[{"name":"id","type":"bytes32"},{"name":"vault","type":"address"},{"name":"owner","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount_settled","type":"uint256"},{"name":"extension_amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"RewardsClaimed","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"amount","type":"uint256","indexed":false},{"name":"protocol_fee_amount","type":"uint256","indexed":false},{"name":"rewards","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"active_rental_amount","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"TokenOwnershipChanged","inputs":[{"name":"new_owner","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"tokens","type":"uint256[]","indexed":false}],"anonymous":false,"type":"event"},{"name":"ProtocolFeeSet","inputs":[{"name":"old_fee","type":"uint256","indexed":false},{"name":"new_fee","type":"uint256","indexed":false},{"name":"fee_wallet","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"ProtocolWalletChanged","inputs":[{"name":"old_wallet","type":"address","indexed":false},{"name":"new_wallet","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"StakingAddressSet","inputs":[{"name":"old_value","type":"address","indexed":false},{"name":"new_value","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"AdminProposed","inputs":[{"name":"admin","type":"address","indexed":false},{"name":"proposed_admin","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"OwnershipTransferred","inputs":[{"name":"old_admin","type":"address","indexed":false},{"name":"new_admin","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"StakingDeposit","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"tokens","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"amount","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"StakingWithdraw","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"recipient","type":"address","indexed":false},{"name":"tokens","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"amount","type":"uint256"}],"indexed":false}],"anonymous":false,"type":"event"},{"name":"StakingClaim","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"recipient","type":"address","indexed":false},{"name":"tokens","type":"uint256[]","indexed":false}],"anonymous":false,"type":"event"},{"name":"StakingCompound","inputs":[{"name":"owner","type":"address","indexed":false},{"name":"nft_contract","type":"address","indexed":false},{"name":"tokens","type":"uint256[]","indexed":false}],"anonymous":false,"type":"event"},{"name":"FeesClaimed","inputs":[{"name":"fee_wallet","type":"address","indexed":false},{"name":"amount","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"PauseStateSet","inputs":[{"name":"old_value","type":"bool","indexed":false},{"name":"new_value","type":"bool","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_vault_impl_addr","type":"address"},{"name":"_payment_token_addr","type":"address"},{"name":"_nft_contract_addr","type":"address"},{"name":"_delegation_registry_addr","type":"address"},{"name":"_renting_erc721","type":"address"},{"name":"_staking_addr","type":"address"},{"name":"_max_protocol_fee","type":"uint256"},{"name":"_protocol_fee","type":"uint256"},{"name":"_protocol_wallet","type":"address"},{"name":"_protocol_admin","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"delegate_to_wallet","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]},{"name":"delegate","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"renter_delegate_to_wallet","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]},{"name":"delegate","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"token_ids","type":"uint256[]"},{"name":"delegate","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"mint","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"revoke_listing","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"start_rentals","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_context","type":"tuple","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]},{"name":"signed_listing","type":"tuple","components":[{"name":"listing","type":"tuple","components":[{"name":"token_id","type":"uint256"},{"name":"price","type":"uint256"},{"name":"min_duration","type":"uint256"},{"name":"max_duration","type":"uint256"},{"name":"timestamp","type":"uint256"}]},{"name":"owner_signature","type":"tuple","components":[{"name":"v","type":"uint256"},{"name":"r","type":"uint256"},{"name":"s","type":"uint256"}]},{"name":"admin_signature","type":"tuple","components":[{"name":"v","type":"uint256"},{"name":"r","type":"uint256"},{"name":"s","type":"uint256"}]}]},{"name":"duration","type":"uint256"}]},{"name":"delegate","type":"address"},{"name":"signature_timestamp","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"close_rentals","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"extend_rentals","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_context","type":"tuple","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]},{"name":"signed_listing","type":"tuple","components":[{"name":"listing","type":"tuple","components":[{"name":"token_id","type":"uint256"},{"name":"price","type":"uint256"},{"name":"min_duration","type":"uint256"},{"name":"max_duration","type":"uint256"},{"name":"timestamp","type":"uint256"}]},{"name":"owner_signature","type":"tuple","components":[{"name":"v","type":"uint256"},{"name":"r","type":"uint256"},{"name":"s","type":"uint256"}]},{"name":"admin_signature","type":"tuple","components":[{"name":"v","type":"uint256"},{"name":"r","type":"uint256"},{"name":"s","type":"uint256"}]}]},{"name":"duration","type":"uint256"}]},{"name":"signature_timestamp","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"stake_deposit","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_context","type":"tuple","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]},{"name":"amount","type":"uint256"}]},{"name":"pool_method_id","type":"bytes4"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"stake_withdraw","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_context","type":"tuple","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]},{"name":"amount","type":"uint256"}]},{"name":"recipient","type":"address"},{"name":"pool_method_id","type":"bytes4"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"stake_claim","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_context","type":"tuple","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]},{"name":"amount","type":"uint256"}]},{"name":"recipient","type":"address"},{"name":"pool_method_id","type":"bytes4"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"stake_compound","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_context","type":"tuple","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]},{"name":"amount","type":"uint256"}]},{"name":"pool_claim_method_id","type":"bytes4"},{"name":"pool_deposit_method_id","type":"bytes4"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"claim","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]}],"outputs":[]},{"stateMutability":"view","type":"function","name":"claimable_rewards","inputs":[{"name":"nft_owner","type":"address"},{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"claim_token_ownership","inputs":[{"name":"token_contexts","type":"tuple[]","components":[{"name":"token_id","type":"uint256"},{"name":"nft_owner","type":"address"},{"name":"active_rental","type":"tuple","components":[{"name":"id","type":"bytes32"},{"name":"owner","type":"address"},{"name":"renter","type":"address"},{"name":"delegate","type":"address"},{"name":"token_id","type":"uint256"},{"name":"start","type":"uint256"},{"name":"min_expiration","type":"uint256"},{"name":"expiration","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"protocol_fee","type":"uint256"}]}]}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"claim_fees","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_protocol_fee","inputs":[{"name":"protocol_fee","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"change_protocol_wallet","inputs":[{"name":"new_protocol_wallet","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_paused","inputs":[{"name":"paused","type":"bool"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_staking_addr","inputs":[{"name":"staking_addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"propose_admin","inputs":[{"name":"_address","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"claim_ownership","inputs":[],"outputs":[]},{"stateMutability":"view","type":"function","name":"tokenid_to_vault","inputs":[{"name":"token_id","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"vault_impl_addr","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"payment_token","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"nft_contract_addr","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"delegation_registry_addr","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"staking_addr","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"renting_erc721","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"max_protocol_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"protocol_wallet","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"protocol_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"protocol_admin","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"proposed_admin","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"rental_states","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"bytes32"}]},{"stateMutability":"view","type":"function","name":"listing_revocations","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"unclaimed_rewards","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"protocol_fees_amount","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"paused","inputs":[],"outputs":[{"name":"","type":"bool"}]}]

615efd5150346105b757602061640e5f395f518060a01c6105b757604052602061642e5f395f518060a01c6105b757606052602061644e5f395f518060a01c6105b757608052602061646e5f395f518060a01c6105b75760a052602061648e5f395f518060a01c6105b75760c05260206164ae5f395f518060a01c6105b75760e052602061650e5f395f518060a01c6105b75761010052602061652e5f395f518060a01c6105b7576101205260405161011757601b610140527f7661756c7420696d706c20697320746865207a65726f206164647200000000006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b60605161018357601e610140527f7061796d656e7420746f6b656e20697320746865207a65726f206164647200006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b6080516101ef57601d610140527f6e667420636f6e747261637420697320746865207a65726f20616464720000006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b60a05161025b57601f610140527f64656c656720726567697374727920697320746865207a65726f2061646472006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b60c0516102c757601f610140527f72656e74696e675f65726337323120697320746865207a65726f2061646472006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b61271060206164ce5f395f51111561033e576017610140527f6d61782070726f746f636f6c20666565203e20313030250000000000000000006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b60206164ce5f395f5160206164ee5f395f5111156103bb576016610140527f70726f746f636f6c20666565203e206d617820666565000000000000000000006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b61010051610428576017610140527f70726f746f636f6c2077616c6c6574206e6f74207365740000000000000000006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b61012051610495576014610140527f61646d696e2077616c6c6574206e6f74207365740000000000000000000000006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b604051615e5d52606051615e7d52608051615e9d5260a051615ebd5260206164ce5f395f51615efd5260c051615edd5260e0515f556101005160015560206164ee5f395f51600255610120516003555f6009557f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f610160527f8cfe527f02f4c08ff029d82debdef92d77938d41c05f0919d733c8091bf9b8d8610180527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66101a052466101c052306101e05260a061014052610140805160208201209050615e3d52615edd5163592e6f5961014052803b156105b7575f610140600461015c5f855af16105a4573d5f5f3e3d5ffd5b50615e3d6105bb61000039615f1d610000f35b5f80fd5f3560e01c60026022820660011b615df901601e395f51565b63fe80cbc081186100365734615df5576020615e5d60403960206040f35b638afbd8ce81186150f95734615df5576020615ebd60403960206040f36150f9565b63331c658781186150f95734615df5576020615e7d60403960206040f36150f9565b6304cca53b81186100985734615df5576020615e9d60403960206040f35b633ffd45b7811861015957602436103417615df5576004358060a01c615df5576040526003543318156101215760126060527f6e6f742070726f746f636f6c2061646d696e000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f705cd0c010fe71835c798c37a9b8ba0340aa60d9dcd5e8981ea2dfd4880368685f5460605260405160805260406060a16040515f55005b635f11b0a181186150f957602436103417615df5576004358060a01c615df5576040526003543318156101e257600d6060527f6e6f74207468652061646d696e0000000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b60405161024557601c6060527f5f6164647265737320697320746865207a65726f20616464726573730000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7ffd22260ca7b3d2a5f6332770491ab546b6235bc73909c334f5e304d2fae455b160035460605260405160805260406060a1604051600455006150f9565b63f728b1d8811861029e5734615df5575f5460405260206040f35b63baa24c1281186150f95734615df55760035433181561031d576009610140527f6e6f742061646d696e00000000000000000000000000000000000000000000006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b600854610140525f6008556001546040526101405160605261033d615d2b565b7f9493e5bbe4e8e0ac67284469a2d677403d0378a85a59e341d3abc433d0d9a2096001546101605261014051610180526040610160a1006150f9565b630bfab6bb81186103975734615df5576020615edd60403960206040f35b63abf6141781186150f95734615df55760045460405260206040f36150f9565b635fb8322181186150f95734615df5576020615efd60403960206040f36150f9565b6367db749981186150f95734615df55760015460405260206040f36150f9565b631655273281186104155734615df55760025460405260206040f35b63c9c0b69481186106c657606436103417615df5576004358060a01c615df557610500526024356004016020813511615df55780355f8160208111615df557801561051657905b610180810261054001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e08301526101008101356101008301526101208101356101208301525050505060010181811861045c575b5050806105205250506007610500516020525f5260405f2054613540525f6105205160208111615df55780156106bd57905b6101808102610540016101806135606101808360045afa505061018061036061018061356060045afa5061057d6136e06151d0565b6136e0516105ea57600f613700527f696e76616c696420636f6e7465787400000000000000000000000000000000006137205261370050613700518061372001601f825f031636823750506308c379a06136c05260206136e052601f19601f6137005101166044016136dcfd5b6105005161358051181561065d5760096136e0527f6e6f74206f776e65720000000000000000000000000000000000000000000000613700526136e0506136e0518061370001601f825f031636823750506308c379a06136a05260206136c052601f19601f6136e05101166044016136bcfd5b426136805110156106b257613540516136a0516136c05180612710036127108111615df5579050808202811583838304141715615df5579050905061271081049050808201828110615df55790509050613540525b600101818118610548575b50506020613540f35b63f7a79a0281186150f95734615df55760045433181561073b5760106040527f6e6f74207468652070726f706f7365640000000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060035460405260045460605260406040a16004546003555f600455006150f9565b63d9aa692481186150f95734615df55760035460405260206040f36150f9565b634931bd2981186150f957602436103417615df55760056004356020525f5260405f205460405260206040f36150f9565b63b2815bcb81186107fb57602436103417615df55760066004356020525f5260405f205460405260206040f35b63dce9d9ed8118610e2d57604436103417615df5576004356004016020813511615df55780355f8160208111615df55780156108ed57905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118610833575b5050806105005250505f613520525f615940525f615960525f6105005160208111615df5578015610cac57905b6101808102610520016101806159806101808360045afa50506159805161020052610946615b206153a9565b615b2051615b005261018061036061018061598060045afa5061096a615b206151d0565b615b20516109d757600f615b40527f696e76616c696420636f6e746578740000000000000000000000000000000000615b6052615b4050615b405180615b6001601f825f031636823750506308c379a0615b00526020615b2052601f19601f615b40510116604401615b1cfd5b61014060406101406159c060045afa506109f2615b20615213565b615b2051610a5f57601c615b40527f6163746976652072656e74616c20646f6573206e6f7420657869737400000000615b6052615b4050615b405180615b6001601f825f031636823750506308c379a0615b00526020615b2052601f19601f615b40510116604401615b1cfd5b615a0051331815610acf57601b615b20527f6e6f742072656e746572206f66206163746976652072656e74616c0000000000615b4052615b2050615b205180615b4001601f825f031636823750506308c379a0615ae0526020615b0052601f19601f615b20510116604401615afcfd5b42615b2052615a8051421015610ae857615a8051615b20525b615aa051615a6051808203828111615df55790509050604052615b2051615a6051808203828111615df55790509050606052615ac051608052610b2c615b60615cfc565b615b6051615b4052615ac051615b4051808203828111615df55790509050615b605261596051615b6051808201828110615df5579050905061596052615b4051615ae051808202811583838304141715615df5579050905061271081049050615b805261594051615b8051808201828110615df557905090506159405261598051610360526159a05161038052610140366103a037610bc961543b565b60076159a0516020525f5260405f208054615b4051615b8051808203828111615df55790509050808201828110615df55790509050815550615b00516395941b73615ba052604036615bc037803b15615df5575f615ba06044615bbc5f855af1610c35573d5f5f3e3d5ffd5b5061352051601f8111615df5576101208102613540016159c0518152615b005160208201526159e0516040820152615a40516060820152615a60516080820152615a805160a08201524260c0820152615b405160e0820152615ae0516101008201525060018101613520525060010181811861091a575b50506020615e7d5f395f5163a9059cbb61598052336159a052615960516159c0526020615980604461599c5f855af1610ce7573d5f5f3e3d5ffd5b60203d10615df557615980518060011c615df5576159e0526159e0905051610d6e57600f615a00527f7472616e73666572206661696c65640000000000000000000000000000000000615a2052615a0050615a005180615a2001601f825f031636823750506308c379a06159c05260206159e052601f19601f615a005101166044016159dcfd5b6159405115610d905760085461594051808201828110615df557905090506008555b7f73ff4b2da3afbf85c00543bcb289f888bb1a6a72dd3511fe075808a97ca20ecd606033615980526020615e9d6159a039806159c05280615980015f6135205180835261012081025f8260208111615df5578015610e1757905b61012081026135400161012082026020880101610120816101208460045afa505050600101818118610dea575b50508201602001915050905081019050615980a1005b63e4fbd50b81186150f957608436103417615df5576004356004016020813511615df55780355f8160208111615df5578015610f2b57905b6101a08102610520016101a0820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250506101808101356101808301525050600101818118610e65575b5050806105005250506024358060a01c615df557613920526044358060201b615df557613940525f546139605261396051610fc5576015613980527f7374616b696e67206e6f7420737570706f7274656400000000000000000000006139a0526139805061398051806139a001601f825f031636823750506308c379a061394052602061396052601f19601f61398051011660440161395cfd5b5f613980525f6105005160208111615df557801561117f57905b6101a08102610520016101a0613da06101a08360045afa5050613dc051331815611068576009613f40527f6e6f74206f776e65720000000000000000000000000000000000000000000000613f6052613f4050613f405180613f6001601f825f031636823750506308c379a0613f00526020613f2052601f19601f613f40510116604401613f1cfd5b610180610360610180613da060045afa50611084613f406151d0565b613f40516110f157600f613f60527f696e76616c696420636f6e746578740000000000000000000000000000000000613f8052613f6050613f605180613f8001601f825f031636823750506308c379a0613f20526020613f4052601f19601f613f60510116604401613f3cfd5b613da05161020052611104613f406153a9565b613f40516386ac890e613f605261392051613f8052613da051613fa05261396051613fc05261394051613fe052803b15615df5575f613f606084613f7c5f855af1611151573d5f5f3e3d5ffd5b5061398051601f8111615df557613da0518160051b6139a00152600181016139805250600101818118610fdf575b50507fd1036436febefb47614e14b42527d085cdfac0b0818a538acd3b1c941db19a3c608033613da0526020615e9d613dc03961392051613de05280613e005280613da0015f613980518083528060051b5f8260208111615df557801561120057905b8060051b6139a001518160051b6020880101526001018181186111e2575b50508201602001915050905081019050613da0a1006150f9565b630b4b74e4811861125557602436103417615df5576004358060a01c615df55760405260076040516020525f5260405f205460605260206060f35b63c2b82de481186150f957602436103417615df5576003543318156112cf5760126040527f6e6f742070726f746f636f6c2061646d696e000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b6020615efd5f395f51600435111561133c5760166040527f70726f746f636f6c20666565203e206d6178206665650000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b7faf7807c71b0e34bca82bd3067b4b5a4c760067c32fd82f2a714ef2624a33ce4360025460405260043560605260015460805260606040a1600435600255006150f9565b635413992881186150f95734615df55760085460405260206040f36150f9565b635c975abb81186150f95734615df55760095460405260206040f36150f9565b6378b848eb81186117d257606436103417615df5576004356004016020813511615df55780355f8160208111615df55780156114b257905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e0830152610100810135610100830152610120810135610120830152505050506001018181186113f8575b5050806105005250506024358060a01c615df557613520525f613540525f6105005160208111615df557801561172d57905b610180810261052001610180613d606101808360045afa5050610180610360610180613d6060045afa50611519613ee06151d0565b613ee05161158657600f613f00527f696e76616c696420636f6e746578740000000000000000000000000000000000613f2052613f0050613f005180613f2001601f825f031636823750506308c379a0613ec0526020613ee052601f19601f613f00510116604401613edcfd5b6101406040610140613da060045afa506115a1613ee0615213565b613ee0511561160f57600d613f00527f6163746976652072656e74616c00000000000000000000000000000000000000613f2052613f0050613f005180613f2001601f825f031636823750506308c379a0613ec0526020613ee052601f19601f613f00510116604401613edcfd5b613d805133181561167f576009613ee0527f6e6f74206f776e65720000000000000000000000000000000000000000000000613f0052613ee050613ee05180613f0001601f825f031636823750506308c379a0613ea0526020613ec052601f19601f613ee0510116604401613ebcfd5b613d605161020052611692613f006153a9565b613f0051613ee052613ee0516395941b73613f005261352051613f20527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613f4052803b15615df5575f613f006044613f1c5f855af16116f4573d5f5f3e3d5ffd5b5061354051601f8111615df5578060061b61356001613ee0518152613d60516020820152506001810161354052506001018181186114e4575b50507f7fcaf5307ea3e5c35bd915f8a03c59f2a94386a469ebd9833192f0dcb8af92ae608033613d605261352051613d80526020615e9d613da03980613dc05280613d60015f613540518083528060061b5f8260208111615df55780156117bc57905b8060061b60208701018160061b6135600180518252602081015160208301525050600101818118611790575b50508201602001915050905081019050613d60a1005b6372e76f1381186150f957602436103417615df5576004358060a01c615df55760405260035433181561185b5760126060527f6e6f742070726f746f636f6c2061646d696e000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6040516118be57601a6060527f77616c6c657420697320746865207a65726f206164647265737300000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f6defa6e1a7dcc97f459fb552cf25427ab19cd60692b94e4f38660850a6e917e860015460605260405160805260406060a1604051600155006150f9565b63338f5ad38118611d5857606436103417615df5576004356004016020813511615df55780355f8160208111615df55780156119ee57905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118611934575b5050806105005250506024358060a01c615df557613520525f613540525f6105005160208111615df5578015611cb357905b610180810261052001610180613d606101808360045afa5050610180610360610180613d6060045afa50611a55613ee06151d0565b613ee051611ac257600f613f00527f696e76616c696420636f6e746578740000000000000000000000000000000000613f2052613f0050613f005180613f2001601f825f031636823750506308c379a0613ec0526020613ee052601f19601f613f00510116604401613edcfd5b6101406040610140613da060045afa50611add613ee0615213565b613ee051611b4a576010613f00527f6e6f206163746976652072656e74616c00000000000000000000000000000000613f2052613f0050613f005180613f2001601f825f031636823750506308c379a0613ec0526020613ee052601f19601f613f00510116604401613edcfd5b613de051331815611bba57600a613ee0527f6e6f742072656e74657200000000000000000000000000000000000000000000613f0052613ee050613ee05180613f0001601f825f031636823750506308c379a0613ea0526020613ec052601f19601f613ee0510116604401613ebcfd5b613d605161020052611bcd613f006153a9565b613f0051613ee052613ee0516395941b73613f005261352051613f2052613e8051613f4052803b15615df5575f613f006044613f1c5f855af1611c12573d5f5f3e3d5ffd5b50613d605161036052613d805161038052613da0516103a052613dc0516103c052613de0516103e0526135205161040052613e205161042052613e405161044052613e605161046052613e805161048052613ea0516104a052613ec0516104c052611c7b61543b565b61354051601f8111615df5578060061b61356001613ee0518152613d6051602082015250600181016135405250600101818118611a20575b50507f28d724adcdae826aa56f4985e8b0d99476f3a9226f3a9f3c75a64fa61931852a608033613d605261352051613d80526020615e9d613da03980613dc05280613d60015f613540518083528060061b5f8260208111615df5578015611d4257905b8060061b60208701018160061b6135600180518252602081015160208301525050600101818118611d16575b50508201602001915050905081019050613d60a1005b63023c67b181186150f957608436103417615df5576004356004016020813511615df55780355f8160208111615df5578015611ed457905b610300810261082001610300820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e0830152610100810135610100830152610120810135610120830152505061018082016101808201803582526020810135602083015260408101356040830152606081013560608301526080810135608083015260a0820160a08201803582526020810135602083015260408101356040830152505061010082016101008201803582526020810135602083015260408101356040830152505050506102e08101356102e08301525050600101818118611d90575b5050806108005250506024358060a01c615df55761682052611ef461547a565b5f616840525f618c60525f6108005160208111615df5578015611f8f57905b610300810261082001610300618c806103008360045afa5050618c60514260405242618f6051610e10810281610e10820418615df5579050808201828110615df55790509050606052618e2051608052611f6e618f806155aa565b618f8051808201828110615df55790509050618c6052600101818118611f13575b505033604052618c6051606052611fa46155e1565b5f6108005160208111615df557801561244157905b610300810261082001610300618c806103008360045afa5050618c805161020052611fe5618fa06153a9565b618fa051618f8052610180610360610180618c8060045afa50612009618fa06151d0565b618fa05161207657600f618fc0527f696e76616c696420636f6e746578740000000000000000000000000000000000618fe052618fc050618fc05180618fe001601f825f031636823750506308c379a0618f80526020618fa052601f19601f618fc0510116604401618f9cfd5b6101406040610140618cc060045afa50612091618fa0615213565b618fa051156120ff57600d618fc0527f6163746976652072656e74616c00000000000000000000000000000000000000618fe052618fc050618fc05180618fe001601f825f031636823750506308c379a0618f80526020618fa052601f19601f618fc0510116604401618f9cfd5b618e0051604052618e2051606052618e4051608052618e605160a052618e805160c052618f605160e052612134618fa06156a0565b618fa0516121a1576016618fc0527f6475726174696f6e206e6f742072657370656374656400000000000000000000618fe052618fc050618fc05180618fe001601f825f031636823750506308c379a0618f80526020618fa052601f19601f618fc0510116604401618f9cfd5b618e205161220e576012618fa0527f6c697374696e67206e6f74206163746976650000000000000000000000000000618fc052618fa050618fa05180618fc001601f825f031636823750506308c379a0618f60526020618f8052601f19601f618fa0510116604401618f7cfd5b618c805161046052610160610480610160618e0060045afa506044356105e052618ca0516106005261223e6158e1565b42618f6051610e10810281610e10820418615df5579050808201828110615df55790509050618fa052618f80516395941b73618fe05261682051156122855761682061228e565b33618fc052618fc05b5161900052618fa05161902052803b15615df5575f618fe06044618ffc5f855af16122bb573d5f5f3e3d5ffd5b50618c805161050052618ca05161052052610140610540610140618cc060045afa506001610680526122ee618fc0615b70565b618fc05033604052618c805160605242608052618fa05160a052612313618fe0615cad565b618fe051618fc052618fc051618fe052618ca0516190005233619020526168205161904052618c805161906052426190805242618e4051610e10810281610e10820418615df5579050808201828110615df557905090506190a052618fa0516190c05242604052618fa051606052618e20516080526123936191206155aa565b619120516190e05260025461910052618c805161036052618ca051610380526101406103a0610140618fe060045afa506123cb61543b565b61684051601f8111615df557610120810261686001618fc0518152618f80516020820152618ca0516040820152618c805160608201524260808201526190a05160a0820152618fa05160c08201526190e05160e08201526191005161010082015250600181016168405250600101818118611fb9575b50507f8c4674b6dd5bb42474e86779169da5cbdc1c1e541e8e576f629dc865bf702e32608033618c805261682051618ca0526020615e9d618cc03980618ce05280618c80015f6168405180835261012081025f8260208111615df55780156124d257905b61012081026168600161012082026020880101610120816101208460045afa5050506001018181186124a5575b50508201602001915050905081019050618c80a1006150f9565b63f2cac920811861273257606436103417615df5576004356004016020813511615df557803560208160051b018083610500375050506024358060a01c615df5576109205261253961547a565b5f610940525f6105005160208111615df557801561268d57905b8060051b6105200151611160526005611160516020525f5260405f2054156125da57600d611180527f696e76616c6964207374617465000000000000000000000000000000000000006111a0526111805061118051806111a001601f825f031636823750506308c379a061114052602061116052601f19601f61118051011660440161115cfd5b61116051610200526125ed6111a06154df565b6111a0516111805261118051632e2d29846111a052611160516111c052336111e0526109205161120052803b15615df5575f6111a060646111bc5f855af1612637573d5f5f3e3d5ffd5b5061116051610360523361038052610140366103a03761265561543b565b61094051601f8111615df5578060061b6109600161118051815261116051602082015250600181016109405250600101818118612553575b50507f14f25625ebd0b44e2a92d47d22a3eeff9b38c448dea84f07be367c8ebdadf88f608033611160526020615e9d61118039806111a05280611160015f610940518083528060061b5f8260208111615df557801561271457905b8060061b60208701018160061b61096001805182526020810151602083015250506001018181186126e8575b50508201602001915050905081019050610920516111c052611160a1005b635622a77681186150f957608436103417615df5576004356004016020813511615df55780355f8160208111615df557801561283057905b6101a08102610520016101a0820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e08301526101008101356101008301526101208101356101208301525050610180810135610180830152505060010181811861276a575b5050806105005250506024358060201b615df557613920526044358060201b615df5576139405261285f61547a565b5f5461396052613960516128d2576015613980527f7374616b696e67206e6f7420737570706f7274656400000000000000000000006139a0526139805061398051806139a001601f825f031636823750506308c379a061394052602061396052601f19601f61398051011660440161395cfd5b5f613980525f6105005160208111615df5578015612a8c57905b6101a08102610520016101a0613da06101a08360045afa5050613dc051331815612975576009613f40527f6e6f74206f776e65720000000000000000000000000000000000000000000000613f6052613f4050613f405180613f6001601f825f031636823750506308c379a0613f00526020613f2052601f19601f613f40510116604401613f1cfd5b610180610360610180613da060045afa50612991613f406151d0565b613f40516129fe57600f613f60527f696e76616c696420636f6e746578740000000000000000000000000000000000613f8052613f6050613f605180613f8001601f825f031636823750506308c379a0613f20526020613f4052601f19601f613f60510116604401613f3cfd5b613da05161020052612a11613f406153a9565b613f40516394ca6999613f6052613da051613f805261396051613fa05261392051613fc05261394051613fe052803b15615df5575f613f606084613f7c5f855af1612a5e573d5f5f3e3d5ffd5b5061398051601f8111615df557613da0518160051b6139a001526001810161398052506001018181186128ec575b50507f59dd9897d3d45fb2ad9a6c6675e80d6b5f2883c511744d68331e38fdd4dfcfe2606033613da0526020615e9d613dc03980613de05280613da0015f613980518083528060051b5f8260208111615df5578015612b0557905b8060051b6139a001518160051b602088010152600101818118612ae7575b50508201602001915050905081019050613da0a1006150f9565b6368bbb5598118612dac57604436103417615df5576004356004016020813511615df55780355f8160208111615df5578015612c1157905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118612b57575b5050806105005250505f613520525f6105005160208111615df5578015612d0e57905b610180810261052001610180613d406101808360045afa5050610180610360610180613d4060045afa50612c69613ec06151d0565b613ec051612cd657600f613ee0527f696e76616c696420636f6e746578740000000000000000000000000000000000613f0052613ee050613ee05180613f0001601f825f031636823750506308c379a0613ea0526020613ec052601f19601f613ee0510116604401613ebcfd5b61352051601f8111615df5578060061b61354001613d40518152613d6051602082015250600181016135205250600101818118612c34575b50506020615edd5f395f51638fd404c7613d4052602080613d605280613d60015f613520518083528060061b5f8260208111615df5578015612d7857905b8060061b60208701018160061b6135400180518252602081015160208301525050600101818118612d4c575b50508201602001915050905081015050803b15615df5575f613d40610844613d5c5f855af1612da9573d5f5f3e3d5ffd5b50005b631e81a8b781186150f957604436103417615df5576004356004016020813511615df55780355f8160208111615df5578015612e9e57905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118612de4575b5050806105005250505f613520525f6105005160208111615df557801561307357905b6101808102610520016101806139406101808360045afa505061018061036061018061394060045afa50612ef6613ac06151d0565b613ac051612f6357600f613ae0527f696e76616c696420636f6e746578740000000000000000000000000000000000613b0052613ae050613ae05180613b0001601f825f031636823750506308c379a0613aa0526020613ac052601f19601f613ae0510116604401613abcfd5b336020615edd5f395f51636352211e613ac05261394051613ae0526020613ac06024613adc845afa612f97573d5f5f3e3d5ffd5b60203d10615df557613ac0518060a01c615df557613b0052613b009050511815613020576009613b20527f6e6f74206f776e65720000000000000000000000000000000000000000000000613b4052613b2050613b205180613b4001601f825f031636823750506308c379a0613ae0526020613b0052601f19601f613b20510116604401613afcfd5b613940516103605233610380526101406103a061014061398060045afa5061304661543b565b61352051601f8111615df557613940518160051b6135400152600181016135205250600101818118612ec1575b50507f5f1d5777673eb2dacd3b07f793491178b16d931e7241b2bdbc9c3620f62083a2606033613940526020615e9d61396039806139805280613940015f613520518083528060051b5f8260208111615df55780156130ec57905b8060051b61354001518160051b6020880101526001018181186130ce575b50508201602001915050905081019050613940a1006150f9565b63b137c42281186150f957604436103417615df5576004356004016020813511615df55780355f8160208111615df55780156131f857905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e08301526101008101356101008301526101208101356101208301525050505060010181811861313e575b5050806105005250505f613520525f6105005160208111615df557801561336b57905b6101808102610520016101806139406101808360045afa505061018061036061018061394060045afa50613250613ac06151d0565b613ac0516132bd57600f613ae0527f696e76616c696420636f6e746578740000000000000000000000000000000000613b0052613ae050613ae05180613b0001601f825f031636823750506308c379a0613aa0526020613ac052601f19601f613ae0510116604401613abcfd5b3361396051181561332d576009613ac0527f6e6f74206f776e65720000000000000000000000000000000000000000000000613ae052613ac050613ac05180613ae001601f825f031636823750506308c379a0613a80526020613aa052601f19601f613ac0510116604401613a9cfd5b426006613940516020525f5260405f205561352051601f8111615df557613940518160051b613540015260018101613520525060010181811861321b575b50507f61cf4a9dff83a5d31c96658f0e9e1c1f5fde0405271ebe5e76a7347209a0b0fb606033613940524261396052806139805280613940015f613520518083528060051b5f8260208111615df55780156133e057905b8060051b61354001518160051b6020880101526001018181186133c2575b50508201602001915050905081019050613940a1006150f9565b631a93aa9381186150f957606436103417615df5576004356004016020813511615df55780355f8160208111615df557801561357657905b61030081026106a001610300820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e0830152610100810135610100830152610120810135610120830152505061018082016101808201803582526020810135602083015260408101356040830152606081013560608301526080810135608083015260a0820160a08201803582526020810135602083015260408101356040830152505061010082016101008201803582526020810135602083015260408101356040830152505050506102e08101356102e08301525050600101818118613432575b5050806106805250505f6166a0525f618ec052604036618ee0375f6106805160208111615df5578015613b4757905b61030081026106a001610300618f206103008360045afa5050618f2051610200526135d16192406153a9565b6192405161922052610180610360610180618f2060045afa506135f56192406151d0565b6192405161366257600f619260527f696e76616c696420636f6e7465787400000000000000000000000000000000006192805261926050619260518061928001601f825f031636823750506308c379a061922052602061924052601f19601f61926051011660440161923cfd5b6101406040610140618f6060045afa5061367d619240615213565b619240516136ea576010619260527f6e6f206163746976652072656e74616c000000000000000000000000000000006192805261926050619260518061928001601f825f031636823750506308c379a061922052602061924052601f19601f61926051011660440161923cfd5b618fa05133181561375a57601b619240527f6e6f742072656e746572206f66206163746976652072656e74616c00000000006192605261924050619240518061926001601f825f031636823750506308c379a061920052602061922052601f19601f61924051011660440161921cfd5b6190a0516040526190c0516060526190e0516080526191005160a0526191205160c0526192005160e05261378f6192406156a0565b619240516137fc576016619260527f6475726174696f6e206e6f7420726573706563746564000000000000000000006192805261926050619260518061928001601f825f031636823750506308c379a061922052602061924052601f19601f61926051011660440161923cfd5b6190c051613869576012619240527f6c697374696e67206e6f742061637469766500000000000000000000000000006192605261924050619240518061926001601f825f031636823750506308c379a061920052602061922052601f19601f61924051011660440161921cfd5b618f2051610460526101606104806101606190a060045afa506024356105e052618f4051610600526138996158e1565b4261920051610e10810281610e10820418615df5579050808201828110615df55790509050619240524261926052619020514210156138db5761902051619260525b6190405161900051808203828111615df557905090506040526192605161900051808203828111615df557905090506060526190605160805261391f6192a0615cfc565b6192a0516192805242604052619240516060526190c0516080526139446192c06155aa565b6192c0516192a052618f00516192a051808201828110615df55790509050618f00526190605161928051808203828111615df557905090506192c052618ee0516192c051808201828110615df55790509050618ee0526192805161908051808202811583838304141715615df55790509050612710810490506192e052618ec0516192e051808201828110615df55790509050618ec052618f605161930052618f4051619320523361934052618fc05161936052618f205161938052426193a052426190e051610e10810281610e10820418615df5579050808201828110615df557905090506193c052619240516193e0526192a0516194005260025461942052618f205161036052618f4051610380526101406103a061014061930060045afa50613a6e61543b565b6007618f40516020525f5260405f208054619280516192e051808203828111615df55790509050808201828110615df557905090508155506166a051601f8111615df55761014081026166c001618f60518152619220516020820152618f80516040820152618fe0516060820152426080820152426190e051610e10810281610e10820418615df5579050808201828110615df5579050905060a08201526192405160c08201526192805160e08201526192a0516101008201526190805161012082015250600181016166a052506001018181186135a5575b5050618f0051618ee05111613b8d57618f0051618ee0511015613bb25733604052618f0051618ee051808203828111615df55790509050606052613bb26155e156613bb2565b33604052618ee051618f0051808203828111615df55790509050606052613bb2615d2b565b618ec05115613bd457600854618ec051808201828110615df557905090506008555b7fa811dbbf231ee171f33b26c54ff3d080f0987b0a772f38f9fea9ce837f068063606033618f20526020615e9d618f403980618f605280618f20015f6166a05180835261014081025f8260208111615df5578015613c5b57905b61014081026166c00161014082026020880101610140816101408460045afa505050600101818118613c2e575b50508201602001915050905081019050618f20a1006150f9565b63368eaf5b81186150f957604436103417615df5576004356004016020813511615df55780355f8160208111615df5578015613d6757905b610180810261082001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118613cad575b5050806108005250505f613820525f614040525f614860525f6108005160208111615df557801561411057905b6101808102610820016101806148806101808360045afa505061018061036061018061488060045afa50613dc9614a006151d0565b614a0051613e3657600f614a20527f696e76616c696420636f6e746578740000000000000000000000000000000000614a4052614a2050614a205180614a4001601f825f031636823750506308c379a06149e0526020614a0052601f19601f614a205101166044016149fcfd5b61014060406101406148c060045afa50613e51614a00615213565b614a005115613ebf57600d614a20527f6163746976652072656e74616c00000000000000000000000000000000000000614a4052614a2050614a205180614a4001601f825f031636823750506308c379a06149e0526020614a0052601f19601f614a205101166044016149fcfd5b6020615edd5f395f516342a0106b614a205261488051614a40526020614a206024614a3c845afa613ef2573d5f5f3e3d5ffd5b60203d10615df557614a20518060a01c615df557614a6052614a60905051614a0052614a005115613f9157614a0051331815614001576009614a20527f6e6f74206f776e65720000000000000000000000000000000000000000000000614a4052614a2050614a205180614a4001601f825f031636823750506308c379a06149e0526020614a0052601f19601f614a205101166044016149fcfd614001565b6148a051331815614001576009614a20527f6e6f74206f776e65720000000000000000000000000000000000000000000000614a4052614a2050614a205180614a4001601f825f031636823750506308c379a06149e0526020614a0052601f19601f614a205101166044016149fcfd5b6148805161020052614014614a406153a9565b614a4051614a205261488051610500526148a051610520526101406105406101406148c060045afa505f6106805261404d614a40615b70565b614a405061488051604052614060615de3565b61404051601f8111615df5578060061b614060016148805181526148a051602082015250600181016140405250614a205162f714ce614a405261488051614a605233614a8052803b15615df5575f614a406044614a5c5f855af16140c6573d5f5f3e3d5ffd5b50426006614880516020525f5260405f205561382051601f8111615df5578060061b61384001614a2051815261488051602082015250600181016138205250600101818118613d94575b50506020615edd5f395f5163ebc803d0614880526020806148a052806148a0015f614040518083528060061b5f8260208111615df557801561417a57905b8060061b60208701018160061b614060018051825260208101516020830152505060010181811861414e575b50508201602001915050905081015050803b15615df5575f61488061084461489c5f855af16141ab573d5f5f3e3d5ffd5b506007336020525f5260405f20546148805261488051156141e7575f6007336020525f5260405f205533604052614880516060526141e7615d2b565b7f66e25f0f38428dc92a79bde4219b9209156f468e2360faa803c0798298b411526080336148a0526020615e9d6148c039614880516148e0528061490052806148a0015f613820518083528060061b5f8260208111615df557801561427457905b8060061b60208701018160061b6138400180518252602081015160208301525050600101818118614248575b505082016020019150509050810190506148a0a1006150f9565b63295f385a81186150f957606436103417615df5576004356004016020813511615df55780355f8160208111615df557801561438c57905b6101a08102610520016101a0820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e0830152610100810135610100830152610120810135610120830152505061018081013561018083015250506001018181186142c6575b5050806105005250506024358060201b615df557613920526143ac61547a565b5f54613940526139405161441f576015613960527f7374616b696e67206e6f7420737570706f7274656400000000000000000000006139805261396050613960518061398001601f825f031636823750506308c379a061392052602061394052601f19601f61396051011660440161393cfd5b5f613960525f6105005160208111615df55780156146b957905b6101a08102610520016101a06141806101a08360045afa50506141a0513318156144c2576009614320527f6e6f74206f776e657200000000000000000000000000000000000000000000006143405261432050614320518061434001601f825f031636823750506308c379a06142e052602061430052601f19601f6143205101166044016142fcfd5b61018061036061018061418060045afa506144de6143206151d0565b6143205161454b57600f614340527f696e76616c696420636f6e7465787400000000000000000000000000000000006143605261434050614340518061436001601f825f031636823750506308c379a061430052602061432052601f19601f61434051011660440161431cfd5b614180516102005261455e6143406153a9565b61434051614320526020615e7d5f395f516323b872dd6143405233614360526143205161438052614300516143a0526020614340606461435c5f855af16145a7573d5f5f3e3d5ffd5b60203d10615df557614340518060011c615df5576143c0526143c090505161462e5760136143e0527f7472616e7366657246726f6d206661696c656400000000000000000000000000614400526143e0506143e0518061440001601f825f031636823750506308c379a06143a05260206143c052601f19601f6143e05101166044016143bcfd5b61432051637cfb8a756143405233614360526143005161438052614180516143a052613940516143c052613920516143e052803b15615df5575f61434060a461435c5f855af1614680573d5f5f3e3d5ffd5b5061396051601f8111615df5578060061b6139800161418051815261430051602082015250600181016139605250600101818118614439575b50507fda7e91c665c767ab0ceda28c5f7a59924da2e798ddc67088394339700c8a983c606033614180526020615e9d6141a039806141c05280614180015f613960518083528060061b5f8260208111615df557801561474057905b8060061b60208701018160061b6139800180518252602081015160208301525050600101818118614714575b50508201602001915050905081019050614180a1006150f9565b632995627c8118614b6457608436103417615df5576004356004016020813511615df55780355f8160208111615df557801561485857905b6101a08102610520016101a0820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250506101808101356101808301525050600101818118614792575b5050806105005250506024358060a01c615df557613920526044358060201b615df557613940525f5461396052613960516148f2576015613980527f7374616b696e67206e6f7420737570706f7274656400000000000000000000006139a0526139805061398051806139a001601f825f031636823750506308c379a061394052602061396052601f19601f61398051011660440161395cfd5b5f613980525f6105005160208111615df5578015614abf57905b6101a08102610520016101a06141a06101a08360045afa50506141c051331815614995576009614340527f6e6f74206f776e657200000000000000000000000000000000000000000000006143605261434050614340518061436001601f825f031636823750506308c379a061430052602061432052601f19601f61434051011660440161431cfd5b6101806103606101806141a060045afa506149b16143406151d0565b61434051614a1e57600f614360527f696e76616c696420636f6e7465787400000000000000000000000000000000006143805261436050614360518061438001601f825f031636823750506308c379a061432052602061434052601f19601f61436051011660440161433cfd5b6141a05161020052614a316143406153a9565b61434051639babe7bd614360526139205161438052614320516143a0526141a0516143c052613960516143e0526139405161440052803b15615df5575f61436060a461437c5f855af1614a86573d5f5f3e3d5ffd5b5061398051601f8111615df5578060061b6139a0016141a05181526143205160208201525060018101613980525060010181811861490c575b50507fc0145443abe0348e5fbb3cddc9f89bbef6cc14377065302899fa2fe479a750366080336141a0526020615e9d6141c039613920516141e0528061420052806141a0015f613980518083528060061b5f8260208111615df5578015614b4e57905b8060061b60208701018160061b6139a00180518252602081015160208301525050600101818118614b22575b505082016020019150509050810190506141a0a1005b636696eac681186150f957604436103417615df5576004356004016020813511615df55780355f8160208111615df5578015614c5657905b610180810261082001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118614b9c575b5050806108005250505f613820525f6108005160208111615df5578015614e0857905b6101808102610820016101806140406101808360045afa505061018061036061018061404060045afa50614cae6141c06151d0565b6141c051614d1b57600f6141e0527f696e76616c696420636f6e746578740000000000000000000000000000000000614200526141e0506141e0518061420001601f825f031636823750506308c379a06141a05260206141c052601f19601f6141e05101166044016141bcfd5b33614060511815614d8b5760096141c0527f6e6f74206f776e657200000000000000000000000000000000000000000000006141e0526141c0506141c051806141e001601f825f031636823750506308c379a06141805260206141a052601f19601f6141c051011660440161419cfd5b6140405161050052614060516105205261014061054061014061408060045afa50600161068052614dbd614300615b70565b6143006101406141c06101408360045afa505061382051601f8111615df5578060061b613840016140405181526142c051602082015250600181016138205250600101818118614c79575b50506007336020525f5260405f20546140405261404051614e88576013614060527f6e6f207265776172647320746f20636c61696d000000000000000000000000006140805261406050614060518061408001601f825f031636823750506308c379a061402052602061404052601f19601f61406051011660440161403cfd5b6020615e7d5f395f5163a9059cbb614060523361408052614040516140a0526020614060604461407c5f855af1614ec1573d5f5f3e3d5ffd5b60203d10615df557614060518060011c615df5576140c0526140c0905051614f4857600f6140e0527f7472616e73666572206661696c65640000000000000000000000000000000000614100526140e0506140e0518061410001601f825f031636823750506308c379a06140a05260206140c052601f19601f6140e05101166044016140bcfd5b5f6007336020525f5260405f20557f75d9fb02b6811f542f9236825a4f8c3698e023691c1fd76b15ece3d40264b41160a033614060526020615e9d61408039614040516140a0526008546140c052806140e05280614060015f613820518083528060061b5f8260208111615df5578015614fea57905b8060061b60208701018160061b6138400180518252602081015160208301525050600101818118614fbe575b50508201602001915050905081019050614060a1006150f9565b630ff5ce7281186150f957602436103417615df5576004358060011c615df55760405260035433181561508d5760126060527f6e6f742070726f746f636f6c2061646d696e000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f61546262c46330c86d6db302369d59188947245ae9c631d9c48155bcd8ffaebe60095460605260405160805260406060a1604051600955006150f9565b63b6b9252281186150f957602436103417615df5576020600435610160526150f46102006152d1565b610200f35b5f5ffd5b5f604051816101e00152602081019050606051816101e00152602081019050608051816101e0015260208101905060a051816101e0015260208101905060c051816101e0015260208101905060e051816101e0015260208101905061010051816101e0015260208101905061012051816101e0015260208101905061014051816101e0015260208101905061016051816101e0015260208101905061018051816101e001526020810190506101a051816101e00152602081019050806101c0526101c09050805160208201209050815250565b610360516040526103805160605261014060806101406103a060045afa506151f96104e06150fd565b6104e0516005610360516020525f5260405f205414815250565b426101205111815250565b73ffffffffffffffffffffffffffffffffffffffff604051168060a01c615df557815250565b5f7fff0000000000000000000000000000000000000000000000000000000000000081610100015260018101905060a0518060601b90508161010001526014810190506060518161010001526020810190506080518161010001526020810190508060e05260e0905080516020820120905060c05260c0516040526152c960e061521e565b60e051815250565b610160516060525f7f602d3d8160093d39f30000000000000000000000000000000000000000000000816101a001526009810190507f363d3d373d3d3d363d7300000000000000000000000000000000000000000000816101a00152600a810190506020615e5d5f395f518060601b9050816101a001526014810190507f5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000816101a00152600f81019050806101805261018090508051602082012090506080523060a0526153a06101e0615244565b6101e051815250565b61020051610160526153bc6102406152d1565b6102405161022052610220513b61543257601c610240527f6e6f207661756c742065786973747320666f7220746f6b656e5f6964000000006102605261024050610240518061026001601f825f031636823750506308c379a061020052602061022052601f19601f61024051011660440161021cfd5b61022051815250565b610360516040526103805160605261014060806101406103a060045afa506154646104e06150fd565b6104e0516005610360516020525f5260405f2055565b600954156154dd5760066040527f706175736564000000000000000000000000000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b565b61020051610160526154f26102406152d1565b6102405161022052610220513b6155a1577f602d3d8160093d39f3363d3d373d3d3d363d7300000000000000000000000000610240526020615e5d5f395f5160601b610253527f5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000610267526102005160366102405ff58015615df557610220526102205163592e6f5961024052803b15615df5575f610240600461025c5f855af161559f573d5f5f3e3d5ffd5b505b61022051815250565b606051604051808203828111615df55790509050608051808202811583838304141715615df55790509050610e1081049050815250565b6020615e7d5f395f516323b872dd60805260405160a0523060c05260605160e052602060806064609c5f855af161561a573d5f5f3e3d5ffd5b60203d10615df5576080518060011c615df5576101005261010090505161569e576013610120527f7472616e7366657246726f6d206661696c6564000000000000000000000000006101405261012050610120518061014001601f825f031636823750506308c379a060e052602061010052601f19601f61012051011660440160fcfd5b565b60805160e05110156156b2575f6156c9565b60a0516156c05760016156c9565b60a05160e05111155b815250565b6101a0515f610440525f60026101c0527f19010000000000000000000000000000000000000000000000000000000000006101e0526101c08051602082018361036001815181525050808301925050506020615e3d610300397f8bfe2af4290476395b89e8859d048827bdabb82447fa4a7943209a078a3030ff6102205260405161024052606051610260526080516102805260a0516102a05260c0516102c05260c0610200526102008051602082012090506103205260406102e0526102e080516020820183610360018281848460045afa50505080830192505050806103405261034090508051602082012090506103c05260e0516103e05261010051610400526101205161042052602061044060806103c060015afa506104405114815250565b6003545f610380525f60026101c0527f19000000000000000000000000000000000000000000000000000000000000006101e0526101c0805160208201836102a00181518152505080830192505050308060601b9050816102a0015260148101905060e0516102205261010051610240526101205161026052606061020052610200805160208201209050816102a001526020810190506101a051816102a0015260208101905080610280526102809050805160208201209050610300526101405161032052610160516103405261018051610360526020610380608061030060015afa506103805114815250565b61048051610460511815615954576010610620527f696e76616c696420746f6b656e5f6964000000000000000000000000000000006106405261062050610620518061064001601f825f031636823750506308c379a06105e052602061060052601f19601f6106205101166044016105fcfd5b610160604061016061048060045afa50610600516101a0526159776106206156ce565b610620516159e4576017610640527f696e76616c6964206f776e6572207369676e61747572650000000000000000006106605261064050610640518061066001601f825f031636823750506308c379a061060052602061062052601f19601f61064051011660440161061cfd5b610160604061016061048060045afa506105e0516101a052615a076106206157f2565b61062051615a74576017610640527f696e76616c69642061646d696e207369676e61747572650000000000000000006106605261064050610640518061066001601f825f031636823750506308c379a061060052602061062052601f19601f61064051011660440161061cfd5b426105e05160788101818110615df557905011615af057600f610620527f6c697374696e67206578706972656400000000000000000000000000000000006106405261062050610620518061064001601f825f031636823750506308c379a06105e052602061060052601f19601f6106205101166044016105fcfd5b610500516006610480516020525f5260405f205410615b6e57600f610620527f6c697374696e67207265766f6b656400000000000000000000000000000000006106405261062050610620518061064001601f825f031636823750506308c379a06105e052602061060052601f19601f6106205101166044016105fcfd5b565b61064051615b7f576001615b87565b426106205110155b615c9a576106405161066051808202811583838304141715615df55790509050612710810490506106a0526007610560516020525f5260405f208054610640516106a051808203828111615df55790509050808201828110615df557905090508155506008546106a051808201828110615df55790509050600855610540516106c052610560516106e05261058051610700526105a0516107205261050051610740526105e051610760526106005161078052610620516107a0525f6107c052610660516107e0526106805115615c8157610500516103605261052051610380526101406103a06101406106c060045afa50615c8161543b565b610140816101406106c060045afa5050615cab56615cab565b6101408161014061054060045afa50505b565b5f6040518160e001526020810190506060518160e001526020810190506080518160e0015260208101905060a0518160e001526020810190508060c05260c09050805160208201209050815250565b608051606051808202811583838304141715615df557905090506040518015615df55780820490509050815250565b6020615e7d5f395f5163a9059cbb60805260405160a05260605160c052602060806044609c5f855af1615d60573d5f5f3e3d5ffd5b60203d10615df5576080518060011c615df55760e05260e0905051615de1576013610100527f7472616e7366657246726f6d206661696c6564000000000000000000000000006101205261010050610100518061012001601f825f031636823750506308c379a060c052602060e052601f19601f61010051011660440160dcfd5b565b5f60056040516020525f5260405f2055565b5f80fd0283037950043c75475a03b750f9007a50f90058428e50f9001803d924ec50f950f92b1f077d18fc310650f9121a07ce138050f903f913a050f9079d50cb33fa50f913c084195e3d81184418e0a16576797065728300030a0016000000000000000000000000f350533c3003f6a2df04656a81e911789a987faa0000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438100000000000000000000000056e6f1bffde5dccd9a183585ce31f2902fc52707000000000000000000000000c3aa9bc72bd623168860a1e5c6a4530d3d80456c00000000000000000000000097d03cd72905bd8d197ddd80762aa085352f1087000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007d96cc26566bfca358c61fbe7be3ca771da7ea60000000000000000000000005723759d679662cf931d686f129e3296d9545190

Deployed Bytecode

0x5f3560e01c60026022820660011b615df901601e395f51565b63fe80cbc081186100365734615df5576020615e5d60403960206040f35b638afbd8ce81186150f95734615df5576020615ebd60403960206040f36150f9565b63331c658781186150f95734615df5576020615e7d60403960206040f36150f9565b6304cca53b81186100985734615df5576020615e9d60403960206040f35b633ffd45b7811861015957602436103417615df5576004358060a01c615df5576040526003543318156101215760126060527f6e6f742070726f746f636f6c2061646d696e000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f705cd0c010fe71835c798c37a9b8ba0340aa60d9dcd5e8981ea2dfd4880368685f5460605260405160805260406060a16040515f55005b635f11b0a181186150f957602436103417615df5576004358060a01c615df5576040526003543318156101e257600d6060527f6e6f74207468652061646d696e0000000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b60405161024557601c6060527f5f6164647265737320697320746865207a65726f20616464726573730000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7ffd22260ca7b3d2a5f6332770491ab546b6235bc73909c334f5e304d2fae455b160035460605260405160805260406060a1604051600455006150f9565b63f728b1d8811861029e5734615df5575f5460405260206040f35b63baa24c1281186150f95734615df55760035433181561031d576009610140527f6e6f742061646d696e00000000000000000000000000000000000000000000006101605261014050610140518061016001601f825f031636823750506308c379a061010052602061012052601f19601f61014051011660440161011cfd5b600854610140525f6008556001546040526101405160605261033d615d2b565b7f9493e5bbe4e8e0ac67284469a2d677403d0378a85a59e341d3abc433d0d9a2096001546101605261014051610180526040610160a1006150f9565b630bfab6bb81186103975734615df5576020615edd60403960206040f35b63abf6141781186150f95734615df55760045460405260206040f36150f9565b635fb8322181186150f95734615df5576020615efd60403960206040f36150f9565b6367db749981186150f95734615df55760015460405260206040f36150f9565b631655273281186104155734615df55760025460405260206040f35b63c9c0b69481186106c657606436103417615df5576004358060a01c615df557610500526024356004016020813511615df55780355f8160208111615df557801561051657905b610180810261054001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e08301526101008101356101008301526101208101356101208301525050505060010181811861045c575b5050806105205250506007610500516020525f5260405f2054613540525f6105205160208111615df55780156106bd57905b6101808102610540016101806135606101808360045afa505061018061036061018061356060045afa5061057d6136e06151d0565b6136e0516105ea57600f613700527f696e76616c696420636f6e7465787400000000000000000000000000000000006137205261370050613700518061372001601f825f031636823750506308c379a06136c05260206136e052601f19601f6137005101166044016136dcfd5b6105005161358051181561065d5760096136e0527f6e6f74206f776e65720000000000000000000000000000000000000000000000613700526136e0506136e0518061370001601f825f031636823750506308c379a06136a05260206136c052601f19601f6136e05101166044016136bcfd5b426136805110156106b257613540516136a0516136c05180612710036127108111615df5579050808202811583838304141715615df5579050905061271081049050808201828110615df55790509050613540525b600101818118610548575b50506020613540f35b63f7a79a0281186150f95734615df55760045433181561073b5760106040527f6e6f74207468652070726f706f7365640000000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060035460405260045460605260406040a16004546003555f600455006150f9565b63d9aa692481186150f95734615df55760035460405260206040f36150f9565b634931bd2981186150f957602436103417615df55760056004356020525f5260405f205460405260206040f36150f9565b63b2815bcb81186107fb57602436103417615df55760066004356020525f5260405f205460405260206040f35b63dce9d9ed8118610e2d57604436103417615df5576004356004016020813511615df55780355f8160208111615df55780156108ed57905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118610833575b5050806105005250505f613520525f615940525f615960525f6105005160208111615df5578015610cac57905b6101808102610520016101806159806101808360045afa50506159805161020052610946615b206153a9565b615b2051615b005261018061036061018061598060045afa5061096a615b206151d0565b615b20516109d757600f615b40527f696e76616c696420636f6e746578740000000000000000000000000000000000615b6052615b4050615b405180615b6001601f825f031636823750506308c379a0615b00526020615b2052601f19601f615b40510116604401615b1cfd5b61014060406101406159c060045afa506109f2615b20615213565b615b2051610a5f57601c615b40527f6163746976652072656e74616c20646f6573206e6f7420657869737400000000615b6052615b4050615b405180615b6001601f825f031636823750506308c379a0615b00526020615b2052601f19601f615b40510116604401615b1cfd5b615a0051331815610acf57601b615b20527f6e6f742072656e746572206f66206163746976652072656e74616c0000000000615b4052615b2050615b205180615b4001601f825f031636823750506308c379a0615ae0526020615b0052601f19601f615b20510116604401615afcfd5b42615b2052615a8051421015610ae857615a8051615b20525b615aa051615a6051808203828111615df55790509050604052615b2051615a6051808203828111615df55790509050606052615ac051608052610b2c615b60615cfc565b615b6051615b4052615ac051615b4051808203828111615df55790509050615b605261596051615b6051808201828110615df5579050905061596052615b4051615ae051808202811583838304141715615df5579050905061271081049050615b805261594051615b8051808201828110615df557905090506159405261598051610360526159a05161038052610140366103a037610bc961543b565b60076159a0516020525f5260405f208054615b4051615b8051808203828111615df55790509050808201828110615df55790509050815550615b00516395941b73615ba052604036615bc037803b15615df5575f615ba06044615bbc5f855af1610c35573d5f5f3e3d5ffd5b5061352051601f8111615df5576101208102613540016159c0518152615b005160208201526159e0516040820152615a40516060820152615a60516080820152615a805160a08201524260c0820152615b405160e0820152615ae0516101008201525060018101613520525060010181811861091a575b50506020615e7d5f395f5163a9059cbb61598052336159a052615960516159c0526020615980604461599c5f855af1610ce7573d5f5f3e3d5ffd5b60203d10615df557615980518060011c615df5576159e0526159e0905051610d6e57600f615a00527f7472616e73666572206661696c65640000000000000000000000000000000000615a2052615a0050615a005180615a2001601f825f031636823750506308c379a06159c05260206159e052601f19601f615a005101166044016159dcfd5b6159405115610d905760085461594051808201828110615df557905090506008555b7f73ff4b2da3afbf85c00543bcb289f888bb1a6a72dd3511fe075808a97ca20ecd606033615980526020615e9d6159a039806159c05280615980015f6135205180835261012081025f8260208111615df5578015610e1757905b61012081026135400161012082026020880101610120816101208460045afa505050600101818118610dea575b50508201602001915050905081019050615980a1005b63e4fbd50b81186150f957608436103417615df5576004356004016020813511615df55780355f8160208111615df5578015610f2b57905b6101a08102610520016101a0820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250506101808101356101808301525050600101818118610e65575b5050806105005250506024358060a01c615df557613920526044358060201b615df557613940525f546139605261396051610fc5576015613980527f7374616b696e67206e6f7420737570706f7274656400000000000000000000006139a0526139805061398051806139a001601f825f031636823750506308c379a061394052602061396052601f19601f61398051011660440161395cfd5b5f613980525f6105005160208111615df557801561117f57905b6101a08102610520016101a0613da06101a08360045afa5050613dc051331815611068576009613f40527f6e6f74206f776e65720000000000000000000000000000000000000000000000613f6052613f4050613f405180613f6001601f825f031636823750506308c379a0613f00526020613f2052601f19601f613f40510116604401613f1cfd5b610180610360610180613da060045afa50611084613f406151d0565b613f40516110f157600f613f60527f696e76616c696420636f6e746578740000000000000000000000000000000000613f8052613f6050613f605180613f8001601f825f031636823750506308c379a0613f20526020613f4052601f19601f613f60510116604401613f3cfd5b613da05161020052611104613f406153a9565b613f40516386ac890e613f605261392051613f8052613da051613fa05261396051613fc05261394051613fe052803b15615df5575f613f606084613f7c5f855af1611151573d5f5f3e3d5ffd5b5061398051601f8111615df557613da0518160051b6139a00152600181016139805250600101818118610fdf575b50507fd1036436febefb47614e14b42527d085cdfac0b0818a538acd3b1c941db19a3c608033613da0526020615e9d613dc03961392051613de05280613e005280613da0015f613980518083528060051b5f8260208111615df557801561120057905b8060051b6139a001518160051b6020880101526001018181186111e2575b50508201602001915050905081019050613da0a1006150f9565b630b4b74e4811861125557602436103417615df5576004358060a01c615df55760405260076040516020525f5260405f205460605260206060f35b63c2b82de481186150f957602436103417615df5576003543318156112cf5760126040527f6e6f742070726f746f636f6c2061646d696e000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b6020615efd5f395f51600435111561133c5760166040527f70726f746f636f6c20666565203e206d6178206665650000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b7faf7807c71b0e34bca82bd3067b4b5a4c760067c32fd82f2a714ef2624a33ce4360025460405260043560605260015460805260606040a1600435600255006150f9565b635413992881186150f95734615df55760085460405260206040f36150f9565b635c975abb81186150f95734615df55760095460405260206040f36150f9565b6378b848eb81186117d257606436103417615df5576004356004016020813511615df55780355f8160208111615df55780156114b257905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e0830152610100810135610100830152610120810135610120830152505050506001018181186113f8575b5050806105005250506024358060a01c615df557613520525f613540525f6105005160208111615df557801561172d57905b610180810261052001610180613d606101808360045afa5050610180610360610180613d6060045afa50611519613ee06151d0565b613ee05161158657600f613f00527f696e76616c696420636f6e746578740000000000000000000000000000000000613f2052613f0050613f005180613f2001601f825f031636823750506308c379a0613ec0526020613ee052601f19601f613f00510116604401613edcfd5b6101406040610140613da060045afa506115a1613ee0615213565b613ee0511561160f57600d613f00527f6163746976652072656e74616c00000000000000000000000000000000000000613f2052613f0050613f005180613f2001601f825f031636823750506308c379a0613ec0526020613ee052601f19601f613f00510116604401613edcfd5b613d805133181561167f576009613ee0527f6e6f74206f776e65720000000000000000000000000000000000000000000000613f0052613ee050613ee05180613f0001601f825f031636823750506308c379a0613ea0526020613ec052601f19601f613ee0510116604401613ebcfd5b613d605161020052611692613f006153a9565b613f0051613ee052613ee0516395941b73613f005261352051613f20527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613f4052803b15615df5575f613f006044613f1c5f855af16116f4573d5f5f3e3d5ffd5b5061354051601f8111615df5578060061b61356001613ee0518152613d60516020820152506001810161354052506001018181186114e4575b50507f7fcaf5307ea3e5c35bd915f8a03c59f2a94386a469ebd9833192f0dcb8af92ae608033613d605261352051613d80526020615e9d613da03980613dc05280613d60015f613540518083528060061b5f8260208111615df55780156117bc57905b8060061b60208701018160061b6135600180518252602081015160208301525050600101818118611790575b50508201602001915050905081019050613d60a1005b6372e76f1381186150f957602436103417615df5576004358060a01c615df55760405260035433181561185b5760126060527f6e6f742070726f746f636f6c2061646d696e000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6040516118be57601a6060527f77616c6c657420697320746865207a65726f206164647265737300000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f6defa6e1a7dcc97f459fb552cf25427ab19cd60692b94e4f38660850a6e917e860015460605260405160805260406060a1604051600155006150f9565b63338f5ad38118611d5857606436103417615df5576004356004016020813511615df55780355f8160208111615df55780156119ee57905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118611934575b5050806105005250506024358060a01c615df557613520525f613540525f6105005160208111615df5578015611cb357905b610180810261052001610180613d606101808360045afa5050610180610360610180613d6060045afa50611a55613ee06151d0565b613ee051611ac257600f613f00527f696e76616c696420636f6e746578740000000000000000000000000000000000613f2052613f0050613f005180613f2001601f825f031636823750506308c379a0613ec0526020613ee052601f19601f613f00510116604401613edcfd5b6101406040610140613da060045afa50611add613ee0615213565b613ee051611b4a576010613f00527f6e6f206163746976652072656e74616c00000000000000000000000000000000613f2052613f0050613f005180613f2001601f825f031636823750506308c379a0613ec0526020613ee052601f19601f613f00510116604401613edcfd5b613de051331815611bba57600a613ee0527f6e6f742072656e74657200000000000000000000000000000000000000000000613f0052613ee050613ee05180613f0001601f825f031636823750506308c379a0613ea0526020613ec052601f19601f613ee0510116604401613ebcfd5b613d605161020052611bcd613f006153a9565b613f0051613ee052613ee0516395941b73613f005261352051613f2052613e8051613f4052803b15615df5575f613f006044613f1c5f855af1611c12573d5f5f3e3d5ffd5b50613d605161036052613d805161038052613da0516103a052613dc0516103c052613de0516103e0526135205161040052613e205161042052613e405161044052613e605161046052613e805161048052613ea0516104a052613ec0516104c052611c7b61543b565b61354051601f8111615df5578060061b61356001613ee0518152613d6051602082015250600181016135405250600101818118611a20575b50507f28d724adcdae826aa56f4985e8b0d99476f3a9226f3a9f3c75a64fa61931852a608033613d605261352051613d80526020615e9d613da03980613dc05280613d60015f613540518083528060061b5f8260208111615df5578015611d4257905b8060061b60208701018160061b6135600180518252602081015160208301525050600101818118611d16575b50508201602001915050905081019050613d60a1005b63023c67b181186150f957608436103417615df5576004356004016020813511615df55780355f8160208111615df5578015611ed457905b610300810261082001610300820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e0830152610100810135610100830152610120810135610120830152505061018082016101808201803582526020810135602083015260408101356040830152606081013560608301526080810135608083015260a0820160a08201803582526020810135602083015260408101356040830152505061010082016101008201803582526020810135602083015260408101356040830152505050506102e08101356102e08301525050600101818118611d90575b5050806108005250506024358060a01c615df55761682052611ef461547a565b5f616840525f618c60525f6108005160208111615df5578015611f8f57905b610300810261082001610300618c806103008360045afa5050618c60514260405242618f6051610e10810281610e10820418615df5579050808201828110615df55790509050606052618e2051608052611f6e618f806155aa565b618f8051808201828110615df55790509050618c6052600101818118611f13575b505033604052618c6051606052611fa46155e1565b5f6108005160208111615df557801561244157905b610300810261082001610300618c806103008360045afa5050618c805161020052611fe5618fa06153a9565b618fa051618f8052610180610360610180618c8060045afa50612009618fa06151d0565b618fa05161207657600f618fc0527f696e76616c696420636f6e746578740000000000000000000000000000000000618fe052618fc050618fc05180618fe001601f825f031636823750506308c379a0618f80526020618fa052601f19601f618fc0510116604401618f9cfd5b6101406040610140618cc060045afa50612091618fa0615213565b618fa051156120ff57600d618fc0527f6163746976652072656e74616c00000000000000000000000000000000000000618fe052618fc050618fc05180618fe001601f825f031636823750506308c379a0618f80526020618fa052601f19601f618fc0510116604401618f9cfd5b618e0051604052618e2051606052618e4051608052618e605160a052618e805160c052618f605160e052612134618fa06156a0565b618fa0516121a1576016618fc0527f6475726174696f6e206e6f742072657370656374656400000000000000000000618fe052618fc050618fc05180618fe001601f825f031636823750506308c379a0618f80526020618fa052601f19601f618fc0510116604401618f9cfd5b618e205161220e576012618fa0527f6c697374696e67206e6f74206163746976650000000000000000000000000000618fc052618fa050618fa05180618fc001601f825f031636823750506308c379a0618f60526020618f8052601f19601f618fa0510116604401618f7cfd5b618c805161046052610160610480610160618e0060045afa506044356105e052618ca0516106005261223e6158e1565b42618f6051610e10810281610e10820418615df5579050808201828110615df55790509050618fa052618f80516395941b73618fe05261682051156122855761682061228e565b33618fc052618fc05b5161900052618fa05161902052803b15615df5575f618fe06044618ffc5f855af16122bb573d5f5f3e3d5ffd5b50618c805161050052618ca05161052052610140610540610140618cc060045afa506001610680526122ee618fc0615b70565b618fc05033604052618c805160605242608052618fa05160a052612313618fe0615cad565b618fe051618fc052618fc051618fe052618ca0516190005233619020526168205161904052618c805161906052426190805242618e4051610e10810281610e10820418615df5579050808201828110615df557905090506190a052618fa0516190c05242604052618fa051606052618e20516080526123936191206155aa565b619120516190e05260025461910052618c805161036052618ca051610380526101406103a0610140618fe060045afa506123cb61543b565b61684051601f8111615df557610120810261686001618fc0518152618f80516020820152618ca0516040820152618c805160608201524260808201526190a05160a0820152618fa05160c08201526190e05160e08201526191005161010082015250600181016168405250600101818118611fb9575b50507f8c4674b6dd5bb42474e86779169da5cbdc1c1e541e8e576f629dc865bf702e32608033618c805261682051618ca0526020615e9d618cc03980618ce05280618c80015f6168405180835261012081025f8260208111615df55780156124d257905b61012081026168600161012082026020880101610120816101208460045afa5050506001018181186124a5575b50508201602001915050905081019050618c80a1006150f9565b63f2cac920811861273257606436103417615df5576004356004016020813511615df557803560208160051b018083610500375050506024358060a01c615df5576109205261253961547a565b5f610940525f6105005160208111615df557801561268d57905b8060051b6105200151611160526005611160516020525f5260405f2054156125da57600d611180527f696e76616c6964207374617465000000000000000000000000000000000000006111a0526111805061118051806111a001601f825f031636823750506308c379a061114052602061116052601f19601f61118051011660440161115cfd5b61116051610200526125ed6111a06154df565b6111a0516111805261118051632e2d29846111a052611160516111c052336111e0526109205161120052803b15615df5575f6111a060646111bc5f855af1612637573d5f5f3e3d5ffd5b5061116051610360523361038052610140366103a03761265561543b565b61094051601f8111615df5578060061b6109600161118051815261116051602082015250600181016109405250600101818118612553575b50507f14f25625ebd0b44e2a92d47d22a3eeff9b38c448dea84f07be367c8ebdadf88f608033611160526020615e9d61118039806111a05280611160015f610940518083528060061b5f8260208111615df557801561271457905b8060061b60208701018160061b61096001805182526020810151602083015250506001018181186126e8575b50508201602001915050905081019050610920516111c052611160a1005b635622a77681186150f957608436103417615df5576004356004016020813511615df55780355f8160208111615df557801561283057905b6101a08102610520016101a0820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e08301526101008101356101008301526101208101356101208301525050610180810135610180830152505060010181811861276a575b5050806105005250506024358060201b615df557613920526044358060201b615df5576139405261285f61547a565b5f5461396052613960516128d2576015613980527f7374616b696e67206e6f7420737570706f7274656400000000000000000000006139a0526139805061398051806139a001601f825f031636823750506308c379a061394052602061396052601f19601f61398051011660440161395cfd5b5f613980525f6105005160208111615df5578015612a8c57905b6101a08102610520016101a0613da06101a08360045afa5050613dc051331815612975576009613f40527f6e6f74206f776e65720000000000000000000000000000000000000000000000613f6052613f4050613f405180613f6001601f825f031636823750506308c379a0613f00526020613f2052601f19601f613f40510116604401613f1cfd5b610180610360610180613da060045afa50612991613f406151d0565b613f40516129fe57600f613f60527f696e76616c696420636f6e746578740000000000000000000000000000000000613f8052613f6050613f605180613f8001601f825f031636823750506308c379a0613f20526020613f4052601f19601f613f60510116604401613f3cfd5b613da05161020052612a11613f406153a9565b613f40516394ca6999613f6052613da051613f805261396051613fa05261392051613fc05261394051613fe052803b15615df5575f613f606084613f7c5f855af1612a5e573d5f5f3e3d5ffd5b5061398051601f8111615df557613da0518160051b6139a001526001810161398052506001018181186128ec575b50507f59dd9897d3d45fb2ad9a6c6675e80d6b5f2883c511744d68331e38fdd4dfcfe2606033613da0526020615e9d613dc03980613de05280613da0015f613980518083528060051b5f8260208111615df5578015612b0557905b8060051b6139a001518160051b602088010152600101818118612ae7575b50508201602001915050905081019050613da0a1006150f9565b6368bbb5598118612dac57604436103417615df5576004356004016020813511615df55780355f8160208111615df5578015612c1157905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118612b57575b5050806105005250505f613520525f6105005160208111615df5578015612d0e57905b610180810261052001610180613d406101808360045afa5050610180610360610180613d4060045afa50612c69613ec06151d0565b613ec051612cd657600f613ee0527f696e76616c696420636f6e746578740000000000000000000000000000000000613f0052613ee050613ee05180613f0001601f825f031636823750506308c379a0613ea0526020613ec052601f19601f613ee0510116604401613ebcfd5b61352051601f8111615df5578060061b61354001613d40518152613d6051602082015250600181016135205250600101818118612c34575b50506020615edd5f395f51638fd404c7613d4052602080613d605280613d60015f613520518083528060061b5f8260208111615df5578015612d7857905b8060061b60208701018160061b6135400180518252602081015160208301525050600101818118612d4c575b50508201602001915050905081015050803b15615df5575f613d40610844613d5c5f855af1612da9573d5f5f3e3d5ffd5b50005b631e81a8b781186150f957604436103417615df5576004356004016020813511615df55780355f8160208111615df5578015612e9e57905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118612de4575b5050806105005250505f613520525f6105005160208111615df557801561307357905b6101808102610520016101806139406101808360045afa505061018061036061018061394060045afa50612ef6613ac06151d0565b613ac051612f6357600f613ae0527f696e76616c696420636f6e746578740000000000000000000000000000000000613b0052613ae050613ae05180613b0001601f825f031636823750506308c379a0613aa0526020613ac052601f19601f613ae0510116604401613abcfd5b336020615edd5f395f51636352211e613ac05261394051613ae0526020613ac06024613adc845afa612f97573d5f5f3e3d5ffd5b60203d10615df557613ac0518060a01c615df557613b0052613b009050511815613020576009613b20527f6e6f74206f776e65720000000000000000000000000000000000000000000000613b4052613b2050613b205180613b4001601f825f031636823750506308c379a0613ae0526020613b0052601f19601f613b20510116604401613afcfd5b613940516103605233610380526101406103a061014061398060045afa5061304661543b565b61352051601f8111615df557613940518160051b6135400152600181016135205250600101818118612ec1575b50507f5f1d5777673eb2dacd3b07f793491178b16d931e7241b2bdbc9c3620f62083a2606033613940526020615e9d61396039806139805280613940015f613520518083528060051b5f8260208111615df55780156130ec57905b8060051b61354001518160051b6020880101526001018181186130ce575b50508201602001915050905081019050613940a1006150f9565b63b137c42281186150f957604436103417615df5576004356004016020813511615df55780355f8160208111615df55780156131f857905b610180810261052001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e08301526101008101356101008301526101208101356101208301525050505060010181811861313e575b5050806105005250505f613520525f6105005160208111615df557801561336b57905b6101808102610520016101806139406101808360045afa505061018061036061018061394060045afa50613250613ac06151d0565b613ac0516132bd57600f613ae0527f696e76616c696420636f6e746578740000000000000000000000000000000000613b0052613ae050613ae05180613b0001601f825f031636823750506308c379a0613aa0526020613ac052601f19601f613ae0510116604401613abcfd5b3361396051181561332d576009613ac0527f6e6f74206f776e65720000000000000000000000000000000000000000000000613ae052613ac050613ac05180613ae001601f825f031636823750506308c379a0613a80526020613aa052601f19601f613ac0510116604401613a9cfd5b426006613940516020525f5260405f205561352051601f8111615df557613940518160051b613540015260018101613520525060010181811861321b575b50507f61cf4a9dff83a5d31c96658f0e9e1c1f5fde0405271ebe5e76a7347209a0b0fb606033613940524261396052806139805280613940015f613520518083528060051b5f8260208111615df55780156133e057905b8060051b61354001518160051b6020880101526001018181186133c2575b50508201602001915050905081019050613940a1006150f9565b631a93aa9381186150f957606436103417615df5576004356004016020813511615df55780355f8160208111615df557801561357657905b61030081026106a001610300820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e0830152610100810135610100830152610120810135610120830152505061018082016101808201803582526020810135602083015260408101356040830152606081013560608301526080810135608083015260a0820160a08201803582526020810135602083015260408101356040830152505061010082016101008201803582526020810135602083015260408101356040830152505050506102e08101356102e08301525050600101818118613432575b5050806106805250505f6166a0525f618ec052604036618ee0375f6106805160208111615df5578015613b4757905b61030081026106a001610300618f206103008360045afa5050618f2051610200526135d16192406153a9565b6192405161922052610180610360610180618f2060045afa506135f56192406151d0565b6192405161366257600f619260527f696e76616c696420636f6e7465787400000000000000000000000000000000006192805261926050619260518061928001601f825f031636823750506308c379a061922052602061924052601f19601f61926051011660440161923cfd5b6101406040610140618f6060045afa5061367d619240615213565b619240516136ea576010619260527f6e6f206163746976652072656e74616c000000000000000000000000000000006192805261926050619260518061928001601f825f031636823750506308c379a061922052602061924052601f19601f61926051011660440161923cfd5b618fa05133181561375a57601b619240527f6e6f742072656e746572206f66206163746976652072656e74616c00000000006192605261924050619240518061926001601f825f031636823750506308c379a061920052602061922052601f19601f61924051011660440161921cfd5b6190a0516040526190c0516060526190e0516080526191005160a0526191205160c0526192005160e05261378f6192406156a0565b619240516137fc576016619260527f6475726174696f6e206e6f7420726573706563746564000000000000000000006192805261926050619260518061928001601f825f031636823750506308c379a061922052602061924052601f19601f61926051011660440161923cfd5b6190c051613869576012619240527f6c697374696e67206e6f742061637469766500000000000000000000000000006192605261924050619240518061926001601f825f031636823750506308c379a061920052602061922052601f19601f61924051011660440161921cfd5b618f2051610460526101606104806101606190a060045afa506024356105e052618f4051610600526138996158e1565b4261920051610e10810281610e10820418615df5579050808201828110615df55790509050619240524261926052619020514210156138db5761902051619260525b6190405161900051808203828111615df557905090506040526192605161900051808203828111615df557905090506060526190605160805261391f6192a0615cfc565b6192a0516192805242604052619240516060526190c0516080526139446192c06155aa565b6192c0516192a052618f00516192a051808201828110615df55790509050618f00526190605161928051808203828111615df557905090506192c052618ee0516192c051808201828110615df55790509050618ee0526192805161908051808202811583838304141715615df55790509050612710810490506192e052618ec0516192e051808201828110615df55790509050618ec052618f605161930052618f4051619320523361934052618fc05161936052618f205161938052426193a052426190e051610e10810281610e10820418615df5579050808201828110615df557905090506193c052619240516193e0526192a0516194005260025461942052618f205161036052618f4051610380526101406103a061014061930060045afa50613a6e61543b565b6007618f40516020525f5260405f208054619280516192e051808203828111615df55790509050808201828110615df557905090508155506166a051601f8111615df55761014081026166c001618f60518152619220516020820152618f80516040820152618fe0516060820152426080820152426190e051610e10810281610e10820418615df5579050808201828110615df5579050905060a08201526192405160c08201526192805160e08201526192a0516101008201526190805161012082015250600181016166a052506001018181186135a5575b5050618f0051618ee05111613b8d57618f0051618ee0511015613bb25733604052618f0051618ee051808203828111615df55790509050606052613bb26155e156613bb2565b33604052618ee051618f0051808203828111615df55790509050606052613bb2615d2b565b618ec05115613bd457600854618ec051808201828110615df557905090506008555b7fa811dbbf231ee171f33b26c54ff3d080f0987b0a772f38f9fea9ce837f068063606033618f20526020615e9d618f403980618f605280618f20015f6166a05180835261014081025f8260208111615df5578015613c5b57905b61014081026166c00161014082026020880101610140816101408460045afa505050600101818118613c2e575b50508201602001915050905081019050618f20a1006150f9565b63368eaf5b81186150f957604436103417615df5576004356004016020813511615df55780355f8160208111615df5578015613d6757905b610180810261082001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118613cad575b5050806108005250505f613820525f614040525f614860525f6108005160208111615df557801561411057905b6101808102610820016101806148806101808360045afa505061018061036061018061488060045afa50613dc9614a006151d0565b614a0051613e3657600f614a20527f696e76616c696420636f6e746578740000000000000000000000000000000000614a4052614a2050614a205180614a4001601f825f031636823750506308c379a06149e0526020614a0052601f19601f614a205101166044016149fcfd5b61014060406101406148c060045afa50613e51614a00615213565b614a005115613ebf57600d614a20527f6163746976652072656e74616c00000000000000000000000000000000000000614a4052614a2050614a205180614a4001601f825f031636823750506308c379a06149e0526020614a0052601f19601f614a205101166044016149fcfd5b6020615edd5f395f516342a0106b614a205261488051614a40526020614a206024614a3c845afa613ef2573d5f5f3e3d5ffd5b60203d10615df557614a20518060a01c615df557614a6052614a60905051614a0052614a005115613f9157614a0051331815614001576009614a20527f6e6f74206f776e65720000000000000000000000000000000000000000000000614a4052614a2050614a205180614a4001601f825f031636823750506308c379a06149e0526020614a0052601f19601f614a205101166044016149fcfd614001565b6148a051331815614001576009614a20527f6e6f74206f776e65720000000000000000000000000000000000000000000000614a4052614a2050614a205180614a4001601f825f031636823750506308c379a06149e0526020614a0052601f19601f614a205101166044016149fcfd5b6148805161020052614014614a406153a9565b614a4051614a205261488051610500526148a051610520526101406105406101406148c060045afa505f6106805261404d614a40615b70565b614a405061488051604052614060615de3565b61404051601f8111615df5578060061b614060016148805181526148a051602082015250600181016140405250614a205162f714ce614a405261488051614a605233614a8052803b15615df5575f614a406044614a5c5f855af16140c6573d5f5f3e3d5ffd5b50426006614880516020525f5260405f205561382051601f8111615df5578060061b61384001614a2051815261488051602082015250600181016138205250600101818118613d94575b50506020615edd5f395f5163ebc803d0614880526020806148a052806148a0015f614040518083528060061b5f8260208111615df557801561417a57905b8060061b60208701018160061b614060018051825260208101516020830152505060010181811861414e575b50508201602001915050905081015050803b15615df5575f61488061084461489c5f855af16141ab573d5f5f3e3d5ffd5b506007336020525f5260405f20546148805261488051156141e7575f6007336020525f5260405f205533604052614880516060526141e7615d2b565b7f66e25f0f38428dc92a79bde4219b9209156f468e2360faa803c0798298b411526080336148a0526020615e9d6148c039614880516148e0528061490052806148a0015f613820518083528060061b5f8260208111615df557801561427457905b8060061b60208701018160061b6138400180518252602081015160208301525050600101818118614248575b505082016020019150509050810190506148a0a1006150f9565b63295f385a81186150f957606436103417615df5576004356004016020813511615df55780355f8160208111615df557801561438c57905b6101a08102610520016101a0820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e0830152610100810135610100830152610120810135610120830152505061018081013561018083015250506001018181186142c6575b5050806105005250506024358060201b615df557613920526143ac61547a565b5f54613940526139405161441f576015613960527f7374616b696e67206e6f7420737570706f7274656400000000000000000000006139805261396050613960518061398001601f825f031636823750506308c379a061392052602061394052601f19601f61396051011660440161393cfd5b5f613960525f6105005160208111615df55780156146b957905b6101a08102610520016101a06141806101a08360045afa50506141a0513318156144c2576009614320527f6e6f74206f776e657200000000000000000000000000000000000000000000006143405261432050614320518061434001601f825f031636823750506308c379a06142e052602061430052601f19601f6143205101166044016142fcfd5b61018061036061018061418060045afa506144de6143206151d0565b6143205161454b57600f614340527f696e76616c696420636f6e7465787400000000000000000000000000000000006143605261434050614340518061436001601f825f031636823750506308c379a061430052602061432052601f19601f61434051011660440161431cfd5b614180516102005261455e6143406153a9565b61434051614320526020615e7d5f395f516323b872dd6143405233614360526143205161438052614300516143a0526020614340606461435c5f855af16145a7573d5f5f3e3d5ffd5b60203d10615df557614340518060011c615df5576143c0526143c090505161462e5760136143e0527f7472616e7366657246726f6d206661696c656400000000000000000000000000614400526143e0506143e0518061440001601f825f031636823750506308c379a06143a05260206143c052601f19601f6143e05101166044016143bcfd5b61432051637cfb8a756143405233614360526143005161438052614180516143a052613940516143c052613920516143e052803b15615df5575f61434060a461435c5f855af1614680573d5f5f3e3d5ffd5b5061396051601f8111615df5578060061b6139800161418051815261430051602082015250600181016139605250600101818118614439575b50507fda7e91c665c767ab0ceda28c5f7a59924da2e798ddc67088394339700c8a983c606033614180526020615e9d6141a039806141c05280614180015f613960518083528060061b5f8260208111615df557801561474057905b8060061b60208701018160061b6139800180518252602081015160208301525050600101818118614714575b50508201602001915050905081019050614180a1006150f9565b632995627c8118614b6457608436103417615df5576004356004016020813511615df55780355f8160208111615df557801561485857905b6101a08102610520016101a0820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250506101808101356101808301525050600101818118614792575b5050806105005250506024358060a01c615df557613920526044358060201b615df557613940525f5461396052613960516148f2576015613980527f7374616b696e67206e6f7420737570706f7274656400000000000000000000006139a0526139805061398051806139a001601f825f031636823750506308c379a061394052602061396052601f19601f61398051011660440161395cfd5b5f613980525f6105005160208111615df5578015614abf57905b6101a08102610520016101a06141a06101a08360045afa50506141c051331815614995576009614340527f6e6f74206f776e657200000000000000000000000000000000000000000000006143605261434050614340518061436001601f825f031636823750506308c379a061430052602061432052601f19601f61434051011660440161431cfd5b6101806103606101806141a060045afa506149b16143406151d0565b61434051614a1e57600f614360527f696e76616c696420636f6e7465787400000000000000000000000000000000006143805261436050614360518061438001601f825f031636823750506308c379a061432052602061434052601f19601f61436051011660440161433cfd5b6141a05161020052614a316143406153a9565b61434051639babe7bd614360526139205161438052614320516143a0526141a0516143c052613960516143e0526139405161440052803b15615df5575f61436060a461437c5f855af1614a86573d5f5f3e3d5ffd5b5061398051601f8111615df5578060061b6139a0016141a05181526143205160208201525060018101613980525060010181811861490c575b50507fc0145443abe0348e5fbb3cddc9f89bbef6cc14377065302899fa2fe479a750366080336141a0526020615e9d6141c039613920516141e0528061420052806141a0015f613980518083528060061b5f8260208111615df5578015614b4e57905b8060061b60208701018160061b6139a00180518252602081015160208301525050600101818118614b22575b505082016020019150509050810190506141a0a1005b636696eac681186150f957604436103417615df5576004356004016020813511615df55780355f8160208111615df5578015614c5657905b610180810261082001610180820260208601018035825260208101358060a01c615df557602083015260408201604082018035825260208101358060a01c615df557602083015260408101358060a01c615df557604083015260608101358060a01c615df55760608301526080810135608083015260a081013560a083015260c081013560c083015260e081013560e083015261010081013561010083015261012081013561012083015250505050600101818118614b9c575b5050806108005250505f613820525f6108005160208111615df5578015614e0857905b6101808102610820016101806140406101808360045afa505061018061036061018061404060045afa50614cae6141c06151d0565b6141c051614d1b57600f6141e0527f696e76616c696420636f6e746578740000000000000000000000000000000000614200526141e0506141e0518061420001601f825f031636823750506308c379a06141a05260206141c052601f19601f6141e05101166044016141bcfd5b33614060511815614d8b5760096141c0527f6e6f74206f776e657200000000000000000000000000000000000000000000006141e0526141c0506141c051806141e001601f825f031636823750506308c379a06141805260206141a052601f19601f6141c051011660440161419cfd5b6140405161050052614060516105205261014061054061014061408060045afa50600161068052614dbd614300615b70565b6143006101406141c06101408360045afa505061382051601f8111615df5578060061b613840016140405181526142c051602082015250600181016138205250600101818118614c79575b50506007336020525f5260405f20546140405261404051614e88576013614060527f6e6f207265776172647320746f20636c61696d000000000000000000000000006140805261406050614060518061408001601f825f031636823750506308c379a061402052602061404052601f19601f61406051011660440161403cfd5b6020615e7d5f395f5163a9059cbb614060523361408052614040516140a0526020614060604461407c5f855af1614ec1573d5f5f3e3d5ffd5b60203d10615df557614060518060011c615df5576140c0526140c0905051614f4857600f6140e0527f7472616e73666572206661696c65640000000000000000000000000000000000614100526140e0506140e0518061410001601f825f031636823750506308c379a06140a05260206140c052601f19601f6140e05101166044016140bcfd5b5f6007336020525f5260405f20557f75d9fb02b6811f542f9236825a4f8c3698e023691c1fd76b15ece3d40264b41160a033614060526020615e9d61408039614040516140a0526008546140c052806140e05280614060015f613820518083528060061b5f8260208111615df5578015614fea57905b8060061b60208701018160061b6138400180518252602081015160208301525050600101818118614fbe575b50508201602001915050905081019050614060a1006150f9565b630ff5ce7281186150f957602436103417615df5576004358060011c615df55760405260035433181561508d5760126060527f6e6f742070726f746f636f6c2061646d696e000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b7f61546262c46330c86d6db302369d59188947245ae9c631d9c48155bcd8ffaebe60095460605260405160805260406060a1604051600955006150f9565b63b6b9252281186150f957602436103417615df5576020600435610160526150f46102006152d1565b610200f35b5f5ffd5b5f604051816101e00152602081019050606051816101e00152602081019050608051816101e0015260208101905060a051816101e0015260208101905060c051816101e0015260208101905060e051816101e0015260208101905061010051816101e0015260208101905061012051816101e0015260208101905061014051816101e0015260208101905061016051816101e0015260208101905061018051816101e001526020810190506101a051816101e00152602081019050806101c0526101c09050805160208201209050815250565b610360516040526103805160605261014060806101406103a060045afa506151f96104e06150fd565b6104e0516005610360516020525f5260405f205414815250565b426101205111815250565b73ffffffffffffffffffffffffffffffffffffffff604051168060a01c615df557815250565b5f7fff0000000000000000000000000000000000000000000000000000000000000081610100015260018101905060a0518060601b90508161010001526014810190506060518161010001526020810190506080518161010001526020810190508060e05260e0905080516020820120905060c05260c0516040526152c960e061521e565b60e051815250565b610160516060525f7f602d3d8160093d39f30000000000000000000000000000000000000000000000816101a001526009810190507f363d3d373d3d3d363d7300000000000000000000000000000000000000000000816101a00152600a810190506020615e5d5f395f518060601b9050816101a001526014810190507f5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000816101a00152600f81019050806101805261018090508051602082012090506080523060a0526153a06101e0615244565b6101e051815250565b61020051610160526153bc6102406152d1565b6102405161022052610220513b61543257601c610240527f6e6f207661756c742065786973747320666f7220746f6b656e5f6964000000006102605261024050610240518061026001601f825f031636823750506308c379a061020052602061022052601f19601f61024051011660440161021cfd5b61022051815250565b610360516040526103805160605261014060806101406103a060045afa506154646104e06150fd565b6104e0516005610360516020525f5260405f2055565b600954156154dd5760066040527f706175736564000000000000000000000000000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b565b61020051610160526154f26102406152d1565b6102405161022052610220513b6155a1577f602d3d8160093d39f3363d3d373d3d3d363d7300000000000000000000000000610240526020615e5d5f395f5160601b610253527f5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000610267526102005160366102405ff58015615df557610220526102205163592e6f5961024052803b15615df5575f610240600461025c5f855af161559f573d5f5f3e3d5ffd5b505b61022051815250565b606051604051808203828111615df55790509050608051808202811583838304141715615df55790509050610e1081049050815250565b6020615e7d5f395f516323b872dd60805260405160a0523060c05260605160e052602060806064609c5f855af161561a573d5f5f3e3d5ffd5b60203d10615df5576080518060011c615df5576101005261010090505161569e576013610120527f7472616e7366657246726f6d206661696c6564000000000000000000000000006101405261012050610120518061014001601f825f031636823750506308c379a060e052602061010052601f19601f61012051011660440160fcfd5b565b60805160e05110156156b2575f6156c9565b60a0516156c05760016156c9565b60a05160e05111155b815250565b6101a0515f610440525f60026101c0527f19010000000000000000000000000000000000000000000000000000000000006101e0526101c08051602082018361036001815181525050808301925050506020615e3d610300397f8bfe2af4290476395b89e8859d048827bdabb82447fa4a7943209a078a3030ff6102205260405161024052606051610260526080516102805260a0516102a05260c0516102c05260c0610200526102008051602082012090506103205260406102e0526102e080516020820183610360018281848460045afa50505080830192505050806103405261034090508051602082012090506103c05260e0516103e05261010051610400526101205161042052602061044060806103c060015afa506104405114815250565b6003545f610380525f60026101c0527f19000000000000000000000000000000000000000000000000000000000000006101e0526101c0805160208201836102a00181518152505080830192505050308060601b9050816102a0015260148101905060e0516102205261010051610240526101205161026052606061020052610200805160208201209050816102a001526020810190506101a051816102a0015260208101905080610280526102809050805160208201209050610300526101405161032052610160516103405261018051610360526020610380608061030060015afa506103805114815250565b61048051610460511815615954576010610620527f696e76616c696420746f6b656e5f6964000000000000000000000000000000006106405261062050610620518061064001601f825f031636823750506308c379a06105e052602061060052601f19601f6106205101166044016105fcfd5b610160604061016061048060045afa50610600516101a0526159776106206156ce565b610620516159e4576017610640527f696e76616c6964206f776e6572207369676e61747572650000000000000000006106605261064050610640518061066001601f825f031636823750506308c379a061060052602061062052601f19601f61064051011660440161061cfd5b610160604061016061048060045afa506105e0516101a052615a076106206157f2565b61062051615a74576017610640527f696e76616c69642061646d696e207369676e61747572650000000000000000006106605261064050610640518061066001601f825f031636823750506308c379a061060052602061062052601f19601f61064051011660440161061cfd5b426105e05160788101818110615df557905011615af057600f610620527f6c697374696e67206578706972656400000000000000000000000000000000006106405261062050610620518061064001601f825f031636823750506308c379a06105e052602061060052601f19601f6106205101166044016105fcfd5b610500516006610480516020525f5260405f205410615b6e57600f610620527f6c697374696e67207265766f6b656400000000000000000000000000000000006106405261062050610620518061064001601f825f031636823750506308c379a06105e052602061060052601f19601f6106205101166044016105fcfd5b565b61064051615b7f576001615b87565b426106205110155b615c9a576106405161066051808202811583838304141715615df55790509050612710810490506106a0526007610560516020525f5260405f208054610640516106a051808203828111615df55790509050808201828110615df557905090508155506008546106a051808201828110615df55790509050600855610540516106c052610560516106e05261058051610700526105a0516107205261050051610740526105e051610760526106005161078052610620516107a0525f6107c052610660516107e0526106805115615c8157610500516103605261052051610380526101406103a06101406106c060045afa50615c8161543b565b610140816101406106c060045afa5050615cab56615cab565b6101408161014061054060045afa50505b565b5f6040518160e001526020810190506060518160e001526020810190506080518160e0015260208101905060a0518160e001526020810190508060c05260c09050805160208201209050815250565b608051606051808202811583838304141715615df557905090506040518015615df55780820490509050815250565b6020615e7d5f395f5163a9059cbb60805260405160a05260605160c052602060806044609c5f855af1615d60573d5f5f3e3d5ffd5b60203d10615df5576080518060011c615df55760e05260e0905051615de1576013610100527f7472616e7366657246726f6d206661696c6564000000000000000000000000006101205261010050610100518061012001601f825f031636823750506308c379a060c052602060e052601f19601f61010051011660440160dcfd5b565b5f60056040516020525f5260405f2055565b5f80fd0283037950043c75475a03b750f9007a50f90058428e50f9001803d924ec50f950f92b1f077d18fc310650f9121a07ce138050f903f913a050f9079d50cb33fa50f913c0739eb4a5b180b66f2838da7879fdab5929d769f58bd0b6ff3d210818078ec86c000000000000000000000000f350533c3003f6a2df04656a81e911789a987faa0000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438100000000000000000000000056e6f1bffde5dccd9a183585ce31f2902fc52707000000000000000000000000c3aa9bc72bd623168860a1e5c6a4530d3d80456c00000000000000000000000097d03cd72905bd8d197ddd80762aa085352f108700000000000000000000000000000000000000000000000000000000000003e8

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

000000000000000000000000f350533c3003f6a2df04656a81e911789a987faa0000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438100000000000000000000000056e6f1bffde5dccd9a183585ce31f2902fc52707000000000000000000000000c3aa9bc72bd623168860a1e5c6a4530d3d80456c00000000000000000000000097d03cd72905bd8d197ddd80762aa085352f1087000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007d96cc26566bfca358c61fbe7be3ca771da7ea60000000000000000000000005723759d679662cf931d686f129e3296d9545190

-----Decoded View---------------
Arg [0] : _vault_impl_addr (address): 0xF350533c3003F6a2df04656a81E911789A987faA
Arg [1] : _payment_token_addr (address): 0x4d224452801ACEd8B2F0aebE155379bb5D594381
Arg [2] : _nft_contract_addr (address): 0x56e6F1BFFde5DCcd9A183585cE31f2902FC52707
Arg [3] : _delegation_registry_addr (address): 0xC3AA9bc72Bd623168860a1e5c6a4530d3D80456c
Arg [4] : _renting_erc721 (address): 0x97D03CD72905Bd8d197dDD80762AA085352F1087
Arg [5] : _staking_addr (address): 0x0000000000000000000000000000000000000000
Arg [6] : _max_protocol_fee (uint256): 1000
Arg [7] : _protocol_fee (uint256): 0
Arg [8] : _protocol_wallet (address): 0x07d96cC26566BFCA358C61fBe7be3Ca771Da7EA6
Arg [9] : _protocol_admin (address): 0x5723759D679662cf931d686f129E3296D9545190

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 000000000000000000000000f350533c3003f6a2df04656a81e911789a987faa
Arg [1] : 0000000000000000000000004d224452801aced8b2f0aebe155379bb5d594381
Arg [2] : 00000000000000000000000056e6f1bffde5dccd9a183585ce31f2902fc52707
Arg [3] : 000000000000000000000000c3aa9bc72bd623168860a1e5c6a4530d3d80456c
Arg [4] : 00000000000000000000000097d03cd72905bd8d197ddd80762aa085352f1087
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 00000000000000000000000007d96cc26566bfca358c61fbe7be3ca771da7ea6
Arg [9] : 0000000000000000000000005723759d679662cf931d686f129e3296d9545190


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  ]
[ 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.