ERC-20
Overview
Max Total Supply
5,000 ERC20 ***
Holders
1
Total Transfers
-
Market
Price
$0.00 @ 0.000000 S
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x5484E7f4...dFEfef92a The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SiloVault
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity 0.8.28;import {SafeCast} from "openzeppelin5/utils/math/SafeCast.sol";import {ERC4626, Math} from "openzeppelin5/token/ERC20/extensions/ERC4626.sol";import {IERC4626, IERC20, IERC20Metadata} from "openzeppelin5/interfaces/IERC4626.sol";import {Ownable2Step, Ownable} from "openzeppelin5/access/Ownable2Step.sol";import {ERC20Permit} from "openzeppelin5/token/ERC20/extensions/ERC20Permit.sol";import {Multicall} from "openzeppelin5/utils/Multicall.sol";import {ERC20} from "openzeppelin5/token/ERC20/ERC20.sol";import {SafeERC20} from "openzeppelin5/token/ERC20/utils/SafeERC20.sol";import {UtilsLib} from "morpho-blue/libraries/UtilsLib.sol";import {TokenHelper} from "silo-core/contracts/lib/TokenHelper.sol";import {MarketConfig,PendingUint192,PendingAddress,MarketAllocation,ISiloVaultBase,ISiloVaultStaticTyping} from "./interfaces/ISiloVault.sol";import {INotificationReceiver} from "./interfaces/INotificationReceiver.sol";import {IVaultIncentivesModule} from "./interfaces/IVaultIncentivesModule.sol";
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SafeCast.sol)// This file was procedurally generated from scripts/generate/templates/SafeCast.js.pragma solidity ^0.8.20;/*** @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow* checks.** Downcasting from uint256/int256 in Solidity does not revert on overflow. This can* easily result in undesired exploitation or bugs, since developers usually* assume that overflows raise errors. `SafeCast` restores this intuition by* reverting the transaction when such an operation overflows.** Using this library instead of the unchecked operations eliminates an entire* class of bugs, so it's recommended to use it always.*/library SafeCast {/*** @dev Value doesn't fit in an uint of `bits` size.*/error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);/*** @dev An int value doesn't fit in an uint of `bits` size.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC4626.sol)pragma solidity ^0.8.20;import {IERC20, IERC20Metadata, ERC20} from "../ERC20.sol";import {SafeERC20} from "../utils/SafeERC20.sol";import {IERC4626} from "../../../interfaces/IERC4626.sol";import {Math} from "../../../utils/math/Math.sol";/*** @dev Implementation of the ERC-4626 "Tokenized Vault Standard" as defined in* https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].** This extension allows the minting and burning of "shares" (represented using the ERC-20 inheritance) in exchange for* underlying "assets" through standardized {deposit}, {mint}, {redeem} and {burn} workflows. This contract extends* the ERC-20 standard. Any additional extensions included along it would affect the "shares" token represented by this* contract and not the "assets" token which is an independent contract.** [CAUTION]* ====* In empty (or nearly empty) ERC-4626 vaults, deposits are at high risk of being stolen through frontrunning* with a "donation" to the vault that inflates the price of a share. This is variously known as a donation or inflation* attack and is essentially a problem of slippage. Vault deployers can protect against this attack by making an initial* deposit of a non-trivial amount of the asset, such that price manipulation becomes infeasible. Withdrawals may* similarly be affected by slippage. Users can protect against this attack as well as unexpected slippage in general by
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC4626.sol)pragma solidity ^0.8.20;import {IERC20} from "../token/ERC20/IERC20.sol";import {IERC20Metadata} from "../token/ERC20/extensions/IERC20Metadata.sol";/*** @dev Interface of the ERC-4626 "Tokenized Vault Standard", as defined in* https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].*/interface IERC4626 is IERC20, IERC20Metadata {event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);event Withdraw(address indexed sender,address indexed receiver,address indexed owner,uint256 assets,uint256 shares);/*** @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol)pragma solidity ^0.8.20;import {Ownable} from "./Ownable.sol";/*** @dev Contract module which provides access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** This extension of the {Ownable} contract includes a two-step mechanism to transfer* ownership, where the new owner must call {acceptOwnership} in order to replace the* old one. This can help prevent common mistakes, such as transfers of ownership to* incorrect accounts, or to contracts that are unable to interact with the* permission system.** The initial owner is specified at deployment time in the constructor for `Ownable`. This* can later be changed with {transferOwnership} and {acceptOwnership}.** This module is used through inheritance. It will make available all functions* from parent (Ownable).*/abstract contract Ownable2Step is Ownable {address private _pendingOwner;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Permit.sol)pragma solidity ^0.8.20;import {IERC20Permit} from "./IERC20Permit.sol";import {ERC20} from "../ERC20.sol";import {ECDSA} from "../../../utils/cryptography/ECDSA.sol";import {EIP712} from "../../../utils/cryptography/EIP712.sol";import {Nonces} from "../../../utils/Nonces.sol";/*** @dev Implementation of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in* https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].** Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't* need to send a transaction, and thus is not required to hold Ether at all.*/abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces {bytes32 private constant PERMIT_TYPEHASH =keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");/*** @dev Permit deadline has expired.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.1) (utils/Multicall.sol)pragma solidity ^0.8.20;import {Address} from "./Address.sol";import {Context} from "./Context.sol";/*** @dev Provides a function to batch together multiple calls in a single external call.** Consider any assumption about calldata validation performed by the sender may be violated if it's not especially* careful about sending transactions invoking {multicall}. For example, a relay address that filters function* selectors won't filter calls nested within a {multicall} operation.** NOTE: Since 5.0.1 and 4.9.4, this contract identifies non-canonical contexts (i.e. `msg.sender` is not {_msgSender}).* If a non-canonical context is identified, the following self `delegatecall` appends the last bytes of `msg.data`* to the subcall. This makes it safe to use with {ERC2771Context}. Contexts that don't affect the resolution of* {_msgSender} are not propagated to subcalls.*/abstract contract Multicall is Context {/*** @dev Receives and executes a batch of function calls on this contract.* @custom:oz-upgrades-unsafe-allow-reachable delegatecall*/function multicall(bytes[] calldata data) external virtual returns (bytes[] memory results) {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)pragma solidity ^0.8.20;import {IERC20} from "./IERC20.sol";import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";import {Context} from "../../utils/Context.sol";import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";/*** @dev Implementation of the {IERC20} interface.** This implementation is agnostic to the way tokens are created. This means* that a supply mechanism has to be added in a derived contract using {_mint}.** TIP: For a detailed writeup see our guide* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How* to implement supply mechanisms].** The default value of {decimals} is 18. To change this, you should override* this function so it returns a different value.** We have followed general OpenZeppelin Contracts guidelines: functions revert* instead returning `false` on failure. This behavior is nonetheless* conventional and does not conflict with the expectations of ERC-20
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)pragma solidity ^0.8.20;import {IERC20} from "../IERC20.sol";import {IERC1363} from "../../../interfaces/IERC1363.sol";import {Address} from "../../../utils/Address.sol";/*** @title SafeERC20* @dev Wrappers around ERC-20 operations that throw on failure (when the token* contract returns false). Tokens that return no value (and instead revert or* throw on failure) are also supported, non-reverting calls are assumed to be* successful.* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.*/library SafeERC20 {using Address for address;/*** @dev An operation with an ERC-20 token failed.*/error SafeERC20FailedOperation(address token);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.0;import {ErrorsLib} from "../libraries/ErrorsLib.sol";/// @title UtilsLib/// @author Morpho Labs/// @custom:contact security@morpho.org/// @notice Library exposing helpers./// @dev Inspired by https://github.com/morpho-org/morpho-utils.library UtilsLib {/// @dev Returns true if there is exactly one zero among `x` and `y`.function exactlyOneZero(uint256 x, uint256 y) internal pure returns (bool z) {assembly {z := xor(iszero(x), iszero(y))}}/// @dev Returns the min of `x` and `y`.function min(uint256 x, uint256 y) internal pure returns (uint256 z) {assembly {z := xor(x, mul(xor(x, y), lt(y, x)))}}/// @dev Returns `x` safely cast to uint128.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.28;import {IERC20Metadata} from "openzeppelin5/token/ERC20/extensions/IERC20Metadata.sol";import {IsContract} from "./IsContract.sol";library TokenHelper {uint256 private constant _BYTES32_SIZE = 32;error TokenIsNotAContract();function assertAndGetDecimals(address _token) internal view returns (uint256) {(bool hasMetadata, bytes memory data) =_tokenMetadataCall(_token, abi.encodeCall(IERC20Metadata.decimals, ()));// decimals() is optional in the ERC20 standard, so if metadata is not accessible// we assume there are no decimals and use 0.if (!hasMetadata) {return 0;}return abi.decode(data, (uint8));}/// @dev Returns the symbol for the provided ERC20 token.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity >=0.5.0;import {IERC20Permit} from "openzeppelin5/token/ERC20/extensions/ERC20Permit.sol";import {IERC4626} from "openzeppelin5/interfaces/IERC4626.sol";import {MarketConfig, PendingUint192, PendingAddress} from "../libraries/PendingLib.sol";import {IVaultIncentivesModule} from "./IVaultIncentivesModule.sol";struct MarketAllocation {/// @notice The market to allocate.IERC4626 market;/// @notice The amount of assets to allocate.uint256 assets;}interface IMulticall {function multicall(bytes[] calldata) external returns (bytes[] memory);}interface IOwnable {function owner() external view returns (address);function transferOwnership(address) external;function renounceOwnership() external;function acceptOwnership() external;function pendingOwner() external view returns (address);
12345678910111213141516171819202122// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity >=0.5.0;/// @title Notification Receiver interfaceinterface INotificationReceiver {/// @notice Called after a token transfer./// @dev Notifies the solution about the token transfer./// @param _sender address empty on mint/// @param _senderBalance uint256 sender balance AFTER token transfer/// @param _recipient address empty on burn/// @param _recipientBalance uint256 recipient balance AFTER token transfer/// @param _totalSupply uint256 totalSupply AFTER token transfer/// @param _amount uint256 transfer amountfunction afterTokenTransfer(address _sender,uint256 _senderBalance,address _recipient,uint256 _recipientBalance,uint256 _totalSupply,uint256 _amount) external;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity >=0.5.0;import {IERC4626} from "openzeppelin5/interfaces/IERC4626.sol";import {IIncentivesClaimingLogic} from "./IIncentivesClaimingLogic.sol";import {INotificationReceiver} from "./INotificationReceiver.sol";/// @title Vault Incentives Module interfaceinterface IVaultIncentivesModule {event IncentivesClaimingLogicAdded(IERC4626 indexed market, IIncentivesClaimingLogic logic);event IncentivesClaimingLogicRemoved(IERC4626 indexed market, IIncentivesClaimingLogic logic);event SubmitIncentivesClaimingLogic(IERC4626 indexed market, IIncentivesClaimingLogic logic);event RevokePendingClaimingLogic(IERC4626 indexed market, IIncentivesClaimingLogic logic);event NotificationReceiverAdded(address notificationReceiver);event NotificationReceiverRemoved(address notificationReceiver);error AddressZero();error LogicAlreadyAdded();error LogicNotFound();error LogicAlreadyPending();error LogicNotPending();error CantAcceptLogic();error NotificationReceiverAlreadyAdded();error NotificationReceiverNotFound();error MarketAlreadySet();
123456789101112// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity >=0.5.0;/// @title Incentives Claiming Logic interfaceinterface IIncentivesClaimingLogic {error VaultIncentivesControllerZeroAddress();error SiloIncentivesControllerZeroAddress();/// @notice Claim and distribute rewards to the vault./// @dev Can claim rewards from multiple sources and distribute them to the vault users.function claimRewardsAndDistribute() external;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.28;struct MarketConfig {/// @notice The maximum amount of assets that can be allocated to the market.uint184 cap;/// @notice Whether the market is in the withdraw queue.bool enabled;/// @notice The timestamp at which the market can be instantly removed from the withdraw queue.uint64 removableAt;}struct PendingUint192 {/// @notice The pending value to set.uint192 value;/// @notice The timestamp at which the pending value becomes valid.uint64 validAt;}struct PendingAddress {/// @notice The pending value to set.address value;/// @notice The timestamp at which the pending value becomes valid.uint64 validAt;}
123456789101112131415161718192021// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.28;/// @title ConstantsLib/// @dev Forked with gratitude from Morpho Labs./// @author Silo Labs/// @custom:contact security@silo.finance/// @notice Library exposing constants.library ConstantsLib {/// @dev The maximum delay of a timelock.uint256 internal constant MAX_TIMELOCK = 2 weeks;/// @dev The minimum delay of a timelock.uint256 internal constant MIN_TIMELOCK = 1 seconds;/// @dev The maximum number of markets in the supply/withdraw queue.uint256 internal constant MAX_QUEUE_LENGTH = 30;/// @dev The maximum fee the vault can have (50%).uint256 internal constant MAX_FEE = 0.5e18;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.28;import {IERC4626} from "openzeppelin5/interfaces/IERC4626.sol";/// @title ErrorsLib/// @dev Forked with gratitude from Morpho Labs./// @author Silo Labs/// @custom:contact security@silo.finance/// @notice Library exposing error messages.library ErrorsLib {/// @notice Thrown when asset decimals is too bigerror NotSupportedDecimals();/// @notice Thrown when deposit generates zero shareserror InputZeroShares();/// @notice Thrown on OutOfGas or revert() without any dataerror PossibleOutOfGas();/// @notice Thrown on reentering token transfer while notification are being dispatchederror NotificationDispatchError();/// @notice Thrown on reenteringerror ReentrancyError();
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.28;import {IERC4626} from "openzeppelin5/interfaces/IERC4626.sol";import {PendingAddress} from "./PendingLib.sol";import {ISiloVault} from "../interfaces/ISiloVault.sol";import {FlowCapsConfig} from "../interfaces/IPublicAllocator.sol";/// @title EventsLib/// @dev Forked with gratitude from Morpho Labs./// @author Silo Labs/// @custom:contact security@silo.finance/// @notice Library exposing events.library EventsLib {/// @notice Emitted when a pending `newTimelock` is submitted.event SubmitTimelock(uint256 newTimelock);/// @notice Emitted when `timelock` is set to `newTimelock`.event SetTimelock(address indexed caller, uint256 newTimelock);/// @notice Emitted `fee` is set to `newFee`.event SetFee(address indexed caller, uint256 newFee);/// @notice Emitted when a new `newFeeRecipient` is set.event SetFeeRecipient(address indexed newFeeRecipient);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.28;import {IERC4626} from "openzeppelin5/interfaces/IERC4626.sol";import {UtilsLib} from "morpho-blue/libraries/UtilsLib.sol";import {ErrorsLib} from "./ErrorsLib.sol";import {EventsLib} from "./EventsLib.sol";library SiloVaultActionsLib {function setIsAllocator(address _newAllocator,bool _newIsAllocator,mapping(address => bool) storage _isAllocator) external {if (_isAllocator[_newAllocator] == _newIsAllocator) revert ErrorsLib.AlreadySet();_isAllocator[_newAllocator] = _newIsAllocator;emit EventsLib.SetIsAllocator(_newAllocator, _newIsAllocator);}/// @dev Simulates a withdraw of `assets` from ERC4626 vault./// @return The remaining assets to be withdrawn.function simulateWithdrawERC4626(uint256 _assets,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)pragma solidity ^0.8.20;import {Panic} from "../Panic.sol";import {SafeCast} from "./SafeCast.sol";/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Floor, // Toward negative infinityCeil, // Toward positive infinityTrunc, // Toward zeroExpand // Away from zero}/*** @dev Returns the addition of two unsigned integers, with an success flag (no overflow).*/function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {unchecked {uint256 c = a + b;if (c < a) return (false, 0);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC-20 standard as defined in the ERC.*/interface IERC20 {/*** @dev Emitted when `value` tokens are moved from one account (`from`) to* another (`to`).** Note that `value` may be zero.*/event Transfer(address indexed from, address indexed to, uint256 value);/*** @dev Emitted when the allowance of a `spender` for an `owner` is set by* a call to {approve}. `value` is the new allowance.*/event Approval(address indexed owner, address indexed spender, uint256 value);/*** @dev Returns the value of tokens in existence.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)pragma solidity ^0.8.20;import {IERC20} from "../IERC20.sol";/*** @dev Interface for the optional metadata functions from the ERC-20 standard.*/interface IERC20Metadata is IERC20 {/*** @dev Returns the name of the token.*/function name() external view returns (string memory);/*** @dev Returns the symbol of the token.*/function symbol() external view returns (string memory);/*** @dev Returns the decimals places of the token.*/function decimals() external view returns (uint8);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)pragma solidity ^0.8.20;import {Context} from "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** The initial owner is set to the address provided by the deployer. This can* later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/abstract contract Ownable is Context {address private _owner;/*** @dev The caller account is not authorized to perform an operation.*/error OwnableUnauthorizedAccount(address account);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in* https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].** Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't* need to send a transaction, and thus is not required to hold Ether at all.** ==== Security Considerations** There are two important considerations concerning the use of `permit`. The first is that a valid permit signature* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be* considered as an intention to spend the allowance in any specific way. The second is that because permits have* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be* generally recommended is:** ```solidity* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}* doThing(..., value);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)pragma solidity ^0.8.20;/*** @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.** These functions can be used to verify that a message was signed by the holder* of the private keys of a given address.*/library ECDSA {enum RecoverError {NoError,InvalidSignature,InvalidSignatureLength,InvalidSignatureS}/*** @dev The signature derives the `address(0)`.*/error ECDSAInvalidSignature();/*** @dev The signature has an invalid length.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol)pragma solidity ^0.8.20;import {MessageHashUtils} from "./MessageHashUtils.sol";import {ShortStrings, ShortString} from "../ShortStrings.sol";import {IERC5267} from "../../interfaces/IERC5267.sol";/*** @dev https://eips.ethereum.org/EIPS/eip-712[EIP-712] is a standard for hashing and signing of typed structured data.** The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose* encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract* does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to* produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.** This contract implements the EIP-712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA* ({_hashTypedDataV4}).** The implementation of the domain separator was designed to be as efficient as possible while still properly updating* the chain id to protect against replay attacks on an eventual fork of the chain.** NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)pragma solidity ^0.8.20;/*** @dev Provides tracking nonces for addresses. Nonces will only increment.*/abstract contract Nonces {/*** @dev The nonce used for an `account` is not the expected current nonce.*/error InvalidAccountNonce(address account, uint256 currentNonce);mapping(address account => uint256) private _nonces;/*** @dev Returns the next unused nonce for an address.*/function nonces(address owner) public view virtual returns (uint256) {return _nonces[owner];}/*** @dev Consumes a nonce.** Returns the current value and increments nonce.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)pragma solidity ^0.8.20;import {Errors} from "./Errors.sol";/*** @dev Collection of functions related to the address type*/library Address {/*** @dev There's no code at `target` (it is not a contract).*/error AddressEmptyCode(address target);/*** @dev Replacement for Solidity's `transfer`: sends `amount` wei to* `recipient`, forwarding all available gas and reverting on errors.** https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost* of certain opcodes, possibly making contracts go over the 2300 gas limit* imposed by `transfer`, making them unable to receive funds via* `transfer`. {sendValue} removes this limitation.** https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)pragma solidity ^0.8.20;/*** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}function _msgData() internal view virtual returns (bytes calldata) {return msg.data;}function _contextSuffixLength() internal view virtual returns (uint256) {return 0;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)pragma solidity ^0.8.20;/*** @dev Standard ERC-20 Errors* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.*/interface IERC20Errors {/*** @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.* @param sender Address whose tokens are being transferred.* @param balance Current balance for the interacting account.* @param needed Minimum amount required to perform a transfer.*/error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);/*** @dev Indicates a failure with the token `sender`. Used in transfers.* @param sender Address whose tokens are being transferred.*/error ERC20InvalidSender(address sender);/*** @dev Indicates a failure with the token `receiver`. Used in transfers.* @param receiver Address to which tokens are being transferred.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1363.sol)pragma solidity ^0.8.20;import {IERC20} from "./IERC20.sol";import {IERC165} from "./IERC165.sol";/*** @title IERC1363* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].** Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.*/interface IERC1363 is IERC20, IERC165 {/** Note: the ERC-165 identifier for this interface is 0xb0202a11.* 0xb0202a11 ===* bytes4(keccak256('transferAndCall(address,uint256)')) ^* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^* bytes4(keccak256('approveAndCall(address,uint256)')) ^* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.0;/// @title ErrorsLib/// @author Morpho Labs/// @custom:contact security@morpho.org/// @notice Library exposing error messages.library ErrorsLib {/// @notice Thrown when the caller is not the owner.string internal constant NOT_OWNER = "not owner";/// @notice Thrown when the LLTV to enable exceeds the maximum LLTV.string internal constant MAX_LLTV_EXCEEDED = "max LLTV exceeded";/// @notice Thrown when the fee to set exceeds the maximum fee.string internal constant MAX_FEE_EXCEEDED = "max fee exceeded";/// @notice Thrown when the value is already set.string internal constant ALREADY_SET = "already set";/// @notice Thrown when the IRM is not enabled at market creation.string internal constant IRM_NOT_ENABLED = "IRM not enabled";/// @notice Thrown when the LLTV is not enabled at market creation.string internal constant LLTV_NOT_ENABLED = "LLTV not enabled";
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;library IsContract {/*** @dev Returns true if `account` is a contract.** [IMPORTANT]* ====* It is unsafe to assume that an address for which this function returns* false is an externally-owned account (EOA) and not a contract.** Among others, `isContract` will return false for the following* types of addresses:** - an externally-owned account* - a contract in construction* - an address where a contract will be created* - an address where a contract lived, but was destroyed** Furthermore, `isContract` will also return true if the target contract within* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,* which only has an effect at the end of a transaction.* ====** [IMPORTANT]
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity >=0.5.0;import {IERC4626} from "openzeppelin5/interfaces/IERC4626.sol";import {ISiloVault} from "./ISiloVault.sol";/// @dev Max settable flow cap, such that caps can always be stored on 128 bits./// @dev The actual max possible flow cap is type(uint128).max / 2uint128 constant MAX_SETTABLE_FLOW_CAP = type(uint128).max / 2;struct FlowCaps {/// @notice The maximum allowed inflow in a market.uint128 maxIn;/// @notice The maximum allowed outflow in a market.uint128 maxOut;}struct FlowCapsConfig {/// @notice Market for which to change flow caps.IERC4626 market;/// @notice New flow caps for this market.FlowCaps caps;}struct Withdrawal {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.20;/*** @dev Helper library for emitting standardized panic codes.** ```solidity* contract Example {* using Panic for uint256;** // Use any of the declared internal constants* function foo() { Panic.GENERIC.panic(); }** // Alternatively* function foo() { Panic.panic(Panic.GENERIC); }* }* ```** Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].*/// slither-disable-next-line unused-statelibrary Panic {/// @dev generic / unspecified erroruint256 internal constant GENERIC = 0x00;/// @dev used by the assert() builtin
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)pragma solidity ^0.8.20;import {Strings} from "../Strings.sol";/*** @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.** The library provides methods for generating a hash of a message that conforms to the* https://eips.ethereum.org/EIPS/eip-191[ERC-191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]* specifications.*/library MessageHashUtils {/*** @dev Returns the keccak256 digest of an ERC-191 signed data with version* `0x45` (`personal_sign` messages).** The digest is calculated by prefixing a bytes32 `messageHash` with* `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.** NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with* keccak256, although any bytes32 value can be safely used because the final digest will* be re-hashed.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol)pragma solidity ^0.8.20;import {StorageSlot} from "./StorageSlot.sol";// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |// | length | 0x BB |type ShortString is bytes32;/*** @dev This library provides functions to convert short memory strings* into a `ShortString` type that can be used as an immutable variable.** Strings of arbitrary length can be optimized using this library if* they are short enough (up to 31 bytes) by packing them with their* length (1 byte) in a single EVM word (32 bytes). Additionally, a* fallback mechanism can be used for every other case.** Usage example:** ```solidity* contract Named {* using ShortStrings for *;*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)pragma solidity ^0.8.20;interface IERC5267 {/*** @dev MAY be emitted to signal that the domain could have changed.*/event EIP712DomainChanged();/*** @dev returns the fields and values that describe the domain separator used by this contract for EIP-712* signature.*/function eip712Domain()externalviewreturns (bytes1 fields,string memory name,string memory version,uint256 chainId,address verifyingContract,bytes32 salt,uint256[] memory extensions
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.20;/*** @dev Collection of common custom errors used in multiple contracts** IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.* It is recommended to avoid relying on the error API for critical functionality.*/library Errors {/*** @dev The ETH balance of the account is not enough to perform the operation.*/error InsufficientBalance(uint256 balance, uint256 needed);/*** @dev A call to an address target failed. The target may have reverted.*/error FailedCall();/*** @dev The deployment failed.*/error FailedDeployment();}
123456// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)pragma solidity ^0.8.20;import {IERC20} from "../token/ERC20/IERC20.sol";
123456// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)pragma solidity ^0.8.20;import {IERC165} from "../utils/introspection/IERC165.sol";
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)pragma solidity ^0.8.20;import {Math} from "./math/Math.sol";import {SignedMath} from "./math/SignedMath.sol";/*** @dev String operations.*/library Strings {bytes16 private constant HEX_DIGITS = "0123456789abcdef";uint8 private constant ADDRESS_LENGTH = 20;/*** @dev The `value` string doesn't fit in the specified `length`.*/error StringsInsufficientHexLength(uint256 value, uint256 length);/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.pragma solidity ^0.8.20;/*** @dev Library for reading and writing primitive types to specific storage slots.** Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.* This library helps with reading and writing to such slots without the need for inline assembly.** The functions in this library return Slot structs that contain a `value` member that can be used to read or write.** Example usage to set ERC-1967 implementation slot:* ```solidity* contract ERC1967 {* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;** function _getImplementation() internal view returns (address) {* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;* }** function _setImplementation(address newImplementation) internal {* require(newImplementation.code.length > 0);* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
12345678910111213141516171819202122232425// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC-165 standard, as defined in the* https://eips.ethereum.org/EIPS/eip-165[ERC].** Implementers can declare support of contract interfaces, which can then be* queried by others ({ERC165Checker}).** For an implementation, see {ERC165}.*/interface IERC165 {/*** @dev Returns true if this contract implements the interface defined by* `interfaceId`. See the corresponding* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]* to learn more about how these ids are created.** This function call must use less than 30 000 gas.*/function supportsInterface(bytes4 interfaceId) external view returns (bool);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)pragma solidity ^0.8.20;/*** @dev Standard signed math utilities missing in the Solidity language.*/library SignedMath {/*** @dev Returns the largest of two signed numbers.*/function max(int256 a, int256 b) internal pure returns (int256) {return a > b ? a : b;}/*** @dev Returns the smallest of two signed numbers.*/function min(int256 a, int256 b) internal pure returns (int256) {return a < b ? a : b;}/*** @dev Returns the average of two signed numbers without overflow.* The result is rounded towards zero.
1234567891011121314151617181920212223242526{"remappings": ["forge-std/=gitmodules/forge-std/src/","silo-foundry-utils/=gitmodules/silo-foundry-utils/contracts/","properties/=gitmodules/crytic/properties/contracts/","silo-core/=silo-core/","silo-oracles/=silo-oracles/","silo-vaults/=silo-vaults/","ve-silo/=ve-silo/","@openzeppelin/=gitmodules/openzeppelin-contracts-5/contracts/","morpho-blue/=gitmodules/morpho-blue/src/","openzeppelin5/=gitmodules/openzeppelin-contracts-5/contracts/","openzeppelin5-upgradeable/=gitmodules/openzeppelin-contracts-upgradeable-5/contracts/","chainlink/=gitmodules/chainlink/contracts/src/","chainlink-ccip/=gitmodules/chainlink-ccip/contracts/src/","uniswap/=gitmodules/uniswap/","@uniswap/v3-core/=gitmodules/uniswap/v3-core/","balancer-labs/v2-solidity-utils/=external/balancer-v2-monorepo/pkg/solidity-utils/contracts/","balancer-labs/v2-interfaces/=external/balancer-v2-monorepo/pkg/interfaces/contracts/","balancer-labs/v2-liquidity-mining/=external/balancer-v2-monorepo/pkg/liquidity-mining/contracts/","pyth-sdk-solidity/=gitmodules/pyth-sdk-solidity/target_chains/ethereum/sdk/solidity/","@balancer-labs/=node_modules/@balancer-labs/","@ensdomains/=node_modules/@ensdomains/","@openzeppelin/contracts-upgradeable/=gitmodules/openzeppelin-contracts-upgradeable-5/contracts/","@openzeppelin/contracts/=gitmodules/openzeppelin-contracts-5/contracts/","@solidity-parser/=node_modules/prettier-plugin-solidity/node_modules/@solidity-parser/",
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_initialTimelock","type":"uint256"},{"internalType":"contract IVaultIncentivesModule","name":"_vaultIncentivesModule","type":"address"},{"internalType":"address","name":"_asset","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AboveMaxTimelock","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[],"name":"AllCapsReached","type":"error"},{"inputs":[],"name":"AlreadyPending","type":"error"},{"inputs":[],"name":"AlreadySet","type":"error"},{"inputs":[{"internalType":"uint256","name":"loss","type":"uint256"}],"name":"AssetLoss","type":"error"},{"inputs":[],"name":"BelowMinTimelock","type":"error"},{"inputs":[],"name":"ClaimRewardsFailed","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"DuplicateMarket","type":"error"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxDeposit","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxMint","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxRedeem","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxWithdraw","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"InconsistentAsset","type":"error"},{"inputs":[],"name":"InconsistentReallocation","type":"error"},{"inputs":[],"name":"InputZeroShares","type":"error"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"InvalidMarketRemovalNonZeroCap","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"InvalidMarketRemovalNonZeroSupply","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"InvalidMarketRemovalTimelockNotElapsed","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"MarketNotEnabled","type":"error"},{"inputs":[],"name":"MaxFeeExceeded","type":"error"},{"inputs":[],"name":"MaxQueueLengthExceeded","type":"error"},{"inputs":[],"name":"NoPendingValue","type":"error"},{"inputs":[],"name":"NonZeroCap","type":"error"},{"inputs":[],"name":"NotAllocatorRole","type":"error"},{"inputs":[],"name":"NotCuratorNorGuardianRole","type":"error"},{"inputs":[],"name":"NotCuratorRole","type":"error"},{"inputs":[],"name":"NotEnoughLiquidity","type":"error"},{"inputs":[],"name":"NotGuardianRole","type":"error"},{"inputs":[],"name":"NotSupportedDecimals","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"PendingCap","type":"error"},{"inputs":[],"name":"PendingRemoval","type":"error"},{"inputs":[],"name":"ReentrancyError","type":"error"},{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SafeCastOverflowedUintDowncast","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"SupplyCapExceeded","type":"error"},{"inputs":[],"name":"TimelockNotElapsed","type":"error"},{"inputs":[],"name":"TokenIsNotAContract","type":"error"},{"inputs":[{"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"UnauthorizedMarket","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroAssets","type":"error"},{"inputs":[],"name":"ZeroFeeRecipient","type":"error"},{"inputs":[],"name":"ZeroShares","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTotalAssets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeShares","type":"uint256"}],"name":"AccrueInterest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"contract IERC4626","name":"market","type":"address"},{"indexed":false,"internalType":"uint256","name":"suppliedAssets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"suppliedShares","type":"uint256"}],"name":"ReallocateSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"contract IERC4626","name":"market","type":"address"},{"indexed":false,"internalType":"uint256","name":"withdrawnAssets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"withdrawnShares","type":"uint256"}],"name":"ReallocateWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"RevokePendingCap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"RevokePendingGuardian","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"RevokePendingMarketRemoval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"RevokePendingTimelock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"contract IERC4626","name":"market","type":"address"},{"indexed":false,"internalType":"uint256","name":"cap","type":"uint256"}],"name":"SetCap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newCurator","type":"address"}],"name":"SetCurator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"SetFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newFeeRecipient","type":"address"}],"name":"SetFeeRecipient","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"guardian","type":"address"}],"name":"SetGuardian","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"contract IERC4626[]","name":"newSupplyQueue","type":"address[]"}],"name":"SetSupplyQueue","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"newTimelock","type":"uint256"}],"name":"SetTimelock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"contract IERC4626[]","name":"newWithdrawQueue","type":"address[]"}],"name":"SetWithdrawQueue","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"contract IERC4626","name":"market","type":"address"},{"indexed":false,"internalType":"uint256","name":"cap","type":"uint256"}],"name":"SubmitCap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newGuardian","type":"address"}],"name":"SubmitGuardian","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"contract IERC4626","name":"market","type":"address"}],"name":"SubmitMarketRemoval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTimelock","type":"uint256"}],"name":"SubmitTimelock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"updatedTotalAssets","type":"uint256"}],"name":"UpdateLastTotalAssets","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DECIMALS_OFFSET","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INCENTIVES_MODULE","outputs":[{"internalType":"contract IVaultIncentivesModule","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC4626","name":"_market","type":"address"}],"name":"acceptCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"asset","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC4626","name":"","type":"address"}],"name":"config","outputs":[{"internalType":"uint184","name":"cap","type":"uint184"},{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"uint64","name":"removableAt","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"convertToAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"convertToShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"curator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_assets","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAllocator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTotalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"maxRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"maxWithdraw","outputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC4626","name":"","type":"address"}],"name":"pendingCap","outputs":[{"internalType":"uint192","name":"value","type":"uint192"},{"internalType":"uint64","name":"validAt","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGuardian","outputs":[{"internalType":"address","name":"value","type":"address"},{"internalType":"uint64","name":"validAt","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingTimelock","outputs":[{"internalType":"uint192","name":"value","type":"uint192"},{"internalType":"uint64","name":"validAt","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"contract IERC4626","name":"market","type":"address"},{"internalType":"uint256","name":"assets","type":"uint256"}],"internalType":"struct MarketAllocation[]","name":"_allocations","type":"tuple[]"}],"name":"reallocate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reentrancyGuardEntered","outputs":[{"internalType":"bool","name":"entered","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC4626","name":"_market","type":"address"}],"name":"revokePendingCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokePendingGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC4626","name":"_market","type":"address"}],"name":"revokePendingMarketRemoval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokePendingTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCurator","type":"address"}],"name":"setCurator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newFeeRecipient","type":"address"}],"name":"setFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAllocator","type":"address"},{"internalType":"bool","name":"_newIsAllocator","type":"bool"}],"name":"setIsAllocator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC4626[]","name":"_newSupplyQueue","type":"address[]"}],"name":"setSupplyQueue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC4626","name":"_market","type":"address"},{"internalType":"uint256","name":"_newSupplyCap","type":"uint256"}],"name":"submitCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newGuardian","type":"address"}],"name":"submitGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC4626","name":"_market","type":"address"}],"name":"submitMarketRemoval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTimelock","type":"uint256"}],"name":"submitTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyQueue","outputs":[{"internalType":"contract IERC4626","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyQueueLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_indexes","type":"uint256[]"}],"name":"updateWithdrawQueue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_assets","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawQueue","outputs":[{"internalType":"contract IERC4626","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawQueueLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101e0604052348015610010575f5ffd5b5060405161596838038061596883398101604081905261002f9161065d565b858280604051806040016040528060018152602001603160f81b815250868686816003908161005e9190610787565b50600461006b8282610787565b5050505f5f61007f8361024d60201b60201c565b915091508161008f576012610091565b805b60ff1660a05250506001600160a01b03166080526100b0826005610323565b610160526100bf816006610323565b61018052815160208084019190912061012052815190820120610140524660e05261014d6101205161014051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60c05250503061010052506001600160a01b03811661018657604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61018f81610355565b506001600160a01b0383166101b75760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0384166101de5760405163d92e233d60e01b815260040160405180910390fd5b5f6101e884610371565b9050601281111561020c5760405163258e86f160e11b815260040160405180910390fd5b61021b60158280821191030290565b60ff166101a05261022b866103e1565b61023486610427565b505050506001600160a01b03166101c052506108ed9050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b0387169161029391610841565b5f60405180830381855afa9150503d805f81146102cb576040519150601f19603f3d011682016040523d82523d5f602084013e6102d0565b606091505b50915091508180156102e457506020815110155b15610317575f818060200190518101906102fe9190610857565b905060ff8111610315576001969095509350505050565b505b505f9485945092505050565b5f60208351101561033e5761033783610468565b905061034f565b816103498482610787565b5060ff90505b92915050565b600980546001600160a01b031916905561036e816104a5565b50565b6040805160048152602481019091526020810180516001600160e01b0390811663313ce56760e01b179091525f91829182916103b0918691906104f616565b91509150816103c257505f9392505050565b808060200190518101906103d6919061086e565b60ff16949350505050565b62127500811115610405576040516346fedb5760e01b815260040160405180910390fd5b600181101561036e57604051631a1593df60e11b815260040160405180910390fd5b600e81905560405181815233907fd28e9b90ee9b37c5936ff84392d71f29ff18117d7e76bcee60615262a90a3f759060200160405180910390a2505f601155565b5f5f829050601f81511115610492578260405163305a27a960e01b815260040161017d9190610895565b805161049d826108ca565b179392505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f60606001600160a01b0384163b610521576040516373d39f9d60e01b815260040160405180910390fd5b5f5f856001600160a01b03168560405161053b9190610841565b5f60405180830381855afa9150503d805f8114610573576040519150601f19603f3d011682016040523d82523d5f602084013e610578565b606091505b50915091508161059d575f60405180602001604052805f8152509350935050506105a5565b600193509150505b9250929050565b6001600160a01b038116811461036e575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126105e3575f5ffd5b81516001600160401b038111156105fc576105fc6105c0565b604051601f8201601f19908116603f011681016001600160401b038111828210171561062a5761062a6105c0565b604052818152838201602001851015610641575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f5f60c08789031215610672575f5ffd5b865161067d816105ac565b602088015160408901519197509550610695816105ac565b60608801519094506106a6816105ac565b60808801519093506001600160401b038111156106c1575f5ffd5b6106cd89828a016105d4565b60a089015190935090506001600160401b038111156106ea575f5ffd5b6106f689828a016105d4565b9150509295509295509295565b600181811c9082168061071757607f821691505b60208210810361073557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561078257805f5260205f20601f840160051c810160208510156107605750805b601f840160051c820191505b8181101561077f575f815560010161076c565b50505b505050565b81516001600160401b038111156107a0576107a06105c0565b6107b4816107ae8454610703565b8461073b565b6020601f8211600181146107e6575f83156107cf5750848201515b5f19600385901b1c1916600184901b17845561077f565b5f84815260208120601f198516915b8281101561081557878501518255602094850194600190920191016107f5565b508482101561083257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f60208284031215610867575f5ffd5b5051919050565b5f6020828403121561087e575f5ffd5b815160ff8116811461088e575f5ffd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80516020808301519190811015610735575f1960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051614fcd61099b5f395f8181610a6901528181612aa5015261437f01525f81816108830152818161342a015261356b01525f61314001525f61311301525f6129af01525f61298701525f6128e201525f61290c01525f61293601525f50505f818161055b01528181612558015281816130780152818161377f0152613ce10152614fcd5ff3fe608060405234801561000f575f5ffd5b5060043610610417575f3560e01c80638a2c7b3911610221578063c6e6f5921161012a578063e30c3978116100b4578063ee7a4b3311610084578063ee7a4b3314610a2b578063ef8b30f714610917578063f2fde38b14610a3e578063f7d1852114610a51578063fadbdada14610a64575f5ffd5b8063e30c3978146109e1578063e66f53b7146109f2578063e74b981b14610a05578063e90956cf14610a18575f5ffd5b8063d33219b4116100fa578063d33219b41461094f578063d505accf14610958578063d905777e1461096b578063dd62ed3e1461097e578063ddca3f43146109b6575f5ffd5b8063c6e6f59214610917578063c9649aa91461092a578063ce96cb7714610932578063d2c725e014610945575f5ffd5b8063ac88990c116101ab578063b3d7f6b91161017b578063b3d7f6b9146108b8578063b460af94146108cb578063ba087652146108de578063be9c5800146108f1578063c63d75b614610904575f5ffd5b8063ac88990c1461084b578063ac9650d81461085e578063aea70acc1461087e578063b192a84a146108a5575f5ffd5b8063987ee783116101f1578063987ee783146107db5780639d6b4a4514610815578063a17b313014610828578063a5f31d6114610830578063a9059cbb14610838575f5ffd5b80638a2c7b39146107a75780638da5cb5b146107af57806394bf804d146107c057806395d89b41146107d3575f5ffd5b8063469048401161032357806370a08231116102ad57806379ba50971161027d57806379ba5097146107125780637cc4d9a11461071a5780637ecebe001461076657806381bc23a61461077957806384b0196e1461078c575f5ffd5b806370a0823114610683578063715018a6146106ab5780637224a512146106b3578063762c31ba146106c6575f5ffd5b8063568efc07116102f3578063568efc071461062e5780635897a06d1461063757806362518ddf1461064a57806369fe0e2d1461065d5780636e553f6514610670575f5ffd5b806346904840146105df5780634cdad5061461044b5780634dedf20e146105f95780634e083eb31461061b575f5ffd5b8063313ce567116103a457806338d52e0f1161037457806338d52e0f146105595780633a72efdf14610593578063402d267d146105a657806341b67833146105b9578063452a9320146105cc575f5ffd5b8063313ce5671461052c57806333f91ebb146105415780633644e51514610549578063372500ab14610551575f5ffd5b80630a28a477116103ea5780630a28a477146104815780630e68ec951461049457806318160ddd146105075780631ecca77c1461050f57806323b872dd14610519575f5ffd5b806301e1d1141461041b57806306fdde031461043657806307a2d13a1461044b578063095ea7b31461045e575b5f5ffd5b610423610a8b565b6040519081526020015b60405180910390f35b61043e610ae5565b60405161042d91906146ee565b610423610459366004614700565b610b75565b61047161046c36600461472b565b610b86565b604051901515815260200161042d565b61042361048f366004614700565b610b9d565b6104d96104a2366004614755565b600d6020525f90815260409020546001600160b81b03811690600160b81b810460ff1690600160c01b90046001600160401b031683565b604080516001600160b81b03909416845291151560208401526001600160401b03169082015260600161042d565b600254610423565b610517610ba9565b005b610471610527366004614770565b610c32565b60125b60405160ff909116815260200161042d565b601454610423565b610423610c57565b610517610c65565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200161042d565b6105176105a1366004614755565b610c8f565b6104236105b4366004614755565b610d40565b6105176105c73660046147f5565b610d49565b600c5461057b906001600160a01b031681565b60125461057b90600160601b90046001600160a01b031681565b610471610607366004614755565b600b6020525f908152604090205460ff1681565b6105176106293660046147f5565b61115e565b61042360155481565b610517610645366004614755565b6112d8565b61057b610658366004614700565b6114cb565b61051761066b366004614700565b6114f3565b61042361067e366004614833565b6115f3565b610423610691366004614755565b6001600160a01b03165f9081526020819052604090205490565b610517611647565b6105176106c1366004614700565b611658565b600f546106eb906001600160a01b03811690600160a01b90046001600160401b031682565b604080516001600160a01b0390931683526001600160401b0390911660208301520161042d565b61051761171a565b60115461073f906001600160c01b03811690600160c01b90046001600160401b031682565b604080516001600160c01b0390931683526001600160401b0390911660208301520161042d565b610423610774366004614755565b61175b565b610517610787366004614755565b611778565b610794611822565b60405161042d9796959493929190614861565b610517611864565b6008546001600160a01b031661057b565b6104236107ce366004614833565b6118ce565b61043e611914565b61073f6107e9366004614755565b60106020525f90815260409020546001600160c01b03811690600160c01b90046001600160401b031682565b610517610823366004614755565b611923565b601354610423565b6105176119eb565b61047161084636600461472b565b611a55565b610517610859366004614755565b611a72565b61087161086c3660046147f5565b611b2d565b60405161042d91906148f7565b61052f7f000000000000000000000000000000000000000000000000000000000000000081565b6105176108b3366004614967565b611c12565b6104236108c6366004614700565b611c94565b6104236108d9366004614993565b611ca0565b6104236108ec366004614993565b611cf7565b6105176108ff3660046149d2565b611d3d565b610423610912366004614755565b6121a5565b610423610925366004614700565b6121bb565b6105176121c6565b610423610940366004614755565b612243565b5f5c60ff16610471565b610423600e5481565b610517610966366004614a41565b612256565b610423610979366004614755565b61238c565b61042361098c366004614ab2565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6012546109c9906001600160601b031681565b6040516001600160601b03909116815260200161042d565b6009546001600160a01b031661057b565b600a5461057b906001600160a01b031681565b610517610a13366004614755565b6123b4565b610517610a26366004614755565b61248d565b610517610a3936600461472b565b61250d565b610517610a4c366004614755565b612772565b61057b610a5f366004614700565b6127e3565b61057b7f000000000000000000000000000000000000000000000000000000000000000081565b5f5f5b601454811015610ae1575f60148281548110610aac57610aac614ade565b5f918252602090912001546001600160a01b03169050610acc81306127f2565b610ad69084614b06565b925050600101610a8e565b5090565b606060038054610af490614b19565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2090614b19565b8015610b6b5780601f10610b4257610100808354040283529160200191610b6b565b820191905f5260205f20905b815481529060010190602001808311610b4e57829003601f168201915b5050505050905090565b5f610b80825f612806565b92915050565b5f33610b93818585612834565b5060019392505050565b5f610b80826001612846565b6008546001600160a01b03163314801590610bd85750600c546001600160a01b0316336001600160a01b031614155b15610bf657604051637cf97e4d60e11b815260040160405180910390fd5b600f80546001600160e01b031916905560405133907fc40a085ccfa20f5fd518ade5c3a77a7ecbdfbb4c75efcdca6146a8e3c841d663905f90a2565b5f610c3b612874565b610c468484846128a7565b9050610c506128ca565b9392505050565b5f610c606128d6565b905090565b610c6d612874565b610c7d610c786129ff565b612a6d565b610c85612aa2565b610c8d6128ca565b565b600c546001600160a01b0316336001600160a01b031614158015610cc75750600a546001600160a01b0316336001600160a01b031614155b8015610cde57506008546001600160a01b03163314155b15610cfc5760405163d080fa3160e01b815260040160405180910390fd5b6001600160a01b0381165f818152601060205260408082208290555133917f23edd264f2dcc193d13a29cdab4ac169d60d9b4a0e74f0303c753036d8eb1c1391a350565b5f610b80612bf6565b335f818152600b602052604090205460ff16158015610d765750600a546001600160a01b03828116911614155b8015610d9057506008546001600160a01b03828116911614155b15610dae5760405163f7137c0f60e01b815260040160405180910390fd5b610db6612874565b60145482905f816001600160401b03811115610dd457610dd4614b51565b604051908082528060200260200182016040528015610dfd578160200160208202803683370190505b5090505f836001600160401b03811115610e1957610e19614b51565b604051908082528060200260200182016040528015610e42578160200160208202803683370190505b5090505f5b84811015610f3c575f888883818110610e6257610e62614ade565b9050602002013590505f60148281548110610e7f57610e7f614ade565b5f9182526020909120015485516001600160a01b039091169150859083908110610eab57610eab614ade565b602002602001015115610ee157604051633d85a77d60e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6001858381518110610ef557610ef5614ade565b60200260200101901515908115158152505080848481518110610f1a57610f1a614ade565b6001600160a01b03909216602092830291909101909101525050600101610e47565b505f5b838110156110f757828181518110610f5957610f59614ade565b60200260200101516110ef575f60148281548110610f7957610f79614ade565b5f9182526020808320909101546001600160a01b0316808352600d9091526040909120549091506001600160b81b031615610fd2576040516301554f3760e71b81526001600160a01b0382166004820152602401610ed8565b6001600160a01b0381165f90815260106020526040902054600160c01b90046001600160401b03161561102357604051634fc6b6fd60e01b81526001600160a01b0382166004820152602401610ed8565b61102d8130612cf6565b156110d7576001600160a01b0381165f908152600d6020526040812054600160c01b90046001600160401b03169003611084576040516325dce25160e21b81526001600160a01b0382166004820152602401610ed8565b6001600160a01b0381165f908152600d6020526040902054600160c01b90046001600160401b03164210156110d757604051634b74115160e01b81526001600160a01b0382166004820152602401610ed8565b6001600160a01b03165f908152600d60205260408120555b600101610f3f565b50805161110b9060149060208401906145fc565b50336001600160a01b03167f834ae37621cd31f2636b1cb6f1bded844d79ecf755af866b5d896da642d7b567826040516111459190614b65565b60405180910390a26111556128ca565b50505050505050565b335f818152600b602052604090205460ff1615801561118b5750600a546001600160a01b03828116911614155b80156111a557506008546001600160a01b03828116911614155b156111c35760405163f7137c0f60e01b815260040160405180910390fd5b6111cb612874565b81601e8111156111ee576040516340797bd760e11b815260040160405180910390fd5b5f5b81811015611279575f85858381811061120b5761120b614ade565b90506020020160208101906112209190614755565b6001600160a01b0381165f908152600d60205260408120549192506001600160b81b0390911690036112705760405163320b1e2560e21b81526001600160a01b0382166004820152602401610ed8565b506001016111f0565b506112866013858561465b565b50336001600160a01b03167fb07686dd0abe7422b9801e8f38bafd24669a65591071f11120c2f6a7c175813e85856040516112c2929190614bb0565b60405180910390a26112d26128ca565b50505050565b600a5433906001600160a01b0316811480159061130357506008546001600160a01b03828116911614155b15611321576040516332a2673b60e21b815260040160405180910390fd5b6001600160a01b0382165f908152600d6020526040902054600160c01b90046001600160401b031615611367576040516324d9026760e11b815260040160405180910390fd5b6001600160a01b0382165f908152600d60205260409020546001600160b81b0316156113a65760405163624718b960e11b815260040160405180910390fd5b6001600160a01b0382165f908152600d6020526040902054600160b81b900460ff166113f057604051632215cda760e01b81526001600160a01b0383166004820152602401610ed8565b6001600160a01b0382165f90815260106020526040902054600160c01b90046001600160401b03161561144157604051634fc6b6fd60e01b81526001600160a01b0383166004820152602401610ed8565b600e5461144e9042614b06565b6001600160a01b0383165f818152600d6020526040902080546001600160401b0393909316600160c01b026001600160c01b03909316929092179091556114923390565b6001600160a01b03167f354f25f4208ab6528fb2d016019c0e2a66f51376cbb2cc8571064779735d348560405160405180910390a35050565b601481815481106114da575f80fd5b5f918252602090912001546001600160a01b0316905081565b6114fb612d62565b6012546001600160601b031681036115265760405163a741a04560e01b815260040160405180910390fd5b6706f05b59d3b2000081111561154f5760405163f4df6ae560e01b815260040160405180910390fd5b801580159061156e5750601254600160601b90046001600160a01b0316155b1561158c576040516333fe7c6560e21b815260040160405180910390fd5b611597610c786129ff565b601280546001600160601b0383166bffffffffffffffffffffffff199091168117909155604080519182525133917f01fe2943baee27f47add82886c2200f910c749c461c9b63c5fe83901a53bdb49919081900360200190a250565b5f6115fc612874565b5f6116056129ff565b601581905590506116208461161960025490565b835f612d8f565b915061162e33848685612dc6565b6116388285612e0c565b6116406128ca565b5092915050565b61164f612d62565b610c8d5f612e4d565b611660612d62565b600e5481036116825760405163a741a04560e01b815260040160405180910390fd5b601154600160c01b90046001600160401b0316156116b3576040516324d9026760e11b815260040160405180910390fd5b6116bc81612e66565b600e548111156116d2576116cf81612eac565b50565b600e546116e3906011908390612eed565b6040518181527fb3aa0ade2442acf51d06713c2d1a5a3ec0373cce969d42b53f4689f97bccf380906020015b60405180910390a150565b60095433906001600160a01b031681146117525760405163118cdaa760e01b81526001600160a01b0382166004820152602401610ed8565b6116cf81612e4d565b6001600160a01b0381165f90815260076020526040812054610b80565b6001600160a01b0381165f90815260106020526040812054600160c01b90046001600160401b0316908190036117c15760405163e5f408a560e01b815260040160405180910390fd5b804210156117e25760405163333bd2cb60e11b815260040160405180910390fd5b6117ea612874565b6001600160a01b0382165f908152601060205260409020546118169083906001600160c01b0316612f37565b61181e6128ca565b5050565b5f6060805f5f5f606061183361310c565b61183b613139565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b601154600160c01b90046001600160401b03165f8190036118985760405163e5f408a560e01b815260040160405180910390fd5b804210156118b95760405163333bd2cb60e11b815260040160405180910390fd5b6011546116cf906001600160c01b0316612eac565b5f6118d7612874565b5f6118e06129ff565b601581905590506118fc846118f460025490565b836001613166565b915061190a33848487612dc6565b6116388483612e0c565b606060048054610af490614b19565b61192b612d62565b600c546001600160a01b039081169082160361195a5760405163a741a04560e01b815260040160405180910390fd5b600f54600160a01b90046001600160401b03161561198b576040516324d9026760e11b815260040160405180910390fd5b600c546001600160a01b03166119a4576116cf81613195565b600e546119b590600f9083906131f0565b6040516001600160a01b038216907f7633313af54753bce8a149927263b1a55eba857ba4ef1d13c6aee25d384d3c4b905f90a250565b600f54600160a01b90046001600160401b03165f819003611a1f5760405163e5f408a560e01b815260040160405180910390fd5b80421015611a405760405163333bd2cb60e11b815260040160405180910390fd5b600f546116cf906001600160a01b0316613195565b5f611a5e612874565b611a68838361323f565b9050610b806128ca565b600c546001600160a01b0316336001600160a01b031614158015611aaa5750600a546001600160a01b0316336001600160a01b031614155b8015611ac157506008546001600160a01b03163314155b15611adf5760405163d080fa3160e01b815260040160405180910390fd5b6001600160a01b0381165f818152600d602052604080822080546001600160c01b031690555133917f8387c3346650400a72032f8bd1aa3f5f44038cf2bf32945e8eeb8a498decea7791a350565b604080515f815260208101909152606090826001600160401b03811115611b5657611b56614b51565b604051908082528060200260200182016040528015611b8957816020015b6060815260200190600190039081611b745790505b5091505f5b83811015611c0a57611be530868684818110611bac57611bac614ade565b9050602002810190611bbe9190614c0f565b85604051602001611bd193929190614c68565b60405160208183030381529060405261324c565b838281518110611bf757611bf7614ade565b6020908102919091010152600101611b8e565b505092915050565b611c1a612d62565b604051630c758a4b60e31b81526001600160a01b03831660048201528115156024820152600b6044820152736130d23c2476994884e9f3e60e6bc394d7ea0518906363ac5258906064015f6040518083038186803b158015611c7a575f5ffd5b505af4158015611c8c573d5f5f3e3d5ffd5b505050505050565b5f610b80826001612806565b5f611ca9612874565b5f611cb26129ff565b9050611cc985611cc160025490565b836001612d8f565b9150611cda85820386831102612a6d565b611ce733858588866132b5565b611cef6128ca565b509392505050565b5f611d00612874565b5f611d096129ff565b9050611d1f85611d1860025490565b835f613166565b9150611d3082820383831102612a6d565b611ce733858585896132b5565b335f818152600b602052604090205460ff16158015611d6a5750600a546001600160a01b03828116911614155b8015611d8457506008546001600160a01b03828116911614155b15611da25760405163f7137c0f60e01b815260040160405180910390fd5b611daa612874565b5f5f5f5b84811015612175575f868683818110611dc957611dc9614ade565b905060400201803603810190611ddf9190614cad565b90505f5f611def835f01516132cb565b915091505f611e0683856020015180821191030290565b90508015611fd35783516001600160a01b03165f908152600d6020526040902054600160b81b900460ff16611e5c578351604051632215cda760e01b81526001600160a01b039091166004820152602401610ed8565b5f84602001515f03611e6e57505f9050815b5f808215611ef8578651604051635d043b2960e11b815260048101859052306024820181905260448201526001600160a01b039091169063ba087652906064016020604051808303815f875af1158015611eca573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eee9190614d04565b9150829050611f76565b8651604051632d182be560e21b815260048101869052306024820181905260448201528593506001600160a01b039091169063b460af94906064016020604051808303815f875af1158015611f4f573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f739190614d04565b90505b865160408051848152602081018490526001600160a01b039092169133917f416d9fcbb15941508bf9f557a950fb085de673ae90db45a32efdc9b35f29b0f1910160405180910390a3611fc9828a614b06565b9850505050612168565b5f5f19856020015114611ff757611ff285602001518580821191030290565b611fff565b878703888811025b9050805f0361201257505050505061216d565b84516001600160a01b03165f908152600d60205260408120546001600160b81b03169081900361206357855160405163320b1e2560e21b81526001600160a01b039091166004820152602401610ed8565b8061206e8387614b06565b111561209b57855160405163034506ef60e21b81526001600160a01b039091166004820152602401610ed8565b8551604051636e553f6560e01b8152600481018490523060248201525f916001600160a01b031690636e553f65906044016020604051808303815f875af11580156120e8573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061210c9190614d04565b875160408051868152602081018490529293506001600160a01b039091169133917f73e8a9d66522fa5c6fcec2e89aad8e52f6f66eadeb7fc7c172cfcbacb5283851910160405180910390a3612162838b614b06565b99505050505b505050505b600101611dae565b50818114612196576040516309e36b8960e41b815260040160405180910390fd5b61219e6128ca565b5050505050565b5f5f6121af612bf6565b9050610c50815f612846565b5f610b80825f612846565b6008546001600160a01b031633148015906121f55750600c546001600160a01b0316336001600160a01b031614155b1561221357604051637cf97e4d60e11b815260040160405180910390fd5b5f601181905560405133917f921828337692c347c634c5d2aacbc7b756014674bd236f3cc2058d8e284a951b91a2565b5f61224d826132ea565b50909392505050565b8342111561227a5760405163313c898160e11b815260048101859052602401610ed8565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886122c58c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61231f826133c9565b90505f61232e828787876133f5565b9050896001600160a01b0316816001600160a01b031614612375576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610ed8565b6123808a8a8a612834565b50505050505050505050565b5f5f5f5f612399856132ea565b9250925092506123ab8383835f613421565b95945050505050565b6123bc612d62565b6012546001600160a01b03600160601b9091048116908216036123f25760405163a741a04560e01b815260040160405180910390fd5b6001600160a01b03811615801561241357506012546001600160601b031615155b15612431576040516333fe7c6560e21b815260040160405180910390fd5b61243c610c786129ff565b601280546001600160601b0316600160601b6001600160a01b038416908102919091179091556040517f2e979f80fe4d43055c584cf4a8467c55875ea36728fc37176c05acd784eb7a73905f90a250565b612495612d62565b600a546001600160a01b03908116908216036124c45760405163a741a04560e01b815260040160405180910390fd5b600a80546001600160a01b0319166001600160a01b0383169081179091556040517fbd0a63c12948fbc9194a5839019f99c9d71db924e5c70018265bc778b8f1a506905f90a250565b600a5433906001600160a01b0316811480159061253857506008546001600160a01b03828116911614155b15612556576040516332a2673b60e21b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125bc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125e09190614d1b565b6001600160a01b03161461261257604051634854a41360e11b81526001600160a01b0384166004820152602401610ed8565b6001600160a01b0383165f90815260106020526040902054600160c01b90046001600160401b031615612658576040516324d9026760e11b815260040160405180910390fd5b6001600160a01b0383165f908152600d6020526040902054600160c01b90046001600160401b03161561269e576040516325f600a360e11b815260040160405180910390fd5b6001600160a01b0383165f908152600d60205260409020546001600160b81b03168083036126df5760405163a741a04560e01b815260040160405180910390fd5b808310156126fe576126f9846126f48561346e565b612f37565b6112d2565b61272b61270a8461346e565b600e546001600160a01b0387165f9081526010602052604090209190612eed565b6040518381526001600160a01b0385169033907f7bfc48861a5d71fc7afd7b9c92b4feeef1628ab1d5145dede52590c46dd155e9906020015b60405180910390a350505050565b61277a612d62565b600980546001600160a01b0383166001600160a01b031990911681179091556127ab6008546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b601381815481106114da575f80fd5b5f610c50836128018585612cf6565b6134a1565b5f5f5f6128116134d0565b915091506123ab858361282360025490565b61282d9190614b06565b8387613557565b612841838383600161359b565b505050565b5f5f5f6128516134d0565b915091506123ab858361286360025490565b61286d9190614b06565b8387613421565b60ff5f5c1615612897576040516329f745a760e01b815260040160405180910390fd5b60015f805c60ff19168217905d50565b5f336128b485828561365f565b6128bf8585856136d4565b506001949350505050565b5f60ff19815c16815d50565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561292e57507f000000000000000000000000000000000000000000000000000000000000000046145b1561295857507f000000000000000000000000000000000000000000000000000000000000000090565b610c60604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b5f5f612a096134d0565b925090508015612a3057601254612a3090600160601b90046001600160a01b031682613731565b60408051838152602081018390527ff66f28b40975dbb933913542c7e6a0f50a1d0f20aa74ea6e0efe65ab616323ec910160405180910390a15090565b60158190556040518181527f15c027cc4fd826d986cad358803439f7326d3aa4ed969ff90dbee4bc150f68e99060200161170f565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d166962b6040518163ffffffff1660e01b81526004015f60405180830381865afa158015612afe573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b259190810190614d36565b6040805160048152602481019091526020810180516001600160e01b0316637abd325760e11b1790529091505f5b8251811015612841575f838281518110612b6f57612b6f614ade565b60200260200101516001600160a01b031683604051612b8e9190614de8565b5f60405180830381855af49150503d805f8114612bc6576040519150601f19603f3d011682016040523d82523d5f602084013e612bcb565b606091505b5050905080612bed57604051631bc7e5c360e21b815260040160405180910390fd5b50600101612b53565b5f5f5b601354811015610ae1575f60138281548110612c1757612c17614ade565b5f9182526020808320909101546001600160a01b0316808352600d90915260408220549092506001600160b81b031690819003612c55575050612cee565b5f612c5f836132cb565b5060405163402d267d60e01b81523060048201529091505f906001600160a01b0385169063402d267d90602401602060405180830381865afa158015612ca7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ccb9190614d04565b9050612cdd8183850384861102613765565b612ce79087614b06565b9550505050505b600101612bf9565b6040516370a0823160e01b81526001600160a01b0382811660048301525f91908416906370a08231906024015b602060405180830381865afa158015612d3e573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c509190614d04565b6008546001600160a01b03163314610c8d5760405163118cdaa760e01b8152336004820152602401610ed8565b5f612d9c85858585613421565b9050805f03612dbe57604051639811e0c760e01b815260040160405180910390fd5b949350505050565b805f03612de657604051636536c9a760e01b815260040160405180910390fd5b612df28484848461377a565b612dfb826137fe565b6112d282601554610c789190614b06565b5f612e1683610b75565b9050818110612e2457505050565b808203600a81818110611c8c57604051633c02e26d60e01b8152600401610ed891815260200190565b600980546001600160a01b03191690556116cf81613937565b62127500811115612e8a576040516346fedb5760e01b815260040160405180910390fd5b60018110156116cf57604051631a1593df60e11b815260040160405180910390fd5b600e81905560405181815233907fd28e9b90ee9b37c5936ff84392d71f29ff18117d7e76bcee60615262a90a3f759060200160405180910390a2505f601155565b82546001600160c01b0319166001600160b81b038316178355612f108142614b06565b83546001600160401b0391909116600160c01b026001600160c01b03909116179092555050565b6001600160a01b0382165f908152600d60205260408120906001600160b81b03831615613058578154600160b81b900460ff1661304757601480546001810182555f8290527fce6d7b5282bd9a3661ae061feed1dbda4e52ab073b1f9285be6e155d9c38d4ec0180546001600160a01b0319166001600160a01b03871617905554601e1015612fd9576040516340797bd760e11b815260040160405180910390fd5b815460ff60b81b1916600160b81b178255613004612ff785306127f2565b601554610c789190614b06565b336001600160a01b03167f834ae37621cd31f2636b1cb6f1bded844d79ecf755af866b5d896da642d7b567601460405161303e9190614df3565b60405180910390a25b5080546001600160c01b031681555f195b81546001600160b81b0319166001600160b81b0384161782556130a784827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169190613988565b604080516001600160b81b038516815290516001600160a01b0386169133917f10dbbfa98a21bc7a80d86cb89391600c590e0e2ce25698013741bcad429565699181900360200190a35050506001600160a01b03165f90815260106020526040812055565b6060610c607f00000000000000000000000000000000000000000000000000000000000000006005613a45565b6060610c607f00000000000000000000000000000000000000000000000000000000000000006006613a45565b5f61317385858585613557565b9050805f03612dbe57604051630cb65c7760e21b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831690811790915560405133907fcb11cc8aade2f5a556749d1b2380d108a16fac3431e6a5d5ce12ef9de0bd76e3905f90a350600f80546001600160e01b0319169055565b82546001600160a01b0319166001600160a01b0383161783556132138142614b06565b83546001600160401b0391909116600160a01b0267ffffffffffffffff60a01b19909116179092555050565b5f33610b938185856136d4565b60605f5f846001600160a01b0316846040516132689190614de8565b5f60405180830381855af49150503d805f81146132a0576040519150601f19603f3d011682016040523d82523d5f602084013e6132a5565b606091505b50915091506123ab858383613aee565b6132be82613b4a565b61219e8585858585613cae565b5f5f6132d78330612cf6565b90506132e383826134a1565b9150915091565b5f5f5f5f6132f66134d0565b925090508061330460025490565b61330e9190614b06565b9250613339613331866001600160a01b03165f9081526020819052604090205490565b84845f613557565b6040516323b9c4c560e11b81526004810182905260146024820152909450736130d23c2476994884e9f3e60e6bc394d7ea051890634773898a90604401602060405180830381865af4158015613391573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133b59190614d04565b6133bf9085614bfc565b9350509193909250565b5f610b806133d56128d6565b8360405161190160f01b8152600281019290925260228201526042902090565b5f5f5f5f61340588888888613d6e565b9250925092506134158282613e36565b50909695505050505050565b5f6123ab6134507f0000000000000000000000000000000000000000000000000000000000000000600a614f19565b61345a9086614b06565b613465856001614b06565b87919085613eee565b5f6001600160b81b03821115610ae1576040516306dfcc6560e41b815260b8600482015260248101839052604401610ed8565b60405163266d6a8360e11b8152600481018290525f906001600160a01b03841690634cdad50690602401612d23565b5f5f6134da610a8b565b90505f6134ed8260155480821191030290565b9050801580159061350857506012546001600160601b031615155b15613552576012545f9061352f9083906001600160601b0316670de0b6b3a7640000613f30565b905061354e8161353e60025490565b6135488487614bfc565b5f613421565b9350505b509091565b5f6123ab613566846001614b06565b6135917f0000000000000000000000000000000000000000000000000000000000000000600a614f19565b6134659087614b06565b6001600160a01b0384166135c45760405163e602df0560e01b81525f6004820152602401610ed8565b6001600160a01b0383166135ed57604051634a1406b160e11b81525f6004820152602401610ed8565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156112d257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161276491815260200190565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146112d257818110156136c657604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610ed8565b6112d284848484035f61359b565b6001600160a01b0383166136fd57604051634b637e8f60e11b81525f6004820152602401610ed8565b6001600160a01b0382166137265760405163ec442f0560e01b81525f6004820152602401610ed8565b612841838383613fed565b6001600160a01b03821661375a5760405163ec442f0560e01b81525f6004820152602401610ed8565b61181e5f8383613fed565b5f8183106137735781610c50565b5090919050565b6137a67f0000000000000000000000000000000000000000000000000000000000000000853085614017565b6137b08382613731565b826001600160a01b0316846001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78484604051612764929190918252602082015260400190565b5f5b601354811015613917575f6013828154811061381e5761381e614ade565b5f9182526020808320909101546001600160a01b0316808352600d90915260408220549092506001600160b81b03169081900361385c57505061390f565b5f613866836132cb565b509050808203818311028581118682180280821891146138fb57604051636e553f6560e01b8152600481018290523060248201526001600160a01b03851690636e553f65906044016020604051808303815f875af19250505080156138e8575060408051601f3d908101601f191682019092526138e591810190614d04565b60015b156138fb57506138f88187614bfc565b95505b855f0361390a57505050505050565b505050505b600101613800565b5080156116cf5760405163ded0652d60e01b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526139d98482614050565b6112d2576040516001600160a01b0384811660248301525f6044830152613a3b91869182169063095ea7b3906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b0383818316178352505050506140ed565b6112d284826140ed565b606060ff8314613a5f57613a588361414e565b9050610b80565b818054613a6b90614b19565b80601f0160208091040260200160405190810160405280929190818152602001828054613a9790614b19565b8015613ae25780601f10613ab957610100808354040283529160200191613ae2565b820191905f5260205f20905b815481529060010190602001808311613ac557829003601f168201915b50505050509050610b80565b606082613b0357613afe8261418b565b610c50565b8151158015613b1a57506001600160a01b0384163b155b15613b4357604051639996b31560e01b81526001600160a01b0385166004820152602401610ed8565b5080610c50565b5f5b601454811015613c8e575f60148281548110613b6a57613b6a614ade565b5f91825260208220015460405163ce96cb7760e01b81523060048201526001600160a01b039091169250613bed90839063ce96cb7790602401602060405180830381865afa158015613bbe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613be29190614d04565b858111818718021890565b90508015613c7757604051632d182be560e21b815260048101829052306024820181905260448201526001600160a01b0383169063b460af94906064016020604051808303815f875af1925050508015613c64575060408051601f3d908101601f19168201909252613c6191810190614d04565b60015b15613c775750613c748185614bfc565b93505b835f03613c845750505050565b5050600101613b4c565b5080156116cf57604051634323a55560e01b815260040160405180910390fd5b826001600160a01b0316856001600160a01b031614613cd257613cd283868361365f565b613cdc83826141b4565b613d077f000000000000000000000000000000000000000000000000000000000000000085846141e8565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8585604051613d5f929190918252602082015260400190565b60405180910390a45050505050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115613da757505f91506003905082613e2c565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015613df8573d5f5f3e3d5ffd5b5050604051601f1901519150506001600160a01b038116613e2357505f925060019150829050613e2c565b92505f91508190505b9450945094915050565b5f826003811115613e4957613e49614f27565b03613e52575050565b6001826003811115613e6657613e66614f27565b03613e845760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115613e9857613e98614f27565b03613eb95760405163fce698f760e01b815260048101829052602401610ed8565b6003826003811115613ecd57613ecd614f27565b0361181e576040516335e2f38360e21b815260048101829052602401610ed8565b5f613f1b613efb83614219565b8015613f1657505f8480613f1157613f11614f3b565b868809115b151590565b613f26868686613f30565b6123ab9190614b06565b5f838302815f1985870982811083820303915050805f03613f6457838281613f5a57613f5a614f3b565b0492505050610c50565b808411613f8257613f828415613f7b576011614245565b6012614245565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b613ff5612aa2565b614000838383614256565b805f0361400c57505050565b61284183838361437c565b6040516001600160a01b0384811660248301528381166044830152606482018390526112d29186918216906323b872dd90608401613a09565b5f5f5f846001600160a01b03168460405161406b9190614de8565b5f604051808303815f865af19150503d805f81146140a4576040519150601f19603f3d011682016040523d82523d5f602084013e6140a9565b606091505b50915091508180156140d35750805115806140d35750808060200190518101906140d39190614f4f565b80156123ab5750505050506001600160a01b03163b151590565b5f6141016001600160a01b03841683614528565b905080515f141580156141255750808060200190518101906141239190614f4f565b155b1561284157604051635274afe760e01b81526001600160a01b0384166004820152602401610ed8565b60605f61415a83614535565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b80511561419b5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b0382166141dd57604051634b637e8f60e11b81525f6004820152602401610ed8565b61181e825f83613fed565b6040516001600160a01b0383811660248301526044820183905261284191859182169063a9059cbb90606401613a09565b5f600282600381111561422e5761422e614f27565b6142389190614f6a565b60ff166001149050919050565b634e487b715f52806020526024601cfd5b6001600160a01b038316614280578060025f8282546142759190614b06565b909155506142f09050565b6001600160a01b0383165f90815260208190526040902054818110156142d25760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610ed8565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661430c5760028054829003905561432a565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161436f91815260200190565b60405180910390a3505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637a2bbb686040518163ffffffff1660e01b81526004015f60405180830381865afa1580156143d8573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526143ff9190810190614d36565b90505f61440b60025490565b90505f6001600160a01b0386161561443a576001600160a01b0386165f9081526020819052604090205461443c565b5f5b90505f6001600160a01b0386161561446b576001600160a01b0386165f9081526020819052604090205461446d565b5f5b90505f5b845181101561451e5784818151811061448c5761448c614ade565b602090810291909101015160405163bbdc013b60e01b81526001600160a01b038a81166004830152602482018690528981166044830152606482018590526084820187905260a482018990529091169063bbdc013b9060c4015f604051808303815f87803b1580156144fc575f5ffd5b505af115801561450e573d5f5f3e3d5ffd5b5050600190920191506144719050565b5050505050505050565b6060610c5083835f61455c565b5f60ff8216601f811115610b8057604051632cd44ac360e21b815260040160405180910390fd5b6060814710156145885760405163cf47918160e01b815247600482015260248101839052604401610ed8565b5f5f856001600160a01b031684866040516145a39190614de8565b5f6040518083038185875af1925050503d805f81146145dd576040519150601f19603f3d011682016040523d82523d5f602084013e6145e2565b606091505b50915091506145f2868383613aee565b9695505050505050565b828054828255905f5260205f2090810192821561464f579160200282015b8281111561464f57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061461a565b50610ae19291506146ac565b828054828255905f5260205f2090810192821561464f579160200282015b8281111561464f5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190614679565b5b80821115610ae1575f81556001016146ad565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610c5060208301846146c0565b5f60208284031215614710575f5ffd5b5035919050565b6001600160a01b03811681146116cf575f5ffd5b5f5f6040838503121561473c575f5ffd5b823561474781614717565b946020939093013593505050565b5f60208284031215614765575f5ffd5b8135610c5081614717565b5f5f5f60608486031215614782575f5ffd5b833561478d81614717565b9250602084013561479d81614717565b929592945050506040919091013590565b5f5f83601f8401126147be575f5ffd5b5081356001600160401b038111156147d4575f5ffd5b6020830191508360208260051b85010111156147ee575f5ffd5b9250929050565b5f5f60208385031215614806575f5ffd5b82356001600160401b0381111561481b575f5ffd5b614827858286016147ae565b90969095509350505050565b5f5f60408385031215614844575f5ffd5b82359150602083013561485681614717565b809150509250929050565b60ff60f81b8816815260e060208201525f61487f60e08301896146c0565b828103604084015261489181896146c0565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b818110156148e65783518352602093840193909201916001016148c8565b50909b9a5050505050505050505050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561494e57603f198786030184526149398583516146c0565b9450602093840193919091019060010161491d565b50929695505050505050565b80151581146116cf575f5ffd5b5f5f60408385031215614978575f5ffd5b823561498381614717565b915060208301356148568161495a565b5f5f5f606084860312156149a5575f5ffd5b8335925060208401356149b781614717565b915060408401356149c781614717565b809150509250925092565b5f5f602083850312156149e3575f5ffd5b82356001600160401b038111156149f8575f5ffd5b8301601f81018513614a08575f5ffd5b80356001600160401b03811115614a1d575f5ffd5b8560208260061b8401011115614a31575f5ffd5b6020919091019590945092505050565b5f5f5f5f5f5f5f60e0888a031215614a57575f5ffd5b8735614a6281614717565b96506020880135614a7281614717565b95506040880135945060608801359350608088013560ff81168114614a95575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f60408385031215614ac3575f5ffd5b8235614ace81614717565b9150602083013561485681614717565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610b8057610b80614af2565b600181811c90821680614b2d57607f821691505b602082108103614b4b57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52604160045260245ffd5b602080825282518282018190525f918401906040840190835b81811015614ba55783516001600160a01b0316835260209384019390920191600101614b7e565b509095945050505050565b602080825281018290525f8360408301825b85811015614bf2578235614bd581614717565b6001600160a01b0316825260209283019290910190600101614bc2565b5095945050505050565b81810381811115610b8057610b80614af2565b5f5f8335601e19843603018112614c24575f5ffd5b8301803591506001600160401b03821115614c3d575f5ffd5b6020019150368190038213156147ee575f5ffd5b5f81518060208401855e5f93019283525090919050565b828482375f8382015f81526145f28185614c51565b604051601f8201601f191681016001600160401b0381118282101715614ca557614ca5614b51565b604052919050565b5f6040828403128015614cbe575f5ffd5b50604080519081016001600160401b0381118282101715614ce157614ce1614b51565b6040528235614cef81614717565b81526020928301359281019290925250919050565b5f60208284031215614d14575f5ffd5b5051919050565b5f60208284031215614d2b575f5ffd5b8151610c5081614717565b5f60208284031215614d46575f5ffd5b81516001600160401b03811115614d5b575f5ffd5b8201601f81018413614d6b575f5ffd5b80516001600160401b03811115614d8457614d84614b51565b8060051b614d9460208201614c7d565b91825260208184018101929081019087841115614daf575f5ffd5b6020850194505b83851015614ddd5784519250614dcb83614717565b82825260209485019490910190614db6565b979650505050505050565b5f610c508284614c51565b602080825282548282018190525f848152918220906040840190835b81811015614ba55783546001600160a01b0316835260019384019360209093019201614e0f565b6001815b6001841115614e7157808504811115614e5557614e55614af2565b6001841615614e6357908102905b60019390931c928002614e3a565b935093915050565b5f82614e8757506001610b80565b81614e9357505f610b80565b8160018114614ea95760028114614eb357614ecf565b6001915050610b80565b60ff841115614ec457614ec4614af2565b50506001821b610b80565b5060208310610133831016604e8410600b8410161715614ef2575081810a610b80565b614efe5f198484614e36565b805f1904821115614f1157614f11614af2565b029392505050565b5f610c5060ff841683614e79565b634e487b7160e01b5f52602160045260245ffd5b634e487b7160e01b5f52601260045260245ffd5b5f60208284031215614f5f575f5ffd5b8151610c508161495a565b5f60ff831680614f8857634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea2646970667358221220ed5cf8f6aad5fad92e38011702b2e1d83a947a8f6b09d3ed53006ea0a824264064736f6c634300081c0033000000000000000000000000791d1ec51d931186c1d4b80e753b7155dd98f74100000000000000000000000000000000000000000000000000000000000000b40000000000000000000000005fce5d13a3f743d0f4889a0d31645967df1702b4000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000017736f6e69632073207661756c74207468726565206d696e0000000000000000000000000000000000000000000000000000000000000000000000000000000005732d742d33000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561000f575f5ffd5b5060043610610417575f3560e01c80638a2c7b3911610221578063c6e6f5921161012a578063e30c3978116100b4578063ee7a4b3311610084578063ee7a4b3314610a2b578063ef8b30f714610917578063f2fde38b14610a3e578063f7d1852114610a51578063fadbdada14610a64575f5ffd5b8063e30c3978146109e1578063e66f53b7146109f2578063e74b981b14610a05578063e90956cf14610a18575f5ffd5b8063d33219b4116100fa578063d33219b41461094f578063d505accf14610958578063d905777e1461096b578063dd62ed3e1461097e578063ddca3f43146109b6575f5ffd5b8063c6e6f59214610917578063c9649aa91461092a578063ce96cb7714610932578063d2c725e014610945575f5ffd5b8063ac88990c116101ab578063b3d7f6b91161017b578063b3d7f6b9146108b8578063b460af94146108cb578063ba087652146108de578063be9c5800146108f1578063c63d75b614610904575f5ffd5b8063ac88990c1461084b578063ac9650d81461085e578063aea70acc1461087e578063b192a84a146108a5575f5ffd5b8063987ee783116101f1578063987ee783146107db5780639d6b4a4514610815578063a17b313014610828578063a5f31d6114610830578063a9059cbb14610838575f5ffd5b80638a2c7b39146107a75780638da5cb5b146107af57806394bf804d146107c057806395d89b41146107d3575f5ffd5b8063469048401161032357806370a08231116102ad57806379ba50971161027d57806379ba5097146107125780637cc4d9a11461071a5780637ecebe001461076657806381bc23a61461077957806384b0196e1461078c575f5ffd5b806370a0823114610683578063715018a6146106ab5780637224a512146106b3578063762c31ba146106c6575f5ffd5b8063568efc07116102f3578063568efc071461062e5780635897a06d1461063757806362518ddf1461064a57806369fe0e2d1461065d5780636e553f6514610670575f5ffd5b806346904840146105df5780634cdad5061461044b5780634dedf20e146105f95780634e083eb31461061b575f5ffd5b8063313ce567116103a457806338d52e0f1161037457806338d52e0f146105595780633a72efdf14610593578063402d267d146105a657806341b67833146105b9578063452a9320146105cc575f5ffd5b8063313ce5671461052c57806333f91ebb146105415780633644e51514610549578063372500ab14610551575f5ffd5b80630a28a477116103ea5780630a28a477146104815780630e68ec951461049457806318160ddd146105075780631ecca77c1461050f57806323b872dd14610519575f5ffd5b806301e1d1141461041b57806306fdde031461043657806307a2d13a1461044b578063095ea7b31461045e575b5f5ffd5b610423610a8b565b6040519081526020015b60405180910390f35b61043e610ae5565b60405161042d91906146ee565b610423610459366004614700565b610b75565b61047161046c36600461472b565b610b86565b604051901515815260200161042d565b61042361048f366004614700565b610b9d565b6104d96104a2366004614755565b600d6020525f90815260409020546001600160b81b03811690600160b81b810460ff1690600160c01b90046001600160401b031683565b604080516001600160b81b03909416845291151560208401526001600160401b03169082015260600161042d565b600254610423565b610517610ba9565b005b610471610527366004614770565b610c32565b60125b60405160ff909116815260200161042d565b601454610423565b610423610c57565b610517610c65565b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad385b6040516001600160a01b03909116815260200161042d565b6105176105a1366004614755565b610c8f565b6104236105b4366004614755565b610d40565b6105176105c73660046147f5565b610d49565b600c5461057b906001600160a01b031681565b60125461057b90600160601b90046001600160a01b031681565b610471610607366004614755565b600b6020525f908152604090205460ff1681565b6105176106293660046147f5565b61115e565b61042360155481565b610517610645366004614755565b6112d8565b61057b610658366004614700565b6114cb565b61051761066b366004614700565b6114f3565b61042361067e366004614833565b6115f3565b610423610691366004614755565b6001600160a01b03165f9081526020819052604090205490565b610517611647565b6105176106c1366004614700565b611658565b600f546106eb906001600160a01b03811690600160a01b90046001600160401b031682565b604080516001600160a01b0390931683526001600160401b0390911660208301520161042d565b61051761171a565b60115461073f906001600160c01b03811690600160c01b90046001600160401b031682565b604080516001600160c01b0390931683526001600160401b0390911660208301520161042d565b610423610774366004614755565b61175b565b610517610787366004614755565b611778565b610794611822565b60405161042d9796959493929190614861565b610517611864565b6008546001600160a01b031661057b565b6104236107ce366004614833565b6118ce565b61043e611914565b61073f6107e9366004614755565b60106020525f90815260409020546001600160c01b03811690600160c01b90046001600160401b031682565b610517610823366004614755565b611923565b601354610423565b6105176119eb565b61047161084636600461472b565b611a55565b610517610859366004614755565b611a72565b61087161086c3660046147f5565b611b2d565b60405161042d91906148f7565b61052f7f000000000000000000000000000000000000000000000000000000000000000381565b6105176108b3366004614967565b611c12565b6104236108c6366004614700565b611c94565b6104236108d9366004614993565b611ca0565b6104236108ec366004614993565b611cf7565b6105176108ff3660046149d2565b611d3d565b610423610912366004614755565b6121a5565b610423610925366004614700565b6121bb565b6105176121c6565b610423610940366004614755565b612243565b5f5c60ff16610471565b610423600e5481565b610517610966366004614a41565b612256565b610423610979366004614755565b61238c565b61042361098c366004614ab2565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6012546109c9906001600160601b031681565b6040516001600160601b03909116815260200161042d565b6009546001600160a01b031661057b565b600a5461057b906001600160a01b031681565b610517610a13366004614755565b6123b4565b610517610a26366004614755565b61248d565b610517610a3936600461472b565b61250d565b610517610a4c366004614755565b612772565b61057b610a5f366004614700565b6127e3565b61057b7f0000000000000000000000005fce5d13a3f743d0f4889a0d31645967df1702b481565b5f5f5b601454811015610ae1575f60148281548110610aac57610aac614ade565b5f918252602090912001546001600160a01b03169050610acc81306127f2565b610ad69084614b06565b925050600101610a8e565b5090565b606060038054610af490614b19565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2090614b19565b8015610b6b5780601f10610b4257610100808354040283529160200191610b6b565b820191905f5260205f20905b815481529060010190602001808311610b4e57829003601f168201915b5050505050905090565b5f610b80825f612806565b92915050565b5f33610b93818585612834565b5060019392505050565b5f610b80826001612846565b6008546001600160a01b03163314801590610bd85750600c546001600160a01b0316336001600160a01b031614155b15610bf657604051637cf97e4d60e11b815260040160405180910390fd5b600f80546001600160e01b031916905560405133907fc40a085ccfa20f5fd518ade5c3a77a7ecbdfbb4c75efcdca6146a8e3c841d663905f90a2565b5f610c3b612874565b610c468484846128a7565b9050610c506128ca565b9392505050565b5f610c606128d6565b905090565b610c6d612874565b610c7d610c786129ff565b612a6d565b610c85612aa2565b610c8d6128ca565b565b600c546001600160a01b0316336001600160a01b031614158015610cc75750600a546001600160a01b0316336001600160a01b031614155b8015610cde57506008546001600160a01b03163314155b15610cfc5760405163d080fa3160e01b815260040160405180910390fd5b6001600160a01b0381165f818152601060205260408082208290555133917f23edd264f2dcc193d13a29cdab4ac169d60d9b4a0e74f0303c753036d8eb1c1391a350565b5f610b80612bf6565b335f818152600b602052604090205460ff16158015610d765750600a546001600160a01b03828116911614155b8015610d9057506008546001600160a01b03828116911614155b15610dae5760405163f7137c0f60e01b815260040160405180910390fd5b610db6612874565b60145482905f816001600160401b03811115610dd457610dd4614b51565b604051908082528060200260200182016040528015610dfd578160200160208202803683370190505b5090505f836001600160401b03811115610e1957610e19614b51565b604051908082528060200260200182016040528015610e42578160200160208202803683370190505b5090505f5b84811015610f3c575f888883818110610e6257610e62614ade565b9050602002013590505f60148281548110610e7f57610e7f614ade565b5f9182526020909120015485516001600160a01b039091169150859083908110610eab57610eab614ade565b602002602001015115610ee157604051633d85a77d60e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6001858381518110610ef557610ef5614ade565b60200260200101901515908115158152505080848481518110610f1a57610f1a614ade565b6001600160a01b03909216602092830291909101909101525050600101610e47565b505f5b838110156110f757828181518110610f5957610f59614ade565b60200260200101516110ef575f60148281548110610f7957610f79614ade565b5f9182526020808320909101546001600160a01b0316808352600d9091526040909120549091506001600160b81b031615610fd2576040516301554f3760e71b81526001600160a01b0382166004820152602401610ed8565b6001600160a01b0381165f90815260106020526040902054600160c01b90046001600160401b03161561102357604051634fc6b6fd60e01b81526001600160a01b0382166004820152602401610ed8565b61102d8130612cf6565b156110d7576001600160a01b0381165f908152600d6020526040812054600160c01b90046001600160401b03169003611084576040516325dce25160e21b81526001600160a01b0382166004820152602401610ed8565b6001600160a01b0381165f908152600d6020526040902054600160c01b90046001600160401b03164210156110d757604051634b74115160e01b81526001600160a01b0382166004820152602401610ed8565b6001600160a01b03165f908152600d60205260408120555b600101610f3f565b50805161110b9060149060208401906145fc565b50336001600160a01b03167f834ae37621cd31f2636b1cb6f1bded844d79ecf755af866b5d896da642d7b567826040516111459190614b65565b60405180910390a26111556128ca565b50505050505050565b335f818152600b602052604090205460ff1615801561118b5750600a546001600160a01b03828116911614155b80156111a557506008546001600160a01b03828116911614155b156111c35760405163f7137c0f60e01b815260040160405180910390fd5b6111cb612874565b81601e8111156111ee576040516340797bd760e11b815260040160405180910390fd5b5f5b81811015611279575f85858381811061120b5761120b614ade565b90506020020160208101906112209190614755565b6001600160a01b0381165f908152600d60205260408120549192506001600160b81b0390911690036112705760405163320b1e2560e21b81526001600160a01b0382166004820152602401610ed8565b506001016111f0565b506112866013858561465b565b50336001600160a01b03167fb07686dd0abe7422b9801e8f38bafd24669a65591071f11120c2f6a7c175813e85856040516112c2929190614bb0565b60405180910390a26112d26128ca565b50505050565b600a5433906001600160a01b0316811480159061130357506008546001600160a01b03828116911614155b15611321576040516332a2673b60e21b815260040160405180910390fd5b6001600160a01b0382165f908152600d6020526040902054600160c01b90046001600160401b031615611367576040516324d9026760e11b815260040160405180910390fd5b6001600160a01b0382165f908152600d60205260409020546001600160b81b0316156113a65760405163624718b960e11b815260040160405180910390fd5b6001600160a01b0382165f908152600d6020526040902054600160b81b900460ff166113f057604051632215cda760e01b81526001600160a01b0383166004820152602401610ed8565b6001600160a01b0382165f90815260106020526040902054600160c01b90046001600160401b03161561144157604051634fc6b6fd60e01b81526001600160a01b0383166004820152602401610ed8565b600e5461144e9042614b06565b6001600160a01b0383165f818152600d6020526040902080546001600160401b0393909316600160c01b026001600160c01b03909316929092179091556114923390565b6001600160a01b03167f354f25f4208ab6528fb2d016019c0e2a66f51376cbb2cc8571064779735d348560405160405180910390a35050565b601481815481106114da575f80fd5b5f918252602090912001546001600160a01b0316905081565b6114fb612d62565b6012546001600160601b031681036115265760405163a741a04560e01b815260040160405180910390fd5b6706f05b59d3b2000081111561154f5760405163f4df6ae560e01b815260040160405180910390fd5b801580159061156e5750601254600160601b90046001600160a01b0316155b1561158c576040516333fe7c6560e21b815260040160405180910390fd5b611597610c786129ff565b601280546001600160601b0383166bffffffffffffffffffffffff199091168117909155604080519182525133917f01fe2943baee27f47add82886c2200f910c749c461c9b63c5fe83901a53bdb49919081900360200190a250565b5f6115fc612874565b5f6116056129ff565b601581905590506116208461161960025490565b835f612d8f565b915061162e33848685612dc6565b6116388285612e0c565b6116406128ca565b5092915050565b61164f612d62565b610c8d5f612e4d565b611660612d62565b600e5481036116825760405163a741a04560e01b815260040160405180910390fd5b601154600160c01b90046001600160401b0316156116b3576040516324d9026760e11b815260040160405180910390fd5b6116bc81612e66565b600e548111156116d2576116cf81612eac565b50565b600e546116e3906011908390612eed565b6040518181527fb3aa0ade2442acf51d06713c2d1a5a3ec0373cce969d42b53f4689f97bccf380906020015b60405180910390a150565b60095433906001600160a01b031681146117525760405163118cdaa760e01b81526001600160a01b0382166004820152602401610ed8565b6116cf81612e4d565b6001600160a01b0381165f90815260076020526040812054610b80565b6001600160a01b0381165f90815260106020526040812054600160c01b90046001600160401b0316908190036117c15760405163e5f408a560e01b815260040160405180910390fd5b804210156117e25760405163333bd2cb60e11b815260040160405180910390fd5b6117ea612874565b6001600160a01b0382165f908152601060205260409020546118169083906001600160c01b0316612f37565b61181e6128ca565b5050565b5f6060805f5f5f606061183361310c565b61183b613139565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b601154600160c01b90046001600160401b03165f8190036118985760405163e5f408a560e01b815260040160405180910390fd5b804210156118b95760405163333bd2cb60e11b815260040160405180910390fd5b6011546116cf906001600160c01b0316612eac565b5f6118d7612874565b5f6118e06129ff565b601581905590506118fc846118f460025490565b836001613166565b915061190a33848487612dc6565b6116388483612e0c565b606060048054610af490614b19565b61192b612d62565b600c546001600160a01b039081169082160361195a5760405163a741a04560e01b815260040160405180910390fd5b600f54600160a01b90046001600160401b03161561198b576040516324d9026760e11b815260040160405180910390fd5b600c546001600160a01b03166119a4576116cf81613195565b600e546119b590600f9083906131f0565b6040516001600160a01b038216907f7633313af54753bce8a149927263b1a55eba857ba4ef1d13c6aee25d384d3c4b905f90a250565b600f54600160a01b90046001600160401b03165f819003611a1f5760405163e5f408a560e01b815260040160405180910390fd5b80421015611a405760405163333bd2cb60e11b815260040160405180910390fd5b600f546116cf906001600160a01b0316613195565b5f611a5e612874565b611a68838361323f565b9050610b806128ca565b600c546001600160a01b0316336001600160a01b031614158015611aaa5750600a546001600160a01b0316336001600160a01b031614155b8015611ac157506008546001600160a01b03163314155b15611adf5760405163d080fa3160e01b815260040160405180910390fd5b6001600160a01b0381165f818152600d602052604080822080546001600160c01b031690555133917f8387c3346650400a72032f8bd1aa3f5f44038cf2bf32945e8eeb8a498decea7791a350565b604080515f815260208101909152606090826001600160401b03811115611b5657611b56614b51565b604051908082528060200260200182016040528015611b8957816020015b6060815260200190600190039081611b745790505b5091505f5b83811015611c0a57611be530868684818110611bac57611bac614ade565b9050602002810190611bbe9190614c0f565b85604051602001611bd193929190614c68565b60405160208183030381529060405261324c565b838281518110611bf757611bf7614ade565b6020908102919091010152600101611b8e565b505092915050565b611c1a612d62565b604051630c758a4b60e31b81526001600160a01b03831660048201528115156024820152600b6044820152736130d23c2476994884e9f3e60e6bc394d7ea0518906363ac5258906064015f6040518083038186803b158015611c7a575f5ffd5b505af4158015611c8c573d5f5f3e3d5ffd5b505050505050565b5f610b80826001612806565b5f611ca9612874565b5f611cb26129ff565b9050611cc985611cc160025490565b836001612d8f565b9150611cda85820386831102612a6d565b611ce733858588866132b5565b611cef6128ca565b509392505050565b5f611d00612874565b5f611d096129ff565b9050611d1f85611d1860025490565b835f613166565b9150611d3082820383831102612a6d565b611ce733858585896132b5565b335f818152600b602052604090205460ff16158015611d6a5750600a546001600160a01b03828116911614155b8015611d8457506008546001600160a01b03828116911614155b15611da25760405163f7137c0f60e01b815260040160405180910390fd5b611daa612874565b5f5f5f5b84811015612175575f868683818110611dc957611dc9614ade565b905060400201803603810190611ddf9190614cad565b90505f5f611def835f01516132cb565b915091505f611e0683856020015180821191030290565b90508015611fd35783516001600160a01b03165f908152600d6020526040902054600160b81b900460ff16611e5c578351604051632215cda760e01b81526001600160a01b039091166004820152602401610ed8565b5f84602001515f03611e6e57505f9050815b5f808215611ef8578651604051635d043b2960e11b815260048101859052306024820181905260448201526001600160a01b039091169063ba087652906064016020604051808303815f875af1158015611eca573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eee9190614d04565b9150829050611f76565b8651604051632d182be560e21b815260048101869052306024820181905260448201528593506001600160a01b039091169063b460af94906064016020604051808303815f875af1158015611f4f573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f739190614d04565b90505b865160408051848152602081018490526001600160a01b039092169133917f416d9fcbb15941508bf9f557a950fb085de673ae90db45a32efdc9b35f29b0f1910160405180910390a3611fc9828a614b06565b9850505050612168565b5f5f19856020015114611ff757611ff285602001518580821191030290565b611fff565b878703888811025b9050805f0361201257505050505061216d565b84516001600160a01b03165f908152600d60205260408120546001600160b81b03169081900361206357855160405163320b1e2560e21b81526001600160a01b039091166004820152602401610ed8565b8061206e8387614b06565b111561209b57855160405163034506ef60e21b81526001600160a01b039091166004820152602401610ed8565b8551604051636e553f6560e01b8152600481018490523060248201525f916001600160a01b031690636e553f65906044016020604051808303815f875af11580156120e8573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061210c9190614d04565b875160408051868152602081018490529293506001600160a01b039091169133917f73e8a9d66522fa5c6fcec2e89aad8e52f6f66eadeb7fc7c172cfcbacb5283851910160405180910390a3612162838b614b06565b99505050505b505050505b600101611dae565b50818114612196576040516309e36b8960e41b815260040160405180910390fd5b61219e6128ca565b5050505050565b5f5f6121af612bf6565b9050610c50815f612846565b5f610b80825f612846565b6008546001600160a01b031633148015906121f55750600c546001600160a01b0316336001600160a01b031614155b1561221357604051637cf97e4d60e11b815260040160405180910390fd5b5f601181905560405133917f921828337692c347c634c5d2aacbc7b756014674bd236f3cc2058d8e284a951b91a2565b5f61224d826132ea565b50909392505050565b8342111561227a5760405163313c898160e11b815260048101859052602401610ed8565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886122c58c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61231f826133c9565b90505f61232e828787876133f5565b9050896001600160a01b0316816001600160a01b031614612375576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610ed8565b6123808a8a8a612834565b50505050505050505050565b5f5f5f5f612399856132ea565b9250925092506123ab8383835f613421565b95945050505050565b6123bc612d62565b6012546001600160a01b03600160601b9091048116908216036123f25760405163a741a04560e01b815260040160405180910390fd5b6001600160a01b03811615801561241357506012546001600160601b031615155b15612431576040516333fe7c6560e21b815260040160405180910390fd5b61243c610c786129ff565b601280546001600160601b0316600160601b6001600160a01b038416908102919091179091556040517f2e979f80fe4d43055c584cf4a8467c55875ea36728fc37176c05acd784eb7a73905f90a250565b612495612d62565b600a546001600160a01b03908116908216036124c45760405163a741a04560e01b815260040160405180910390fd5b600a80546001600160a01b0319166001600160a01b0383169081179091556040517fbd0a63c12948fbc9194a5839019f99c9d71db924e5c70018265bc778b8f1a506905f90a250565b600a5433906001600160a01b0316811480159061253857506008546001600160a01b03828116911614155b15612556576040516332a2673b60e21b815260040160405180910390fd5b7f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b0316836001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125bc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125e09190614d1b565b6001600160a01b03161461261257604051634854a41360e11b81526001600160a01b0384166004820152602401610ed8565b6001600160a01b0383165f90815260106020526040902054600160c01b90046001600160401b031615612658576040516324d9026760e11b815260040160405180910390fd5b6001600160a01b0383165f908152600d6020526040902054600160c01b90046001600160401b03161561269e576040516325f600a360e11b815260040160405180910390fd5b6001600160a01b0383165f908152600d60205260409020546001600160b81b03168083036126df5760405163a741a04560e01b815260040160405180910390fd5b808310156126fe576126f9846126f48561346e565b612f37565b6112d2565b61272b61270a8461346e565b600e546001600160a01b0387165f9081526010602052604090209190612eed565b6040518381526001600160a01b0385169033907f7bfc48861a5d71fc7afd7b9c92b4feeef1628ab1d5145dede52590c46dd155e9906020015b60405180910390a350505050565b61277a612d62565b600980546001600160a01b0383166001600160a01b031990911681179091556127ab6008546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b601381815481106114da575f80fd5b5f610c50836128018585612cf6565b6134a1565b5f5f5f6128116134d0565b915091506123ab858361282360025490565b61282d9190614b06565b8387613557565b612841838383600161359b565b505050565b5f5f5f6128516134d0565b915091506123ab858361286360025490565b61286d9190614b06565b8387613421565b60ff5f5c1615612897576040516329f745a760e01b815260040160405180910390fd5b60015f805c60ff19168217905d50565b5f336128b485828561365f565b6128bf8585856136d4565b506001949350505050565b5f60ff19815c16815d50565b5f306001600160a01b037f0000000000000000000000005484e7f419d5d74c7b372ba61769515dfefef92a1614801561292e57507f000000000000000000000000000000000000000000000000000000000000009246145b1561295857507fe1baefd001b9fff7386d7fe77e5815403aa3dfb14eef5d5fb423fd26ec3fa9a190565b610c60604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527fcdb8fb35ae4f1f8dc1eb6c2d4eeb4f2872654142b326c0c3303bc7307954c176918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b5f5f612a096134d0565b925090508015612a3057601254612a3090600160601b90046001600160a01b031682613731565b60408051838152602081018390527ff66f28b40975dbb933913542c7e6a0f50a1d0f20aa74ea6e0efe65ab616323ec910160405180910390a15090565b60158190556040518181527f15c027cc4fd826d986cad358803439f7326d3aa4ed969ff90dbee4bc150f68e99060200161170f565b5f7f0000000000000000000000005fce5d13a3f743d0f4889a0d31645967df1702b46001600160a01b031663d166962b6040518163ffffffff1660e01b81526004015f60405180830381865afa158015612afe573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b259190810190614d36565b6040805160048152602481019091526020810180516001600160e01b0316637abd325760e11b1790529091505f5b8251811015612841575f838281518110612b6f57612b6f614ade565b60200260200101516001600160a01b031683604051612b8e9190614de8565b5f60405180830381855af49150503d805f8114612bc6576040519150601f19603f3d011682016040523d82523d5f602084013e612bcb565b606091505b5050905080612bed57604051631bc7e5c360e21b815260040160405180910390fd5b50600101612b53565b5f5f5b601354811015610ae1575f60138281548110612c1757612c17614ade565b5f9182526020808320909101546001600160a01b0316808352600d90915260408220549092506001600160b81b031690819003612c55575050612cee565b5f612c5f836132cb565b5060405163402d267d60e01b81523060048201529091505f906001600160a01b0385169063402d267d90602401602060405180830381865afa158015612ca7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ccb9190614d04565b9050612cdd8183850384861102613765565b612ce79087614b06565b9550505050505b600101612bf9565b6040516370a0823160e01b81526001600160a01b0382811660048301525f91908416906370a08231906024015b602060405180830381865afa158015612d3e573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c509190614d04565b6008546001600160a01b03163314610c8d5760405163118cdaa760e01b8152336004820152602401610ed8565b5f612d9c85858585613421565b9050805f03612dbe57604051639811e0c760e01b815260040160405180910390fd5b949350505050565b805f03612de657604051636536c9a760e01b815260040160405180910390fd5b612df28484848461377a565b612dfb826137fe565b6112d282601554610c789190614b06565b5f612e1683610b75565b9050818110612e2457505050565b808203600a81818110611c8c57604051633c02e26d60e01b8152600401610ed891815260200190565b600980546001600160a01b03191690556116cf81613937565b62127500811115612e8a576040516346fedb5760e01b815260040160405180910390fd5b60018110156116cf57604051631a1593df60e11b815260040160405180910390fd5b600e81905560405181815233907fd28e9b90ee9b37c5936ff84392d71f29ff18117d7e76bcee60615262a90a3f759060200160405180910390a2505f601155565b82546001600160c01b0319166001600160b81b038316178355612f108142614b06565b83546001600160401b0391909116600160c01b026001600160c01b03909116179092555050565b6001600160a01b0382165f908152600d60205260408120906001600160b81b03831615613058578154600160b81b900460ff1661304757601480546001810182555f8290527fce6d7b5282bd9a3661ae061feed1dbda4e52ab073b1f9285be6e155d9c38d4ec0180546001600160a01b0319166001600160a01b03871617905554601e1015612fd9576040516340797bd760e11b815260040160405180910390fd5b815460ff60b81b1916600160b81b178255613004612ff785306127f2565b601554610c789190614b06565b336001600160a01b03167f834ae37621cd31f2636b1cb6f1bded844d79ecf755af866b5d896da642d7b567601460405161303e9190614df3565b60405180910390a25b5080546001600160c01b031681555f195b81546001600160b81b0319166001600160b81b0384161782556130a784827f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad386001600160a01b03169190613988565b604080516001600160b81b038516815290516001600160a01b0386169133917f10dbbfa98a21bc7a80d86cb89391600c590e0e2ce25698013741bcad429565699181900360200190a35050506001600160a01b03165f90815260106020526040812055565b6060610c607f736f6e69632073207661756c74207468726565206d696e0000000000000000176005613a45565b6060610c607f31000000000000000000000000000000000000000000000000000000000000016006613a45565b5f61317385858585613557565b9050805f03612dbe57604051630cb65c7760e21b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831690811790915560405133907fcb11cc8aade2f5a556749d1b2380d108a16fac3431e6a5d5ce12ef9de0bd76e3905f90a350600f80546001600160e01b0319169055565b82546001600160a01b0319166001600160a01b0383161783556132138142614b06565b83546001600160401b0391909116600160a01b0267ffffffffffffffff60a01b19909116179092555050565b5f33610b938185856136d4565b60605f5f846001600160a01b0316846040516132689190614de8565b5f60405180830381855af49150503d805f81146132a0576040519150601f19603f3d011682016040523d82523d5f602084013e6132a5565b606091505b50915091506123ab858383613aee565b6132be82613b4a565b61219e8585858585613cae565b5f5f6132d78330612cf6565b90506132e383826134a1565b9150915091565b5f5f5f5f6132f66134d0565b925090508061330460025490565b61330e9190614b06565b9250613339613331866001600160a01b03165f9081526020819052604090205490565b84845f613557565b6040516323b9c4c560e11b81526004810182905260146024820152909450736130d23c2476994884e9f3e60e6bc394d7ea051890634773898a90604401602060405180830381865af4158015613391573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133b59190614d04565b6133bf9085614bfc565b9350509193909250565b5f610b806133d56128d6565b8360405161190160f01b8152600281019290925260228201526042902090565b5f5f5f5f61340588888888613d6e565b9250925092506134158282613e36565b50909695505050505050565b5f6123ab6134507f0000000000000000000000000000000000000000000000000000000000000003600a614f19565b61345a9086614b06565b613465856001614b06565b87919085613eee565b5f6001600160b81b03821115610ae1576040516306dfcc6560e41b815260b8600482015260248101839052604401610ed8565b60405163266d6a8360e11b8152600481018290525f906001600160a01b03841690634cdad50690602401612d23565b5f5f6134da610a8b565b90505f6134ed8260155480821191030290565b9050801580159061350857506012546001600160601b031615155b15613552576012545f9061352f9083906001600160601b0316670de0b6b3a7640000613f30565b905061354e8161353e60025490565b6135488487614bfc565b5f613421565b9350505b509091565b5f6123ab613566846001614b06565b6135917f0000000000000000000000000000000000000000000000000000000000000003600a614f19565b6134659087614b06565b6001600160a01b0384166135c45760405163e602df0560e01b81525f6004820152602401610ed8565b6001600160a01b0383166135ed57604051634a1406b160e11b81525f6004820152602401610ed8565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156112d257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161276491815260200190565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146112d257818110156136c657604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610ed8565b6112d284848484035f61359b565b6001600160a01b0383166136fd57604051634b637e8f60e11b81525f6004820152602401610ed8565b6001600160a01b0382166137265760405163ec442f0560e01b81525f6004820152602401610ed8565b612841838383613fed565b6001600160a01b03821661375a5760405163ec442f0560e01b81525f6004820152602401610ed8565b61181e5f8383613fed565b5f8183106137735781610c50565b5090919050565b6137a67f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38853085614017565b6137b08382613731565b826001600160a01b0316846001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78484604051612764929190918252602082015260400190565b5f5b601354811015613917575f6013828154811061381e5761381e614ade565b5f9182526020808320909101546001600160a01b0316808352600d90915260408220549092506001600160b81b03169081900361385c57505061390f565b5f613866836132cb565b509050808203818311028581118682180280821891146138fb57604051636e553f6560e01b8152600481018290523060248201526001600160a01b03851690636e553f65906044016020604051808303815f875af19250505080156138e8575060408051601f3d908101601f191682019092526138e591810190614d04565b60015b156138fb57506138f88187614bfc565b95505b855f0361390a57505050505050565b505050505b600101613800565b5080156116cf5760405163ded0652d60e01b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526139d98482614050565b6112d2576040516001600160a01b0384811660248301525f6044830152613a3b91869182169063095ea7b3906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b0383818316178352505050506140ed565b6112d284826140ed565b606060ff8314613a5f57613a588361414e565b9050610b80565b818054613a6b90614b19565b80601f0160208091040260200160405190810160405280929190818152602001828054613a9790614b19565b8015613ae25780601f10613ab957610100808354040283529160200191613ae2565b820191905f5260205f20905b815481529060010190602001808311613ac557829003601f168201915b50505050509050610b80565b606082613b0357613afe8261418b565b610c50565b8151158015613b1a57506001600160a01b0384163b155b15613b4357604051639996b31560e01b81526001600160a01b0385166004820152602401610ed8565b5080610c50565b5f5b601454811015613c8e575f60148281548110613b6a57613b6a614ade565b5f91825260208220015460405163ce96cb7760e01b81523060048201526001600160a01b039091169250613bed90839063ce96cb7790602401602060405180830381865afa158015613bbe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613be29190614d04565b858111818718021890565b90508015613c7757604051632d182be560e21b815260048101829052306024820181905260448201526001600160a01b0383169063b460af94906064016020604051808303815f875af1925050508015613c64575060408051601f3d908101601f19168201909252613c6191810190614d04565b60015b15613c775750613c748185614bfc565b93505b835f03613c845750505050565b5050600101613b4c565b5080156116cf57604051634323a55560e01b815260040160405180910390fd5b826001600160a01b0316856001600160a01b031614613cd257613cd283868361365f565b613cdc83826141b4565b613d077f000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3885846141e8565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8585604051613d5f929190918252602082015260400190565b60405180910390a45050505050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115613da757505f91506003905082613e2c565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015613df8573d5f5f3e3d5ffd5b5050604051601f1901519150506001600160a01b038116613e2357505f925060019150829050613e2c565b92505f91508190505b9450945094915050565b5f826003811115613e4957613e49614f27565b03613e52575050565b6001826003811115613e6657613e66614f27565b03613e845760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115613e9857613e98614f27565b03613eb95760405163fce698f760e01b815260048101829052602401610ed8565b6003826003811115613ecd57613ecd614f27565b0361181e576040516335e2f38360e21b815260048101829052602401610ed8565b5f613f1b613efb83614219565b8015613f1657505f8480613f1157613f11614f3b565b868809115b151590565b613f26868686613f30565b6123ab9190614b06565b5f838302815f1985870982811083820303915050805f03613f6457838281613f5a57613f5a614f3b565b0492505050610c50565b808411613f8257613f828415613f7b576011614245565b6012614245565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b613ff5612aa2565b614000838383614256565b805f0361400c57505050565b61284183838361437c565b6040516001600160a01b0384811660248301528381166044830152606482018390526112d29186918216906323b872dd90608401613a09565b5f5f5f846001600160a01b03168460405161406b9190614de8565b5f604051808303815f865af19150503d805f81146140a4576040519150601f19603f3d011682016040523d82523d5f602084013e6140a9565b606091505b50915091508180156140d35750805115806140d35750808060200190518101906140d39190614f4f565b80156123ab5750505050506001600160a01b03163b151590565b5f6141016001600160a01b03841683614528565b905080515f141580156141255750808060200190518101906141239190614f4f565b155b1561284157604051635274afe760e01b81526001600160a01b0384166004820152602401610ed8565b60605f61415a83614535565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b80511561419b5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b0382166141dd57604051634b637e8f60e11b81525f6004820152602401610ed8565b61181e825f83613fed565b6040516001600160a01b0383811660248301526044820183905261284191859182169063a9059cbb90606401613a09565b5f600282600381111561422e5761422e614f27565b6142389190614f6a565b60ff166001149050919050565b634e487b715f52806020526024601cfd5b6001600160a01b038316614280578060025f8282546142759190614b06565b909155506142f09050565b6001600160a01b0383165f90815260208190526040902054818110156142d25760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610ed8565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661430c5760028054829003905561432a565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161436f91815260200190565b60405180910390a3505050565b5f7f0000000000000000000000005fce5d13a3f743d0f4889a0d31645967df1702b46001600160a01b0316637a2bbb686040518163ffffffff1660e01b81526004015f60405180830381865afa1580156143d8573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526143ff9190810190614d36565b90505f61440b60025490565b90505f6001600160a01b0386161561443a576001600160a01b0386165f9081526020819052604090205461443c565b5f5b90505f6001600160a01b0386161561446b576001600160a01b0386165f9081526020819052604090205461446d565b5f5b90505f5b845181101561451e5784818151811061448c5761448c614ade565b602090810291909101015160405163bbdc013b60e01b81526001600160a01b038a81166004830152602482018690528981166044830152606482018590526084820187905260a482018990529091169063bbdc013b9060c4015f604051808303815f87803b1580156144fc575f5ffd5b505af115801561450e573d5f5f3e3d5ffd5b5050600190920191506144719050565b5050505050505050565b6060610c5083835f61455c565b5f60ff8216601f811115610b8057604051632cd44ac360e21b815260040160405180910390fd5b6060814710156145885760405163cf47918160e01b815247600482015260248101839052604401610ed8565b5f5f856001600160a01b031684866040516145a39190614de8565b5f6040518083038185875af1925050503d805f81146145dd576040519150601f19603f3d011682016040523d82523d5f602084013e6145e2565b606091505b50915091506145f2868383613aee565b9695505050505050565b828054828255905f5260205f2090810192821561464f579160200282015b8281111561464f57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061461a565b50610ae19291506146ac565b828054828255905f5260205f2090810192821561464f579160200282015b8281111561464f5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190614679565b5b80821115610ae1575f81556001016146ad565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610c5060208301846146c0565b5f60208284031215614710575f5ffd5b5035919050565b6001600160a01b03811681146116cf575f5ffd5b5f5f6040838503121561473c575f5ffd5b823561474781614717565b946020939093013593505050565b5f60208284031215614765575f5ffd5b8135610c5081614717565b5f5f5f60608486031215614782575f5ffd5b833561478d81614717565b9250602084013561479d81614717565b929592945050506040919091013590565b5f5f83601f8401126147be575f5ffd5b5081356001600160401b038111156147d4575f5ffd5b6020830191508360208260051b85010111156147ee575f5ffd5b9250929050565b5f5f60208385031215614806575f5ffd5b82356001600160401b0381111561481b575f5ffd5b614827858286016147ae565b90969095509350505050565b5f5f60408385031215614844575f5ffd5b82359150602083013561485681614717565b809150509250929050565b60ff60f81b8816815260e060208201525f61487f60e08301896146c0565b828103604084015261489181896146c0565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b818110156148e65783518352602093840193909201916001016148c8565b50909b9a5050505050505050505050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561494e57603f198786030184526149398583516146c0565b9450602093840193919091019060010161491d565b50929695505050505050565b80151581146116cf575f5ffd5b5f5f60408385031215614978575f5ffd5b823561498381614717565b915060208301356148568161495a565b5f5f5f606084860312156149a5575f5ffd5b8335925060208401356149b781614717565b915060408401356149c781614717565b809150509250925092565b5f5f602083850312156149e3575f5ffd5b82356001600160401b038111156149f8575f5ffd5b8301601f81018513614a08575f5ffd5b80356001600160401b03811115614a1d575f5ffd5b8560208260061b8401011115614a31575f5ffd5b6020919091019590945092505050565b5f5f5f5f5f5f5f60e0888a031215614a57575f5ffd5b8735614a6281614717565b96506020880135614a7281614717565b95506040880135945060608801359350608088013560ff81168114614a95575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f60408385031215614ac3575f5ffd5b8235614ace81614717565b9150602083013561485681614717565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610b8057610b80614af2565b600181811c90821680614b2d57607f821691505b602082108103614b4b57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52604160045260245ffd5b602080825282518282018190525f918401906040840190835b81811015614ba55783516001600160a01b0316835260209384019390920191600101614b7e565b509095945050505050565b602080825281018290525f8360408301825b85811015614bf2578235614bd581614717565b6001600160a01b0316825260209283019290910190600101614bc2565b5095945050505050565b81810381811115610b8057610b80614af2565b5f5f8335601e19843603018112614c24575f5ffd5b8301803591506001600160401b03821115614c3d575f5ffd5b6020019150368190038213156147ee575f5ffd5b5f81518060208401855e5f93019283525090919050565b828482375f8382015f81526145f28185614c51565b604051601f8201601f191681016001600160401b0381118282101715614ca557614ca5614b51565b604052919050565b5f6040828403128015614cbe575f5ffd5b50604080519081016001600160401b0381118282101715614ce157614ce1614b51565b6040528235614cef81614717565b81526020928301359281019290925250919050565b5f60208284031215614d14575f5ffd5b5051919050565b5f60208284031215614d2b575f5ffd5b8151610c5081614717565b5f60208284031215614d46575f5ffd5b81516001600160401b03811115614d5b575f5ffd5b8201601f81018413614d6b575f5ffd5b80516001600160401b03811115614d8457614d84614b51565b8060051b614d9460208201614c7d565b91825260208184018101929081019087841115614daf575f5ffd5b6020850194505b83851015614ddd5784519250614dcb83614717565b82825260209485019490910190614db6565b979650505050505050565b5f610c508284614c51565b602080825282548282018190525f848152918220906040840190835b81811015614ba55783546001600160a01b0316835260019384019360209093019201614e0f565b6001815b6001841115614e7157808504811115614e5557614e55614af2565b6001841615614e6357908102905b60019390931c928002614e3a565b935093915050565b5f82614e8757506001610b80565b81614e9357505f610b80565b8160018114614ea95760028114614eb357614ecf565b6001915050610b80565b60ff841115614ec457614ec4614af2565b50506001821b610b80565b5060208310610133831016604e8410600b8410161715614ef2575081810a610b80565b614efe5f198484614e36565b805f1904821115614f1157614f11614af2565b029392505050565b5f610c5060ff841683614e79565b634e487b7160e01b5f52602160045260245ffd5b634e487b7160e01b5f52601260045260245ffd5b5f60208284031215614f5f575f5ffd5b8151610c508161495a565b5f60ff831680614f8857634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea2646970667358221220ed5cf8f6aad5fad92e38011702b2e1d83a947a8f6b09d3ed53006ea0a824264064736f6c634300081c0033
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.