Spend less on fees, more on crypto. Buy crypto easily with MoonPay Balance. 20M+ users trust MoonPay worldwide.
Ready to onboard to Ethereum? With MetaMask Portfolio, you're in control.
Don’t invest unless you’re prepared to lose all the money you invest.
Ready to simplify your web3 experience? Try the all-in-one web3 app trusted by millions worldwide.
No gas? No problem. MetaMask Gas Station includes gas fees directly in your quote.
Everyday giveaways up to 100 ETH, Lucky Spins. Deposit BONUS 300% and Cashbacks!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Slots, Roulette, Poker & more - Proud sponsors of UFC, Everton & StakeF1 team!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Anonymous play on awesome games - sign up now for 25 free jackpot spins - worth $100s!
100s of games, generous bonuses, 20+ years of trusted gaming. Join CryptoWins & start winning today!
Overview
ETH Balance
Eth Value
$0.00Token Holdings
Could not find any matches!
- ERC-20 Tokens (153)2,366.55 DOGEDogecast (DOGE)$0.72@0.00030 EVERMOONEverMoon (EVERMO...)$0.00@0.00010 GRAPGRAP (GRAP)$0.00@0.000.00326878 GETHGuarded Ethe... (GETH)$10.58@3,236.090 pSAFEMOONpTokens SAFE... (pSAFEM...)$0.00@0.004,084.00924803 RBIFROBO INU (RBIF)0 stETHstETH (stETH)$0.00@3,331.05296.54770582 USHIUshi (USHI)$0.00@0.003,585 ACX [via www.across.cash]ERC-20: ! ... (ACX ...)91,654,707,716.4074 $COLONYERC-20: A Ne... ($COLON...)0 aSTETHAave interest bearing STETH$0.00@3,329.2710 ACPERC-20: Alph... (ACP)13,513,316,171.1355 AINUERC-20: Alph... (AINU)10 ANBUERC-20: ANBU... (ANBU)28.979268 auroom.financeERC-20: auro... (auroom...)36.21264383 BATMANBATMAN10 BUTTERERC-20: BUTT... (BUTTER)64.31019436 BUYTHEDIPERC-20: BUY ... (BUYTHE...)20,489.55058686 CCERC-20: Cat ... (CC)0 CHADERC-20: Chad... (CHAD)59,852.87657681 CHOSENERC-20: Chos... (CHOSEN)16,981.0621361 CBGERC-20: Cobr... (CBG)0 BIRDcoinbird52.10533767 CRINUERC-20: Crea... (CRINU)17,515,618.7759813 COMERC-20: Cult... (COM)5,619,024.46575948 Daruma-N3XERC-20: Daru... (Daruma...)257,945.41021271 DHAERC-20: Diam... (DHA)0 DIGITSERC-20: Digi... (DIGITS)115,792,089,237,316,000,... DITERC-20: Disc... (DIT)0 DOGSHIERC-20: DogS... (DOGSHI)245.00319224 DBERC-20: Down... (DB)18.42788171 DVaultERC-20: DVau... (DVault)1,395.11405739 ELITESERC-20: Elit... (ELITES)2.01459302 ElonsCapitalERC-20: Elon... (ElonsC...)44,552.14575235 SECRETERC-20: Encr... (SECRET)8,865.40953471 EternalERC-20: Eter... (Eterna...)0 EVERMARSERC-20: Ever... (EVERMA...)391,279.72845006 FEELSGOODERC-20: Feel... (FEELSG...)0 flexUSDflexUSD$0.00@0.093427.10716569 FOMOERC-20: FOMO (FOMO)0.19879961 FortuneERC-20: Fort... (Fortun...)103.96584658 FRENSINUERC-20: Fren... (FRENSI...)0.37418474 FROGEfroge.finance10 FTYERC-20: Futu... (FTY)69.97474633 FFERC-20: Fvck... (FF)140.30000932 GOALINUERC-20: Goal... (GOALIN...)4,795,494,008.09899 Gr33n_Dividend_TrackerERC-20: Gr33... (Gr33n_...)1,374.05560266 HARUHARU2,651.29114883 HAYHAYFEVER0.63150644 ICHIYOERC-20: Higu... (ICHIYO)28,174,735.6804417 IMPACTXPERC-20: Impa... (IMPACT...)0 KAERIKaeri$0.00@0.000135,548.23492238 KINUERC-20: Kai ... (KINU)0 KARUTOERC-20: Karu... (KARUTO)2,391.59073422 KINUERC-20: Kata... (KINU)568,170.7515206 KIBAKiba Inu2,970,138,674.78988 KIKAIERC-20: Kika... (KIKAI)199,088,536,584.369 KELONERC-20: Kish... (KELON)401,698,607 KPETSERC-20: Kryp... (KPETS)455,707,965,505.973 KPETSKryptoPets7,958,438.39088166 KukaiERC-20: Kuka... (Kukai)3.68227445 KUNIERC-20: Kuni... (KUNI)150,946,148.286768 KUNUKuramaInu10 KUSANAGIERC-20: Kusa... (KUSANA...)10 $PRIMALSERC-20: Live... ($PRIMA...)3.40546733 MANEKINUERC-20: Mane... (MANEKI...)5.11084402 MINUERC-20: Meme... (MINU)78,428.8753614 MiracleERC-20: Mira... (Miracl...)1,826,051,853.78958 MIYAERC-20: Miya... (MIYA)0.0000002 MiyamotoERC-20: Miya... (Miyamo...)0 MizuchiERC-20: Mizu... (Mizuch...)18,773,143,750.1482 Mononoke DAOERC-20: Mono... (Monono...)23,338.80584535 MTCERC-20: Mult... (MTC)0.43974761 MAPEERC-20: Muta... (MAPE)2,633,320 NGPEERC-20: NGP ... (NGPE)627,647.75441868 STOPITERC-20: NO (STOPIT)19,112.06799853 OROCHINUERC-20: Oroc... (OROCHI...)772.65381704 OROCHIERC-20: Oroc... (OROCHI)13,377.02543637 PokemonGoERC-20: Poke... (Pokemo...)209.88392214 PNProbably Nothing3,500 PTTERC-20: PUTI... (PTT)49,421.67275655 RELAXOERC-20: Rela... (RELAXO)11,448,934,931.7556 $ROOERC-20: Roo ... ($ROO)1,843.899244 Master RoshiERC-20: ROSH... (Master...)491,055.37324534 RYOSHI?ERC-20: Ryos... (RYOSHI...)996,616.9760749 SECERC-20: Safe... (SEC)9.58035685 SAITOKISaitoki Inu624,149.27940523 SICERC-20: Sant... (SIC)9,215,612,094.68029 SEIKOERC-20: Seik... (SEIKO)11.90989995 SFINXERC-20: Sfin... (SFINX)1,025.33515464 SHIBGOKUERC-20: Shib... (SHIBGO...)1.01525668 SHiBGOTCHiSHiBGOTCHi70,927,758,285.7169 SHIVERC-20: Shib... (SHIV)1 SHITTERERC-20: SHIT... (SHITTE...)31,994.32827771 SLEUTHERC-20: Slot... (SLEUTH)93,264.52211585 SXCERC-20: Soci... (SXC)471.67186529 $SOEERC-20: Soci... ($SOE)2.68415495 SIFYERC-20: Stak... (SIFY)1.00132297 OneERC-20: Stra... (One)10,366,382.7090262 SHIBLIERC-20: Stud... (SHIBLI)0.1 LUNCERC-20: Terr... (LUNC)0.406925 ONEERC-20: The ... (ONE)0 DIYToolbox85.93388648 TotoroERC-20: Toto... (Totoro)1.24240848 TRUMPTAMAERC-20: Trum... (TRUMPT...)0.18236773 TSIERC-20: Tsur... (TSI)0.00436353 UKANERC-20: Ukan (UKAN)155,765.43078839 UNIQERC-20: UNIQ... (UNIQ)0.00035696 UNI-V2ERC-20: Unis... (UNI-V2)1,000ERC20 ***21,789,656.8885559 WOLVERINUWOLVERINU$0.00@0.000 WOPEERC-20: Wool... (WOPE)77,000 ZTHERC-20: ZERO... (ZTH)1,409,823.39118289 ሐሳቦERC-20: ሐሳቦች... (ሐሳቦ)0.51 HQGERC-20: 环球股 (HQG)5,642.55228657 CPTINUCaptain Inu0.012 CRICrypto International0 eUSDeUSD$0.00@0.9357102.61186067 FRENfren10 LPLiquid Protocol$0.52@0.05161.00041775 LUFFYLUFFY19.63971274 Mononoke-InuMononoke Inu$0.00@0.00216,382,772.191307 Shiryo-InuShiryo-Inu$0.00@0.0013,001,869,766.5247 WINRYWinry Inu4,999.99 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]9,000 TokenERC-20 TOKEN*[Suspicious]400 TokenERC-20 TOKEN*[Suspicious]4,999.99 TokenERC-20 TOKEN*[Suspicious]429,535,206.486797 TokenERC-20 TOKEN*[Suspicious]350 TokenERC-20 TOKEN*[Suspicious]117,556,721,652.151 TokenERC-20 TOKEN*[Suspicious]429,535,206.486797 TokenERC-20 TOKEN*[Suspicious]429,535,206.486797 TokenERC-20 TOKEN*[Suspicious]808,707.6908 TokenERC-20 TOKEN*[Unsafe]3,999.99 TokenERC-20 TOKEN*[Spam]49,373,000 TokenERC-20 TOKEN*[Spam]49,373,000 TokenERC-20 TOKEN*[Spam]49,482,435 TokenERC-20 TOKEN*[Spam]49,373,000 TokenERC-20 TOKEN*[Spam]49,373,000 TokenERC-20 TOKEN*[Spam]49,373,000 TokenERC-20 TOKEN*[Spam]49,118,500 TokenERC-20 TOKEN*[Spam]801 TokenERC-20 TOKEN*[Spam]49,422,373 TokenERC-20 TOKEN*[Spam]93,588.75 TokenERC-20 TOKEN*[Spam]6,000 TokenERC-20 TOKEN*[Spam]7,600 TokenERC-20 TOKEN*[Spam]1,049 TokenERC-20 TOKEN*[Spam]3,999.99 TokenERC-20 TOKEN*[Spam]429,535,206.486797 TokenERC-20 TOKEN*[Spam]4,705,752,605.70447 TokenERC-20 TOKEN*[Spam]25,000 TokenERC-20 TOKEN*[Spam]NFT Tokens (22)ETH-Events.com10000 USD FOR FREEERC-1155Puffer Mystery Box NFT pufether.orgPuffer Mystery Box NFT pufether.orgERC-1155t.me/shibarmy_botShiba Inu Token AirdropERC-1155claim rewards on staave.netstaave.netERC-1155claim rewards on stakedeth.orgstakedeth.orgERC-1155Withdraw Request puffereth.comWithdraw Request puffereth.comERC-1155debridgeth.comWithdrawal Badge debridgeth.comERC-1155Let's Go!🎁ERC-1155Let's Go!🎁ERC-1155ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]
More Info
Private Name Tags
ContractCreator
Multichain Info
- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Analytics
- Cards New
Advanced Filter- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Transaction Hash MethodBlockFromTo0x2753efe92e4f3069669dc4361c049f552e9ddb2e976f3d04e07de3ba60cc6590 Unoswap (pending) 2024-12-28 2:05:29 1 hr ago 1735351529 IN 0.00025 ETH$0.83 (Pending) (Pending) 0x51737240e0ccf1138b8694aaae49c67a9fa6a118c409779a96a982864697f608 Swap (pending) 2024-12-22 1:29:44 6 days ago 1734830984 IN 0.00751076 ETH$25.03 (Pending) (Pending) Swap 21497981 2024-12-28 2:29:23 51 mins ago 1735352963 IN 0 ETH$0.00 0.00104448 6.25 Swap 21497942 2024-12-28 2:21:35 58 mins ago 1735352495 IN 0 ETH$0.00 0.00105438 6.25 Swap 21497920 2024-12-28 2:17:11 1 hr ago 1735352231 IN 0 ETH$0.00 0.00110963 6.25 Swap 21497878 2024-12-28 2:08:47 1 hr ago 1735351727 IN 0 ETH$0.00 0.00102679 6.25 Swap 21497749 2024-12-28 1:42:59 1 hr ago 1735350179 IN 0 ETH$0.00 0.00100411 6.30128741 Swap 21497701 2024-12-28 1:33:23 1 hr ago 1735349603 IN 0 ETH$0.00 0.00108605 6.62678439 Swap 21497692 2024-12-28 1:31:35 1 hr ago 1735349495 IN 0 ETH$0.00 0.00108513 6.62678439 Swap 21497615 2024-12-28 1:16:11 2 hrs ago 1735348571 IN 0.29580317 ETH$985.60 0.00107315 6.25 Swap 21497379 2024-12-28 0:28:47 2 hrs ago 1735345727 IN 0 ETH$0.00 0.00113678 6.92 Swap 21497089 2024-12-27 23:30:23 3 hrs ago 1735342223 IN 0 ETH$0.00 0.00113566 6.92893887 Swap 21497059 2024-12-27 23:24:23 3 hrs ago 1735341863 IN 0 ETH$0.00 0.00115518 6.40603665 Swap 21497047 2024-12-27 23:21:47 3 hrs ago 1735341707 IN 0 ETH$0.00 0.00122079 7.75314836 Swap 21497021 2024-12-27 23:16:35 4 hrs ago 1735341395 IN 0.056 ETH$186.59 0.00100792 6.25 Swap 21496987 2024-12-27 23:09:35 4 hrs ago 1735340975 IN 0.061 ETH$203.25 0.00086045 5.67233174 Swap 21496869 2024-12-27 22:45:47 4 hrs ago 1735339547 IN 0.15021305 ETH$500.50 0.00127022 5.9927941 Swap 21496825 2024-12-27 22:36:59 4 hrs ago 1735339019 IN 0 ETH$0.00 0.00174254 11 Swap 21496816 2024-12-27 22:35:11 4 hrs ago 1735338911 IN 0.00752104 ETH$25.06 0.00099915 6.44138219 Swap 21496715 2024-12-27 22:14:47 5 hrs ago 1735337687 IN 0.16906337 ETH$563.31 0.00130824 7.49681266 Swap 21496654 2024-12-27 22:02:35 5 hrs ago 1735336955 IN 0 ETH$0.00 0.00118107 7.13732405 Swap 21496575 2024-12-27 21:46:47 5 hrs ago 1735336007 IN 0 ETH$0.00 0.00106196 6.25 Swap 21496514 2024-12-27 21:34:35 5 hrs ago 1735335275 IN 0 ETH$0.00 0.00146431 6.25948893 Swap 21496492 2024-12-27 21:29:59 5 hrs ago 1735334999 IN 0 ETH$0.00 0.00229952 7.62846218 Swap 21496417 2024-12-27 21:14:59 6 hrs ago 1735334099 IN 0.00899618 ETH$29.97 0.0009761 6.32867547 Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.Latest 25 internal transactions (View All)
Advanced mode:Parent Transaction Hash Block FromTo21497981 2024-12-28 2:29:23 51 mins ago 1735352963 1.51780584 ETH$5,057.25 21497981 2024-12-28 2:29:23 51 mins ago 1735352963 1.51780584 ETH$5,057.25 21497981 2024-12-28 2:29:23 51 mins ago 1735352963 0 ETH$0.00 21497981 2024-12-28 2:29:23 51 mins ago 1735352963 0 ETH$0.00 21497942 2024-12-28 2:21:35 58 mins ago 1735352495 0.03227448 ETH$107.54 21497942 2024-12-28 2:21:35 58 mins ago 1735352495 0.03227448 ETH$107.54 21497942 2024-12-28 2:21:35 58 mins ago 1735352495 0 ETH$0.00 21497942 2024-12-28 2:21:35 58 mins ago 1735352495 0 ETH$0.00 21497920 2024-12-28 2:17:11 1 hr ago 1735352231 0 ETH$0.00 21497920 2024-12-28 2:17:11 1 hr ago 1735352231 0 ETH$0.00 21497920 2024-12-28 2:17:11 1 hr ago 1735352231 0 ETH$0.00 21497920 2024-12-28 2:17:11 1 hr ago 1735352231 0 ETH$0.00 21497878 2024-12-28 2:08:47 1 hr ago 1735351727 0.0437748 ETH$145.86 21497878 2024-12-28 2:08:47 1 hr ago 1735351727 0.0437748 ETH$145.86 21497878 2024-12-28 2:08:47 1 hr ago 1735351727 0 ETH$0.00 21497878 2024-12-28 2:08:47 1 hr ago 1735351727 0 ETH$0.00 21497749 2024-12-28 1:42:59 1 hr ago 1735350179 0.15957034 ETH$531.68 21497749 2024-12-28 1:42:59 1 hr ago 1735350179 0.15957034 ETH$531.68 21497749 2024-12-28 1:42:59 1 hr ago 1735350179 0 ETH$0.00 21497749 2024-12-28 1:42:59 1 hr ago 1735350179 0 ETH$0.00 21497701 2024-12-28 1:33:23 1 hr ago 1735349603 0.01627565 ETH$54.23 21497701 2024-12-28 1:33:23 1 hr ago 1735349603 0.01627565 ETH$54.23 21497701 2024-12-28 1:33:23 1 hr ago 1735349603 0 ETH$0.00 21497701 2024-12-28 1:33:23 1 hr ago 1735349603 0 ETH$0.00 21497692 2024-12-28 1:31:35 1 hr ago 1735349495 0.04388113 ETH$146.21 Loading...LoadingContract Name:AggregationRouterV4
Compiler Versionv0.7.6+commit.7338295f
Optimization Enabled:Yes with 1000000 runs
Other Settings:default evmVersion, MIT license, AuditedContract Source Code (Solidity)Audit Report
- - function _msgSender()
- - function _msgData()
- - function owner()
- - function renounceOwnership()
- - function transferOwnership(address ne ...
- interface IERC20
- - function totalSupply()
- - function balanceOf(address account)
- - function transfer(address recipient, ...
- - function allowance(address owner, add ...
- - function approve(address spender, uin ...
- - function transferFrom(address sender, ...
- library SafeMath
- - function tryAdd(uint256 a, uint256 b)
- - function trySub(uint256 a, uint256 b)
- - function tryMul(uint256 a, uint256 b)
- - function tryDiv(uint256 a, uint256 b)
- - function tryMod(uint256 a, uint256 b)
- - function add(uint256 a, uint256 b)
- - function sub(uint256 a, uint256 b)
- - function mul(uint256 a, uint256 b)
- - function div(uint256 a, uint256 b)
- - function mod(uint256 a, uint256 b)
- - function sub(uint256 a, uint256 b, st ...
- - function div(uint256 a, uint256 b, st ...
- - function mod(uint256 a, uint256 b, st ...
- library Address
- - function isContract(address account)
- - function sendValue(address payable re ...
- - function functionCall(address target, ...
- - function functionCall(address target, ...
- - function functionCallWithValue(addres ...
- - function functionCallWithValue(addres ...
- - function functionStaticCall(address t ...
- - function functionStaticCall(address t ...
- - function functionDelegateCall(address ...
- - function functionDelegateCall(address ...
- - function _verifyCallResult(bool succe ...
- library SafeERC20
- - function safeTransfer(IERC20 token, a ...
- - function safeTransferFrom(IERC20 toke ...
- - function safeApprove(IERC20 token, ad ...
- - function safeIncreaseAllowance(IERC20 ...
- - function safeDecreaseAllowance(IERC20 ...
- - function _callOptionalReturn(IERC20 t ...
- interface IERC20Permit
- - function permit(address owner, addres ...
- - function nonces(address owner)
- - function DOMAIN_SEPARATOR()
- library RevertReasonParser
- - function parse(bytes memory data, str ...
- - function _toHex(uint256 value)
- - function _toHex(bytes memory data)
- interface IDaiLikePermit
- - function permit(address holder, addre ...
- contract Permitable
- - function _permit(address token, bytes ...
- library UniERC20
- - function isETH(IERC20 token)
- - function uniBalanceOf(IERC20 token, a ...
- - function uniTransfer(IERC20 token, ad ...
- - function uniApprove(IERC20 token, add ...
- - function _callOptionalReturn(IERC20 t ...
- interface IAggregationExecutor
- - function callBytes(address msgSender, ...
- - function _domainSeparatorV4()
- - function _buildDomainSeparator(bytes3 ...
- - function _hashTypedDataV4(bytes32 str ...
- - function _getChainId()
- library ECDSA
- - function tryRecover(bytes32 hash, byt ...
- - function tryRecover(
- - function tryRecover(
- interface IERC1271
- - function isValidSignature(bytes32 has ...
- interface IWETH is IERC20
- - function deposit()
- - function withdraw(uint256 amount)
- contract LimitOrderProtocolRFQ is ...
- - function DOMAIN_SEPARATOR()
- - function invalidatorForOrderRFQ(addre ...
- - function cancelOrderRFQ(uint256 order ...
- - function fillOrderRFQ(
- - function fillOrderRFQToWithPermit(
- - function fillOrderRFQTo(
- - function _validate(address signer, by ...
- - function _invalidateOrder(address mak ...
- contract UnoswapRouter is EthRecei ...
- - function unoswapWithPermit(
- - function unoswap(
- - function reRevert()
- - function revertWithReason(m, len)
- - function swap(emptyPtr, swapAmount, p ...
- library SafeCast
- - function toUint128(uint256 value)
- - function toUint64(uint256 value)
- - function toUint32(uint256 value)
- - function toUint16(uint256 value)
- - function toUint8(uint256 value)
- - function toUint256(int256 value)
- - function toInt128(int256 value)
- - function toInt64(int256 value)
- - function toInt32(int256 value)
- - function toInt16(int256 value)
- - function toInt8(int256 value)
- - function toInt256(uint256 value)
- interface IUniswapV3Pool
- - function swap(
- - function token0()
- - function token1()
- - function fee()
- interface IUniswapV3SwapCallback
- - function uniswapV3SwapCallback(
- contract UnoswapV3Router is EthRec ...
- - function uniswapV3SwapToWithPermit(
- - function uniswapV3Swap(
- - function uniswapV3SwapTo(
- - function uniswapV3SwapCallback(
- - function reRevert()
- - function revertWithReason(m, len)
- - function _makeSwap(address recipient, ...
- interface IClipperExchangeInterface
- - function sellTokenForToken(IERC20 inp ...
- - function sellEthForToken(IERC20 outpu ...
- - function sellTokenForEth(IERC20 input ...
- - function theExchange()
- contract ClipperRouter is EthRecei ...
- - function clipperSwapToWithPermit(
- - function clipperSwap(
- - function clipperSwapTo(
- contract AggregationRouterV4 is Ow ... *
- - function swap(
- - function rescueFunds(IERC20 token, ui ...
- - function destroy()
/** *Submitted for verification at Etherscan.io on 2021-11-05 */ /* ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,, ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄, ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄, ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄ └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄ └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄ └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄ └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌ ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌ ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌ └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██ ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐ ╫██ ▓▌ ▌φ▒▒░▓██████████████▌▒░▓╚▒▒▒╠ ▓██╬▓██████╣█▌ ██▌ ▌╔▒▒▄████████████████▒▒▒░▌╠▒▒▒≥▐██▓╬╬███████▌ ██▌ ,╓φ╠▓«▒▒▓████▀ ▀█████████▌▒▒▒╟░▒▒▒▒▐███╬╬╣████▓█▌ ▐██ ╠▒▄▓▓███▓████└ ▀████████▌▒▒░▌╚▒▒▒▐███▓╬╬████ ╙▌ ███ ) ╠▒░░░▒░╬████▀ └████████░▒▒░╬∩▒▒▓████╬╬╣███ ▓██ ╠╠▒▒▐█▀▀▌`░╫██ ███████▒▒▒▒░▒▒½█████╬╬╣███ ███ ,█▄ ╠▒▒▒╫▌,▄▀,▒╫██ ╟██████▒▒▒░╣⌠▒▓█████╬╬╣██▌ ╘██µ ██` ╠▒▒░██╬φ╠▄▓██` ██████░░▌φ╠░▓█████▓╬╬▓██ ╟██ .φ╠▒░▄█▀░░▄██▀└ █████▌▒╣φ▒░▓██████╬╬╣██ ▀██▄▄▄╓▄███████▀ ▐█████░▓φ▒▄███████▓╬╣██ ╙▀▀▀██▀└ ████▓▄▀φ▄▓████████╬▓█▀ ▓███╬╩╔╣██████████▓██└ ╓████▀▄▓████████▀████▀ ,▓███████████████─]██╙ ,▄▓██████████████▀└ ╙ ,╓▄▓███████████████▀╙ `"▀▀▀████████▀▀▀▀`▄███▀▀└ └└ 11\ 11\ 11\ 11\ 11\ 11\ 11\ 1111 | \__| 11 | 111\ 11 | 11 | 11 | \_11 | 11\ 1111111\ 1111111\ 1111111\ 1111\ 11 | 111111\ 111111\ 11\ 11\ 11\ 111111\ 111111\ 11 | 11\ 11 | 11 |11 __11\ 11 _____|11 __11\ 11 11\11 |11 __11\\_11 _| 11 | 11 | 11 |11 __11\ 11 __11\ 11 | 11 | 11 | 11 |11 | 11 |11 / 11 | 11 | 11 \1111 |11111111 | 11 | 11 | 11 | 11 |11 / 11 |11 | \__|111111 / 11 | 11 |11 | 11 |11 | 11 | 11 | 11 |\111 |11 ____| 11 |11\ 11 | 11 | 11 |11 | 11 |11 | 11 _11< 111111\ 11 |11 | 11 |\1111111\ 11 | 11 | 11 | \11 |\1111111\ \1111 |\11111\1111 |\111111 |11 | 11 | \11\ \______|\__|\__| \__| \_______|\__| \__| \__| \__| \_______| \____/ \_____\____/ \______/ \__| \__| \__| 111111\ 11\ 11\ 11 __11\ 11 | \__| 11 / 11 | 111111\ 111111\ 111111\ 111111\ 111111\ 111111\ 111111\ 11\ 111111\ 1111111\ 11111111 |11 __11\ 11 __11\ 11 __11\ 11 __11\ 11 __11\ \____11\\_11 _| 11 |11 __11\ 11 __11\ 11 __11 |11 / 11 |11 / 11 |11 | \__|11111111 |11 / 11 | 1111111 | 11 | 11 |11 / 11 |11 | 11 | 11 | 11 |11 | 11 |11 | 11 |11 | 11 ____|11 | 11 |11 __11 | 11 |11\ 11 |11 | 11 |11 | 11 | 11 | 11 |\1111111 |\1111111 |11 | \1111111\ \1111111 |\1111111 | \1111 |11 |\111111 |11 | 11 | \__| \__| \____11 | \____11 |\__| \_______| \____11 | \_______| \____/ \__| \______/ \__| \__| 11\ 11 |11\ 11 | 11\ 11 | \111111 |\111111 | \111111 | \______/ \______/ \______/ 1111111\ 11\ 11 __11\ 11 | 11 | 11 | 111111\ 11\ 11\ 111111\ 111111\ 111111\ 1111111 |11 __11\ 11 | 11 |\_11 _| 11 __11\ 11 __11\ 11 __11< 11 / 11 |11 | 11 | 11 | 11111111 |11 | \__| 11 | 11 |11 | 11 |11 | 11 | 11 |11\ 11 ____|11 | 11 | 11 |\111111 |\111111 | \1111 |\1111111\ 11 | \__| \__| \______/ \______/ \____/ \_______|\__| */ // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.7.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File @openzeppelin/contracts/token/ERC20/[email protected] pragma solidity ^0.7.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File @openzeppelin/contracts/math/[email protected] pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when 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 SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.7.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @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://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/token/ERC20/[email protected] pragma solidity ^0.7.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 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 SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File contracts/helpers/EthReceiver.sol pragma solidity ^0.7.6; /// @title Base contract with common payable logics abstract contract EthReceiver { receive() external payable { // solhint-disable-next-line avoid-tx-origin require(msg.sender != tx.origin, "ETH deposit rejected"); } } // File @openzeppelin/contracts/drafts/[email protected] pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over `owner`'s tokens, * given `owner`'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for `permit`, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File contracts/helpers/RevertReasonParser.sol pragma solidity ^0.7.6; /// @title Library that allows to parse unsuccessful arbitrary calls revert reasons. /// See https://solidity.readthedocs.io/en/latest/control-structures.html#revert for details. /// Note that we assume revert reason being abi-encoded as Error(string) so it may fail to parse reason /// if structured reverts appear in the future. /// /// All unsuccessful parsings get encoded as Unknown(data) string library RevertReasonParser { bytes4 constant private _PANIC_SELECTOR = bytes4(keccak256("Panic(uint256)")); bytes4 constant private _ERROR_SELECTOR = bytes4(keccak256("Error(string)")); function parse(bytes memory data, string memory prefix) internal pure returns (string memory) { if (data.length >= 4) { bytes4 selector; assembly { // solhint-disable-line no-inline-assembly selector := mload(add(data, 0x20)) } // 68 = 4-byte selector + 32 bytes offset + 32 bytes length if (selector == _ERROR_SELECTOR && data.length >= 68) { uint256 offset; bytes memory reason; // solhint-disable no-inline-assembly assembly { // 36 = 32 bytes data length + 4-byte selector offset := mload(add(data, 36)) reason := add(data, add(36, offset)) } /* revert reason is padded up to 32 bytes with ABI encoder: Error(string) also sometimes there is extra 32 bytes of zeros padded in the end: https://github.com/ethereum/solidity/issues/10170 because of that we can't check for equality and instead check that offset + string length + extra 36 bytes is less than overall data length */ require(data.length >= 36 + offset + reason.length, "Invalid revert reason"); return string(abi.encodePacked(prefix, "Error(", reason, ")")); } // 36 = 4-byte selector + 32 bytes integer else if (selector == _PANIC_SELECTOR && data.length == 36) { uint256 code; // solhint-disable no-inline-assembly assembly { // 36 = 32 bytes data length + 4-byte selector code := mload(add(data, 36)) } return string(abi.encodePacked(prefix, "Panic(", _toHex(code), ")")); } } return string(abi.encodePacked(prefix, "Unknown(", _toHex(data), ")")); } function _toHex(uint256 value) private pure returns(string memory) { return _toHex(abi.encodePacked(value)); } function _toHex(bytes memory data) private pure returns(string memory) { bytes16 alphabet = 0x30313233343536373839616263646566; bytes memory str = new bytes(2 + data.length * 2); str[0] = "0"; str[1] = "x"; for (uint256 i = 0; i < data.length; i++) { str[2 * i + 2] = alphabet[uint8(data[i] >> 4)]; str[2 * i + 3] = alphabet[uint8(data[i] & 0x0f)]; } return string(str); } } // File contracts/interfaces/IDaiLikePermit.sol pragma solidity ^0.7.6; /// @title Interface for DAI-style permits interface IDaiLikePermit { function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) external; } // File contracts/helpers/Permitable.sol pragma solidity ^0.7.6; /// @title Base contract with common permit handling logics contract Permitable { function _permit(address token, bytes calldata permit) internal { if (permit.length > 0) { bool success; bytes memory result; if (permit.length == 32 * 7) { // solhint-disable-next-line avoid-low-level-calls (success, result) = token.call(abi.encodePacked(IERC20Permit.permit.selector, permit)); } else if (permit.length == 32 * 8) { // solhint-disable-next-line avoid-low-level-calls (success, result) = token.call(abi.encodePacked(IDaiLikePermit.permit.selector, permit)); } else { revert("Wrong permit length"); } if (!success) { revert(RevertReasonParser.parse(result, "Permit failed: ")); } } } } // File contracts/helpers/UniERC20.sol pragma solidity ^0.7.6; library UniERC20 { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 private constant _ETH_ADDRESS = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); IERC20 private constant _ZERO_ADDRESS = IERC20(0); function isETH(IERC20 token) internal pure returns (bool) { return (token == _ZERO_ADDRESS || token == _ETH_ADDRESS); } function uniBalanceOf(IERC20 token, address account) internal view returns (uint256) { if (isETH(token)) { return account.balance; } else { return token.balanceOf(account); } } function uniTransfer(IERC20 token, address payable to, uint256 amount) internal { if (amount > 0) { if (isETH(token)) { to.transfer(amount); } else { token.safeTransfer(to, amount); } } } function uniApprove(IERC20 token, address to, uint256 amount) internal { require(!isETH(token), "Approve called on ETH"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(abi.encodeWithSelector(token.approve.selector, to, amount)); if (!success || (returndata.length > 0 && !abi.decode(returndata, (bool)))) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, to, 0)); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, to, amount)); } } function _callOptionalReturn(IERC20 token, bytes memory data) private { // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory result) = address(token).call(data); if (!success) { revert(RevertReasonParser.parse(result, "Low-level call failed: ")); } if (result.length > 0) { // Return data is optional require(abi.decode(result, (bool)), "ERC20 operation did not succeed"); } } } // File contracts/interfaces/IAggregationExecutor.sol pragma solidity ^0.7.6; /// @title Interface for making arbitrary calls during swap interface IAggregationExecutor { /// @notice Make calls on `msgSender` with specified data function callBytes(address msgSender, bytes calldata data) external payable; // 0x2636f7f8 } // File @openzeppelin/contracts/drafts/[email protected] pragma solidity >=0.6.0 <0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = _getChainId(); _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view virtual returns (bytes32) { if (_getChainId() == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) { return keccak256( abi.encode( typeHash, name, version, _getChainId(), address(this) ) ); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", _domainSeparatorV4(), structHash)); } function _getChainId() private view returns (uint256 chainId) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 // solhint-disable-next-line no-inline-assembly assembly { chainId := chainid() } } } // File contracts/helpers/ECDSA.sol pragma solidity ^0.7.6; /** * @dev Simplified copy of OpenZeppelin ECDSA library downgraded to 0.7.6 * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/541e82144f691aa171c53ba8c3b32ef7f05b99a5/contracts/utils/cryptography/ECDSA.sol * * Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { // solhint-disable-line no-inline-assembly r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { // solhint-disable-line no-inline-assembly r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return address(0); } } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { // solhint-disable-line no-inline-assembly s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return address(0); } if (v != 27 && v != 28) { return address(0); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return address(0); } return signer; } } // File contracts/interfaces/IERC1271.sol pragma solidity ^0.7.6; /** * @dev Interface of the ERC1271 standard signature validation method for * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271]. */ interface IERC1271 { /** * @dev Should return whether the signature provided is valid for the provided data * @param hash Hash of the data to be signed * @param signature Signature byte array associated with _data */ function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue); } // File contracts/interfaces/IWETH.sol pragma solidity ^0.7.6; /// @title Interface for WETH tokens interface IWETH is IERC20 { function deposit() external payable; function withdraw(uint256 amount) external; } // File contracts/LimitOrderProtocolRFQ.sol pragma solidity ^0.7.6; pragma abicoder v2; contract LimitOrderProtocolRFQ is EthReceiver, EIP712("1inch RFQ", "2"), Permitable { using SafeMath for uint256; using SafeERC20 for IERC20; event OrderFilledRFQ( bytes32 orderHash, uint256 makingAmount ); struct OrderRFQ { // lowest 64 bits is the order id, next 64 bits is the expiration timestamp // highest bit is unwrap WETH flag which is set on taker's side // [unwrap eth(1 bit) | unused (127 bits) | expiration timestamp(64 bits) | orderId (64 bits)] uint256 info; IERC20 makerAsset; IERC20 takerAsset; address maker; address allowedSender; // equals to Zero address on public orders uint256 makingAmount; uint256 takingAmount; } bytes32 constant public LIMIT_ORDER_RFQ_TYPEHASH = keccak256( "OrderRFQ(uint256 info,address makerAsset,address takerAsset,address maker,address allowedSender,uint256 makingAmount,uint256 takingAmount)" ); uint256 private constant _UNWRAP_WETH_MASK = 1 << 255; IWETH private immutable _WETH; // solhint-disable-line var-name-mixedcase mapping(address => mapping(uint256 => uint256)) private _invalidator; constructor(address weth) { _WETH = IWETH(weth); } // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns(bytes32) { return _domainSeparatorV4(); } /// @notice Returns bitmask for double-spend invalidators based on lowest byte of order.info and filled quotes /// @return Result Each bit represents whenever corresponding quote was filled function invalidatorForOrderRFQ(address maker, uint256 slot) external view returns(uint256) { return _invalidator[maker][slot]; } /// @notice Cancels order's quote function cancelOrderRFQ(uint256 orderInfo) external { _invalidateOrder(msg.sender, orderInfo); } /// @notice Fills order's quote, fully or partially (whichever is possible) /// @param order Order quote to fill /// @param signature Signature to confirm quote ownership /// @param makingAmount Making amount /// @param takingAmount Taking amount function fillOrderRFQ( OrderRFQ memory order, bytes calldata signature, uint256 makingAmount, uint256 takingAmount ) external payable returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */) { return fillOrderRFQTo(order, signature, makingAmount, takingAmount, payable(msg.sender)); } /// @notice Fills Same as `fillOrderRFQ` but calls permit first, /// allowing to approve token spending and make a swap in one transaction. /// Also allows to specify funds destination instead of `msg.sender` /// @param order Order quote to fill /// @param signature Signature to confirm quote ownership /// @param makingAmount Making amount /// @param takingAmount Taking amount /// @param target Address that will receive swap funds /// @param permit Should consist of abiencoded token address and encoded `IERC20Permit.permit` call. /// See tests for examples function fillOrderRFQToWithPermit( OrderRFQ memory order, bytes calldata signature, uint256 makingAmount, uint256 takingAmount, address payable target, bytes calldata permit ) external returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */) { _permit(address(order.takerAsset), permit); return fillOrderRFQTo(order, signature, makingAmount, takingAmount, target); } /// @notice Same as `fillOrderRFQ` but allows to specify funds destination instead of `msg.sender` /// @param order Order quote to fill /// @param signature Signature to confirm quote ownership /// @param makingAmount Making amount /// @param takingAmount Taking amount /// @param target Address that will receive swap funds function fillOrderRFQTo( OrderRFQ memory order, bytes calldata signature, uint256 makingAmount, uint256 takingAmount, address payable target ) public payable returns(uint256 /* actualMakingAmount */, uint256 /* actualTakingAmount */) { address maker = order.maker; bool unwrapWETH = (order.info & _UNWRAP_WETH_MASK) > 0; order.info = order.info & (_UNWRAP_WETH_MASK - 1); // zero-out unwrap weth flag as it is taker-only { // Stack too deep uint256 info = order.info; // Check time expiration uint256 expiration = uint128(info) >> 64; require(expiration == 0 || block.timestamp <= expiration, "LOP: order expired"); // solhint-disable-line not-rely-on-time _invalidateOrder(maker, info); } { // stack too deep uint256 orderMakingAmount = order.makingAmount; uint256 orderTakingAmount = order.takingAmount; // Compute partial fill if needed if (takingAmount == 0 && makingAmount == 0) { // Two zeros means whole order makingAmount = orderMakingAmount; takingAmount = orderTakingAmount; } else if (takingAmount == 0) { require(makingAmount <= orderMakingAmount, "LOP: making amount exceeded"); takingAmount = orderTakingAmount.mul(makingAmount).add(orderMakingAmount - 1).div(orderMakingAmount); } else if (makingAmount == 0) { require(takingAmount <= orderTakingAmount, "LOP: taking amount exceeded"); makingAmount = orderMakingAmount.mul(takingAmount).div(orderTakingAmount); } else { revert("LOP: one of amounts should be 0"); } } require(makingAmount > 0 && takingAmount > 0, "LOP: can't swap 0 amount"); // Validate order require(order.allowedSender == address(0) || order.allowedSender == msg.sender, "LOP: private order"); bytes32 orderHash = _hashTypedDataV4(keccak256(abi.encode(LIMIT_ORDER_RFQ_TYPEHASH, order))); _validate(maker, orderHash, signature); // Maker => Taker if (order.makerAsset == _WETH && unwrapWETH) { order.makerAsset.safeTransferFrom(maker, address(this), makingAmount); _WETH.withdraw(makingAmount); target.transfer(makingAmount); } else { order.makerAsset.safeTransferFrom(maker, target, makingAmount); } // Taker => Maker if (order.takerAsset == _WETH && msg.value > 0) { require(msg.value == takingAmount, "LOP: wrong msg.value"); _WETH.deposit{ value: takingAmount }(); _WETH.transfer(maker, takingAmount); } else { require(msg.value == 0, "LOP: wrong msg.value"); order.takerAsset.safeTransferFrom(msg.sender, maker, takingAmount); } emit OrderFilledRFQ(orderHash, makingAmount); return (makingAmount, takingAmount); } function _validate(address signer, bytes32 orderHash, bytes calldata signature) private view { if (ECDSA.tryRecover(orderHash, signature) != signer) { (bool success, bytes memory result) = signer.staticcall( abi.encodeWithSelector(IERC1271.isValidSignature.selector, orderHash, signature) ); require(success && result.length == 32 && abi.decode(result, (bytes4)) == IERC1271.isValidSignature.selector, "LOP: bad signature"); } } function _invalidateOrder(address maker, uint256 orderInfo) private { uint256 invalidatorSlot = uint64(orderInfo) >> 8; uint256 invalidatorBit = 1 << uint8(orderInfo); mapping(uint256 => uint256) storage invalidatorStorage = _invalidator[maker]; uint256 invalidator = invalidatorStorage[invalidatorSlot]; require(invalidator & invalidatorBit == 0, "LOP: invalidated order"); invalidatorStorage[invalidatorSlot] = invalidator | invalidatorBit; } } // File contracts/UnoswapRouter.sol pragma solidity ^0.7.6; contract UnoswapRouter is EthReceiver, Permitable { uint256 private constant _TRANSFER_FROM_CALL_SELECTOR_32 = 0x23b872dd00000000000000000000000000000000000000000000000000000000; uint256 private constant _WETH_DEPOSIT_CALL_SELECTOR_32 = 0xd0e30db000000000000000000000000000000000000000000000000000000000; uint256 private constant _WETH_WITHDRAW_CALL_SELECTOR_32 = 0x2e1a7d4d00000000000000000000000000000000000000000000000000000000; uint256 private constant _ERC20_TRANSFER_CALL_SELECTOR_32 = 0xa9059cbb00000000000000000000000000000000000000000000000000000000; uint256 private constant _ADDRESS_MASK = 0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff; uint256 private constant _REVERSE_MASK = 0x8000000000000000000000000000000000000000000000000000000000000000; uint256 private constant _WETH_MASK = 0x4000000000000000000000000000000000000000000000000000000000000000; uint256 private constant _NUMERATOR_MASK = 0x0000000000000000ffffffff0000000000000000000000000000000000000000; /// @dev WETH address is network-specific and needs to be changed before deployment. /// It can not be moved to immutable as immutables are not supported in assembly uint256 private constant _WETH = 0x000000000000000000000000C02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; uint256 private constant _UNISWAP_PAIR_RESERVES_CALL_SELECTOR_32 = 0x0902f1ac00000000000000000000000000000000000000000000000000000000; uint256 private constant _UNISWAP_PAIR_SWAP_CALL_SELECTOR_32 = 0x022c0d9f00000000000000000000000000000000000000000000000000000000; uint256 private constant _DENOMINATOR = 1000000000; uint256 private constant _NUMERATOR_OFFSET = 160; /// @notice Same as `unoswap` but calls permit first, /// allowing to approve token spending and make a swap in one transaction. /// @param srcToken Source token /// @param amount Amount of source tokens to swap /// @param minReturn Minimal allowed returnAmount to make transaction commit /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls. /// See tests for examples function unoswapWithPermit( IERC20 srcToken, uint256 amount, uint256 minReturn, bytes32[] calldata pools, bytes calldata permit ) external returns(uint256 returnAmount) { _permit(address(srcToken), permit); return unoswap(srcToken, amount, minReturn, pools); } /// @notice Performs swap using Uniswap exchange. Wraps and unwraps ETH if required. /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited /// @param srcToken Source token /// @param amount Amount of source tokens to swap /// @param minReturn Minimal allowed returnAmount to make transaction commit /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen function unoswap( IERC20 srcToken, uint256 amount, uint256 minReturn, // solhint-disable-next-line no-unused-vars bytes32[] calldata pools ) public payable returns(uint256 returnAmount) { assembly { // solhint-disable-line no-inline-assembly function reRevert() { returndatacopy(0, 0, returndatasize()) revert(0, returndatasize()) } function revertWithReason(m, len) { mstore(0, 0x08c379a000000000000000000000000000000000000000000000000000000000) mstore(0x20, 0x0000002000000000000000000000000000000000000000000000000000000000) mstore(0x40, m) revert(0, len) } function swap(emptyPtr, swapAmount, pair, reversed, numerator, dst) -> ret { mstore(emptyPtr, _UNISWAP_PAIR_RESERVES_CALL_SELECTOR_32) if iszero(staticcall(gas(), pair, emptyPtr, 0x4, emptyPtr, 0x40)) { reRevert() } if iszero(eq(returndatasize(), 0x60)) { revertWithReason(0x0000001472657365727665732063616c6c206661696c65640000000000000000, 0x59) // "reserves call failed" } let reserve0 := mload(emptyPtr) let reserve1 := mload(add(emptyPtr, 0x20)) if reversed { let tmp := reserve0 reserve0 := reserve1 reserve1 := tmp } ret := mul(swapAmount, numerator) ret := div(mul(ret, reserve1), add(ret, mul(reserve0, _DENOMINATOR))) mstore(emptyPtr, _UNISWAP_PAIR_SWAP_CALL_SELECTOR_32) switch reversed case 0 { mstore(add(emptyPtr, 0x04), 0) mstore(add(emptyPtr, 0x24), ret) } default { mstore(add(emptyPtr, 0x04), ret) mstore(add(emptyPtr, 0x24), 0) } mstore(add(emptyPtr, 0x44), dst) mstore(add(emptyPtr, 0x64), 0x80) mstore(add(emptyPtr, 0x84), 0) if iszero(call(gas(), pair, 0, emptyPtr, 0xa4, 0, 0)) { reRevert() } } let emptyPtr := mload(0x40) mstore(0x40, add(emptyPtr, 0xc0)) let poolsOffset := add(calldataload(0x64), 0x4) let poolsEndOffset := calldataload(poolsOffset) poolsOffset := add(poolsOffset, 0x20) poolsEndOffset := add(poolsOffset, mul(0x20, poolsEndOffset)) let rawPair := calldataload(poolsOffset) switch srcToken case 0 { if iszero(eq(amount, callvalue())) { revertWithReason(0x00000011696e76616c6964206d73672e76616c75650000000000000000000000, 0x55) // "invalid msg.value" } mstore(emptyPtr, _WETH_DEPOSIT_CALL_SELECTOR_32) if iszero(call(gas(), _WETH, amount, emptyPtr, 0x4, 0, 0)) { reRevert() } mstore(emptyPtr, _ERC20_TRANSFER_CALL_SELECTOR_32) mstore(add(emptyPtr, 0x4), and(rawPair, _ADDRESS_MASK)) mstore(add(emptyPtr, 0x24), amount) if iszero(call(gas(), _WETH, 0, emptyPtr, 0x44, 0, 0)) { reRevert() } } default { if callvalue() { revertWithReason(0x00000011696e76616c6964206d73672e76616c75650000000000000000000000, 0x55) // "invalid msg.value" } mstore(emptyPtr, _TRANSFER_FROM_CALL_SELECTOR_32) mstore(add(emptyPtr, 0x4), caller()) mstore(add(emptyPtr, 0x24), and(rawPair, _ADDRESS_MASK)) mstore(add(emptyPtr, 0x44), amount) if iszero(call(gas(), srcToken, 0, emptyPtr, 0x64, 0, 0)) { reRevert() } } returnAmount := amount for {let i := add(poolsOffset, 0x20)} lt(i, poolsEndOffset) {i := add(i, 0x20)} { let nextRawPair := calldataload(i) returnAmount := swap( emptyPtr, returnAmount, and(rawPair, _ADDRESS_MASK), and(rawPair, _REVERSE_MASK), shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)), and(nextRawPair, _ADDRESS_MASK) ) rawPair := nextRawPair } switch and(rawPair, _WETH_MASK) case 0 { returnAmount := swap( emptyPtr, returnAmount, and(rawPair, _ADDRESS_MASK), and(rawPair, _REVERSE_MASK), shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)), caller() ) } default { returnAmount := swap( emptyPtr, returnAmount, and(rawPair, _ADDRESS_MASK), and(rawPair, _REVERSE_MASK), shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)), address() ) mstore(emptyPtr, _WETH_WITHDRAW_CALL_SELECTOR_32) mstore(add(emptyPtr, 0x04), returnAmount) if iszero(call(gas(), _WETH, 0, emptyPtr, 0x24, 0, 0)) { reRevert() } if iszero(call(gas(), caller(), returnAmount, 0, 0, 0, 0)) { reRevert() } } if lt(returnAmount, minReturn) { revertWithReason(0x000000164d696e2072657475726e206e6f742072656163686564000000000000, 0x5a) // "Min return not reached" } } } } // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's uintXX/intXX 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. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value < 2**128, "SafeCast: value doesn\'t fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value < 2**64, "SafeCast: value doesn\'t fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value < 2**32, "SafeCast: value doesn\'t fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value < 2**16, "SafeCast: value doesn\'t fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value < 2**8, "SafeCast: value doesn\'t fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= -2**127 && value < 2**127, "SafeCast: value doesn\'t fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= -2**63 && value < 2**63, "SafeCast: value doesn\'t fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= -2**31 && value < 2**31, "SafeCast: value doesn\'t fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= -2**15 && value < 2**15, "SafeCast: value doesn\'t fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= -2**7 && value < 2**7, "SafeCast: value doesn\'t fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { require(value < 2**255, "SafeCast: value doesn't fit in an int256"); return int256(value); } } // File contracts/interfaces/IUniswapV3Pool.sol pragma solidity ^0.7.6; interface IUniswapV3Pool { /// @notice Swap token0 for token1, or token1 for token0 /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback /// @param recipient The address to receive the output of the swap /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0 /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative) /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this /// value after the swap. If one for zero, the price cannot be greater than this value after the swap /// @param data Any data to be passed through to the callback /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive function swap( address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes calldata data ) external returns (int256 amount0, int256 amount1); /// @notice The first of the two tokens of the pool, sorted by address /// @return The token contract address function token0() external view returns (address); /// @notice The second of the two tokens of the pool, sorted by address /// @return The token contract address function token1() external view returns (address); /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6 /// @return The fee function fee() external view returns (uint24); } // File contracts/interfaces/IUniswapV3SwapCallback.sol pragma solidity ^0.7.6; /// @title Callback for IUniswapV3PoolActions#swap /// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface interface IUniswapV3SwapCallback { /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap. /// @dev In the implementation you must pay the pool tokens owed for the swap. /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped. /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token0 to the pool. /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token1 to the pool. /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call function uniswapV3SwapCallback( int256 amount0Delta, int256 amount1Delta, bytes calldata data ) external; } // File contracts/UnoswapV3Router.sol pragma solidity ^0.7.6; contract UnoswapV3Router is EthReceiver, Permitable, IUniswapV3SwapCallback { using Address for address payable; using SafeERC20 for IERC20; using SafeMath for uint256; uint256 private constant _ONE_FOR_ZERO_MASK = 1 << 255; uint256 private constant _WETH_WRAP_MASK = 1 << 254; uint256 private constant _WETH_UNWRAP_MASK = 1 << 253; bytes32 private constant _POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54; bytes32 private constant _FF_FACTORY = 0xff1F98431c8aD98523631AE4a59f267346ea31F9840000000000000000000000; bytes32 private constant _SELECTORS = 0x0dfe1681d21220a7ddca3f430000000000000000000000000000000000000000; uint256 private constant _ADDRESS_MASK = 0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff; /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK) uint160 private constant _MIN_SQRT_RATIO = 4295128739 + 1; /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK) uint160 private constant _MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342 - 1; IWETH private immutable _WETH; // solhint-disable-line var-name-mixedcase constructor(address weth) { _WETH = IWETH(weth); } /// @notice Same as `uniswapV3SwapTo` but calls permit first, /// allowing to approve token spending and make a swap in one transaction. /// @param recipient Address that will receive swap funds /// @param srcToken Source token /// @param amount Amount of source tokens to swap /// @param minReturn Minimal allowed returnAmount to make transaction commit /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls. /// See tests for examples function uniswapV3SwapToWithPermit( address payable recipient, IERC20 srcToken, uint256 amount, uint256 minReturn, uint256[] calldata pools, bytes calldata permit ) external returns(uint256 returnAmount) { _permit(address(srcToken), permit); return uniswapV3SwapTo(recipient, amount, minReturn, pools); } /// @notice Same as `uniswapV3SwapTo` but uses `msg.sender` as recipient /// @param amount Amount of source tokens to swap /// @param minReturn Minimal allowed returnAmount to make transaction commit /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen function uniswapV3Swap( uint256 amount, uint256 minReturn, uint256[] calldata pools ) external payable returns(uint256 returnAmount) { return uniswapV3SwapTo(msg.sender, amount, minReturn, pools); } /// @notice Performs swap using Uniswap V3 exchange. Wraps and unwraps ETH if required. /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited /// @param recipient Address that will receive swap funds /// @param amount Amount of source tokens to swap /// @param minReturn Minimal allowed returnAmount to make transaction commit /// @param pools Pools chain used for swaps. Pools src and dst tokens should match to make swap happen function uniswapV3SwapTo( address payable recipient, uint256 amount, uint256 minReturn, uint256[] calldata pools ) public payable returns(uint256 returnAmount) { uint256 len = pools.length; require(len > 0, "UNIV3R: empty pools"); uint256 lastIndex = len - 1; returnAmount = amount; bool wrapWeth = pools[0] & _WETH_WRAP_MASK > 0; bool unwrapWeth = pools[lastIndex] & _WETH_UNWRAP_MASK > 0; if (wrapWeth) { require(msg.value == amount, "UNIV3R: wrong msg.value"); _WETH.deposit{value: amount}(); } else { require(msg.value == 0, "UNIV3R: msg.value should be 0"); } if (len > 1) { returnAmount = _makeSwap(address(this), wrapWeth ? address(this) : msg.sender, pools[0], returnAmount); for (uint256 i = 1; i < lastIndex; i++) { returnAmount = _makeSwap(address(this), address(this), pools[i], returnAmount); } returnAmount = _makeSwap(unwrapWeth ? address(this) : recipient, address(this), pools[lastIndex], returnAmount); } else { returnAmount = _makeSwap(unwrapWeth ? address(this) : recipient, wrapWeth ? address(this) : msg.sender, pools[0], returnAmount); } require(returnAmount >= minReturn, "UNIV3R: min return"); if (unwrapWeth) { _WETH.withdraw(returnAmount); recipient.sendValue(returnAmount); } } /// @inheritdoc IUniswapV3SwapCallback function uniswapV3SwapCallback( int256 amount0Delta, int256 amount1Delta, bytes calldata /* data */ ) external override { IERC20 token0; IERC20 token1; bytes32 ffFactoryAddress = _FF_FACTORY; bytes32 poolInitCodeHash = _POOL_INIT_CODE_HASH; address payer; assembly { // solhint-disable-line no-inline-assembly function reRevert() { returndatacopy(0, 0, returndatasize()) revert(0, returndatasize()) } function revertWithReason(m, len) { mstore(0x00, 0x08c379a000000000000000000000000000000000000000000000000000000000) mstore(0x20, 0x0000002000000000000000000000000000000000000000000000000000000000) mstore(0x40, m) revert(0, len) } let emptyPtr := mload(0x40) let resultPtr := add(emptyPtr, 0x20) mstore(emptyPtr, _SELECTORS) if iszero(staticcall(gas(), caller(), emptyPtr, 0x4, resultPtr, 0x20)) { reRevert() } token0 := mload(resultPtr) if iszero(staticcall(gas(), caller(), add(emptyPtr, 0x4), 0x4, resultPtr, 0x20)) { reRevert() } token1 := mload(resultPtr) if iszero(staticcall(gas(), caller(), add(emptyPtr, 0x8), 0x4, resultPtr, 0x20)) { reRevert() } let fee := mload(resultPtr) let p := emptyPtr mstore(p, ffFactoryAddress) p := add(p, 21) // Compute the inner hash in-place mstore(p, token0) mstore(add(p, 32), token1) mstore(add(p, 64), fee) mstore(p, keccak256(p, 96)) p := add(p, 32) mstore(p, poolInitCodeHash) let pool := and(keccak256(emptyPtr, 85), _ADDRESS_MASK) if iszero(eq(pool, caller())) { revertWithReason(0x00000010554e495633523a2062616420706f6f6c000000000000000000000000, 0x54) // UNIV3R: bad pool } calldatacopy(emptyPtr, 0x84, 0x20) payer := mload(emptyPtr) } if (amount0Delta > 0) { if (payer == address(this)) { token0.safeTransfer(msg.sender, uint256(amount0Delta)); } else { token0.safeTransferFrom(payer, msg.sender, uint256(amount0Delta)); } } if (amount1Delta > 0) { if (payer == address(this)) { token1.safeTransfer(msg.sender, uint256(amount1Delta)); } else { token1.safeTransferFrom(payer, msg.sender, uint256(amount1Delta)); } } } function _makeSwap(address recipient, address payer, uint256 pool, uint256 amount) private returns (uint256) { bool zeroForOne = pool & _ONE_FOR_ZERO_MASK == 0; if (zeroForOne) { (, int256 amount1) = IUniswapV3Pool(pool).swap( recipient, zeroForOne, SafeCast.toInt256(amount), _MIN_SQRT_RATIO, abi.encode(payer) ); return SafeCast.toUint256(-amount1); } else { (int256 amount0,) = IUniswapV3Pool(pool).swap( recipient, zeroForOne, SafeCast.toInt256(amount), _MAX_SQRT_RATIO, abi.encode(payer) ); return SafeCast.toUint256(-amount0); } } } // File contracts/interfaces/IClipperExchangeInterface.sol pragma solidity ^0.7.6; /// @title Clipper interface subset used in swaps interface IClipperExchangeInterface { function sellTokenForToken(IERC20 inputToken, IERC20 outputToken, address recipient, uint256 minBuyAmount, bytes calldata auxiliaryData) external returns (uint256 boughtAmount); function sellEthForToken(IERC20 outputToken, address recipient, uint256 minBuyAmount, bytes calldata auxiliaryData) external payable returns (uint256 boughtAmount); function sellTokenForEth(IERC20 inputToken, address payable recipient, uint256 minBuyAmount, bytes calldata auxiliaryData) external returns (uint256 boughtAmount); function theExchange() external returns (address payable); } // File contracts/ClipperRouter.sol pragma solidity ^0.7.6; /// @title Clipper router that allows to use `ClipperExchangeInterface` for swaps contract ClipperRouter is EthReceiver, Permitable { using SafeERC20 for IERC20; IWETH private immutable _WETH; // solhint-disable-line var-name-mixedcase IERC20 private constant _ETH = IERC20(address(0)); bytes private constant _INCH_TAG = "1INCH"; IClipperExchangeInterface private immutable _clipperExchange; address payable private immutable _clipperPool; constructor( address weth, IClipperExchangeInterface clipperExchange ) { _clipperExchange = clipperExchange; _clipperPool = clipperExchange.theExchange(); _WETH = IWETH(weth); } /// @notice Same as `clipperSwapTo` but calls permit first, /// allowing to approve token spending and make a swap in one transaction. /// @param recipient Address that will receive swap funds /// @param srcToken Source token /// @param dstToken Destination token /// @param amount Amount of source tokens to swap /// @param minReturn Minimal allowed returnAmount to make transaction commit /// @param permit Should contain valid permit that can be used in `IERC20Permit.permit` calls. /// See tests for examples function clipperSwapToWithPermit( address payable recipient, IERC20 srcToken, IERC20 dstToken, uint256 amount, uint256 minReturn, bytes calldata permit ) external returns(uint256 returnAmount) { _permit(address(srcToken), permit); return clipperSwapTo(recipient, srcToken, dstToken, amount, minReturn); } /// @notice Same as `clipperSwapTo` but uses `msg.sender` as recipient /// @param srcToken Source token /// @param dstToken Destination token /// @param amount Amount of source tokens to swap /// @param minReturn Minimal allowed returnAmount to make transaction commit function clipperSwap( IERC20 srcToken, IERC20 dstToken, uint256 amount, uint256 minReturn ) external payable returns(uint256 returnAmount) { return clipperSwapTo(msg.sender, srcToken, dstToken, amount, minReturn); } /// @notice Performs swap using Clipper exchange. Wraps and unwraps ETH if required. /// Sending non-zero `msg.value` for anything but ETH swaps is prohibited /// @param recipient Address that will receive swap funds /// @param srcToken Source token /// @param dstToken Destination token /// @param amount Amount of source tokens to swap /// @param minReturn Minimal allowed returnAmount to make transaction commit function clipperSwapTo( address payable recipient, IERC20 srcToken, IERC20 dstToken, uint256 amount, uint256 minReturn ) public payable returns(uint256 returnAmount) { bool srcETH; if (srcToken == _WETH) { require(msg.value == 0, "CL1IN: msg.value should be 0"); _WETH.transferFrom(msg.sender, address(this), amount); _WETH.withdraw(amount); srcETH = true; } else if (srcToken == _ETH) { require(msg.value == amount, "CL1IN: wrong msg.value"); srcETH = true; } else { require(msg.value == 0, "CL1IN: msg.value should be 0"); srcToken.safeTransferFrom(msg.sender, _clipperPool, amount); } if (srcETH) { _clipperPool.transfer(amount); returnAmount = _clipperExchange.sellEthForToken(dstToken, recipient, minReturn, _INCH_TAG); } else if (dstToken == _WETH) { returnAmount = _clipperExchange.sellTokenForEth(srcToken, address(this), minReturn, _INCH_TAG); _WETH.deposit{ value: returnAmount }(); _WETH.transfer(recipient, returnAmount); } else if (dstToken == _ETH) { returnAmount = _clipperExchange.sellTokenForEth(srcToken, recipient, minReturn, _INCH_TAG); } else { returnAmount = _clipperExchange.sellTokenForToken(srcToken, dstToken, recipient, minReturn, _INCH_TAG); } } } // File contracts/AggregationRouterV4.sol pragma solidity ^0.7.6; contract AggregationRouterV4 is Ownable, EthReceiver, Permitable, UnoswapRouter, UnoswapV3Router, LimitOrderProtocolRFQ, ClipperRouter { using SafeMath for uint256; using UniERC20 for IERC20; using SafeERC20 for IERC20; uint256 private constant _PARTIAL_FILL = 1 << 0; uint256 private constant _REQUIRES_EXTRA_ETH = 1 << 1; struct SwapDescription { IERC20 srcToken; IERC20 dstToken; address payable srcReceiver; address payable dstReceiver; uint256 amount; uint256 minReturnAmount; uint256 flags; bytes permit; } constructor(address weth, IClipperExchangeInterface _clipperExchange) UnoswapV3Router(weth) LimitOrderProtocolRFQ(weth) ClipperRouter(weth, _clipperExchange) {} // solhint-disable-line no-empty-blocks /// @notice Performs a swap, delegating all calls encoded in `data` to `caller`. See tests for usage examples /// @param caller Aggregation executor that executes calls described in `data` /// @param desc Swap description /// @param data Encoded calls that `caller` should execute in between of swaps /// @return returnAmount Resulting token amount /// @return spentAmount Source token amount /// @return gasLeft Gas left function swap( IAggregationExecutor caller, SwapDescription calldata desc, bytes calldata data ) external payable returns ( uint256 returnAmount, uint256 spentAmount, uint256 gasLeft ) { require(desc.minReturnAmount > 0, "Min return should not be 0"); require(data.length > 0, "data should not be empty"); uint256 flags = desc.flags; IERC20 srcToken = desc.srcToken; IERC20 dstToken = desc.dstToken; bool srcETH = srcToken.isETH(); if (flags & _REQUIRES_EXTRA_ETH != 0) { require(msg.value > (srcETH ? desc.amount : 0), "Invalid msg.value"); } else { require(msg.value == (srcETH ? desc.amount : 0), "Invalid msg.value"); } if (!srcETH) { _permit(address(srcToken), desc.permit); srcToken.safeTransferFrom(msg.sender, desc.srcReceiver, desc.amount); } { bytes memory callData = abi.encodePacked(caller.callBytes.selector, bytes12(0), msg.sender, data); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory result) = address(caller).call{value: msg.value}(callData); if (!success) { revert(RevertReasonParser.parse(result, "callBytes failed: ")); } } spentAmount = desc.amount; returnAmount = dstToken.uniBalanceOf(address(this)); if (flags & _PARTIAL_FILL != 0) { uint256 unspentAmount = srcToken.uniBalanceOf(address(this)); if (unspentAmount > 0) { spentAmount = spentAmount.sub(unspentAmount); srcToken.uniTransfer(msg.sender, unspentAmount); } require(returnAmount.mul(desc.amount) >= desc.minReturnAmount.mul(spentAmount), "Return amount is not enough"); } else { require(returnAmount >= desc.minReturnAmount, "Return amount is not enough"); } address payable dstReceiver = (desc.dstReceiver == address(0)) ? msg.sender : desc.dstReceiver; dstToken.uniTransfer(dstReceiver, returnAmount); gasLeft = gasleft(); } function rescueFunds(IERC20 token, uint256 amount) external onlyOwner { token.uniTransfer(msg.sender, amount); } function destroy() external onlyOwner { selfdestruct(msg.sender); } }
Contract Security Audit
- Pessimistic - October 16th, 2021 - Security Audit Report
- ABDK - October 4th, 2021 - Security Audit Report
- MixBites - October 1st, 2021 - Security Audit Report
- Consensys - September 31st, 2021 - Security Audit Report
- Chainsulting - September 24th, 2021 - Security Audit Report
Contract ABI
[{"inputs":[{"internalType":"address","name":"weth","type":"address"},{"internalType":"contract IClipperExchangeInterface","name":"_clipperExchange","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"orderHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"makingAmount","type":"uint256"}],"name":"OrderFilledRFQ","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"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIMIT_ORDER_RFQ_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderInfo","type":"uint256"}],"name":"cancelOrderRFQ","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"}],"name":"clipperSwap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"}],"name":"clipperSwapTo","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"clipperSwapToWithPermit","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"contract IERC20","name":"makerAsset","type":"address"},{"internalType":"contract IERC20","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"internalType":"struct LimitOrderProtocolRFQ.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"name":"fillOrderRFQ","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"contract IERC20","name":"makerAsset","type":"address"},{"internalType":"contract IERC20","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"internalType":"struct LimitOrderProtocolRFQ.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"address payable","name":"target","type":"address"}],"name":"fillOrderRFQTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"info","type":"uint256"},{"internalType":"contract IERC20","name":"makerAsset","type":"address"},{"internalType":"contract IERC20","name":"takerAsset","type":"address"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"allowedSender","type":"address"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"}],"internalType":"struct LimitOrderProtocolRFQ.OrderRFQ","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"makingAmount","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"address payable","name":"target","type":"address"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"fillOrderRFQToWithPermit","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"maker","type":"address"},{"internalType":"uint256","name":"slot","type":"uint256"}],"name":"invalidatorForOrderRFQ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IAggregationExecutor","name":"caller","type":"address"},{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"address payable","name":"srcReceiver","type":"address"},{"internalType":"address payable","name":"dstReceiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturnAmount","type":"uint256"},{"internalType":"uint256","name":"flags","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"internalType":"struct AggregationRouterV4.SwapDescription","name":"desc","type":"tuple"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"},{"internalType":"uint256","name":"spentAmount","type":"uint256"},{"internalType":"uint256","name":"gasLeft","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"uint256[]","name":"pools","type":"uint256[]"}],"name":"uniswapV3Swap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"uint256[]","name":"pools","type":"uint256[]"}],"name":"uniswapV3SwapTo","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"uint256[]","name":"pools","type":"uint256[]"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"uniswapV3SwapToWithPermit","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"bytes32[]","name":"pools","type":"bytes32[]"}],"name":"unoswap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"bytes32[]","name":"pools","type":"bytes32[]"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"unoswapWithPermit","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101c06040523480156200001257600080fd5b506040516200569038038062005690833981016040819052620000359162000273565b818183846040518060400160405280600981526020016831696e63682052465160b81b815250604051806040016040528060018152602001601960f91b8152506000620000876200020060201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350815160208084019190912082519183019190912060c082905260e08190527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200011a62000204565b60a0526200012a81848462000208565b608052610100525050506001600160601b0319606092831b81166101205292821b8316610140525082901b166101805260408051637185b21f60e01b815290516001600160a01b03831691637185b21f9160048083019260209291908290030181600087803b1580156200019d57600080fd5b505af1158015620001b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d891906200024d565b6001600160601b0319606091821b81166101a05292901b9091166101605250620002f6915050565b3390565b4690565b60008383836200021762000204565b306040516020016200022e959493929190620002b1565b6040516020818303038152906040528051906020012090509392505050565b6000602082840312156200025f578081fd5b81516200026c81620002dd565b9392505050565b6000806040838503121562000286578081fd5b82516200029381620002dd565b6020840151909250620002a681620002dd565b809150509250929050565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b6001600160a01b0381168114620002f357600080fd5b50565b60805160a05160c05160e051610100516101205160601c6101405160601c6101605160601c6101805160601c6101a05160601c6152d3620003bd6000398061139952806113de52508061149752806115ec528061185052806118f85250806110e852806111af5280611278528061152b528061167b5280611734525080611cdc5280611d9f5280611e785280611f155280611fce52508061221e5280612403525080612a5f525080612aa1525080612a80525080612a06525080612a3652506152d36000f3fe6080604052600436106101795760003560e01c80638da5cb5b116100cb578063bc80f1a81161007f578063e449022e11610059578063e449022e146103d6578063f2fde38b146103e9578063fa461e3314610409576101c3565b8063bc80f1a814610390578063d0a3b665146103a3578063d6a92a5d146103b6576101c3565b8063a1251d75116100b0578063a1251d751461034a578063b04311821461036a578063baba58551461037d576101c3565b80638da5cb5b146103155780639994dd1514610337576101c3565b806356f161241161012d5780637c025200116101075780637c025200146102be578063825caba1146102e057806383197ef014610300576101c3565b806356f1612414610269578063715018a61461028957806378e3214f1461029e576101c3565b80632e95b6c81161015e5780632e95b6c8146102135780633644e515146102265780634cc4a27b1461023b576101c3565b806306bf53d0146101c85780632521b930146101f3576101c3565b366101c357333214156101c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614bf4565b60405180910390fd5b005b600080fd5b3480156101d457600080fd5b506101dd610429565b6040516101ea91906146e1565b60405180910390f35b3480156101ff57600080fd5b506101dd61020e366004613eeb565b61044d565b6101dd610221366004614146565b610474565b34801561023257600080fd5b506101dd6109c5565b34801561024757600080fd5b5061025b610256366004614329565b6109d5565b6040516101ea9291906148ac565b34801561027557600080fd5b506101dd610284366004613ff8565b610a06565b34801561029557600080fd5b506101c1610a3e565b3480156102aa57600080fd5b506101c16102b9366004613ff8565b610b20565b6102d16102cc366004614083565b610bb8565b6040516101ea939291906151d6565b3480156102ec57600080fd5b506101c16102fb3660046143b3565b611044565b34801561030c57600080fd5b506101c1611051565b34801561032157600080fd5b5061032a6110c7565b6040516101ea91906146ea565b6101dd610345366004613e04565b6110e3565b34801561035657600080fd5b506101dd61036536600461415d565b611993565b6101dd610378366004614101565b6119b9565b61025b61038b3660046142ac565b6119d3565b6101dd61039e366004613f90565b612109565b61025b6103b1366004614245565b612498565b3480156103c257600080fd5b506101dd6103d1366004613e5e565b6124b7565b6101dd6103e43660046143e3565b6124d1565b3480156103f557600080fd5b506101c1610404366004613de8565b6124e0565b34801561041557600080fd5b506101c1610424366004614200565b61262d565b7f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f4581565b600061045a888484612848565b6104678988888888612109565b9998505050505050505050565b60006105df565b3d6000803e3d6000fd5b7f08c379a0000000000000000000000000000000000000000000000000000000006000527c200000000000000000000000000000000000000000000000000000000060205280604052816000fd5b60007f0902f1ac000000000000000000000000000000000000000000000000000000008252604082600484875afa61050d5761050d61047b565b60603d1461053d5761053d60597c1472657365727665732063616c6c206661696c65640000000000000000610485565b81516020830151861561054c57905b7f022c0d9f000000000000000000000000000000000000000000000000000000008452878502633b9aca00929092028201910204905084801561059b57816004840152600060248401526105a9565b600060048401528160248401525b50866044830152608060648301526000608483015260008060a4846000885af16105d5576105d561047b565b9695505050505050565b60405160c08101604052600460643501803560208201915080602002820190508135896000811461069f5734156106385761063860557c11696e76616c6964206d73672e76616c75650000000000000000000000610485565b7f23b872dd00000000000000000000000000000000000000000000000000000000855233600486015273ffffffffffffffffffffffffffffffffffffffff8216602486015289604486015260008060648760008f5af161069a5761069a61047b565b61078b565b348a146106ce576106ce60557c11696e76616c6964206d73672e76616c75650000000000000000000000610485565b7fd0e30db00000000000000000000000000000000000000000000000000000000085526000806004878d73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af161071b5761071b61047b565b7fa9059cbb00000000000000000000000000000000000000000000000000000000855273ffffffffffffffffffffffffffffffffffffffff82166004860152896024860152600080604487600073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af161078b5761078b61047b565b50889450602083015b8281101561082357803561081773ffffffffffffffffffffffffffffffffffffffff821677ffffffff0000000000000000000000000000000000000000851660a01c7f8000000000000000000000000000000000000000000000000000000000000000861673ffffffffffffffffffffffffffffffffffffffff87168b8b6104d3565b96509150602001610794565b507f400000000000000000000000000000000000000000000000000000000000000081168015610921576108b03077ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a6104d3565b95507f2e1a7d4d000000000000000000000000000000000000000000000000000000008552856004860152600080602487600073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af16109065761090661047b565b60008060008089335af161091c5761091c61047b565b610987565b6109843377ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a6104d3565b95505b5050505050838110156109bc576109bc605a7c164d696e2072657475726e206e6f742072656163686564000000000000610485565b95945050505050565b60006109cf612a02565b90505b90565b6000806109e78a604001518585612848565b6109f58a8a8a8a8a8a6119d3565b915091509850989650505050505050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602090815260408083208484529091529020545b92915050565b610a46612acc565b73ffffffffffffffffffffffffffffffffffffffff16610a646110c7565b73ffffffffffffffffffffffffffffffffffffffff1614610ab1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ec1565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610b28612acc565b73ffffffffffffffffffffffffffffffffffffffff16610b466110c7565b73ffffffffffffffffffffffffffffffffffffffff1614610b93576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ec1565b610bb473ffffffffffffffffffffffffffffffffffffffff83163383612ad0565b5050565b6000806000808660a0013511610bfa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614e2d565b83610c31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b89061519f565b60c08601356000610c456020890189613de8565b90506000610c5960408a0160208b01613de8565b90506000610c7c8373ffffffffffffffffffffffffffffffffffffffff16612b4e565b90506002841615610cd65780610c93576000610c99565b89608001355b3411610cd1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614c2b565b610d20565b80610ce2576000610ce8565b89608001355b3414610d20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614c2b565b80610d7257610d3b83610d3660e08d018d6151ec565b612848565b610d7233610d4f60608d0160408e01613de8565b73ffffffffffffffffffffffffffffffffffffffff8616919060808e0135612ba4565b604051600090610dae907f2636f7f80000000000000000000000000000000000000000000000000000000090839033908e908e90602001614472565b60405160208183030381529060405290506000808d73ffffffffffffffffffffffffffffffffffffffff163484604051610de8919061453f565b60006040518083038185875af1925050503d8060008114610e25576040519150601f19603f3d011682016040523d82523d6000602084013e610e2a565b606091505b509150915081610ea657610e73816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a200000000000000000000000000000815250612c4d565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8919061495e565b50505060808a01359550610ed073ffffffffffffffffffffffffffffffffffffffff831630612df8565b96506001841615610f8c576000610efd73ffffffffffffffffffffffffffffffffffffffff851630612df8565b90508015610f3257610f0f8782612ecf565b9650610f3273ffffffffffffffffffffffffffffffffffffffff85163383612ad0565b610f4060a08c013588612f11565b610f4e8960808e0135612f11565b1015610f86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614df6565b50610fca565b8960a00135871015610fca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614df6565b600080610fdd60808d0160608e01613de8565b73ffffffffffffffffffffffffffffffffffffffff161461100d5761100860808c0160608d01613de8565b61100f565b335b905061103273ffffffffffffffffffffffffffffffffffffffff8416828a612ad0565b5a955050505050509450945094915050565b61104e3382612f6c565b50565b611059612acc565b73ffffffffffffffffffffffffffffffffffffffff166110776110c7565b73ffffffffffffffffffffffffffffffffffffffff16146110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ec1565b33ff5b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156112e8573415611172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a16565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906111e89033903090899060040161470b565b602060405180830381600087803b15801561120257600080fd5b505af1158015611216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123a9190614023565b506040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d906112ad9087906004016146e1565b600060405180830381600087803b1580156112c757600080fd5b505af11580156112db573d6000803e3d6000fd5b50505050600190506113be565b73ffffffffffffffffffffffffffffffffffffffff86166113445783341461133c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8906149a8565b5060016113be565b341561137c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a16565b6113be73ffffffffffffffffffffffffffffffffffffffff8716337f000000000000000000000000000000000000000000000000000000000000000087612ba4565b80156115295760405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169085156108fc029086906000818181858888f19350505050158015611427573d6000803e3d6000fd5b50604080518082018252600581527f31494e4348000000000000000000000000000000000000000000000000000000602082015290517fb52e845800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163b52e8458916114d09189918c9189916004016148d8565b602060405180830381600087803b1580156114ea57600080fd5b505af11580156114fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152291906143cb565b9150611989565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156117c657604080518082018252600581527f31494e4348000000000000000000000000000000000000000000000000000000602082015290517f69be90ec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016916369be90ec91611625918a91309189916004016148d8565b602060405180830381600087803b15801561163f57600080fd5b505af1158015611653573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167791906143cb565b91507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156116e157600080fd5b505af11580156116f5573d6000803e3d6000fd5b50506040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016935063a9059cbb925061176e91508a90869060040161473c565b602060405180830381600087803b15801561178857600080fd5b505af115801561179c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c09190614023565b50611989565b73ffffffffffffffffffffffffffffffffffffffff851661188957604080518082018252600581527f31494e4348000000000000000000000000000000000000000000000000000000602082015290517f69be90ec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016916369be90ec916114d0918a918c9189916004016148d8565b604080518082018252600581527f31494e4348000000000000000000000000000000000000000000000000000000602082015290517f65d02b0400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016916365d02b0491611934918a918a918d918a9190600401614917565b602060405180830381600087803b15801561194e57600080fd5b505af1158015611962573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198691906143cb565b91505b5095945050505050565b60006119a0888484612848565b6119ad8888888888610474565b98975050505050505050565b60006119c833868686866110e3565b90505b949350505050565b606086015186517f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8116808952600092839290917f8000000000000000000000000000000000000000000000000000000000000000821615159160401c67ffffffffffffffff16801580611a475750804211155b611a7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614af2565b611a878483612f6c565b505060a08a015160c08b015187158015611a9f575088155b15611aaf57819850809750611bbb565b87611b355781891115611aee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a4d565b611b2e82611b287fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201611b22858e612f11565b9061300a565b90613049565b9750611bbb565b88611b895780881115611b74576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8906149df565b611b8281611b28848b612f11565b9850611bbb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b89061509d565b5050600087118015611bcd5750600086115b611c03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890615009565b60808a015173ffffffffffffffffffffffffffffffffffffffff161580611c43575060808a015173ffffffffffffffffffffffffffffffffffffffff1633145b611c79576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614f64565b6000611ccc7f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f458c604051602001611cb1929190614836565b60405160208183030381529060405280519060200120613095565b9050611cda83828c8c6130ce565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168b6020015173ffffffffffffffffffffffffffffffffffffffff16148015611d365750815b15611e4f5760208b0151611d629073ffffffffffffffffffffffffffffffffffffffff1684308b612ba4565b6040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d90611dd4908b906004016146e1565b600060405180830381600087803b158015611dee57600080fd5b505af1158015611e02573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff891692508a156108fc0291508a906000818181858888f19350505050158015611e49573d6000803e3d6000fd5b50611e76565b60208b0151611e769073ffffffffffffffffffffffffffffffffffffffff1684888b612ba4565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168b6040015173ffffffffffffffffffffffffffffffffffffffff16148015611ed55750600034115b1561206057863414611f13576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a84565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0886040518263ffffffff1660e01b81526004016000604051808303818588803b158015611f7b57600080fd5b505af1158015611f8f573d6000803e3d6000fd5b50506040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016935063a9059cbb9250612008915086908b9060040161473c565b602060405180830381600087803b15801561202257600080fd5b505af1158015612036573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205a9190614023565b506120bf565b3415612098576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a84565b60408b01516120bf9073ffffffffffffffffffffffffffffffffffffffff1633858a612ba4565b7fc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca7812781896040516120f09291906148ac565b60405180910390a1509599949850939650505050505050565b60008180612143576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614971565b8591507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81016000807f40000000000000000000000000000000000000000000000000000000000000008787838161219757fe5b90506020020135161190506000807f20000000000000000000000000000000000000000000000000000000000000008888868181106121d257fe5b905060200201351611905081156122a25788341461221c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8906150d4565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db08a6040518263ffffffff1660e01b81526004016000604051808303818588803b15801561228457600080fd5b505af1158015612298573d6000803e3d6000fd5b50505050506122da565b34156122da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614abb565b60018411156123685761230e30836122f257336122f4565b305b8989600081811061230157fe5b90506020020135886132f3565b945060015b838110156123435761233930308a8a8581811061232c57fe5b90506020020135896132f3565b9550600101612313565b5061236181612352578a612354565b305b3089898781811061230157fe5b9450612386565b61238381612376578a612378565b305b836122f257336122f4565b94505b878510156123c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890615168565b801561248b576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d906124389088906004016146e1565b600060405180830381600087803b15801561245257600080fd5b505af1158015612466573d6000803e3d6000fd5b5061248b9250505073ffffffffffffffffffffffffffffffffffffffff8b16866134d5565b5050505095945050505050565b6000806124a98787878787336119d3565b915091509550959350505050565b60006124c4878484612848565b6119ad88888888886110e3565b60006119c83386868686612109565b6124e8612acc565b73ffffffffffffffffffffffffffffffffffffffff166125066110c7565b73ffffffffffffffffffffffffffffffffffffffff1614612553576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ec1565b73ffffffffffffffffffffffffffffffffffffffff81166125a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614b29565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000807fff1f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000007fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5482604051602081017f0dfe1681d21220a7ddca3f4300000000000000000000000000000000000000008252602081600484335afa6126b2576126b261047b565b805196506020816004808501335afa6126cd576126cd61047b565b80519550602081600460088501335afa6126e9576126e961047b565b51848252601582018781526035830187815260558085019390935260608220909152849052812073ffffffffffffffffffffffffffffffffffffffff163381146127555761275560547c10554e495633523a2062616420706f6f6c000000000000000000000000610485565b5060206084823751905060008913156127ce5773ffffffffffffffffffffffffffffffffffffffff81163014156127ac576127a773ffffffffffffffffffffffffffffffffffffffff8616338b6135b2565b6127ce565b6127ce73ffffffffffffffffffffffffffffffffffffffff861682338c612ba4565b600088131561283d5773ffffffffffffffffffffffffffffffffffffffff811630141561281b5761281673ffffffffffffffffffffffffffffffffffffffff8516338a6135b2565b61283d565b61283d73ffffffffffffffffffffffffffffffffffffffff851682338b612ba4565b505050505050505050565b80156129fd576000606060e083141561292d5760405173ffffffffffffffffffffffffffffffffffffffff8616906128a8907fd505accf000000000000000000000000000000000000000000000000000000009087908790602001614503565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526128e09161453f565b6000604051808303816000865af19150503d806000811461291d576040519150601f19603f3d011682016040523d82523d6000602084013e612922565b606091505b5090925090506129b6565b6101008314156129845760405173ffffffffffffffffffffffffffffffffffffffff8616906128a8907f8fcbaf0c000000000000000000000000000000000000000000000000000000009087908790602001614503565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ef6565b816129fa57610e73816040518060400160405280600f81526020017f5065726d6974206661696c65643a200000000000000000000000000000000000815250612c4d565b50505b505050565b60007f0000000000000000000000000000000000000000000000000000000000000000612a2d6135d1565b1415612a5a57507f00000000000000000000000000000000000000000000000000000000000000006109d2565b612ac57f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006135d5565b90506109d2565b3390565b80156129fd57612adf83612b4e565b15612b2d5760405173ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015612b27573d6000803e3d6000fd5b506129fd565b6129fd73ffffffffffffffffffffffffffffffffffffffff841683836135b2565b600073ffffffffffffffffffffffffffffffffffffffff82161580612b9c575073ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b90505b919050565b612c47846323b872dd60e01b858585604051602401612bc59392919061470b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613616565b50505050565b60606004835110612dc65760208301517fffffffff0000000000000000000000000000000000000000000000000000000081167f08c379a000000000000000000000000000000000000000000000000000000000148015612cb057506044845110155b15612d3557600060606024860151915081602401860190508051826024010186511015612d09576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614f2d565b8481604051602001612d1c92919061465f565b6040516020818303038152906040529350505050610a38565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f4e487b7100000000000000000000000000000000000000000000000000000000148015612d87575083516024145b15612dc457602484015183612d9b826136cc565b604051602001612dac92919061455b565b60405160208183030381529060405292505050610a38565b505b81612dd0846136f2565b604051602001612de19291906145dd565b604051602081830303815290604052905092915050565b6000612e0383612b4e565b15612e26575073ffffffffffffffffffffffffffffffffffffffff811631610a38565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190612e789085906004016146ea565b60206040518083038186803b158015612e9057600080fd5b505afa158015612ea4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ec891906143cb565b9050610a38565b600082821115612f0b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614c62565b50900390565b600082612f2057506000610a38565b82820282848281612f2d57fe5b0414612f65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614e64565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020818152604080842066ffffffffffffff600887901c1680865292819052932054909260ff85169290921b919080831615612ff2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614fd2565b60009384526020919091526040909220911790555050565b600082820183811015612f65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614b86565b6000808211613084576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614d8a565b81838161308d57fe5b049392505050565b600061309f612a02565b826040516020016130b19291906146ab565b604051602081830303815290604052805190602001209050919050565b8373ffffffffffffffffffffffffffffffffffffffff166131258484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061392e92505050565b73ffffffffffffffffffffffffffffffffffffffff1614612c47576000808573ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b868686604051602401613177939291906147e2565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909416939093179092529051613200919061453f565b600060405180830381855afa9150503d806000811461323b576040519150601f19603f3d011682016040523d82523d6000602084013e613240565b606091505b5091509150818015613253575080516020145b80156132b5575080517f1626ba7e00000000000000000000000000000000000000000000000000000000906132919083016020908101908401614043565b7fffffffff0000000000000000000000000000000000000000000000000000000016145b6132eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614bbd565b505050505050565b60007f800000000000000000000000000000000000000000000000000000000000000083161580156133f75760008473ffffffffffffffffffffffffffffffffffffffff1663128acb08888461334888613992565b6401000276a48b60405160200161335f91906146ea565b6040516020818303038152906040526040518663ffffffff1660e01b815260040161338e959493929190614762565b6040805180830381600087803b1580156133a757600080fd5b505af11580156133bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133df91906141dd565b9150506133ee816000036139f1565b925050506119cb565b60008473ffffffffffffffffffffffffffffffffffffffff1663128acb08888461342088613992565b73fffd8963efd1fc6a506488495d951d5263988d258b60405160200161344691906146ea565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401613475959493929190614762565b6040805180830381600087803b15801561348e57600080fd5b505af11580156134a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134c691906141dd565b5090506133ee816000036139f1565b8047101561350f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614cf6565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051613535906109d2565b60006040518083038185875af1925050503d8060008114613572576040519150601f19603f3d011682016040523d82523d6000602084013e613577565b606091505b50509050806129fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614c99565b6129fd8363a9059cbb60e01b8484604051602401612bc592919061473c565b4690565b60008383836135e26135d1565b306040516020016135f79594939291906147a9565b6040516020818303038152906040528051906020012090509392505050565b6000613678826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613a2d9092919063ffffffff16565b8051909150156129fd57808060200190518101906136969190614023565b6129fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b89061510b565b6060612b9c826040516020016136e291906146e1565b6040516020818303038152906040525b80516060907f30313233343536373839616263646566000000000000000000000000000000009060009060029081020167ffffffffffffffff8111801561373857600080fd5b506040519080825280601f01601f191660200182016040528015613763576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061379457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106137f157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b84518110156139265782600486838151811061383b57fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c6010811061387157fe5b1a60f81b82826002026002018151811061388757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350828582815181106138c357fe5b60209101015160f81c600f16601081106138d957fe5b1a60f81b8282600202600301815181106138ef57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101613823565b509392505050565b60008151604114156139625760208201516040830151606084015160001a61395886828585613a3c565b9350505050610a38565b81516040141561398a5760208201516040830151613981858383613b2a565b92505050610a38565b506000610a38565b60007f800000000000000000000000000000000000000000000000000000000000000082106139ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890615040565b5090565b6000808212156139ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614dc1565b60606119cb8484600085613b63565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115613a6e575060006119cb565b8360ff16601b14158015613a8657508360ff16601c14155b15613a93575060006119cb565b600060018686868660405160008152602001604052604051613ab894939291906148ba565b6020604051602081039080840390855afa158015613ada573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166119c85760009150506119cb565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b016105d586828785613a3c565b606082471015613b9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614d2d565b613ba885613c64565b613bde576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614f9b565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613c07919061453f565b60006040518083038185875af1925050503d8060008114613c44576040519150601f19603f3d011682016040523d82523d6000602084013e613c49565b606091505b5091509150613c59828286613c6a565b979650505050505050565b3b151590565b60608315613c79575081612f65565b825115613c895782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8919061495e565b8035612b9f8161527b565b60008083601f840112613cd9578182fd5b50813567ffffffffffffffff811115613cf0578182fd5b6020830191508360208083028501011115613d0a57600080fd5b9250929050565b60008083601f840112613d22578182fd5b50813567ffffffffffffffff811115613d39578182fd5b602083019150836020828501011115613d0a57600080fd5b600060e08284031215613d62578081fd5b60405160e0810181811067ffffffffffffffff82111715613d7f57fe5b60405282358152905080613d9560208401613cbd565b6020820152613da660408401613cbd565b6040820152613db760608401613cbd565b6060820152613dc860808401613cbd565b608082015260a083013560a082015260c083013560c08201525092915050565b600060208284031215613df9578081fd5b8135612f658161527b565b600080600080600060a08688031215613e1b578081fd5b8535613e268161527b565b94506020860135613e368161527b565b93506040860135613e468161527b565b94979396509394606081013594506080013592915050565b600080600080600080600060c0888a031215613e78578182fd5b8735613e838161527b565b96506020880135613e938161527b565b95506040880135613ea38161527b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115613ecc578283fd5b613ed88a828b01613d11565b989b979a50959850939692959293505050565b60008060008060008060008060c0898b031215613f06578081fd5b8835613f118161527b565b97506020890135613f218161527b565b96506040890135955060608901359450608089013567ffffffffffffffff80821115613f4b578283fd5b613f578c838d01613cc8565b909650945060a08b0135915080821115613f6f578283fd5b50613f7c8b828c01613d11565b999c989b5096995094979396929594505050565b600080600080600060808688031215613fa7578081fd5b8535613fb28161527b565b94506020860135935060408601359250606086013567ffffffffffffffff811115613fdb578182fd5b613fe788828901613cc8565b969995985093965092949392505050565b6000806040838503121561400a578182fd5b82356140158161527b565b946020939093013593505050565b600060208284031215614034578081fd5b81518015158114612f65578182fd5b600060208284031215614054578081fd5b81517fffffffff0000000000000000000000000000000000000000000000000000000081168114612f65578182fd5b60008060008060608587031215614098578182fd5b84356140a38161527b565b9350602085013567ffffffffffffffff808211156140bf578384fd5b9086019061010082890312156140d3578384fd5b909350604086013590808211156140e8578384fd5b506140f587828801613d11565b95989497509550505050565b60008060008060808587031215614116578182fd5b84356141218161527b565b935060208501356141318161527b565b93969395505050506040820135916060013590565b600080600080600060808688031215613fa7578283fd5b600080600080600080600060a0888a031215614177578081fd5b87356141828161527b565b96506020880135955060408801359450606088013567ffffffffffffffff808211156141ac578283fd5b6141b88b838c01613cc8565b909650945060808a01359150808211156141d0578283fd5b50613ed88a828b01613d11565b600080604083850312156141ef578182fd5b505080516020909101519092909150565b60008060008060608587031215614215578182fd5b8435935060208501359250604085013567ffffffffffffffff811115614239578283fd5b6140f587828801613d11565b6000806000806000610140868803121561425d578283fd5b6142678787613d51565b945060e086013567ffffffffffffffff811115614282578384fd5b61428e88828901613d11565b96999098509596610100810135966101209091013595509350505050565b60008060008060008061016087890312156142c5578384fd5b6142cf8888613d51565b955060e087013567ffffffffffffffff8111156142ea578485fd5b6142f689828a01613d11565b9096509450506101008701359250610120870135915061014087013561431b8161527b565b809150509295509295509295565b600080600080600080600080610180898b031215614345578182fd5b61434f8a8a613d51565b975060e089013567ffffffffffffffff8082111561436b578384fd5b6143778c838d01613d11565b90995097506101008b013596506101208b013595506101408b0135915061439d8261527b565b9093506101608a01359080821115613f6f578384fd5b6000602082840312156143c4578081fd5b5035919050565b6000602082840312156143dc578081fd5b5051919050565b600080600080606085870312156143f8578182fd5b8435935060208501359250604085013567ffffffffffffffff81111561441c578283fd5b6140f587828801613cc8565b6000815180845261444081602086016020860161524f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60007fffffffff00000000000000000000000000000000000000000000000000000000871682527fffffffffffffffffffffffff0000000000000000000000000000000000000000861660048301527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008560601b166010830152828460248401379101602401908152949350505050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b6000825161455181846020870161524f565b9190910192915050565b6000835161456d81846020880161524f565b7f50616e696328000000000000000000000000000000000000000000000000000090830190815283516145a781600684016020880161524f565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b600083516145ef81846020880161524f565b7f556e6b6e6f776e28000000000000000000000000000000000000000000000000908301908152835161462981600884016020880161524f565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b6000835161467181846020880161524f565b7f4572726f7228000000000000000000000000000000000000000000000000000090830190815283516145a781600684016020880161524f565b7f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b600073ffffffffffffffffffffffffffffffffffffffff8088168352861515602084015285604084015280851660608401525060a06080830152613c5960a0830184614428565b94855260208501939093526040840191909152606083015273ffffffffffffffffffffffffffffffffffffffff16608082015260a00190565b60008482526040602083015282604083015282846060840137818301606090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016010192915050565b60006101008201905083825282516020830152602083015173ffffffffffffffffffffffffffffffffffffffff80821660408501528060408601511660608501528060608601511660808501528060808601511660a0850152505060a083015160c083015260c083015160e08301529392505050565b918252602082015260400190565b93845260ff9290921660208401526040830152606082015260800190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526105d56080830184614428565b600073ffffffffffffffffffffffffffffffffffffffff8088168352808716602084015280861660408401525083606083015260a06080830152613c5960a0830184614428565b600060208252612f656020830184614428565b60208082526013908201527f554e495633523a20656d70747920706f6f6c7300000000000000000000000000604082015260600190565b60208082526016908201527f434c31494e3a2077726f6e67206d73672e76616c756500000000000000000000604082015260600190565b6020808252601b908201527f4c4f503a2074616b696e6720616d6f756e742065786365656465640000000000604082015260600190565b6020808252601c908201527f434c31494e3a206d73672e76616c75652073686f756c64206265203000000000604082015260600190565b6020808252601b908201527f4c4f503a206d616b696e6720616d6f756e742065786365656465640000000000604082015260600190565b60208082526014908201527f4c4f503a2077726f6e67206d73672e76616c7565000000000000000000000000604082015260600190565b6020808252601d908201527f554e495633523a206d73672e76616c75652073686f756c642062652030000000604082015260600190565b60208082526012908201527f4c4f503a206f7264657220657870697265640000000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526012908201527f4c4f503a20626164207369676e61747572650000000000000000000000000000604082015260600190565b60208082526014908201527f455448206465706f7369742072656a6563746564000000000000000000000000604082015260600190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60408201527f722063616c6c0000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252818101527f53616665436173743a2076616c7565206d75737420626520706f736974697665604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526013908201527f57726f6e67207065726d6974206c656e67746800000000000000000000000000604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b60208082526012908201527f4c4f503a2070726976617465206f726465720000000000000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526016908201527f4c4f503a20696e76616c696461746564206f7264657200000000000000000000604082015260600190565b60208082526018908201527f4c4f503a2063616e27742073776170203020616d6f756e740000000000000000604082015260600190565b60208082526028908201527f53616665436173743a2076616c756520646f65736e27742066697420696e206160408201527f6e20696e74323536000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f4c4f503a206f6e65206f6620616d6f756e74732073686f756c64206265203000604082015260600190565b60208082526017908201527f554e495633523a2077726f6e67206d73672e76616c7565000000000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b60208082526012908201527f554e495633523a206d696e2072657475726e0000000000000000000000000000604082015260600190565b60208082526018908201527f646174612073686f756c64206e6f7420626520656d7074790000000000000000604082015260600190565b9283526020830191909152604082015260600190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112615220578283fd5b83018035915067ffffffffffffffff82111561523a578283fd5b602001915036819003821315613d0a57600080fd5b60005b8381101561526a578181015183820152602001615252565b83811115612c475750506000910152565b73ffffffffffffffffffffffffffffffffffffffff8116811461104e57600080fdfea2646970667358221220c5fe87d0c65a660a13d6102c0f94689c378d29658525f6d2f4f521b37cb869a464736f6c63430007060033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002e9c6dcdca22a5952a88c4b18edb5b54c5155bc9Deployed Bytecode
0x6080604052600436106101795760003560e01c80638da5cb5b116100cb578063bc80f1a81161007f578063e449022e11610059578063e449022e146103d6578063f2fde38b146103e9578063fa461e3314610409576101c3565b8063bc80f1a814610390578063d0a3b665146103a3578063d6a92a5d146103b6576101c3565b8063a1251d75116100b0578063a1251d751461034a578063b04311821461036a578063baba58551461037d576101c3565b80638da5cb5b146103155780639994dd1514610337576101c3565b806356f161241161012d5780637c025200116101075780637c025200146102be578063825caba1146102e057806383197ef014610300576101c3565b806356f1612414610269578063715018a61461028957806378e3214f1461029e576101c3565b80632e95b6c81161015e5780632e95b6c8146102135780633644e515146102265780634cc4a27b1461023b576101c3565b806306bf53d0146101c85780632521b930146101f3576101c3565b366101c357333214156101c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614bf4565b60405180910390fd5b005b600080fd5b3480156101d457600080fd5b506101dd610429565b6040516101ea91906146e1565b60405180910390f35b3480156101ff57600080fd5b506101dd61020e366004613eeb565b61044d565b6101dd610221366004614146565b610474565b34801561023257600080fd5b506101dd6109c5565b34801561024757600080fd5b5061025b610256366004614329565b6109d5565b6040516101ea9291906148ac565b34801561027557600080fd5b506101dd610284366004613ff8565b610a06565b34801561029557600080fd5b506101c1610a3e565b3480156102aa57600080fd5b506101c16102b9366004613ff8565b610b20565b6102d16102cc366004614083565b610bb8565b6040516101ea939291906151d6565b3480156102ec57600080fd5b506101c16102fb3660046143b3565b611044565b34801561030c57600080fd5b506101c1611051565b34801561032157600080fd5b5061032a6110c7565b6040516101ea91906146ea565b6101dd610345366004613e04565b6110e3565b34801561035657600080fd5b506101dd61036536600461415d565b611993565b6101dd610378366004614101565b6119b9565b61025b61038b3660046142ac565b6119d3565b6101dd61039e366004613f90565b612109565b61025b6103b1366004614245565b612498565b3480156103c257600080fd5b506101dd6103d1366004613e5e565b6124b7565b6101dd6103e43660046143e3565b6124d1565b3480156103f557600080fd5b506101c1610404366004613de8565b6124e0565b34801561041557600080fd5b506101c1610424366004614200565b61262d565b7f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f4581565b600061045a888484612848565b6104678988888888612109565b9998505050505050505050565b60006105df565b3d6000803e3d6000fd5b7f08c379a0000000000000000000000000000000000000000000000000000000006000527c200000000000000000000000000000000000000000000000000000000060205280604052816000fd5b60007f0902f1ac000000000000000000000000000000000000000000000000000000008252604082600484875afa61050d5761050d61047b565b60603d1461053d5761053d60597c1472657365727665732063616c6c206661696c65640000000000000000610485565b81516020830151861561054c57905b7f022c0d9f000000000000000000000000000000000000000000000000000000008452878502633b9aca00929092028201910204905084801561059b57816004840152600060248401526105a9565b600060048401528160248401525b50866044830152608060648301526000608483015260008060a4846000885af16105d5576105d561047b565b9695505050505050565b60405160c08101604052600460643501803560208201915080602002820190508135896000811461069f5734156106385761063860557c11696e76616c6964206d73672e76616c75650000000000000000000000610485565b7f23b872dd00000000000000000000000000000000000000000000000000000000855233600486015273ffffffffffffffffffffffffffffffffffffffff8216602486015289604486015260008060648760008f5af161069a5761069a61047b565b61078b565b348a146106ce576106ce60557c11696e76616c6964206d73672e76616c75650000000000000000000000610485565b7fd0e30db00000000000000000000000000000000000000000000000000000000085526000806004878d73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af161071b5761071b61047b565b7fa9059cbb00000000000000000000000000000000000000000000000000000000855273ffffffffffffffffffffffffffffffffffffffff82166004860152896024860152600080604487600073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af161078b5761078b61047b565b50889450602083015b8281101561082357803561081773ffffffffffffffffffffffffffffffffffffffff821677ffffffff0000000000000000000000000000000000000000851660a01c7f8000000000000000000000000000000000000000000000000000000000000000861673ffffffffffffffffffffffffffffffffffffffff87168b8b6104d3565b96509150602001610794565b507f400000000000000000000000000000000000000000000000000000000000000081168015610921576108b03077ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a6104d3565b95507f2e1a7d4d000000000000000000000000000000000000000000000000000000008552856004860152600080602487600073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25af16109065761090661047b565b60008060008089335af161091c5761091c61047b565b610987565b6109843377ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a6104d3565b95505b5050505050838110156109bc576109bc605a7c164d696e2072657475726e206e6f742072656163686564000000000000610485565b95945050505050565b60006109cf612a02565b90505b90565b6000806109e78a604001518585612848565b6109f58a8a8a8a8a8a6119d3565b915091509850989650505050505050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602090815260408083208484529091529020545b92915050565b610a46612acc565b73ffffffffffffffffffffffffffffffffffffffff16610a646110c7565b73ffffffffffffffffffffffffffffffffffffffff1614610ab1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ec1565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610b28612acc565b73ffffffffffffffffffffffffffffffffffffffff16610b466110c7565b73ffffffffffffffffffffffffffffffffffffffff1614610b93576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ec1565b610bb473ffffffffffffffffffffffffffffffffffffffff83163383612ad0565b5050565b6000806000808660a0013511610bfa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614e2d565b83610c31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b89061519f565b60c08601356000610c456020890189613de8565b90506000610c5960408a0160208b01613de8565b90506000610c7c8373ffffffffffffffffffffffffffffffffffffffff16612b4e565b90506002841615610cd65780610c93576000610c99565b89608001355b3411610cd1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614c2b565b610d20565b80610ce2576000610ce8565b89608001355b3414610d20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614c2b565b80610d7257610d3b83610d3660e08d018d6151ec565b612848565b610d7233610d4f60608d0160408e01613de8565b73ffffffffffffffffffffffffffffffffffffffff8616919060808e0135612ba4565b604051600090610dae907f2636f7f80000000000000000000000000000000000000000000000000000000090839033908e908e90602001614472565b60405160208183030381529060405290506000808d73ffffffffffffffffffffffffffffffffffffffff163484604051610de8919061453f565b60006040518083038185875af1925050503d8060008114610e25576040519150601f19603f3d011682016040523d82523d6000602084013e610e2a565b606091505b509150915081610ea657610e73816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a200000000000000000000000000000815250612c4d565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8919061495e565b50505060808a01359550610ed073ffffffffffffffffffffffffffffffffffffffff831630612df8565b96506001841615610f8c576000610efd73ffffffffffffffffffffffffffffffffffffffff851630612df8565b90508015610f3257610f0f8782612ecf565b9650610f3273ffffffffffffffffffffffffffffffffffffffff85163383612ad0565b610f4060a08c013588612f11565b610f4e8960808e0135612f11565b1015610f86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614df6565b50610fca565b8960a00135871015610fca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614df6565b600080610fdd60808d0160608e01613de8565b73ffffffffffffffffffffffffffffffffffffffff161461100d5761100860808c0160608d01613de8565b61100f565b335b905061103273ffffffffffffffffffffffffffffffffffffffff8416828a612ad0565b5a955050505050509450945094915050565b61104e3382612f6c565b50565b611059612acc565b73ffffffffffffffffffffffffffffffffffffffff166110776110c7565b73ffffffffffffffffffffffffffffffffffffffff16146110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ec1565b33ff5b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000807f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156112e8573415611172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a16565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216906323b872dd906111e89033903090899060040161470b565b602060405180830381600087803b15801561120257600080fd5b505af1158015611216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123a9190614023565b506040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21690632e1a7d4d906112ad9087906004016146e1565b600060405180830381600087803b1580156112c757600080fd5b505af11580156112db573d6000803e3d6000fd5b50505050600190506113be565b73ffffffffffffffffffffffffffffffffffffffff86166113445783341461133c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8906149a8565b5060016113be565b341561137c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a16565b6113be73ffffffffffffffffffffffffffffffffffffffff8716337f000000000000000000000000e82906b6b1b04f631d126c974af57a3a7b6a99d987612ba4565b80156115295760405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e82906b6b1b04f631d126c974af57a3a7b6a99d9169085156108fc029086906000818181858888f19350505050158015611427573d6000803e3d6000fd5b50604080518082018252600581527f31494e4348000000000000000000000000000000000000000000000000000000602082015290517fb52e845800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002e9c6dcdca22a5952a88c4b18edb5b54c5155bc9169163b52e8458916114d09189918c9189916004016148d8565b602060405180830381600087803b1580156114ea57600080fd5b505af11580156114fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152291906143cb565b9150611989565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156117c657604080518082018252600581527f31494e4348000000000000000000000000000000000000000000000000000000602082015290517f69be90ec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002e9c6dcdca22a5952a88c4b18edb5b54c5155bc916916369be90ec91611625918a91309189916004016148d8565b602060405180830381600087803b15801561163f57600080fd5b505af1158015611653573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167791906143cb565b91507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156116e157600080fd5b505af11580156116f5573d6000803e3d6000fd5b50506040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216935063a9059cbb925061176e91508a90869060040161473c565b602060405180830381600087803b15801561178857600080fd5b505af115801561179c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c09190614023565b50611989565b73ffffffffffffffffffffffffffffffffffffffff851661188957604080518082018252600581527f31494e4348000000000000000000000000000000000000000000000000000000602082015290517f69be90ec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002e9c6dcdca22a5952a88c4b18edb5b54c5155bc916916369be90ec916114d0918a918c9189916004016148d8565b604080518082018252600581527f31494e4348000000000000000000000000000000000000000000000000000000602082015290517f65d02b0400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002e9c6dcdca22a5952a88c4b18edb5b54c5155bc916916365d02b0491611934918a918a918d918a9190600401614917565b602060405180830381600087803b15801561194e57600080fd5b505af1158015611962573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198691906143cb565b91505b5095945050505050565b60006119a0888484612848565b6119ad8888888888610474565b98975050505050505050565b60006119c833868686866110e3565b90505b949350505050565b606086015186517f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8116808952600092839290917f8000000000000000000000000000000000000000000000000000000000000000821615159160401c67ffffffffffffffff16801580611a475750804211155b611a7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614af2565b611a878483612f6c565b505060a08a015160c08b015187158015611a9f575088155b15611aaf57819850809750611bbb565b87611b355781891115611aee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a4d565b611b2e82611b287fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201611b22858e612f11565b9061300a565b90613049565b9750611bbb565b88611b895780881115611b74576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8906149df565b611b8281611b28848b612f11565b9850611bbb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b89061509d565b5050600087118015611bcd5750600086115b611c03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890615009565b60808a015173ffffffffffffffffffffffffffffffffffffffff161580611c43575060808a015173ffffffffffffffffffffffffffffffffffffffff1633145b611c79576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614f64565b6000611ccc7f74ab4f0cde46aaf927859983f7d04002116dd057d4c4941f6dbfb775c3e31f458c604051602001611cb1929190614836565b60405160208183030381529060405280519060200120613095565b9050611cda83828c8c6130ce565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff168b6020015173ffffffffffffffffffffffffffffffffffffffff16148015611d365750815b15611e4f5760208b0151611d629073ffffffffffffffffffffffffffffffffffffffff1684308b612ba4565b6040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21690632e1a7d4d90611dd4908b906004016146e1565b600060405180830381600087803b158015611dee57600080fd5b505af1158015611e02573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff891692508a156108fc0291508a906000818181858888f19350505050158015611e49573d6000803e3d6000fd5b50611e76565b60208b0151611e769073ffffffffffffffffffffffffffffffffffffffff1684888b612ba4565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff168b6040015173ffffffffffffffffffffffffffffffffffffffff16148015611ed55750600034115b1561206057863414611f13576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a84565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0886040518263ffffffff1660e01b81526004016000604051808303818588803b158015611f7b57600080fd5b505af1158015611f8f573d6000803e3d6000fd5b50506040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216935063a9059cbb9250612008915086908b9060040161473c565b602060405180830381600087803b15801561202257600080fd5b505af1158015612036573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205a9190614023565b506120bf565b3415612098576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614a84565b60408b01516120bf9073ffffffffffffffffffffffffffffffffffffffff1633858a612ba4565b7fc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca7812781896040516120f09291906148ac565b60405180910390a1509599949850939650505050505050565b60008180612143576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614971565b8591507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81016000807f40000000000000000000000000000000000000000000000000000000000000008787838161219757fe5b90506020020135161190506000807f20000000000000000000000000000000000000000000000000000000000000008888868181106121d257fe5b905060200201351611905081156122a25788341461221c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8906150d4565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db08a6040518263ffffffff1660e01b81526004016000604051808303818588803b15801561228457600080fd5b505af1158015612298573d6000803e3d6000fd5b50505050506122da565b34156122da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614abb565b60018411156123685761230e30836122f257336122f4565b305b8989600081811061230157fe5b90506020020135886132f3565b945060015b838110156123435761233930308a8a8581811061232c57fe5b90506020020135896132f3565b9550600101612313565b5061236181612352578a612354565b305b3089898781811061230157fe5b9450612386565b61238381612376578a612378565b305b836122f257336122f4565b94505b878510156123c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890615168565b801561248b576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21690632e1a7d4d906124389088906004016146e1565b600060405180830381600087803b15801561245257600080fd5b505af1158015612466573d6000803e3d6000fd5b5061248b9250505073ffffffffffffffffffffffffffffffffffffffff8b16866134d5565b5050505095945050505050565b6000806124a98787878787336119d3565b915091509550959350505050565b60006124c4878484612848565b6119ad88888888886110e3565b60006119c83386868686612109565b6124e8612acc565b73ffffffffffffffffffffffffffffffffffffffff166125066110c7565b73ffffffffffffffffffffffffffffffffffffffff1614612553576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ec1565b73ffffffffffffffffffffffffffffffffffffffff81166125a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614b29565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000807fff1f98431c8ad98523631ae4a59f267346ea31f98400000000000000000000007fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5482604051602081017f0dfe1681d21220a7ddca3f4300000000000000000000000000000000000000008252602081600484335afa6126b2576126b261047b565b805196506020816004808501335afa6126cd576126cd61047b565b80519550602081600460088501335afa6126e9576126e961047b565b51848252601582018781526035830187815260558085019390935260608220909152849052812073ffffffffffffffffffffffffffffffffffffffff163381146127555761275560547c10554e495633523a2062616420706f6f6c000000000000000000000000610485565b5060206084823751905060008913156127ce5773ffffffffffffffffffffffffffffffffffffffff81163014156127ac576127a773ffffffffffffffffffffffffffffffffffffffff8616338b6135b2565b6127ce565b6127ce73ffffffffffffffffffffffffffffffffffffffff861682338c612ba4565b600088131561283d5773ffffffffffffffffffffffffffffffffffffffff811630141561281b5761281673ffffffffffffffffffffffffffffffffffffffff8516338a6135b2565b61283d565b61283d73ffffffffffffffffffffffffffffffffffffffff851682338b612ba4565b505050505050505050565b80156129fd576000606060e083141561292d5760405173ffffffffffffffffffffffffffffffffffffffff8616906128a8907fd505accf000000000000000000000000000000000000000000000000000000009087908790602001614503565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526128e09161453f565b6000604051808303816000865af19150503d806000811461291d576040519150601f19603f3d011682016040523d82523d6000602084013e612922565b606091505b5090925090506129b6565b6101008314156129845760405173ffffffffffffffffffffffffffffffffffffffff8616906128a8907f8fcbaf0c000000000000000000000000000000000000000000000000000000009087908790602001614503565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614ef6565b816129fa57610e73816040518060400160405280600f81526020017f5065726d6974206661696c65643a200000000000000000000000000000000000815250612c4d565b50505b505050565b60007f0000000000000000000000000000000000000000000000000000000000000001612a2d6135d1565b1415612a5a57507f39821575e26f6b451072044840d9a68b6718f7a7770887d2b17a3b48f7147ca36109d2565b612ac57f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f09e0ef248a1e7a4e46bf89bd2fef963b6335ca0b83fa96f22845053018a00d5d7fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a56135d5565b90506109d2565b3390565b80156129fd57612adf83612b4e565b15612b2d5760405173ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015612b27573d6000803e3d6000fd5b506129fd565b6129fd73ffffffffffffffffffffffffffffffffffffffff841683836135b2565b600073ffffffffffffffffffffffffffffffffffffffff82161580612b9c575073ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b90505b919050565b612c47846323b872dd60e01b858585604051602401612bc59392919061470b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613616565b50505050565b60606004835110612dc65760208301517fffffffff0000000000000000000000000000000000000000000000000000000081167f08c379a000000000000000000000000000000000000000000000000000000000148015612cb057506044845110155b15612d3557600060606024860151915081602401860190508051826024010186511015612d09576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614f2d565b8481604051602001612d1c92919061465f565b6040516020818303038152906040529350505050610a38565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f4e487b7100000000000000000000000000000000000000000000000000000000148015612d87575083516024145b15612dc457602484015183612d9b826136cc565b604051602001612dac92919061455b565b60405160208183030381529060405292505050610a38565b505b81612dd0846136f2565b604051602001612de19291906145dd565b604051602081830303815290604052905092915050565b6000612e0383612b4e565b15612e26575073ffffffffffffffffffffffffffffffffffffffff811631610a38565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190612e789085906004016146ea565b60206040518083038186803b158015612e9057600080fd5b505afa158015612ea4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ec891906143cb565b9050610a38565b600082821115612f0b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614c62565b50900390565b600082612f2057506000610a38565b82820282848281612f2d57fe5b0414612f65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614e64565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020818152604080842066ffffffffffffff600887901c1680865292819052932054909260ff85169290921b919080831615612ff2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614fd2565b60009384526020919091526040909220911790555050565b600082820183811015612f65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614b86565b6000808211613084576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614d8a565b81838161308d57fe5b049392505050565b600061309f612a02565b826040516020016130b19291906146ab565b604051602081830303815290604052805190602001209050919050565b8373ffffffffffffffffffffffffffffffffffffffff166131258484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061392e92505050565b73ffffffffffffffffffffffffffffffffffffffff1614612c47576000808573ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b868686604051602401613177939291906147e2565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909416939093179092529051613200919061453f565b600060405180830381855afa9150503d806000811461323b576040519150601f19603f3d011682016040523d82523d6000602084013e613240565b606091505b5091509150818015613253575080516020145b80156132b5575080517f1626ba7e00000000000000000000000000000000000000000000000000000000906132919083016020908101908401614043565b7fffffffff0000000000000000000000000000000000000000000000000000000016145b6132eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614bbd565b505050505050565b60007f800000000000000000000000000000000000000000000000000000000000000083161580156133f75760008473ffffffffffffffffffffffffffffffffffffffff1663128acb08888461334888613992565b6401000276a48b60405160200161335f91906146ea565b6040516020818303038152906040526040518663ffffffff1660e01b815260040161338e959493929190614762565b6040805180830381600087803b1580156133a757600080fd5b505af11580156133bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133df91906141dd565b9150506133ee816000036139f1565b925050506119cb565b60008473ffffffffffffffffffffffffffffffffffffffff1663128acb08888461342088613992565b73fffd8963efd1fc6a506488495d951d5263988d258b60405160200161344691906146ea565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401613475959493929190614762565b6040805180830381600087803b15801561348e57600080fd5b505af11580156134a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134c691906141dd565b5090506133ee816000036139f1565b8047101561350f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614cf6565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051613535906109d2565b60006040518083038185875af1925050503d8060008114613572576040519150601f19603f3d011682016040523d82523d6000602084013e613577565b606091505b50509050806129fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614c99565b6129fd8363a9059cbb60e01b8484604051602401612bc592919061473c565b4690565b60008383836135e26135d1565b306040516020016135f79594939291906147a9565b6040516020818303038152906040528051906020012090509392505050565b6000613678826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613a2d9092919063ffffffff16565b8051909150156129fd57808060200190518101906136969190614023565b6129fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b89061510b565b6060612b9c826040516020016136e291906146e1565b6040516020818303038152906040525b80516060907f30313233343536373839616263646566000000000000000000000000000000009060009060029081020167ffffffffffffffff8111801561373857600080fd5b506040519080825280601f01601f191660200182016040528015613763576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061379457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106137f157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b84518110156139265782600486838151811061383b57fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c6010811061387157fe5b1a60f81b82826002026002018151811061388757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350828582815181106138c357fe5b60209101015160f81c600f16601081106138d957fe5b1a60f81b8282600202600301815181106138ef57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101613823565b509392505050565b60008151604114156139625760208201516040830151606084015160001a61395886828585613a3c565b9350505050610a38565b81516040141561398a5760208201516040830151613981858383613b2a565b92505050610a38565b506000610a38565b60007f800000000000000000000000000000000000000000000000000000000000000082106139ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890615040565b5090565b6000808212156139ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614dc1565b60606119cb8484600085613b63565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115613a6e575060006119cb565b8360ff16601b14158015613a8657508360ff16601c14155b15613a93575060006119cb565b600060018686868660405160008152602001604052604051613ab894939291906148ba565b6020604051602081039080840390855afa158015613ada573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166119c85760009150506119cb565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b016105d586828785613a3c565b606082471015613b9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614d2d565b613ba885613c64565b613bde576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890614f9b565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613c07919061453f565b60006040518083038185875af1925050503d8060008114613c44576040519150601f19603f3d011682016040523d82523d6000602084013e613c49565b606091505b5091509150613c59828286613c6a565b979650505050505050565b3b151590565b60608315613c79575081612f65565b825115613c895782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b8919061495e565b8035612b9f8161527b565b60008083601f840112613cd9578182fd5b50813567ffffffffffffffff811115613cf0578182fd5b6020830191508360208083028501011115613d0a57600080fd5b9250929050565b60008083601f840112613d22578182fd5b50813567ffffffffffffffff811115613d39578182fd5b602083019150836020828501011115613d0a57600080fd5b600060e08284031215613d62578081fd5b60405160e0810181811067ffffffffffffffff82111715613d7f57fe5b60405282358152905080613d9560208401613cbd565b6020820152613da660408401613cbd565b6040820152613db760608401613cbd565b6060820152613dc860808401613cbd565b608082015260a083013560a082015260c083013560c08201525092915050565b600060208284031215613df9578081fd5b8135612f658161527b565b600080600080600060a08688031215613e1b578081fd5b8535613e268161527b565b94506020860135613e368161527b565b93506040860135613e468161527b565b94979396509394606081013594506080013592915050565b600080600080600080600060c0888a031215613e78578182fd5b8735613e838161527b565b96506020880135613e938161527b565b95506040880135613ea38161527b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115613ecc578283fd5b613ed88a828b01613d11565b989b979a50959850939692959293505050565b60008060008060008060008060c0898b031215613f06578081fd5b8835613f118161527b565b97506020890135613f218161527b565b96506040890135955060608901359450608089013567ffffffffffffffff80821115613f4b578283fd5b613f578c838d01613cc8565b909650945060a08b0135915080821115613f6f578283fd5b50613f7c8b828c01613d11565b999c989b5096995094979396929594505050565b600080600080600060808688031215613fa7578081fd5b8535613fb28161527b565b94506020860135935060408601359250606086013567ffffffffffffffff811115613fdb578182fd5b613fe788828901613cc8565b969995985093965092949392505050565b6000806040838503121561400a578182fd5b82356140158161527b565b946020939093013593505050565b600060208284031215614034578081fd5b81518015158114612f65578182fd5b600060208284031215614054578081fd5b81517fffffffff0000000000000000000000000000000000000000000000000000000081168114612f65578182fd5b60008060008060608587031215614098578182fd5b84356140a38161527b565b9350602085013567ffffffffffffffff808211156140bf578384fd5b9086019061010082890312156140d3578384fd5b909350604086013590808211156140e8578384fd5b506140f587828801613d11565b95989497509550505050565b60008060008060808587031215614116578182fd5b84356141218161527b565b935060208501356141318161527b565b93969395505050506040820135916060013590565b600080600080600060808688031215613fa7578283fd5b600080600080600080600060a0888a031215614177578081fd5b87356141828161527b565b96506020880135955060408801359450606088013567ffffffffffffffff808211156141ac578283fd5b6141b88b838c01613cc8565b909650945060808a01359150808211156141d0578283fd5b50613ed88a828b01613d11565b600080604083850312156141ef578182fd5b505080516020909101519092909150565b60008060008060608587031215614215578182fd5b8435935060208501359250604085013567ffffffffffffffff811115614239578283fd5b6140f587828801613d11565b6000806000806000610140868803121561425d578283fd5b6142678787613d51565b945060e086013567ffffffffffffffff811115614282578384fd5b61428e88828901613d11565b96999098509596610100810135966101209091013595509350505050565b60008060008060008061016087890312156142c5578384fd5b6142cf8888613d51565b955060e087013567ffffffffffffffff8111156142ea578485fd5b6142f689828a01613d11565b9096509450506101008701359250610120870135915061014087013561431b8161527b565b809150509295509295509295565b600080600080600080600080610180898b031215614345578182fd5b61434f8a8a613d51565b975060e089013567ffffffffffffffff8082111561436b578384fd5b6143778c838d01613d11565b90995097506101008b013596506101208b013595506101408b0135915061439d8261527b565b9093506101608a01359080821115613f6f578384fd5b6000602082840312156143c4578081fd5b5035919050565b6000602082840312156143dc578081fd5b5051919050565b600080600080606085870312156143f8578182fd5b8435935060208501359250604085013567ffffffffffffffff81111561441c578283fd5b6140f587828801613cc8565b6000815180845261444081602086016020860161524f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60007fffffffff00000000000000000000000000000000000000000000000000000000871682527fffffffffffffffffffffffff0000000000000000000000000000000000000000861660048301527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008560601b166010830152828460248401379101602401908152949350505050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b6000825161455181846020870161524f565b9190910192915050565b6000835161456d81846020880161524f565b7f50616e696328000000000000000000000000000000000000000000000000000090830190815283516145a781600684016020880161524f565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b600083516145ef81846020880161524f565b7f556e6b6e6f776e28000000000000000000000000000000000000000000000000908301908152835161462981600884016020880161524f565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b6000835161467181846020880161524f565b7f4572726f7228000000000000000000000000000000000000000000000000000090830190815283516145a781600684016020880161524f565b7f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b600073ffffffffffffffffffffffffffffffffffffffff8088168352861515602084015285604084015280851660608401525060a06080830152613c5960a0830184614428565b94855260208501939093526040840191909152606083015273ffffffffffffffffffffffffffffffffffffffff16608082015260a00190565b60008482526040602083015282604083015282846060840137818301606090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016010192915050565b60006101008201905083825282516020830152602083015173ffffffffffffffffffffffffffffffffffffffff80821660408501528060408601511660608501528060608601511660808501528060808601511660a0850152505060a083015160c083015260c083015160e08301529392505050565b918252602082015260400190565b93845260ff9290921660208401526040830152606082015260800190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526105d56080830184614428565b600073ffffffffffffffffffffffffffffffffffffffff8088168352808716602084015280861660408401525083606083015260a06080830152613c5960a0830184614428565b600060208252612f656020830184614428565b60208082526013908201527f554e495633523a20656d70747920706f6f6c7300000000000000000000000000604082015260600190565b60208082526016908201527f434c31494e3a2077726f6e67206d73672e76616c756500000000000000000000604082015260600190565b6020808252601b908201527f4c4f503a2074616b696e6720616d6f756e742065786365656465640000000000604082015260600190565b6020808252601c908201527f434c31494e3a206d73672e76616c75652073686f756c64206265203000000000604082015260600190565b6020808252601b908201527f4c4f503a206d616b696e6720616d6f756e742065786365656465640000000000604082015260600190565b60208082526014908201527f4c4f503a2077726f6e67206d73672e76616c7565000000000000000000000000604082015260600190565b6020808252601d908201527f554e495633523a206d73672e76616c75652073686f756c642062652030000000604082015260600190565b60208082526012908201527f4c4f503a206f7264657220657870697265640000000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526012908201527f4c4f503a20626164207369676e61747572650000000000000000000000000000604082015260600190565b60208082526014908201527f455448206465706f7369742072656a6563746564000000000000000000000000604082015260600190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60408201527f722063616c6c0000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252818101527f53616665436173743a2076616c7565206d75737420626520706f736974697665604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526013908201527f57726f6e67207065726d6974206c656e67746800000000000000000000000000604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b60208082526012908201527f4c4f503a2070726976617465206f726465720000000000000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526016908201527f4c4f503a20696e76616c696461746564206f7264657200000000000000000000604082015260600190565b60208082526018908201527f4c4f503a2063616e27742073776170203020616d6f756e740000000000000000604082015260600190565b60208082526028908201527f53616665436173743a2076616c756520646f65736e27742066697420696e206160408201527f6e20696e74323536000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f4c4f503a206f6e65206f6620616d6f756e74732073686f756c64206265203000604082015260600190565b60208082526017908201527f554e495633523a2077726f6e67206d73672e76616c7565000000000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b60208082526012908201527f554e495633523a206d696e2072657475726e0000000000000000000000000000604082015260600190565b60208082526018908201527f646174612073686f756c64206e6f7420626520656d7074790000000000000000604082015260600190565b9283526020830191909152604082015260600190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112615220578283fd5b83018035915067ffffffffffffffff82111561523a578283fd5b602001915036819003821315613d0a57600080fd5b60005b8381101561526a578181015183820152602001615252565b83811115612c475750506000910152565b73ffffffffffffffffffffffffffffffffffffffff8116811461104e57600080fdfea2646970667358221220c5fe87d0c65a660a13d6102c0f94689c378d29658525f6d2f4f521b37cb869a464736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002e9c6dcdca22a5952a88c4b18edb5b54c5155bc9
-----Decoded View---------------
Arg [0] : weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [1] : _clipperExchange (address): 0x2e9c6Dcdca22A5952A88C4b18EDB5B54C5155BC9
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [1] : 0000000000000000000000002e9c6dcdca22a5952a88c4b18edb5b54c5155bc9Deployed Bytecode Sourcemap
96924:3852:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34811:10;34825:9;34811:23;;34803:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;96924:3852;;;;;56114:218;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85033:386;;;;;;;;;;-1:-1:-1;85033:386:0;;;;;:::i;:::-;;:::i;66740:6186::-;;;;;;:::i;:::-;;:::i;56684:105::-;;;;;;;;;;;;;:::i;58556:467::-;;;;;;;;;;-1:-1:-1;58556:467:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;56997:143::-;;;;;;;;;;-1:-1:-1;56997:143:0;;;;;:::i;:::-;;:::i;11918:148::-;;;;;;;;;;;;;:::i;100558:126::-;;;;;;;;;;-1:-1:-1;100558:126:0;;;;;:::i;:::-;;:::i;98253:2297::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;57187:110::-;;;;;;;;;;-1:-1:-1;57187:110:0;;;;;:::i;:::-;;:::i;100692:81::-;;;;;;;;;;;;;:::i;11267:87::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;95304:1533::-;;;;;;:::i;:::-;;:::i;65947:333::-;;;;;;;;;;-1:-1:-1;65947:333:0;;;;;:::i;:::-;;:::i;94576:270::-;;;;;;:::i;:::-;;:::i;59386:3179::-;;;;;;:::i;:::-;;:::i;86482:1539::-;;;;;;:::i;:::-;;:::i;57577:358::-;;;;;;:::i;:::-;;:::i;93888:386::-;;;;;;;;;;-1:-1:-1;93888:386:0;;;;;:::i;:::-;;:::i;85750:244::-;;;;;;:::i;:::-;;:::i;12221:::-;;;;;;;;;;-1:-1:-1;12221:244:0;;;;;:::i;:::-;;:::i;88073:2841::-;;;;;;;;;;-1:-1:-1;88073:2841:0;;;;;:::i;:::-;;:::i;56114:218::-;56165:167;56114:218;:::o;85033:386::-;85274:20;85307:34;85323:8;85334:6;;85307:7;:34::i;:::-;85359:52;85375:9;85386:6;85394:9;85405:5;;85359:15;:52::i;:::-;85352:59;85033:386;-1:-1:-1;;;;;;;;;85033:386:0:o;66740:6186::-;66954:20;67055:137;;;67115:16;67112:1;67109;67094:38;67160:16;67157:1;67150:27;67208:308;67271:66;67268:1;67261:77;67369:66;67363:4;67356:80;67467:1;67461:4;67454:15;67497:3;67494:1;67487:14;67532:1618;;67643:39;67633:8;67626:57;67760:4;67750:8;67745:3;67735:8;67729:4;67722:5;67711:54;67701:2;;67790:10;;:::i;:::-;67868:4;67850:16;67847:26;67837:2;;67898:90;67983:4;67915:66;67898:90;:::i;:::-;68076:8;68070:15;68139:4;68129:8;68125:19;68119:26;68166:8;68163:2;;;68251:8;68163:2;68490:35;68473:53;;68340:26;;;68438:12;68424:27;;;;68415:37;;68395:18;;68391:62;;-1:-1:-1;68551:8:0;68577:133;;;;68787:3;68780:4;68770:8;68766:19;68759:32;68841:1;68834:4;68824:8;68820:19;68813:30;68544:318;;68577:133;68635:1;68628:4;68618:8;68614:19;68607:30;68687:3;68680:4;68670:8;68666:19;68659:32;68544:318;;68908:3;68901:4;68891:8;68887:19;68880:32;68958:4;68951;68941:8;68937:19;68930:33;69009:1;69002:4;68992:8;68988:19;68981:30;69079:1;69076;69070:4;69060:8;69057:1;69051:4;69044:5;69039:42;69029:2;;69106:10;;:::i;:::-;67607:1543;;;;;;;;:::o;:::-;69188:4;69182:11;69234:4;69224:8;69220:19;69214:4;69207:33;69299:3;69292:4;69279:18;69275:28;69352:11;69339:25;69410:4;69397:11;69393:22;69378:37;;69474:14;69468:4;69464:25;69451:11;69447:43;69429:61;;69532:11;69519:25;69565:8;69592:1;69587:750;;;;70381:11;70378:2;;;70416:90;70501:4;70433:66;70416:90;:::i;:::-;70586:31;70576:8;70569:49;70663:8;70657:3;70647:8;70643:18;70636:36;70731:13;70722:7;70718:27;70711:4;70701:8;70697:19;70690:56;70792:6;70785:4;70775:8;70771:19;70764:35;70871:1;70868;70862:4;70852:8;70849:1;70839:8;70832:5;70827:46;70817:2;;70898:10;;:::i;:::-;69558:1384;;69587:750;69634:11;69626:6;69623:23;69613:2;;69671:90;69756:4;69688:66;69671:90;:::i;:::-;69841:30;69831:8;69824:48;69945:1;69942;69937:3;69927:8;69919:6;69912:5;69905;69900:47;69890:2;;69972:10;;:::i;:::-;70038:32;70028:8;70021:50;70129:13;70120:7;70116:27;70110:3;70100:8;70096:18;70089:55;70190:6;70183:4;70173:8;70169:19;70162:35;70266:1;70263;70257:4;70247:8;70244:1;70237:5;70230;70225:43;70215:2;;70293:10;;:::i;:::-;69558:1384;70974:6;70958:22;;71027:4;71014:11;71010:22;70996:545;71040:14;71037:1;71034:21;70996:545;;;71127:1;71114:15;71165:319;71451:13;71438:11;71434:31;71394:15;71385:7;71381:29;71362:17;71358:53;71321:13;71312:7;71308:27;71271:13;71262:7;71258:27;71223:12;71192:8;71165:319;:::i;:::-;71149:335;-1:-1:-1;71515:11:0;-1:-1:-1;71069:4:0;71062:12;70996:545;;;-1:-1:-1;71577:10:0;71564:24;;71602:353;;;;72012:297;72281:9;72241:15;72232:7;72228:29;72209:17;72205:53;72168:13;72159:7;72155:27;72118:13;72109:7;72105:27;72070:12;72039:8;72012:297;:::i;:::-;71996:313;;72346:31;72336:8;72329:49;72424:12;72417:4;72407:8;72403:19;72396:41;72506:1;72503;72497:4;72487:8;72484:1;72477:5;72470;72465:43;72455:2;;72533:10;;:::i;:::-;72637:1;72634;72631;72628;72614:12;72604:8;72597:5;72592:47;72582:2;;72664:10;;:::i;:::-;71557:1151;;71602:353;71644:296;71913:8;71873:15;71864:7;71860:29;71841:17;71837:53;71800:13;71791:7;71787:27;71750:13;71741:7;71737:27;71702:12;71671:8;71644:296;:::i;:::-;71628:312;;71557:1151;;;;;;72744:9;72730:12;72727:27;72724:2;;;72774:90;72859:4;72791:66;72774:90;:::i;:::-;66996:5923;;;;;;;:::o;56684:105::-;56734:7;56761:20;:18;:20::i;:::-;56754:27;;56684:105;;:::o;58556:467::-;58808:7;58842;58887:42;58903:5;:16;;;58922:6;;58887:7;:42::i;:::-;58947:68;58962:5;58969:9;;58980:12;58994;59008:6;58947:14;:68::i;:::-;58940:75;;;;58556:467;;;;;;;;;;;:::o;56997:143::-;57107:19;;;57080:7;57107:19;;;:12;:19;;;;;;;;:25;;;;;;;;;56997:143;;;;;:::o;11918:148::-;11498:12;:10;:12::i;:::-;11487:23;;:7;:5;:7::i;:::-;:23;;;11479:68;;;;;;;;;;;;:::i;:::-;12025:1:::1;12009:6:::0;;11988:40:::1;::::0;::::1;12009:6:::0;;::::1;::::0;11988:40:::1;::::0;12025:1;;11988:40:::1;12056:1;12039:19:::0;;;::::1;::::0;;11918:148::o;100558:126::-;11498:12;:10;:12::i;:::-;11487:23;;:7;:5;:7::i;:::-;:23;;;11479:68;;;;;;;;;;;;:::i;:::-;100639:37:::1;:17;::::0;::::1;100657:10;100669:6:::0;100639:17:::1;:37::i;:::-;100558:126:::0;;:::o;98253:2297::-;98449:20;98484:19;98518:15;98592:1;98569:4;:20;;;:24;98561:63;;;;;;;;;;;;:::i;:::-;98643:15;98635:52;;;;;;;;;;;;:::i;:::-;98716:10;;;;98700:13;98755;;;;98716:4;98755:13;:::i;:::-;98737:31;-1:-1:-1;98779:15:0;98797:13;;;;;;;;:::i;:::-;98779:31;;98823:11;98837:16;:8;:14;;;:16::i;:::-;98823:30;-1:-1:-1;97267:6:0;98868:27;;:32;98864:235;;98938:6;:24;;98961:1;98938:24;;;98947:4;:11;;;98938:24;98925:9;:38;98917:68;;;;;;;;;;;;:::i;:::-;98864:235;;;99040:6;:24;;99063:1;99040:24;;;99049:4;:11;;;99040:24;99026:9;:39;99018:69;;;;;;;;;;;;:::i;:::-;99116:6;99111:162;;99139:39;99155:8;99166:11;;;;:4;:11;:::i;:::-;99139:7;:39::i;:::-;99193:68;99219:10;99231:16;;;;;;;;:::i;:::-;99193:25;;;;:68;99249:11;;;;99193:25;:68::i;:::-;99324:73;;99300:21;;99324:73;;99341:25;;99300:21;;99380:10;;99392:4;;;;99324:73;;;:::i;:::-;;;;;;;;;;;;;99300:97;;99477:12;99491:19;99522:6;99514:20;;99542:9;99553:8;99514:48;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99476:86;;;;99582:7;99577:111;;99617:54;99642:6;99617:54;;;;;;;;;;;;;;;;;:24;:54::i;:::-;99610:62;;;;;;;;;;;:::i;99577:111::-;-1:-1:-1;;;99725:11:0;;;;;-1:-1:-1;99762:36:0;:21;;;99792:4;99762:21;:36::i;:::-;99747:51;-1:-1:-1;97207:6:0;99815:21;;:26;99811:535;;99858:21;99882:36;:21;;;99912:4;99882:21;:36::i;:::-;99858:60;-1:-1:-1;99937:17:0;;99933:168;;99989:30;:11;100005:13;99989:15;:30::i;:::-;99975:44;-1:-1:-1;100038:47:0;:20;;;100059:10;100071:13;100038:20;:47::i;:::-;100156:37;:20;;;;100181:11;100156:24;:37::i;:::-;100123:29;:12;100140:11;;;;100123:16;:29::i;:::-;:70;;100115:110;;;;;;;;;;;;:::i;:::-;99811:535;;;;100282:4;:20;;;100266:12;:36;;100258:76;;;;;;;;;;;;:::i;:::-;100358:27;;100389:16;;;;;;;;:::i;:::-;:30;;;100388:64;;100436:16;;;;;;;;:::i;:::-;100388:64;;;100423:10;100388:64;100358:94;-1:-1:-1;100463:47:0;:20;;;100358:94;100497:12;100463:20;:47::i;:::-;100533:9;100523:19;;98253:2297;;;;;;;;;;;;;:::o;57187:110::-;57250:39;57267:10;57279:9;57250:16;:39::i;:::-;57187:110;:::o;100692:81::-;11498:12;:10;:12::i;:::-;11487:23;;:7;:5;:7::i;:::-;:23;;;11479:68;;;;;;;;;;;;:::i;:::-;100754:10:::1;100741:24;11267:87:::0;11313:7;11340:6;;;11267:87;:::o;95304:1533::-;95498:20;95531:11;95569:5;95557:17;;:8;:17;;;95553:555;;;95599:9;:14;95591:55;;;;;;;;;;;;:::i;:::-;95661:53;;;;;:18;:5;:18;;;;:53;;95680:10;;95700:4;;95707:6;;95661:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;95729:22:0;;;;;:14;:5;:14;;;;:22;;95744:6;;95729:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95775:4;95766:13;;95553:555;;;95810:16;;;95806:302;;95864:6;95851:9;:19;95843:54;;;;;;;;;;;;:::i;:::-;-1:-1:-1;95921:4:0;95806:302;;;95975:9;:14;95967:55;;;;;;;;;;;;:::i;:::-;96037:59;:25;;;96063:10;96075:12;96089:6;96037:25;:59::i;:::-;96124:6;96120:710;;;96147:29;;:21;:12;:21;;:29;;;;;96169:6;;96147:29;;;;96169:6;96147:21;:29;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96271:9:0;;;;;;;;;;;;;;;;96206:75;;;;;:32;:16;:32;;;;:75;;96239:8;;96249:9;;96260;;96206:75;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;96191:90;;96120:710;;;96315:5;96303:17;;:8;:17;;;96299:531;;;96421:9;;;;;;;;;;;;;;;;96352:79;;;;;:32;:16;:32;;;;:79;;96385:8;;96403:4;;96410:9;;96352:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;96337:94;;96446:5;:13;;;96468:12;96446:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;96499:39:0;;;;;:14;:5;:14;;-1:-1:-1;96499:14:0;;-1:-1:-1;96499:39:0;;-1:-1:-1;96514:9:0;;96525:12;;96499:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;96299:531;;;96560:16;;;96556:274;;96673:9;;;;;;;;;;;;;;;;96608:75;;;;;:32;:16;:32;;;;:75;;96641:8;;96651:9;;96662;;96608:75;;;:::i;96556:274::-;96808:9;;;;;;;;;;;;;;;;96731:87;;;;;:34;:16;:34;;;;:87;;96766:8;;96776;;96786:9;;96797;;96808;96731:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;96716:102;;96556:274;95304:1533;;;;;;;;:::o;65947:333::-;66144:20;66177:34;66193:8;66204:6;;66177:7;:34::i;:::-;66229:43;66237:8;66247:6;66255:9;66266:5;;66229:7;:43::i;:::-;66222:50;65947:333;-1:-1:-1;;;;;;;;65947:333:0:o;94576:270::-;94734:20;94774:64;94788:10;94800:8;94810;94820:6;94828:9;94774:13;:64::i;:::-;94767:71;;94576:270;;;;;;;:::o;59386:3179::-;59697:11;;;;59738:10;;59811:21;59797:36;;59784:49;;;-1:-1:-1;;;;59697:11:0;;56384:8;59738:30;;59737:36;;;60044:2;60027:19;;;60069:15;;;:48;;;60107:10;60088:15;:29;;60069:48;60061:79;;;;;;;;;;;;:::i;:::-;60197:29;60214:5;60221:4;60197:16;:29::i;:::-;-1:-1:-1;;60312:18:0;;;;60373;;;;60457:17;;:38;;;;-1:-1:-1;60478:17:0;;60457:38;60453:816;;;60579:17;60564:32;;60630:17;60615:32;;60453:816;;;60686:17;60682:587;;60748:17;60732:12;:33;;60724:73;;;;;;;;;;;;:::i;:::-;60831:85;60898:17;60831:62;60871:21;;;60831:35;:17;60853:12;60831:21;:35::i;:::-;:39;;:62::i;:::-;:66;;:85::i;:::-;60816:100;;60682:587;;;60955:17;60951:318;;61017:17;61001:12;:33;;60993:73;;;;;;;;;;;;:::i;:::-;61100:58;61140:17;61100:35;:17;61122:12;61100:21;:35::i;:58::-;61085:73;;60951:318;;;61212:41;;;;;;;;;;:::i;60951:318::-;59386:3179;;61315:1;61300:12;:16;:36;;;;;61335:1;61320:12;:16;61300:36;61292:73;;;;;;;;;;;;:::i;:::-;61413:19;;;;:33;;;;:70;;-1:-1:-1;61450:19:0;;;;:33;;61473:10;61450:33;61413:70;61405:101;;;;;;;;;;;;:::i;:::-;61517:17;61537:72;56165:167;61601:5;61564:43;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61554:54;;;;;;61537:16;:72::i;:::-;61517:92;;61620:38;61630:5;61637:9;61648;;61620;:38::i;:::-;61722:5;61702:25;;:5;:16;;;:25;;;:39;;;;;61731:10;61702:39;61698:323;;;61758:16;;;;:69;;:33;;61792:5;61807:4;61814:12;61758:33;:69::i;:::-;61842:28;;;;;:14;:5;:14;;;;:28;;61857:12;;61842:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61885:29:0;;:15;;;;-1:-1:-1;61885:29:0;;;;;-1:-1:-1;61901:12:0;;61885:29;;;;61901:12;61885:15;:29;;;;;;;;;;;;;;;;;;;;;61698:323;;;61947:16;;;;:62;;:33;;61981:5;61988:6;61996:12;61947:33;:62::i;:::-;62082:5;62062:25;;:5;:16;;;:25;;;:42;;;;;62103:1;62091:9;:13;62062:42;62058:397;;;62142:12;62129:9;:25;62121:58;;;;;;;;;;;;:::i;:::-;62194:5;:13;;;62216:12;62194:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62247:35:0;;;;;:14;:5;:14;;-1:-1:-1;62247:14:0;;-1:-1:-1;62247:35:0;;-1:-1:-1;62262:5:0;;62269:12;;62247:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;62058:397;;;62323:9;:14;62315:47;;;;;;;;;;;;:::i;:::-;62377:16;;;;:66;;:33;;62411:10;62423:5;62430:12;62377:33;:66::i;:::-;62472:39;62487:9;62498:12;62472:39;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;62530:12:0;;62544;;-1:-1:-1;59386:3179:0;;-1:-1:-1;;;;;;;59386:3179:0:o;86482:1539::-;86661:20;86708:5;86739:7;86731:39;;;;;;;;;;;;:::i;:::-;86834:6;;-1:-1:-1;86801:7:0;;;86781:17;;83308:8;86867:5;;86781:17;86867:8;;;;;;;;;;;:26;:30;86851:46;;86908:15;86965:1;83368:8;86926:5;;86932:9;86926:16;;;;;;;;;;;;;:36;:40;86908:58;;86981:8;86977:230;;;87027:6;87014:9;:19;87006:55;;;;;;;;;;;;:::i;:::-;87076:5;:13;;;87097:6;87076:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86977:230;;;87147:9;:14;87139:56;;;;;;;;;;;;:::i;:::-;87227:1;87221:3;:7;87217:597;;;87260:87;87278:4;87285:8;:37;;87312:10;87285:37;;;87304:4;87285:37;87324:5;;87330:1;87324:8;;;;;;;;;;;;;87334:12;87260:9;:87::i;:::-;87245:102;-1:-1:-1;87381:1:0;87364:153;87388:9;87384:1;:13;87364:153;;;87438:63;87456:4;87471;87478:5;;87484:1;87478:8;;;;;;;;;;;;;87488:12;87438:9;:63::i;:::-;87423:78;-1:-1:-1;87399:3:0;;87364:153;;;;87546:96;87556:10;:38;;87585:9;87556:38;;;87577:4;87556:38;87604:4;87611:5;;87617:9;87611:16;;;;;;87546:96;87531:111;;87217:597;;;87690:112;87700:10;:38;;87729:9;87700:38;;;87721:4;87700:38;87740:8;:37;;87767:10;87740:37;;87690:112;87675:127;;87217:597;87850:9;87834:12;:25;;87826:56;;;;;;;;;;;;:::i;:::-;87899:10;87895:119;;;87926:28;;;;;:14;:5;:14;;;;:28;;87941:12;;87926:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87969:33:0;;-1:-1:-1;;;87969:19:0;;;87989:12;87969:19;:33::i;:::-;86482:1539;;;;;;;;;;;:::o;57577:358::-;57760:7;57794;57846:81;57861:5;57868:9;;57879:12;57893;57915:10;57846:14;:81::i;:::-;57839:88;;;;57577:358;;;;;;;;:::o;93888:386::-;94118:20;94151:34;94167:8;94178:6;;94151:7;:34::i;:::-;94203:63;94217:9;94228:8;94238;94248:6;94256:9;94203:13;:63::i;85750:244::-;85893:20;85933:53;85949:10;85961:6;85969:9;85980:5;;85933:15;:53::i;12221:244::-;11498:12;:10;:12::i;:::-;11487:23;;:7;:5;:7::i;:::-;:23;;;11479:68;;;;;;;;;;;;:::i;:::-;12310:22:::1;::::0;::::1;12302:73;;;;;;;;;;;;:::i;:::-;12412:6;::::0;;12391:38:::1;::::0;::::1;::::0;;::::1;::::0;12412:6;::::1;::::0;12391:38:::1;::::0;::::1;12440:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;12221:244::o;88073:2841::-;88236:13;;83543:66;83431;88236:13;88987:4;88981:11;89037:4;89027:8;89023:19;89073:10;89063:8;89056:28;89164:4;89153:9;89148:3;89138:8;89128;89121:5;89110:59;89100:2;;89190:10;;:::i;:::-;89245:9;89239:16;89229:26;;89343:4;89332:9;89327:3;89321;89311:8;89307:18;89297:8;89290:5;89279:69;89269:2;;89369:10;;:::i;:::-;89424:9;89418:16;89408:26;;89522:4;89511:9;89506:3;89500;89490:8;89486:18;89476:8;89469:5;89458:69;89448:2;;89548:10;;:::i;:::-;89598:16;89661:27;;;89714:2;89707:10;;89779:17;;;89817:10;;;89810:26;;;89857:10;;;;89850:23;;;;89910:2;89897:16;;89887:27;;;89957;;;90014:23;;90039:13;90010:43;90088:8;90079:18;;90069:2;;90118:90;90203:4;90135:66;90118:90;:::i;:::-;90069:2;90289:4;90283;90273:8;90260:34;90317:15;;-1:-1:-1;90374:1:0;90359:16;;90355:271;;;90396:22;;;90413:4;90396:22;90392:223;;;90439:54;:19;;;90459:10;90479:12;90439:19;:54::i;:::-;90392:223;;;90534:65;:23;;;90558:5;90565:10;90585:12;90534:23;:65::i;:::-;90655:1;90640:12;:16;90636:271;;;90677:22;;;90694:4;90677:22;90673:223;;;90720:54;:19;;;90740:10;90760:12;90720:19;:54::i;:::-;90673:223;;;90815:65;:23;;;90839:5;90846:10;90866:12;90815:23;:65::i;:::-;88073:2841;;;;;;;;;:::o;40894:828::-;40973:17;;40969:746;;41007:12;41034:19;41089:6;41072:23;;41068:514;;;41215:54;;41204:10;;;;41215:54;;41232:28;;41262:6;;;;41215:54;;;:::i;:::-;;;;;;;;;;;;;;;41204:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41184:86:0;;-1:-1:-1;41184:86:0;-1:-1:-1;41068:514:0;;;41313:6;41296:23;;41292:290;;;41439:56;;41428:10;;;;41439:56;;41456:30;;41488:6;;;;41439:56;;;:::i;41292:290::-;41537:29;;;;;;;;;;:::i;41292:290::-;41601:7;41596:108;;41636:51;41661:6;41636:51;;;;;;;;;;;;;;;;;:24;:51::i;41596:108::-;40969:746;;;40894:828;;;:::o;47259:289::-;47320:7;47361:16;47344:13;:11;:13::i;:::-;:33;47340:201;;;-1:-1:-1;47401:24:0;47394:31;;47340:201;47465:64;47487:10;47499:12;47513:15;47465:21;:64::i;:::-;47458:71;;;;9804:106;9892:10;9804:106;:::o;42437:283::-;42532:10;;42528:185;;42563:12;42569:5;42563;:12::i;:::-;42559:143;;;42596:19;;:11;;;;:19;;;;;42608:6;;42596:19;;;;42608:6;42596:11;:19;;;;;;;;;;;;;;;;;;;;;42559:143;;;42656:30;:18;;;42675:2;42679:6;42656:18;:30::i;42054:133::-;42106:4;42131:22;;;;;:47;;-1:-1:-1;42157:21:0;;;41946:42;42157:21;42131:47;42123:56;;42054:133;;;;:::o;31657:205::-;31758:96;31778:5;31808:27;;;31837:4;31843:2;31847:5;31785:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31758:19;:96::i;:::-;31657:205;;;;:::o;37779:2036::-;37858:13;37903:1;37888:4;:11;:16;37884:1841;;38051:4;38041:15;;38035:22;38165:27;;;;;:48;;;;;38211:2;38196:4;:11;:17;;38165:48;38161:1553;;;38234:14;38267:19;38486:2;38480:4;38476:13;38470:20;38460:30;;38540:6;38536:2;38532:15;38526:4;38522:26;38512:36;;39095:6;:13;39086:6;39081:2;:11;:27;39066:4;:11;:42;;39058:76;;;;;;;;;;;;:::i;:::-;39184:6;39202;39167:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39153:62;;;;;;;38161:1553;39310:27;;;;;:48;;;;;39341:4;:11;39356:2;39341:17;39310:48;39306:408;;;39589:2;39579:13;;39573:20;39661:6;39679:12;39573:20;39679:6;:12::i;:::-;39644:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39630:68;;;;;;39306:408;37884:1841;;39768:6;39788:12;39795:4;39788:6;:12::i;:::-;39751:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39737:70;;37779:2036;;;;:::o;42195:234::-;42271:7;42295:12;42301:5;42295;:12::i;:::-;42291:131;;;-1:-1:-1;42331:15:0;;;;42324:22;;42291:131;42386:24;;;;;:15;;;;;;:24;;42402:7;;42386:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42379:31;;;;18556:158;18614:7;18647:1;18642;:6;;18634:49;;;;;;;;;;;;:::i;:::-;-1:-1:-1;18701:5:0;;;18556:158::o;18973:220::-;19031:7;19055:6;19051:20;;-1:-1:-1;19070:1:0;19063:8;;19051:20;19094:5;;;19098:1;19094;:5;:1;19118:5;;;;;:10;19110:56;;;;;;;;;;;;:::i;:::-;19184:1;18973:220;-1:-1:-1;;;18973:220:0:o;63088:503::-;63340:19;;;63167:23;63340:19;;;63251:1;63340:19;;;;;;;;63193:22;63214:1;63193:22;;;;63392:35;;;;;;;;;;63193:22;;63251:21;;;;;;;;63340:19;63446:28;;;:33;63438:68;;;;;;;;;;;;:::i;:::-;63517:35;;;;;;;;;;;;;63555:28;;63517:66;;-1:-1:-1;;63088:503:0:o;18094:179::-;18152:7;18184:5;;;18208:6;;;;18200:46;;;;;;;;;;;;:::i;19671:153::-;19729:7;19761:1;19757;:5;19749:44;;;;;;;;;;;;:::i;:::-;19815:1;19811;:5;;;;;;;19671:153;-1:-1:-1;;;19671:153:0:o;48535:185::-;48612:7;48678:20;:18;:20::i;:::-;48700:10;48649:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;48639:73;;;;;;48632:80;;48535:185;;;:::o;62573:507::-;62723:6;62681:48;;:38;62698:9;62709;;62681:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62681:16:0;;-1:-1:-1;;;62681:38:0:i;:::-;:48;;;62677:396;;62747:12;62761:19;62784:6;:17;;62843:34;;;62879:9;62890;;62820:80;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62784:131;;;;62820:80;62784:131;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62746:169;;;;62938:7;:30;;;;;62949:6;:13;62966:2;62949:19;62938:30;:100;;;;-1:-1:-1;62972:28:0;;63004:34;;62972:28;;;;;;;;;;;;:::i;:::-;:66;;;62938:100;62930:131;;;;;;;;;;;;:::i;:::-;62677:396;;62573:507;;;;:::o;90922:825::-;91022:7;83250:8;91060:25;;:30;91101:639;;;;91135:14;91168:4;91153:25;;;91197:9;91225:10;91254:25;91272:6;91254:17;:25::i;:::-;84008:14;91343:5;91332:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;91153:211;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;91132:232;;;91386:28;91406:7;91405:8;;91386:18;:28::i;:::-;91379:35;;;;;;91101:639;91448:14;91482:4;91467:25;;;91511:9;91539:10;91568:25;91586:6;91568:17;:25::i;:::-;84194:53;91657:5;91646:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;91467:211;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;91447:231;;;91700:28;91720:7;91719:8;;91700:18;:28::i;24899:397::-;25014:6;24989:21;:31;;24981:73;;;;;;;;;;;;:::i;:::-;25146:12;25164:9;:14;;25187:6;25164:35;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25145:54;;;25218:7;25210:78;;;;;;;;;;;;:::i;31472:177::-;31555:86;31575:5;31605:23;;;31630:2;31634:5;31582:58;;;;;;;;;:::i;48728:326::-;49027:9;;49001:46::o;47556:337::-;47658:7;47738:8;47765:4;47788:7;47814:13;:11;:13::i;:::-;47854:4;47709:165;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47685:200;;;;;;47678:207;;47556:337;;;;;:::o;33777:761::-;34201:23;34227:69;34255:4;34227:69;;;;;;;;;;;;;;;;;34235:5;34227:27;;;;:69;;;;;:::i;:::-;34311:17;;34201:95;;-1:-1:-1;34311:21:0;34307:224;;34453:10;34442:30;;;;;;;;;;;;:::i;:::-;34434:85;;;;;;;;;;;;:::i;39823:124::-;39875:13;39908:31;39932:5;39915:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;39955:466;40134:11;;40011:13;;40037:53;;:16;;40148:1;40134:15;;;40130:19;40120:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40120:30:0;;40101:49;;40161:12;:3;40165:1;40161:6;;;;;;;;;;;:12;;;;;;;;;;;40184;:3;40188:1;40184:6;;;;;;;;;;;:12;;;;;;;;;;;40212:9;40207:178;40231:4;:11;40227:1;:15;40207:178;;;40281:8;40307:1;40296:4;40301:1;40296:7;;;;;;;;;;;;;;:12;;:7;40290:19;40281:29;;;;;;;;;;40264:3;40272:1;40268;:5;40276:1;40268:9;40264:14;;;;;;;;;;;:46;;;;;;;;;;;40342:8;40357:4;40362:1;40357:7;;;;;;;;;;;;;;;40367:4;40351:21;40342:31;;;;;;;;;;40325:3;40333:1;40329;:5;40337:1;40329:9;40325:14;;;;;;;;;;;:48;;;;;;;;;;-1:-1:-1;40244:3:0;;40207:178;;;-1:-1:-1;40409:3:0;39955:466;-1:-1:-1;;;39955:466:0:o;50660:1343::-;50741:7;50961:9;:16;50981:2;50961:22;50957:1039;;;51301:4;51286:20;;51280:27;51351:4;51336:20;;51330:27;51409:4;51394:20;;51388:27;51000:9;51380:36;51452:25;51463:4;51380:36;51280:27;51330;51452:10;:25::i;:::-;51445:32;;;;;;;50957:1039;51499:9;:16;51519:2;51499:22;51495:501;;;51818:4;51803:20;;51797:27;51869:4;51854:20;;51848:27;51911:23;51922:4;51797:27;51848;51911:10;:23::i;:::-;51904:30;;;;;;51495:501;-1:-1:-1;51982:1:0;51967:17;;79532:181;79588:6;79623;79615:5;:14;79607:67;;;;;;;;;;;;:::i;:::-;-1:-1:-1;79699:5:0;79532:181::o;76350:171::-;76406:7;76443:1;76434:5;:10;;76426:55;;;;;;;;;;;;:::i;26460:195::-;26563:12;26595:52;26617:6;26625:4;26631:1;26634:12;26595:21;:52::i;52869:1493::-;53000:7;53920:66;53907:79;;53903:129;;;-1:-1:-1;54018:1:0;54003:17;;53903:129;54046:1;:7;;54051:2;54046:7;;:18;;;;;54057:1;:7;;54062:2;54057:7;;54046:18;54042:68;;;-1:-1:-1;54096:1:0;54081:17;;54042:68;54207:14;54224:24;54234:4;54240:1;54243;54246;54224:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54224:24:0;;;;;;-1:-1:-1;;54263:20:0;;;54259:70;;54315:1;54300:17;;;;;52266:421;52380:7;52519:66;52511:75;;52613:3;52609:12;;;52623:2;52605:21;52654:25;52665:4;52605:21;52674:1;52511:75;52654:10;:25::i;27512:530::-;27639:12;27697:5;27672:21;:30;;27664:81;;;;;;;;;;;;:::i;:::-;27764:18;27775:6;27764:10;:18::i;:::-;27756:60;;;;;;;;;;;;:::i;:::-;27890:12;27904:23;27931:6;:11;;27951:5;27959:4;27931:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27889:75;;;;27982:52;28000:7;28009:10;28021:12;27982:17;:52::i;:::-;27975:59;27512:530;-1:-1:-1;;;;;;;27512:530:0:o;23542:422::-;23909:20;23948:8;;;23542:422::o;30052:742::-;30167:12;30196:7;30192:595;;;-1:-1:-1;30227:10:0;30220:17;;30192:595;30341:17;;:21;30337:439;;30604:10;30598:17;30665:15;30652:10;30648:2;30644:19;30637:44;30552:148;30747:12;30740:20;;;;;;;;;;;:::i;14:138:1:-;84:20;;113:33;84:20;113:33;:::i;157:404::-;;;290:3;283:4;275:6;271:17;267:27;257:2;;315:8;305;298:26;257:2;-1:-1:-1;345:20:1;;388:18;377:30;;374:2;;;427:8;417;410:26;374:2;471:4;463:6;459:17;447:29;;534:3;527:4;519;511:6;507:17;499:6;495:30;491:41;488:50;485:2;;;551:1;548;541:12;485:2;247:314;;;;;:::o;566:377::-;;;683:3;676:4;668:6;664:17;660:27;650:2;;708:8;698;691:26;650:2;-1:-1:-1;738:20:1;;781:18;770:30;;767:2;;;820:8;810;803:26;767:2;864:4;856:6;852:17;840:29;;916:3;909:4;900:6;892;888:19;884:30;881:39;878:2;;;933:1;930;923:12;948:843;;1054:4;1042:9;1037:3;1033:19;1029:30;1026:2;;;1076:5;1069;1062:20;1026:2;1113;1107:9;1155:4;1147:6;1143:17;1226:6;1214:10;1211:22;1190:18;1178:10;1175:34;1172:62;1169:2;;;1237:9;1169:2;1264;1257:22;1327:23;;1312:39;;1297:6;-1:-1:-1;1297:6:1;1384:40;1420:2;1405:18;;1384:40;:::i;:::-;1379:2;1371:6;1367:15;1360:65;1458:40;1494:2;1483:9;1479:18;1458:40;:::i;:::-;1453:2;1445:6;1441:15;1434:65;1532:40;1568:2;1557:9;1553:18;1532:40;:::i;:::-;1527:2;1519:6;1515:15;1508:65;1607:41;1643:3;1632:9;1628:19;1607:41;:::i;:::-;1601:3;1593:6;1589:16;1582:67;1711:3;1700:9;1696:19;1683:33;1677:3;1669:6;1665:16;1658:59;1779:3;1768:9;1764:19;1751:33;1745:3;1737:6;1733:16;1726:59;;1016:775;;;;:::o;1796:259::-;;1908:2;1896:9;1887:7;1883:23;1879:32;1876:2;;;1929:6;1921;1914:22;1876:2;1973:9;1960:23;1992:33;2019:5;1992:33;:::i;2332:719::-;;;;;;2548:3;2536:9;2527:7;2523:23;2519:33;2516:2;;;2570:6;2562;2555:22;2516:2;2614:9;2601:23;2633:33;2660:5;2633:33;:::i;:::-;2685:5;-1:-1:-1;2742:2:1;2727:18;;2714:32;2755:35;2714:32;2755:35;:::i;:::-;2809:7;-1:-1:-1;2868:2:1;2853:18;;2840:32;2881:35;2840:32;2881:35;:::i;:::-;2506:545;;;;-1:-1:-1;2935:7:1;;2989:2;2974:18;;2961:32;;-1:-1:-1;3040:3:1;3025:19;3012:33;;2506:545;-1:-1:-1;;2506:545:1:o;3056:1029::-;;;;;;;;3308:3;3296:9;3287:7;3283:23;3279:33;3276:2;;;3330:6;3322;3315:22;3276:2;3374:9;3361:23;3393:33;3420:5;3393:33;:::i;:::-;3445:5;-1:-1:-1;3502:2:1;3487:18;;3474:32;3515:35;3474:32;3515:35;:::i;:::-;3569:7;-1:-1:-1;3628:2:1;3613:18;;3600:32;3641:35;3600:32;3641:35;:::i;:::-;3695:7;-1:-1:-1;3749:2:1;3734:18;;3721:32;;-1:-1:-1;3800:3:1;3785:19;;3772:33;;-1:-1:-1;3856:3:1;3841:19;;3828:33;3884:18;3873:30;;3870:2;;;3921:6;3913;3906:22;3870:2;3965:60;4017:7;4008:6;3997:9;3993:22;3965:60;:::i;:::-;3266:819;;;;-1:-1:-1;3266:819:1;;-1:-1:-1;3266:819:1;;;;3939:86;;-1:-1:-1;;;3266:819:1:o;4090:1224::-;;;;;;;;;4363:3;4351:9;4342:7;4338:23;4334:33;4331:2;;;4385:6;4377;4370:22;4331:2;4429:9;4416:23;4448:33;4475:5;4448:33;:::i;:::-;4500:5;-1:-1:-1;4557:2:1;4542:18;;4529:32;4570:35;4529:32;4570:35;:::i;:::-;4624:7;-1:-1:-1;4678:2:1;4663:18;;4650:32;;-1:-1:-1;4729:2:1;4714:18;;4701:32;;-1:-1:-1;4784:3:1;4769:19;;4756:33;4808:18;4838:14;;;4835:2;;;4870:6;4862;4855:22;4835:2;4914:76;4982:7;4973:6;4962:9;4958:22;4914:76;:::i;:::-;5009:8;;-1:-1:-1;4888:102:1;-1:-1:-1;5097:3:1;5082:19;;5069:33;;-1:-1:-1;5114:16:1;;;5111:2;;;5148:6;5140;5133:22;5111:2;;5192:62;5246:7;5235:8;5224:9;5220:24;5192:62;:::i;:::-;4321:993;;;;-1:-1:-1;4321:993:1;;-1:-1:-1;4321:993:1;;;;;;5273:8;-1:-1:-1;;;4321:993:1:o;5319:745::-;;;;;;5525:3;5513:9;5504:7;5500:23;5496:33;5493:2;;;5547:6;5539;5532:22;5493:2;5591:9;5578:23;5610:33;5637:5;5610:33;:::i;:::-;5662:5;-1:-1:-1;5714:2:1;5699:18;;5686:32;;-1:-1:-1;5765:2:1;5750:18;;5737:32;;-1:-1:-1;5820:2:1;5805:18;;5792:32;5847:18;5836:30;;5833:2;;;5884:6;5876;5869:22;5833:2;5928:76;5996:7;5987:6;5976:9;5972:22;5928:76;:::i;:::-;5483:581;;;;-1:-1:-1;5483:581:1;;-1:-1:-1;6023:8:1;;5902:102;5483:581;-1:-1:-1;;;5483:581:1:o;6069:327::-;;;6198:2;6186:9;6177:7;6173:23;6169:32;6166:2;;;6219:6;6211;6204:22;6166:2;6263:9;6250:23;6282:33;6309:5;6282:33;:::i;:::-;6334:5;6386:2;6371:18;;;;6358:32;;-1:-1:-1;;;6156:240:1:o;6401:297::-;;6521:2;6509:9;6500:7;6496:23;6492:32;6489:2;;;6542:6;6534;6527:22;6489:2;6579:9;6573:16;6632:5;6625:13;6618:21;6611:5;6608:32;6598:2;;6659:6;6651;6644:22;6703:356;;6825:2;6813:9;6804:7;6800:23;6796:32;6793:2;;;6846:6;6838;6831:22;6793:2;6883:9;6877:16;6933:66;6926:5;6922:78;6915:5;6912:89;6902:2;;7020:6;7012;7005:22;7064:911;;;;;7293:2;7281:9;7272:7;7268:23;7264:32;7261:2;;;7314:6;7306;7299:22;7261:2;7358:9;7345:23;7377:33;7404:5;7377:33;:::i;:::-;7429:5;-1:-1:-1;7485:2:1;7470:18;;7457:32;7508:18;7538:14;;;7535:2;;;7570:6;7562;7555:22;7535:2;7598:22;;;;7654:3;7636:16;;;7632:26;7629:2;;;7676:6;7668;7661:22;7629:2;7704;;-1:-1:-1;7759:2:1;7744:18;;7731:32;;7775:16;;;7772:2;;;7809:6;7801;7794:22;7772:2;;7853:62;7907:7;7896:8;7885:9;7881:24;7853:62;:::i;:::-;7251:724;;;;-1:-1:-1;7934:8:1;-1:-1:-1;;;;7251:724:1:o;8258:567::-;;;;;8449:3;8437:9;8428:7;8424:23;8420:33;8417:2;;;8471:6;8463;8456:22;8417:2;8515:9;8502:23;8534:33;8561:5;8534:33;:::i;:::-;8586:5;-1:-1:-1;8643:2:1;8628:18;;8615:32;8656:35;8615:32;8656:35;:::i;:::-;8407:418;;8710:7;;-1:-1:-1;;;;8764:2:1;8749:18;;8736:32;;8815:2;8800:18;8787:32;;8407:418::o;9176:751::-;;;;;;9388:3;9376:9;9367:7;9363:23;9359:33;9356:2;;;9410:6;9402;9395:22;9932:1072;;;;;;;;10180:3;10168:9;10159:7;10155:23;10151:33;10148:2;;;10202:6;10194;10187:22;10148:2;10246:9;10233:23;10265:33;10292:5;10265:33;:::i;:::-;10317:5;-1:-1:-1;10369:2:1;10354:18;;10341:32;;-1:-1:-1;10420:2:1;10405:18;;10392:32;;-1:-1:-1;10475:2:1;10460:18;;10447:32;10498:18;10528:14;;;10525:2;;;10560:6;10552;10545:22;10525:2;10604:76;10672:7;10663:6;10652:9;10648:22;10604:76;:::i;:::-;10699:8;;-1:-1:-1;10578:102:1;-1:-1:-1;10787:3:1;10772:19;;10759:33;;-1:-1:-1;10804:16:1;;;10801:2;;;10838:6;10830;10823:22;10801:2;;10882:62;10936:7;10925:8;10914:9;10910:24;10882:62;:::i;11009:253::-;;;11147:2;11135:9;11126:7;11122:23;11118:32;11115:2;;;11168:6;11160;11153:22;11115:2;-1:-1:-1;;11196:16:1;;11252:2;11237:18;;;11231:25;11196:16;;11231:25;;-1:-1:-1;11105:157:1:o;11267:565::-;;;;;11430:2;11418:9;11409:7;11405:23;11401:32;11398:2;;;11451:6;11443;11436:22;11398:2;11492:9;11479:23;11469:33;;11549:2;11538:9;11534:18;11521:32;11511:42;;11604:2;11593:9;11589:18;11576:32;11631:18;11623:6;11620:30;11617:2;;;11668:6;11660;11653:22;11617:2;11712:60;11764:7;11755:6;11744:9;11740:22;11712:60;:::i;11837:691::-;;;;;;12045:3;12033:9;12024:7;12020:23;12016:33;12013:2;;;12067:6;12059;12052:22;12013:2;12095:49;12136:7;12125:9;12095:49;:::i;:::-;12085:59;;12195:3;12184:9;12180:19;12167:33;12223:18;12215:6;12212:30;12209:2;;;12260:6;12252;12245:22;12209:2;12304:60;12356:7;12347:6;12336:9;12332:22;12304:60;:::i;:::-;12003:525;;12383:8;;-1:-1:-1;12278:86:1;;12465:3;12450:19;;12437:33;;12517:3;12502:19;;;12489:33;;-1:-1:-1;12003:525:1;-1:-1:-1;;;;12003:525:1:o;12533:837::-;;;;;;;12766:3;12754:9;12745:7;12741:23;12737:33;12734:2;;;12788:6;12780;12773:22;12734:2;12816:49;12857:7;12846:9;12816:49;:::i;:::-;12806:59;;12916:3;12905:9;12901:19;12888:33;12944:18;12936:6;12933:30;12930:2;;;12981:6;12973;12966:22;12930:2;13025:60;13077:7;13068:6;13057:9;13053:22;13025:60;:::i;:::-;13104:8;;-1:-1:-1;12999:86:1;-1:-1:-1;;13186:3:1;13171:19;;13158:33;;-1:-1:-1;13238:3:1;13223:19;;13210:33;;-1:-1:-1;13293:3:1;13278:19;;13265:33;13307;13265;13307;:::i;:::-;13359:5;13349:15;;;12724:646;;;;;;;;:::o;13375:1158::-;;;;;;;;;13644:3;13632:9;13623:7;13619:23;13615:33;13612:2;;;13666:6;13658;13651:22;13612:2;13694:49;13735:7;13724:9;13694:49;:::i;:::-;13684:59;;13794:3;13783:9;13779:19;13766:33;13818:18;13859:2;13851:6;13848:14;13845:2;;;13880:6;13872;13865:22;13845:2;13924:60;13976:7;13967:6;13956:9;13952:22;13924:60;:::i;:::-;14003:8;;-1:-1:-1;13898:86:1;-1:-1:-1;14085:3:1;14070:19;;14057:33;;-1:-1:-1;14137:3:1;14122:19;;14109:33;;-1:-1:-1;14192:3:1;14177:19;;14164:33;;-1:-1:-1;14206:33:1;14164;14206;:::i;:::-;14258:5;;-1:-1:-1;14316:3:1;14301:19;;14288:33;;14333:16;;;14330:2;;;14367:6;14359;14352:22;14538:190;;14650:2;14638:9;14629:7;14625:23;14621:32;14618:2;;;14671:6;14663;14656:22;14618:2;-1:-1:-1;14699:23:1;;14608:120;-1:-1:-1;14608:120:1:o;14733:194::-;;14856:2;14844:9;14835:7;14831:23;14827:32;14824:2;;;14877:6;14869;14862:22;14824:2;-1:-1:-1;14905:16:1;;14814:113;-1:-1:-1;14814:113:1:o;14932:599::-;;;;;15113:2;15101:9;15092:7;15088:23;15084:32;15081:2;;;15134:6;15126;15119:22;15081:2;15175:9;15162:23;15152:33;;15232:2;15221:9;15217:18;15204:32;15194:42;;15287:2;15276:9;15272:18;15259:32;15314:18;15306:6;15303:30;15300:2;;;15351:6;15343;15336:22;15300:2;15395:76;15463:7;15454:6;15443:9;15439:22;15395:76;:::i;15536:318::-;;15617:5;15611:12;15644:6;15639:3;15632:19;15660:63;15716:6;15709:4;15704:3;15700:14;15693:4;15686:5;15682:16;15660:63;:::i;:::-;15768:2;15756:15;15773:66;15752:88;15743:98;;;;15843:4;15739:109;;15587:267;-1:-1:-1;;15587:267:1:o;15859:718::-;;16138:66;16130:6;16126:79;16121:3;16114:92;16247:66;16239:6;16235:79;16231:1;16226:3;16222:11;16215:100;16366:66;16357:6;16353:2;16349:15;16345:88;16340:2;16335:3;16331:12;16324:110;16478:6;16470;16465:2;16460:3;16456:12;16443:42;16508:16;;16526:2;16504:25;16538:15;;;16504:25;16104:473;-1:-1:-1;;;;16104:473:1:o;16582:416::-;;16789:66;16781:6;16777:79;16772:3;16765:92;16900:6;16892;16888:1;16883:3;16879:11;16866:41;16930:16;;16948:1;16926:24;16959:15;;;16926:24;16755:243;-1:-1:-1;;16755:243:1:o;17003:274::-;;17170:6;17164:13;17186:53;17232:6;17227:3;17220:4;17212:6;17208:17;17186:53;:::i;:::-;17255:16;;;;;17140:137;-1:-1:-1;;17140:137:1:o;17282:773::-;;17701:6;17695:13;17717:53;17763:6;17758:3;17751:4;17743:6;17739:17;17717:53;:::i;:::-;17831:8;17792:16;;;17817:23;;;17865:13;;17887:65;17865:13;17939:1;17928:13;;17921:4;17909:17;;17887:65;:::i;:::-;18019:3;18015:1;17971:20;;;;18007:10;;;18000:23;18047:1;18039:10;;17671:384;-1:-1:-1;;;;17671:384:1:o;18060:775::-;;18479:6;18473:13;18495:53;18541:6;18536:3;18529:4;18521:6;18517:17;18495:53;:::i;:::-;18609:10;18570:16;;;18595:25;;;18645:13;;18667:65;18645:13;18719:1;18708:13;;18701:4;18689:17;;18667:65;:::i;:::-;18799:3;18795:1;18751:20;;;;18787:10;;;18780:23;18827:1;18819:10;;18449:386;-1:-1:-1;;;;18449:386:1:o;18840:771::-;;19257:6;19251:13;19273:53;19319:6;19314:3;19307:4;19299:6;19295:17;19273:53;:::i;:::-;19387:8;19348:16;;;19373:23;;;19421:13;;19443:65;19421:13;19495:1;19484:13;;19477:4;19465:17;;19443:65;:::i;19616:444::-;19886:66;19874:79;;19978:1;19969:11;;19962:27;;;;20014:2;20005:12;;19998:28;20051:2;20042:12;;19864:196::o;20275:182::-;20404:19;;;20448:2;20439:12;;20394:63::o;20462:226::-;20638:42;20626:55;;;;20608:74;;20596:2;20581:18;;20563:125::o;20693:414::-;20921:42;20990:15;;;20972:34;;21042:15;;;;21037:2;21022:18;;21015:43;21089:2;21074:18;;21067:34;;;;20899:2;20884:18;;20866:241::o;21112:305::-;21324:42;21312:55;;;;21294:74;;21399:2;21384:18;;21377:34;21282:2;21267:18;;21249:168::o;21825:593::-;;22068:42;22149:2;22141:6;22137:15;22126:9;22119:34;22203:6;22196:14;22189:22;22184:2;22173:9;22169:18;22162:50;22248:6;22243:2;22232:9;22228:18;22221:34;22303:2;22295:6;22291:15;22286:2;22275:9;22271:18;22264:43;;22344:3;22338;22327:9;22323:19;22316:32;22365:47;22407:3;22396:9;22392:19;22384:6;22365:47;:::i;22907:512::-;23166:25;;;23222:2;23207:18;;23200:34;;;;23265:2;23250:18;;23243:34;;;;23308:2;23293:18;;23286:34;23369:42;23357:55;23351:3;23336:19;;23329:84;23153:3;23138:19;;23120:299::o;23424:521::-;;23609:6;23598:9;23591:25;23652:2;23647;23636:9;23632:18;23625:30;23691:6;23686:2;23675:9;23671:18;23664:34;23748:6;23740;23735:2;23724:9;23720:18;23707:48;23775:22;;;23799:2;23771:31;;;23764:45;;;;23861:2;23849:15;;;23866:66;23845:88;23830:104;23826:113;;23581:364;-1:-1:-1;;23581:364:1:o;23950:807::-;;24164:3;24153:9;24149:19;24141:27;;24195:6;24184:9;24177:25;24244:6;24238:13;24233:2;24222:9;24218:18;24211:41;24299:2;24291:6;24287:15;24281:22;24322:42;24418:2;24404:12;24400:21;24395:2;24384:9;24380:18;24373:49;24486:2;24480;24472:6;24468:15;24462:22;24458:31;24453:2;24442:9;24438:18;24431:59;24555:2;24549;24541:6;24537:15;24531:22;24527:31;24521:3;24510:9;24506:19;24499:60;24625:2;24618:3;24610:6;24606:16;24600:23;24596:32;24590:3;24579:9;24575:19;24568:61;;;24684:3;24676:6;24672:16;24666:23;24660:3;24649:9;24645:19;24638:52;24745:3;24737:6;24733:16;24727:23;24721:3;24710:9;24706:19;24699:52;24131:626;;;;;:::o;24762:248::-;24936:25;;;24992:2;24977:18;;24970:34;24924:2;24909:18;;24891:119::o;25015:398::-;25242:25;;;25315:4;25303:17;;;;25298:2;25283:18;;25276:45;25352:2;25337:18;;25330:34;25395:2;25380:18;;25373:34;25229:3;25214:19;;25196:217::o;25418:543::-;;25671:42;25752:2;25744:6;25740:15;25729:9;25722:34;25804:2;25796:6;25792:15;25787:2;25776:9;25772:18;25765:43;;25844:6;25839:2;25828:9;25824:18;25817:34;25887:3;25882:2;25871:9;25867:18;25860:31;25908:47;25950:3;25939:9;25935:19;25927:6;25908:47;:::i;26506:630::-;;26793:42;26874:2;26866:6;26862:15;26851:9;26844:34;26926:2;26918:6;26914:15;26909:2;26898:9;26894:18;26887:43;26978:2;26970:6;26966:15;26961:2;26950:9;26946:18;26939:43;;27018:6;27013:2;27002:9;26998:18;26991:34;27062:3;27056;27045:9;27041:19;27034:32;27083:47;27125:3;27114:9;27110:19;27102:6;27083:47;:::i;27141:221::-;;27290:2;27279:9;27272:21;27310:46;27352:2;27341:9;27337:18;27329:6;27310:46;:::i;27367:343::-;27569:2;27551:21;;;27608:2;27588:18;;;27581:30;27647:21;27642:2;27627:18;;27620:49;27701:2;27686:18;;27541:169::o;27715:346::-;27917:2;27899:21;;;27956:2;27936:18;;;27929:30;27995:24;27990:2;27975:18;;27968:52;28052:2;28037:18;;27889:172::o;28066:351::-;28268:2;28250:21;;;28307:2;28287:18;;;28280:30;28346:29;28341:2;28326:18;;28319:57;28408:2;28393:18;;28240:177::o;28422:352::-;28624:2;28606:21;;;28663:2;28643:18;;;28636:30;28702;28697:2;28682:18;;28675:58;28765:2;28750:18;;28596:178::o;28779:351::-;28981:2;28963:21;;;29020:2;29000:18;;;28993:30;29059:29;29054:2;29039:18;;29032:57;29121:2;29106:18;;28953:177::o;29135:344::-;29337:2;29319:21;;;29376:2;29356:18;;;29349:30;29415:22;29410:2;29395:18;;29388:50;29470:2;29455:18;;29309:170::o;29484:353::-;29686:2;29668:21;;;29725:2;29705:18;;;29698:30;29764:31;29759:2;29744:18;;29737:59;29828:2;29813:18;;29658:179::o;29842:342::-;30044:2;30026:21;;;30083:2;30063:18;;;30056:30;30122:20;30117:2;30102:18;;30095:48;30175:2;30160:18;;30016:168::o;30189:402::-;30391:2;30373:21;;;30430:2;30410:18;;;30403:30;30469:34;30464:2;30449:18;;30442:62;30540:8;30535:2;30520:18;;30513:36;30581:3;30566:19;;30363:228::o;30596:351::-;30798:2;30780:21;;;30837:2;30817:18;;;30810:30;30876:29;30871:2;30856:18;;30849:57;30938:2;30923:18;;30770:177::o;30952:342::-;31154:2;31136:21;;;31193:2;31173:18;;;31166:30;31232:20;31227:2;31212:18;;31205:48;31285:2;31270:18;;31126:168::o;31299:344::-;31501:2;31483:21;;;31540:2;31520:18;;;31513:30;31579:22;31574:2;31559:18;;31552:50;31634:2;31619:18;;31473:170::o;31648:341::-;31850:2;31832:21;;;31889:2;31869:18;;;31862:30;31928:19;31923:2;31908:18;;31901:47;31980:2;31965:18;;31822:167::o;31994:354::-;32196:2;32178:21;;;32235:2;32215:18;;;32208:30;32274:32;32269:2;32254:18;;32247:60;32339:2;32324:18;;32168:180::o;32353:422::-;32555:2;32537:21;;;32594:2;32574:18;;;32567:30;32633:34;32628:2;32613:18;;32606:62;32704:28;32699:2;32684:18;;32677:56;32765:3;32750:19;;32527:248::o;32780:353::-;32982:2;32964:21;;;33021:2;33001:18;;;32994:30;33060:31;33055:2;33040:18;;33033:59;33124:2;33109:18;;32954:179::o;33138:402::-;33340:2;33322:21;;;33379:2;33359:18;;;33352:30;33418:34;33413:2;33398:18;;33391:62;33489:8;33484:2;33469:18;;33462:36;33530:3;33515:19;;33312:228::o;33545:350::-;33747:2;33729:21;;;33786:2;33766:18;;;33759:30;33825:28;33820:2;33805:18;;33798:56;33886:2;33871:18;;33719:176::o;33900:356::-;34102:2;34084:21;;;34121:18;;;34114:30;34180:34;34175:2;34160:18;;34153:62;34247:2;34232:18;;34074:182::o;34261:351::-;34463:2;34445:21;;;34502:2;34482:18;;;34475:30;34541:29;34536:2;34521:18;;34514:57;34603:2;34588:18;;34435:177::o;34617:350::-;34819:2;34801:21;;;34858:2;34838:18;;;34831:30;34897:28;34892:2;34877:18;;34870:56;34958:2;34943:18;;34791:176::o;34972:397::-;35174:2;35156:21;;;35213:2;35193:18;;;35186:30;35252:34;35247:2;35232:18;;35225:62;35323:3;35318:2;35303:18;;35296:31;35359:3;35344:19;;35146:223::o;35374:356::-;35576:2;35558:21;;;35595:18;;;35588:30;35654:34;35649:2;35634:18;;35627:62;35721:2;35706:18;;35548:182::o;35735:343::-;35937:2;35919:21;;;35976:2;35956:18;;;35949:30;36015:21;36010:2;35995:18;;35988:49;36069:2;36054:18;;35909:169::o;36083:345::-;36285:2;36267:21;;;36324:2;36304:18;;;36297:30;36363:23;36358:2;36343:18;;36336:51;36419:2;36404:18;;36257:171::o;36433:342::-;36635:2;36617:21;;;36674:2;36654:18;;;36647:30;36713:20;36708:2;36693:18;;36686:48;36766:2;36751:18;;36607:168::o;36780:353::-;36982:2;36964:21;;;37021:2;37001:18;;;36994:30;37060:31;37055:2;37040:18;;37033:59;37124:2;37109:18;;36954:179::o;37138:346::-;37340:2;37322:21;;;37379:2;37359:18;;;37352:30;37418:24;37413:2;37398:18;;37391:52;37475:2;37460:18;;37312:172::o;37489:348::-;37691:2;37673:21;;;37730:2;37710:18;;;37703:30;37769:26;37764:2;37749:18;;37742:54;37828:2;37813:18;;37663:174::o;37842:404::-;38044:2;38026:21;;;38083:2;38063:18;;;38056:30;38122:34;38117:2;38102:18;;38095:62;38193:10;38188:2;38173:18;;38166:38;38236:3;38221:19;;38016:230::o;38251:355::-;38453:2;38435:21;;;38492:2;38472:18;;;38465:30;38531:33;38526:2;38511:18;;38504:61;38597:2;38582:18;;38425:181::o;38611:347::-;38813:2;38795:21;;;38852:2;38832:18;;;38825:30;38891:25;38886:2;38871:18;;38864:53;38949:2;38934:18;;38785:173::o;38963:406::-;39165:2;39147:21;;;39204:2;39184:18;;;39177:30;39243:34;39238:2;39223:18;;39216:62;39314:12;39309:2;39294:18;;39287:40;39359:3;39344:19;;39137:232::o;39374:342::-;39576:2;39558:21;;;39615:2;39595:18;;;39588:30;39654:20;39649:2;39634:18;;39627:48;39707:2;39692:18;;39548:168::o;39721:348::-;39923:2;39905:21;;;39962:2;39942:18;;;39935:30;40001:26;39996:2;39981:18;;39974:54;40060:2;40045:18;;39895:174::o;40509:319::-;40711:25;;;40767:2;40752:18;;40745:34;;;;40810:2;40795:18;;40788:34;40699:2;40684:18;;40666:162::o;40833:592::-;;;40976:11;40963:25;41066:66;41055:8;41039:14;41035:29;41031:102;41011:18;41007:127;40997:2;;41151:4;41145;41138:18;40997:2;41181:33;;41233:20;;;-1:-1:-1;41276:18:1;41265:30;;41262:2;;;41311:4;41305;41298:18;41262:2;41347:4;41335:17;;-1:-1:-1;41378:14:1;41374:27;;;41364:38;;41361:2;;;41415:1;41412;41405:12;41430:258;41502:1;41512:113;41526:6;41523:1;41520:13;41512:113;;;41602:11;;;41596:18;41583:11;;;41576:39;41548:2;41541:10;41512:113;;;41643:6;41640:1;41637:13;41634:2;;;-1:-1:-1;;41678:1:1;41660:16;;41653:27;41483:205::o;41693:156::-;41781:42;41774:5;41770:54;41763:5;41760:65;41750:2;;41839:1;41836;41829:12
Swarm Source
ipfs://c5fe87d0c65a660a13d6102c0f94689c378d29658525f6d2f4f521b37cb869a4
Loading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...Loading[ Download: CSV Export ]A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity), AbiReencodingHeadOverflowWithStaticArrayCleanup (medium-severity), DirtyBytesArrayToStorage (low-severity), DataLocationChangeInInternalOverride (very low-severity), NestedCalldataArrayAbiReencodingSizeValidation (very low-severity), SignedImmutables (very low-severity), ABIDecodeTwoDimensionalArrayMemory (very low-severity), KeccakCaching (medium-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.SignIn
Address Cards
To use this feature, please login to your Etherscan account and return to this page.Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.