Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0.01 ETH
Eth Value
$30.25 (@ $3,024.73/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x9857af71d0cb26fd4dc594cea2e5626cb8908af8e34d745930a8f8f6c36d72af | Bridge | (pending) | 1 hr ago | IN | 0.0077 ETH | (Pending) | |||
0xd3b60fe42e1de6228a2b926159c33286b395bdb4d3efd8ddbb637396baf228c7 | Bridge | (pending) | 2 hrs ago | IN | 0.002 ETH | (Pending) | |||
0x88661dcc2f91022e21d6f103de6045966e62a40a45259f1864bf8c7882d2eea0 | Bridge | (pending) | 2 hrs ago | IN | 0.0077 ETH | (Pending) | |||
0x84c018d5f2a592cfe754d70715a368d81f04f7248ae99421e9b969138352a0e0 | Bridge | (pending) | 2 hrs ago | IN | 0 ETH | (Pending) | |||
0x116873bc66bb4e8854f6a56dcda9877a0b0b6f373fa2cce6b2b776228c15f9db | Bridge | (pending) | 17 hrs ago | IN | 0.0011 ETH | (Pending) | |||
0x8cd03b30346d4928656ccf738b218f0406f5365eeaa9cccc015c15f8bd6a99ff | Bridge | (pending) | 17 hrs ago | IN | 0.003 ETH | (Pending) | |||
Bridge | 19888241 | 1 min ago | IN | 20 ETH | 0.00063293 | ||||
Bridge | 19888166 | 16 mins ago | IN | 100 ETH | 0.00067053 | ||||
Bridge | 19888080 | 33 mins ago | IN | 0 ETH | 0.00044923 | ||||
Bridge | 19888052 | 39 mins ago | IN | 8 ETH | 0.00036615 | ||||
Bridge | 19887997 | 50 mins ago | IN | 8 ETH | 0.000335 | ||||
Bridge | 19887901 | 1 hr ago | IN | 3 ETH | 0.00028704 | ||||
Bridge | 19887874 | 1 hr ago | IN | 17.1 ETH | 0.00030685 | ||||
Bridge | 19887855 | 1 hr ago | IN | 13 ETH | 0.00032179 | ||||
Bridge | 19887827 | 1 hr ago | IN | 0.072 ETH | 0.00036301 | ||||
Bridge | 19887784 | 1 hr ago | IN | 13 ETH | 0.00030969 | ||||
Bridge | 19887724 | 1 hr ago | IN | 16.9 ETH | 0.00030947 | ||||
Bridge | 19887399 | 2 hrs ago | IN | 0 ETH | 0.00025422 | ||||
Bridge | 19887303 | 3 hrs ago | IN | 0 ETH | 0.00030347 | ||||
Bridge | 19887288 | 3 hrs ago | IN | 1.25 ETH | 0.00026238 | ||||
Bridge | 19887220 | 3 hrs ago | IN | 25.016 ETH | 0.00032836 | ||||
Bridge | 19886793 | 4 hrs ago | IN | 0 ETH | 0.00039693 | ||||
Bridge | 19886441 | 6 hrs ago | IN | 0.00135284 ETH | 0.00030185 | ||||
Bridge | 19886169 | 6 hrs ago | IN | 16.55 ETH | 0.00027859 | ||||
Bridge | 19886079 | 7 hrs ago | IN | 0.8 ETH | 0.00028155 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
19888241 | 1 min ago | 20 ETH | ||||
19888241 | 1 min ago | 20 ETH | ||||
19888166 | 16 mins ago | 100 ETH | ||||
19888166 | 16 mins ago | 100 ETH | ||||
19888150 | 19 mins ago | 0.96916239 ETH | ||||
19888150 | 19 mins ago | 0.96916239 ETH | ||||
19888150 | 19 mins ago | 0.96916239 ETH | ||||
19888097 | 30 mins ago | 0.04116077 ETH | ||||
19888097 | 30 mins ago | 0.04116077 ETH | ||||
19888097 | 30 mins ago | 0.04116077 ETH | ||||
19888052 | 39 mins ago | 8 ETH | ||||
19888052 | 39 mins ago | 8 ETH | ||||
19888039 | 42 mins ago | 0.14 ETH | ||||
19888039 | 42 mins ago | 0.14 ETH | ||||
19888039 | 42 mins ago | 0.14 ETH | ||||
19887997 | 50 mins ago | 8 ETH | ||||
19887997 | 50 mins ago | 8 ETH | ||||
19887901 | 1 hr ago | 3 ETH | ||||
19887901 | 1 hr ago | 3 ETH | ||||
19887883 | 1 hr ago | 21.8 ETH | ||||
19887883 | 1 hr ago | 21.8 ETH | ||||
19887883 | 1 hr ago | 21.8 ETH | ||||
19887874 | 1 hr ago | 17.1 ETH | ||||
19887874 | 1 hr ago | 17.1 ETH | ||||
19887855 | 1 hr ago | 13 ETH |
Loading...
Loading
Contract Name:
SynapseRouter
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "../interfaces/ISynapseBridge.sol"; import "./LocalBridgeConfig.sol"; import "./SynapseAdapter.sol"; import "../utils/MulticallView.sol"; /** * @notice SynapseRouter contract that can be used together with SynapseBridge on any chain. * On every supported chain: * - SynapseRouter and SwapQuoter contracts need to be deployed. * - Chain pools that are present in the global BridgeConfig should be added to SwapQuoter. * - All supported bridge tokens should be added to SynapseRouter contract. * - router.setSwapQuoter(swapQuoter) should be executed to link these contracts. * * @dev Bridging workflow with SynapseRouter contract. * Initial assumptions: * - `routerOrigin` and `routerDest` are SynapseRouter deployments on origin and destination chain respectively. * - User wants to send `tokenIn` on origin chain, and receive `tokenOut` on destination chain. * - The amount of `tokenIn` tokens user wishes to send is `amountIn`. * - User wants to receives tokens to `userDest` address on destination chain. * - User has no idea what bridge tokens are supported on origin and destination chains. * * Under the hood, the cross-chain swap from `tokenIn` to `tokenOut` is: * 1. [*] `tokenIn` gets swapped to `bridgeToken` on origin chain. `bridgeToken` is a token supported by Synapse:Bridge. * 2. `bridgeToken` gets bridged from origin to destination chain * 3. [**] `bridgeToken` gets swapped to `tokenOut` on destination chain. * 4. `tokenOut` is transferred to the user on destination chain. * [*] : "origin swap" is skipped, if `tokenIn == bridgeToken` on origin chain. * [**]: "destination swap" is skipped, if `tokenOut == bridgeToken` on destination chain. * * Following set of actions is required (be aware, provided code is a pseudo code): * 1. Determine the set of bridge tokens that could fulfill "receive tokenOut on destination chain": * // This will return a list of (string symbol, address token) tuples. * bridgeTokens = routerDest.getConnectedBridgeTokens(tokenOut); * 2. Get the list of symbols for these tokens * symbols = bridgeTokens.map(token => token.symbol); * 3. Get the list of structs with instructions for possible "origin swap": * // This will return queries for all possible (tokenIn -> symbols[i]) swaps * originQueries = routerOrigin.getOriginAmountOut(tokenIn, symbols, amountIn); * 4. Form the list of requests for the "destination swap" quotes: * // Use symbols[i] and originQueries[i].minAmountOut to form a "request": * requests = zipWith(symbols, originQueries, (symbol, query) => { return [symbol, query.minAmountOut] }); * 5. Get the list of structs with instructions for possible "destination swap": * // This will return quotes for all (symbols[i] => tokenOut) swaps * // This will also take into account the bridge fee for getting a token to destination chain * destQueries = routerDest.getDestinationAmountOut(requests, tokenOut); * 6. Pick any pair of (originQuery, destQuery): * // For instance pick the one with the best destQuery.minAmountOut * maxIndex = destQueries.indexOf(destQueries.maxBy, (query) => { return query.minAmountOut }); * originQuery = originQueries[maxIndex]; * // destQuery.minAmountOut is the full quote for tokenIn => tokenOut cross-chain swap * destQuery = destQueries[maxIndex]; * 7. Apply slippage, and set deadlines as per user settings: * originQuery = applyUserSettings(originQuery); * destQuery = applyUserSettings(destQuery); * 8. Call SynapseRouter using the obtained structs: * // Check if user wants to send native ETH * amountETH = (tokenIn == 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) ? amountIn : 0; * routerOrigin.bridge{value: amountETH}(userDest, chainIdDest, tokenIn, amountIn, originQuery, destQuery); */ contract SynapseRouter is LocalBridgeConfig, SynapseAdapter, MulticallView { // SynapseRouter is also the Adapter for the Synapse pools (this reduces the amount of token transfers). // SynapseRouter address will be used as swapAdapter in SwapQueries returned by a local SwapQuoter. using SafeERC20 for IERC20; /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ CONSTANTS & IMMUTABLES ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @notice Synapse:Bridge address ISynapseBridge public immutable synapseBridge; /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ CONSTRUCTOR & INITIALIZER ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Deploys a Synapse Router implementation, saves local Synapse:Bridge address and transfers ownership. */ constructor(address _synapseBridge, address owner_) public { synapseBridge = ISynapseBridge(_synapseBridge); transferOwnership(owner_); } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ OWNER ONLY ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Sets a custom allowance for the given token. * @dev To be used for the wrapper token setups. */ function setAllowance( IERC20 token, address spender, uint256 amount ) external onlyOwner { token.safeApprove(spender, amount); } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ BRIDGE & SWAP ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Initiate a bridge transaction with an optional swap on both origin and destination chains. * @dev Note that method is payable. * If token is ETH_ADDRESS, this method should be invoked with `msg.value = amountIn`. * If token is ERC20, the tokens will be pulled from msg.sender (use `msg.value = 0`). * Make sure to approve this contract for spending `token` beforehand. * originQuery.tokenOut should never be ETH_ADDRESS, bridge only works with ERC20 tokens. * * `token` is always a token user is sending. In case token requires a wrapper token to be bridge, * use underlying address for `token` instead of the wrapper one. * * `originQuery` contains instructions for the swap on origin chain. As above, originQuery.tokenOut * should always use the underlying address. In other words, the concept of wrapper token is fully * abstracted away from the end user. * * `originQuery` is supposed to be fetched using SynapseRouter.getOriginAmountOut(). * Alternatively one could use an external adapter for more complex swaps on the origin chain. * * `destQuery` is supposed to be fetched using SynapseRouter.getDestinationAmountOut(). * Complex swaps on destination chain are not supported for the time being. * Check contract description above for more details. * * @param to Address to receive tokens on destination chain * @param chainId Destination chain id * @param token Initial token for the bridge transaction to be pulled from the user * @param amount Amount of the initial tokens for the bridge transaction * @param originQuery Origin swap query. Empty struct indicates no swap is required * @param destQuery Destination swap query. Empty struct indicates no swap is required */ function bridge( address to, uint256 chainId, address token, uint256 amount, SwapQuery memory originQuery, SwapQuery memory destQuery ) external payable { if (_hasAdapter(originQuery)) { // Perform a swap using the swap adapter, transfer the swapped tokens to this contract (token, amount) = _adapterSwap(address(this), token, amount, originQuery); } else { // Pull initial token from the user to this contract _pullToken(address(this), token, amount); } // Either way, this contract has `amount` worth of `token` TokenConfig memory _config = config[token]; require(_config.bridgeToken != address(0), "Token not supported"); token = _config.bridgeToken; // Decode params for swapping via a Synapse pool on the destination chain, if they were requested. SynapseParams memory destParams; if (_hasAdapter(destQuery)) destParams = abi.decode(destQuery.rawParams, (SynapseParams)); // Check if Swap/RemoveLiquidity Action on destination chain is required. // Swap adapter needs to be specified. // HandleETH action is done automatically by SynapseBridge. if (_hasAdapter(destQuery) && destParams.action != Action.HandleEth) { if (_config.tokenType == TokenType.Deposit) { require(destParams.action == Action.Swap, "Unsupported dest action"); // Case 1: token needs to be deposited on origin chain. // We need to perform AndSwap() on destination chain. synapseBridge.depositAndSwap({ to: to, chainId: chainId, token: IERC20(token), amount: amount, tokenIndexFrom: destParams.tokenIndexFrom, tokenIndexTo: destParams.tokenIndexTo, minDy: destQuery.minAmountOut, deadline: destQuery.deadline }); } else if (destParams.action == Action.Swap) { // Case 2: token needs to be redeemed on origin chain. // We need to perform AndSwap() on destination chain. synapseBridge.redeemAndSwap({ to: to, chainId: chainId, token: IERC20(token), amount: amount, tokenIndexFrom: destParams.tokenIndexFrom, tokenIndexTo: destParams.tokenIndexTo, minDy: destQuery.minAmountOut, deadline: destQuery.deadline }); } else { require(destParams.action == Action.RemoveLiquidity, "Unsupported dest action"); // Case 3: token needs to be redeemed on origin chain. // We need to perform AndRemove() on destination chain. synapseBridge.redeemAndRemove({ to: to, chainId: chainId, token: IERC20(token), amount: amount, liqTokenIndex: destParams.tokenIndexTo, liqMinAmount: destQuery.minAmountOut, liqDeadline: destQuery.deadline }); } } else { if (_config.tokenType == TokenType.Deposit) { // Case 1 (Deposit): token needs to be deposited on origin chain synapseBridge.deposit(to, chainId, IERC20(token), amount); } else { // Case 2 (Redeem): token needs to be redeemed on origin chain synapseBridge.redeem(to, chainId, IERC20(token), amount); } } } /** * @notice Perform a swap using the supplied parameters. * @dev Note that method is payable. * If token is ETH_ADDRESS, this method should be invoked with `msg.value = amountIn`. * If token is ERC20, the tokens will be pulled from msg.sender (use `msg.value = 0`). * Make sure to approve this contract for spending `token` beforehand. * If query.tokenOut is ETH_ADDRESS, native ETH will be sent to the recipient (be aware of potential reentrancy). * If query.tokenOut is ERC20, the tokens will be transferred to the recipient. * @param to Address to receive swapped tokens * @param token Token to swap * @param amount Amount of tokens to swap * @param query Query with the swap parameters (see BridgeStructs.sol) * @return amountOut Amount of swapped tokens received by the user */ function swap( address to, address token, uint256 amount, SwapQuery memory query ) external payable returns (uint256 amountOut) { require(to != address(0), "!recipient: zero address"); require(to != address(this), "!recipient: router address"); require(_hasAdapter(query), "!swapAdapter"); // Perform a swap through the Adapter. Adapter will be the one handling ETH/WETH interactions. (, amountOut) = _adapterSwap(to, token, amount, query); } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ VIEWS: BRIDGE QUOTES ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Finds the best path between `tokenIn` and every supported bridge token from the given list, * treating the swap as "origin swap", without putting any restrictions on the swap. * @dev Will NOT revert if any of the tokens are not supported, instead will return an empty query for that symbol. * Check (query.minAmountOut != 0): this is true only if the swap is possible and bridge token is supported. * The returned queries with minAmountOut != 0 could be used as `originQuery` with SynapseRouter. * Note: it is possible to form a SwapQuery off-chain using alternative SwapAdapter for the origin swap. * @param tokenIn Initial token that user wants to bridge/swap * @param tokenSymbols List of symbols representing bridge tokens * @param amountIn Amount of tokens user wants to bridge/swap * @return originQueries List of structs that could be used as `originQuery` in SynapseRouter. * minAmountOut and deadline fields will need to be adjusted based on the user settings. */ function getOriginAmountOut( address tokenIn, string[] memory tokenSymbols, uint256 amountIn ) external view returns (SwapQuery[] memory originQueries) { uint256 length = tokenSymbols.length; originQueries = new SwapQuery[](length); for (uint256 i = 0; i < length; ++i) { // Check if token with given symbol is supported on this chain address bridgeToken = symbolToToken[tokenSymbols[i]]; // Skip not supported tokens if (bridgeToken == address(0)) continue; // Every possible action is supported for origin swap LimitedToken memory _tokenIn = LimitedToken(ActionLib.allActions(), tokenIn); originQueries[i] = swapQuoter.getAmountOut(_tokenIn, bridgeToken, amountIn); } } /** * @notice Finds the best path between every supported bridge token from the given list and `tokenOut`, * treating the swap as "destination swap", limiting possible actions to those available for every bridge token. * @dev Will NOT revert if any of the tokens are not supported, instead will return an empty query for that symbol. * Note: it is NOT possible to form a SwapQuery off-chain using alternative SwapAdapter for the destination swap. * For the time being, only swaps through the Synapse-supported pools are available on destination chain. * @param requests List of structs with following information: * - symbol: unique token ID consistent among all chains * - amountIn: amount of bridge token to start with, before the bridge fee is applied * @param tokenOut Token user wants to receive on destination chain * @return destQueries List of structs that could be used as `destQuery` in SynapseRouter. * minAmountOut and deadline fields will need to be adjusted based on the user settings. */ function getDestinationAmountOut(DestRequest[] memory requests, address tokenOut) external view returns (SwapQuery[] memory destQueries) { uint256 length = requests.length; destQueries = new SwapQuery[](length); for (uint256 i = 0; i < length; ++i) { address token = symbolToToken[requests[i].symbol]; // Skip if token is not supported if (token == address(0)) continue; // token is confirmed to be a supported bridge token at this point uint256 amountIn = _calculateBridgeAmountOut(token, requests[i].amountIn); // Skip if fee is greater than amountIn if (amountIn == 0) continue; TokenType bridgeTokenType = config[token].tokenType; // See what kind of "Actions" are available for the given bridge token: LimitedToken memory tokenIn = LimitedToken(_bridgeTokenActions(bridgeTokenType), token); destQueries[i] = swapQuoter.getAmountOut(tokenIn, tokenOut, amountIn); } } /** * @notice Gets the list of all bridge tokens (and their symbols), such that destination swap * from a bridge token to `tokenOut` is possible. * @param tokenOut Token address to swap to on destination chain * @return tokens List of structs with following information: * - symbol: unique token ID consistent among all chains * - token: bridge token address */ function getConnectedBridgeTokens(address tokenOut) external view returns (BridgeToken[] memory tokens) { uint256 amount = bridgeTokensAmount(); // Try connecting every supported bridge token to tokenOut LimitedToken[] memory allTokens = new LimitedToken[](amount); for (uint256 i = 0; i < amount; ++i) { address token = _bridgeTokens.at(i); // Make sure only "supported actions" for destination swap are included allTokens[i].actionMask = _bridgeTokenActions(config[token].tokenType); allTokens[i].token = token; } (uint256 amountFound, bool[] memory isConnected) = swapQuoter.findConnectedTokens(allTokens, tokenOut); tokens = new BridgeToken[](amountFound); // This will now track amount of found connected tokens so far during the next for loop amountFound = 0; for (uint256 i = 0; i < amount; ++i) { if (isConnected[i]) { // Record the connected token address token = allTokens[i].token; tokens[amountFound].symbol = tokenToSymbol[token]; tokens[amountFound].token = token; // Increase the counter ++amountFound; } } } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ INTERNAL: SWAP ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Performs a swap from `token` using the provided query, * which includes the swap adapter, tokenOut and the swap execution parameters. * Swapped token is transferred to the specified recipient. */ function _adapterSwap( address recipient, address token, uint256 amount, SwapQuery memory query ) internal returns (address tokenOut, uint256 amountOut) { // First, check the deadline for the swap // solhint-disable-next-line not-rely-on-time require(block.timestamp <= query.deadline, "Deadline not met"); // Pull initial token from the user to specified swap adapter _pullToken(query.swapAdapter, token, amount); tokenOut = query.tokenOut; // If swapAdapter is this contract (which is the case for the supported Synapse pools), // this will be an external call to address(this), which we are fine with. // The external call is used because additional Adapters will be established in the future. // We are forwarding `msg.value` and are expecting the Adapter to handle ETH/WETH interactions. amountOut = ISwapAdapter(query.swapAdapter).adapterSwap{value: msg.value}({ to: recipient, tokenIn: token, amountIn: amount, tokenOut: tokenOut, rawParams: query.rawParams }); // We can trust the supported adapters to return the exact swapped amount // Finally, check that the recipient received at least as much as they wanted require(amountOut >= query.minAmountOut, "Swap didn't result in min tokens"); } /** * Pulls a requested token from the user to the requested recipient. * Or, if msg.value was provided, check that ETH_ADDRESS was used and msg.value is correct. */ function _pullToken( address recipient, address token, uint256 amount ) internal { if (msg.value == 0) { // Token needs to be pulled only if msg.value is zero // This way user can specify WETH as the origin asset IERC20(token).safeTransferFrom(msg.sender, recipient, amount); } else { // Otherwise, we need to check that ETH was specified require(token == UniversalToken.ETH_ADDRESS, "!eth"); // And that amount matches msg.value require(msg.value == amount, "!msg.value"); // We will forward msg.value in the external call to the recipient } } /** * @notice Checks whether the swap adapter was specified in the query. * Query without a swap adapter specifies that no action needs to be taken. */ function _hasAdapter(SwapQuery memory query) internal pure returns (bool) { return query.swapAdapter != address(0); } function _bridgeTokenActions(TokenType tokenType) internal pure returns (uint256 actionMask) { if (tokenType == TokenType.Redeem) { // For tokens that are minted on destination chain // possible bridge functions are mint() and mintAndSwap(). Thus: // Swap: available via mintAndSwap() // (Add/Remove)Liquidity is unavailable // HandleETH is unavailable, as WETH could only be withdrawn by SynapseBridge actionMask = ActionLib.mask(Action.Swap); } else { // For tokens that are withdrawn on destination chain // possible bridge functions are withdraw() and withdrawAndRemove(). // Swap/AddLiquidity: not available // RemoveLiquidity: available via withdrawAndRemove() // HandleETH: available via withdraw(). SwapQuoter will check if the bridge token is WETH or not. actionMask = ActionLib.mask(Action.RemoveLiquidity, Action.HandleEth); } } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ INTERNAL: ADD & REMOVE BRIDGE TOKENS ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @dev Adds a bridge token config and its fee structure, if it's not present. /// If a token was added, approves it for spending by SynapseBridge. function _addToken( string memory symbol, address token, TokenType tokenType, address bridgeToken, uint256 bridgeFee, uint256 minFee, uint256 maxFee ) internal override returns (bool wasAdded) { // Add token and its fee structure wasAdded = LocalBridgeConfig._addToken(symbol, token, tokenType, bridgeToken, bridgeFee, minFee, maxFee); if (wasAdded) { // Approve token only if it wasn't previously added // Underlying token should always implement allowance(), approve() if (token == bridgeToken) token.universalApproveInfinity(address(synapseBridge)); // Use {setAllowance} for custom wrapper token setups } } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; interface ISwap { // pool data view functions function getA() external view returns (uint256); function getAPrecise() external view returns (uint256); function getToken(uint8 index) external view returns (IERC20); function getTokenIndex(address tokenAddress) external view returns (uint8); function getTokenBalance(uint8 index) external view returns (uint256); function getVirtualPrice() external view returns (uint256); function swapStorage() external view returns ( uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, address lpToken ); // min return calculation functions function calculateSwap( uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx ) external view returns (uint256); function calculateTokenAmount(uint256[] calldata amounts, bool deposit) external view returns (uint256); function calculateRemoveLiquidity(uint256 amount) external view returns (uint256[] memory); function calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) external view returns (uint256 availableTokenAmount); // state modifying functions function initialize( IERC20[] memory pooledTokens, uint8[] memory decimals, string memory lpTokenName, string memory lpTokenSymbol, uint256 a, uint256 fee, uint256 adminFee, address lpTokenTargetAddress ) external; function swap( uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline ) external returns (uint256); function addLiquidity( uint256[] calldata amounts, uint256 minToMint, uint256 deadline ) external returns (uint256); function removeLiquidity( uint256 amount, uint256[] calldata minAmounts, uint256 deadline ) external returns (uint256[] memory); function removeLiquidityOneToken( uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline ) external returns (uint256); function removeLiquidityImbalance( uint256[] calldata amounts, uint256 maxBurnAmount, uint256 deadline ) external returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../libraries/BridgeStructs.sol"; interface ISwapAdapter { /** * @notice Performs a tokenIn -> tokenOut swap, according to the provided params. * If tokenIn is ETH_ADDRESS, this method should be invoked with `msg.value = amountIn`. * If tokenIn is ERC20, the tokens should be already transferred to this contract (using `msg.value = 0`). * If tokenOut is ETH_ADDRESS, native ETH will be sent to the recipient (be aware of potential reentrancy). * If tokenOut is ERC20, the tokens will be transferred to the recipient. * @dev Contracts implementing {ISwapAdapter} interface are required to enforce the above restrictions. * On top of that, they must ensure that exactly `amountOut` worth of `tokenOut` is transferred to the recipient. * Swap deadline and slippage is checked outside of this contract. * @param to Address to receive the swapped token * @param tokenIn Token to sell (use ETH_ADDRESS to start from native ETH) * @param amountIn Amount of tokens to sell * @param tokenOut Token to buy (use ETH_ADDRESS to end with native ETH) * @param rawParams Additional swap parameters * @return amountOut Amount of bought tokens */ function adapterSwap( address to, address tokenIn, uint256 amountIn, address tokenOut, bytes calldata rawParams ) external payable returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "../libraries/BridgeStructs.sol"; interface ISwapQuoter { function findConnectedTokens(LimitedToken[] memory tokensIn, address tokenOut) external view returns (uint256 amountFound, bool[] memory isConnected); function getAmountOut( LimitedToken memory tokenIn, address tokenOut, uint256 amountIn ) external view returns (SwapQuery memory query); function allPools() external view returns (Pool[] memory pools); function poolsAmount() external view returns (uint256 tokens); function poolInfo(address pool) external view returns (uint256 tokens, address lpToken); function poolTokens(address pool) external view returns (PoolToken[] memory tokens); function calculateAddLiquidity(address pool, uint256[] memory amounts) external view returns (uint256 amountOut); function calculateSwap( address pool, uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx ) external view returns (uint256 amountOut); function calculateRemoveLiquidity(address pool, uint256 amount) external view returns (uint256[] memory amountsOut); function calculateWithdrawOneToken( address pool, uint256 tokenAmount, uint8 tokenIndex ) external view returns (uint256 amountOut); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol"; interface ISynapseBridge { using SafeERC20 for IERC20; function deposit( address to, uint256 chainId, IERC20 token, uint256 amount ) external; function depositAndSwap( address to, uint256 chainId, IERC20 token, uint256 amount, uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 minDy, uint256 deadline ) external; function redeem( address to, uint256 chainId, IERC20 token, uint256 amount ) external; function redeemv2( bytes32 to, uint256 chainId, IERC20 token, uint256 amount ) external; function redeemAndSwap( address to, uint256 chainId, IERC20 token, uint256 amount, uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 minDy, uint256 deadline ) external; function redeemAndRemove( address to, uint256 chainId, IERC20 token, uint256 amount, uint8 liqTokenIndex, uint256 liqMinAmount, uint256 liqDeadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.4.0; interface IWETH9 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function balanceOf(address) external view returns (uint256); function allowance(address, address) external view returns (uint256); receive() external payable; function deposit() external payable; function withdraw(uint256 wad) external; function totalSupply() external view returns (uint256); function approve(address guy, uint256 wad) external returns (bool); function transfer(address dst, uint256 wad) external returns (bool); function transferFrom( address src, address dst, uint256 wad ) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; /// @notice Struct representing a request for SynapseRouter. /// @dev tokenIn is supplied separately. /// @param swapAdapter Adapter address that will perform the swap. Address(0) specifies a "no swap" query. /// @param tokenOut Token address to swap to. /// @param minAmountOut Minimum amount of tokens to receive after the swap, or tx will be reverted. /// @param deadline Latest timestamp for when the transaction needs to be executed, or tx will be reverted. /// @param rawParams ABI-encoded params for the swap that will be passed to `swapAdapter`. /// Should be SynapseParams for swaps via SynapseAdapter. struct SwapQuery { address swapAdapter; address tokenOut; uint256 minAmountOut; uint256 deadline; bytes rawParams; } /// @notice Struct representing parameters for swapping via SynapseAdapter. /// @param action Action that SynapseAdapter needs to perform. /// @param pool Liquidity pool that will be used for Swap/AddLiquidity/RemoveLiquidity actions. /// @param tokenIndexFrom Token index to swap from. Used for swap/addLiquidity actions. /// @param tokenIndexTo Token index to swap to. Used for swap/removeLiquidity actions. struct SynapseParams { Action action; address pool; uint8 tokenIndexFrom; uint8 tokenIndexTo; } /// @notice All possible actions that SynapseAdapter could perform. enum Action { Swap, // swap between two pools tokens AddLiquidity, // add liquidity in a form of a single pool token RemoveLiquidity, // remove liquidity in a form of a single pool token HandleEth // ETH <> WETH interaction } /// @notice Struct representing a token, and the available Actions for performing a swap. /// @param actionMask Bitmask representing what actions (see ActionLib) are available for swapping a token /// @param token Token address struct LimitedToken { uint256 actionMask; address token; } /// @notice Struct representing a bridge token. Used as the return value in view functions. /// @param symbol Bridge token symbol: unique token ID consistent among all chains /// @param token Bridge token address struct BridgeToken { string symbol; address token; } /// @notice Struct representing how pool tokens are stored by `SwapQuoter`. /// @param isWeth Whether the token represents Wrapped ETH. /// @param token Token address. struct PoolToken { bool isWeth; address token; } /// @notice Struct representing a request for a swap quote from a bridge token. /// @dev tokenOut is passed externally /// @param symbol Bridge token symbol: unique token ID consistent among all chains /// @param amountIn Amount of bridge token to start with, before the bridge fee is applied struct DestRequest { string symbol; uint256 amountIn; } /// @notice Struct representing a liquidity pool. Used as the return value in view functions. /// @param pool Pool address. /// @param lpToken Address of pool's LP token. /// @param tokens List of pool's tokens. struct Pool { address pool; address lpToken; PoolToken[] tokens; } /// @notice Library for dealing with bit masks, describing what Actions are available. library ActionLib { /// @notice Returns a bitmask with all possible actions set to True. function allActions() internal pure returns (uint256 actionMask) { actionMask = type(uint256).max; } /// @notice Returns whether the given action is set to True in the bitmask. function includes(uint256 actionMask, Action action) internal pure returns (bool) { return actionMask & mask(action) != 0; } /// @notice Returns a bitmask with only the given action set to True. function mask(Action action) internal pure returns (uint256) { return 1 << uint256(action); } /// @notice Returns a bitmask with only two given actions set to True. function mask(Action a, Action b) internal pure returns (uint256) { return mask(a) | mask(b); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./BridgeStructs.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; /** * Library to unify handling of ETH/WETH and ERC20 tokens. */ library UniversalToken { using SafeERC20 for IERC20; address internal constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; uint256 private constant MAX_UINT = type(uint256).max; /// @notice Returns token balance for the given account. function universalBalanceOf(address token, address account) internal view returns (uint256) { if (token == ETH_ADDRESS) { return account.balance; } else { return IERC20(token).balanceOf(account); } } /// @notice Compares two tokens. ETH_ADDRESS and WETH are deemed equal. function universalEquals(address token, PoolToken memory poolToken) internal pure returns (bool) { if (token == ETH_ADDRESS) { return poolToken.isWeth; } else { return token == poolToken.token; } } function universalApproveInfinity(address token, address spender) internal { // ETH Chad doesn't require your approval if (token == ETH_ADDRESS) return; // No need to approve own tokens if (spender == address(this)) return; uint256 allowance = IERC20(token).allowance(address(this), spender); // Set allowance to MAX_UINT if needed if (allowance != MAX_UINT) { // if allowance is neither zero nor infinity, reset if first if (allowance != 0) { IERC20(token).safeApprove(spender, 0); } IERC20(token).safeApprove(spender, MAX_UINT); } } /// @notice Transfers tokens to the given account. Reverts if transfer is not successful. /// @dev This might trigger fallback, if ETH is transferred to the contract. /// Make sure this can not lead to reentrancy attacks. function universalTransfer( address token, address to, uint256 value ) internal { // Don't do anything, if need to send tokens to this address if (to == address(this)) return; if (token == ETH_ADDRESS) { /// @dev Note: this can potentially lead to executing code in `to`. // solhint-disable-next-line avoid-low-level-calls (bool success, ) = to.call{value: value}(""); require(success, "ETH transfer failed"); } else { IERC20(token).safeTransfer(to, value); } } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; abstract contract LocalBridgeConfig is Ownable { using EnumerableSet for EnumerableSet.AddressSet; using SafeMath for uint256; /** * @notice Indicates the type of the supported bridge token on the local chain. * - TokenType.Redeem: token is burnt in order to initiate a bridge tx (bridge.redeem) * - TokenType.Deposit: token is locked in order to initiate a bridge tx (bridge.deposit) */ enum TokenType { Redeem, Deposit } /** * @notice Config for a supported bridge token. * @dev Some of the tokens require a wrapper token to make them conform SynapseERC20 interface. * In these cases, `bridgeToken` will feature a different address. * Otherwise, the token address is saved. * @param tokenType Method of bridging for the token: Redeem or Deposit * @param bridgeToken Bridge token address */ struct TokenConfig { TokenType tokenType; address bridgeToken; } /** * @notice Fee structure for a supported bridge token, optimized to fit in a single storage word. * @param bridgeFee Fee % for bridging a token to this chain, multiplied by `FEE_DENOMINATOR` * @param minFee Minimum fee for bridging a token to this chain, in token decimals * @param maxFee Maximum fee for bridging a token to this chain, in token decimals */ struct FeeStructure { uint40 bridgeFee; uint104 minFee; uint112 maxFee; } /** * @notice Struct defining a supported bridge token. This is not supposed to be stored on-chain, * so this is not optimized in terms of storage words. * @param id ID for token used in BridgeConfigV3 * @param token "End" token, supported by SynapseBridge. This is the token user is receiving/sending. * @param decimals Amount ot decimals used for `token` * @param tokenType Method of bridging used for the token: Redeem or Deposit. * @param bridgeToken Actual token used for bridging `token`. This is the token bridge is burning/locking. * Might differ from `token`, if `token` does not conform to bridge-supported interface. * @param bridgeFee Fee % for bridging a token to this chain, multiplied by `FEE_DENOMINATOR` * @param minFee Minimum fee for bridging a token to this chain, in token decimals * @param maxFee Maximum fee for bridging a token to this chain, in token decimals */ struct BridgeTokenConfig { string id; address token; uint256 decimals; LocalBridgeConfig.TokenType tokenType; address bridgeToken; uint256 bridgeFee; uint256 minFee; uint256 maxFee; } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ CONSTANTS ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @dev Denominator used to calculate the bridge fee: amount.mul(bridgeFee).div(FEE_DENOMINATOR) uint256 private constant FEE_DENOMINATOR = 10**10; /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ STORAGE ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @notice Config for each supported token. /// @dev If wrapper token is required for bridging, its address is stored in `.bridgeToken` /// i.e. for GMX: config[GMX].bridgeToken = GMXWrapper mapping(address => TokenConfig) public config; /// @notice Fee structure for each supported token. /// @dev If wrapper token is required for bridging, its underlying is used as key here mapping(address => FeeStructure) public fee; /// @notice Maps bridge token address into bridge token symbol mapping(address => string) public tokenToSymbol; /// @notice Maps bridge token symbol into bridge token address mapping(string => address) public symbolToToken; /// @dev A list of all supported bridge tokens EnumerableSet.AddressSet internal _bridgeTokens; /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ ONLY OWNER ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Adds a bridge token and its fee structure to the local config, if it was not added before. * @param token "End" token, supported by SynapseBridge. This is the token user is receiving/sending. * @param tokenType Method of bridging used for the token: Redeem or Deposit. * @param bridgeToken Actual token used for bridging `token`. This is the token bridge is burning/locking. * Might differ from `token`, if `token` does not conform to bridge-supported interface. * @param bridgeFee Fee % for bridging a token to this chain, multiplied by `FEE_DENOMINATOR` * @param minFee Minimum fee for bridging a token to this chain, in token decimals * @param maxFee Maximum fee for bridging a token to this chain, in token decimals * @return wasAdded True, if token was added to the config */ function addToken( string memory symbol, address token, TokenType tokenType, address bridgeToken, uint256 bridgeFee, uint256 minFee, uint256 maxFee ) external onlyOwner returns (bool wasAdded) { wasAdded = _addToken(symbol, token, tokenType, bridgeToken, bridgeFee, minFee, maxFee); } /// @notice Adds a bunch of bridge tokens and their fee structure to the local config, if it was not added before. function addTokens(BridgeTokenConfig[] memory tokens) external onlyOwner { uint256 amount = tokens.length; for (uint256 i = 0; i < amount; ++i) { BridgeTokenConfig memory token = tokens[i]; _addToken( token.id, token.token, token.tokenType, token.bridgeToken, token.bridgeFee, token.minFee, token.maxFee ); } } /** * @notice Updates the bridge config for an already added bridge token. * @dev Will revert if token was not added before. * @param token "End" token, supported by SynapseBridge. This is the token user is receiving/sending. * @param tokenType Method of bridging used for the token: Redeem or Deposit. * @param bridgeToken Actual token used for bridging `token`. This is the token bridge is burning/locking. * Might differ from `token`, if `token` does not conform to bridge-supported interface. */ function setTokenConfig( address token, TokenType tokenType, address bridgeToken ) external onlyOwner { require(config[token].bridgeToken != address(0), "Unknown token"); _setTokenConfig(token, tokenType, bridgeToken); } /** * @notice Updates the fee structure for an already added bridge token. * @dev Will revert if token was not added before. * @param token "End" token, supported by SynapseBridge. This is the token user is receiving/sending. * @param bridgeFee Fee % for bridging a token to this chain, multiplied by `FEE_DENOMINATOR` * @param minFee Minimum fee for bridging a token to this chain, in token decimals * @param maxFee Maximum fee for bridging a token to this chain, in token decimals */ function setTokenFee( address token, uint256 bridgeFee, uint256 minFee, uint256 maxFee ) external onlyOwner { require(config[token].bridgeToken != address(0), "Unknown token"); _setTokenFee(token, bridgeFee, minFee, maxFee); } /** * @notice Removes tokens from the local config, and deletes the associated bridge fee structure. * @dev If a token requires a bridge wrapper token, use the underlying token address for removing. * @param token "End" token, supported by SynapseBridge. This is the token user is receiving/sending. * @return wasRemoved True, if token was removed from the config */ function removeToken(address token) external onlyOwner returns (bool wasRemoved) { wasRemoved = _removeToken(token); } /** * @notice Removes a list of tokens from the local config, and deletes their associated bridge fee structure. * @dev If a token requires a bridge wrapper token, use the underlying token address for removing. * @param tokens List of "end" tokens, supported by SynapseBridge. These are the tokens user is receiving/sending. */ function removeTokens(address[] calldata tokens) external onlyOwner { uint256 amount = tokens.length; for (uint256 i = 0; i < amount; ++i) { _removeToken(tokens[i]); } } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ VIEWS ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @notice Returns a list of all supported bridge tokens. function bridgeTokens() external view returns (address[] memory tokens) { uint256 amount = bridgeTokensAmount(); tokens = new address[](amount); for (uint256 i = 0; i < amount; ++i) { tokens[i] = _bridgeTokens.at(i); } } /// @notice Returns the amount of the supported bridge tokens. function bridgeTokensAmount() public view returns (uint256 amount) { amount = _bridgeTokens.length(); } /** * @notice Calculates a fee for bridging a token to this chain. * @dev If a token requires a bridge wrapper token, use the underlying token address for getting a fee quote. * @param token "End" token, supported by SynapseBridge. This is the token user is receiving/sending. * @param amount Amount of tokens to bridge to this chain. */ function calculateBridgeFee(address token, uint256 amount) external view returns (uint256 feeAmount) { feeAmount = _calculateBridgeFee(token, amount); } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ INTERNAL: ADD & REMOVE BRIDGE TOKENS ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @dev Adds a bridge token config, if it's not present and updates its fee structure. /// Child contract could implement additional logic upon adding a token. function _addToken( string memory _symbol, address token, TokenType tokenType, address bridgeToken, uint256 bridgeFee, uint256 minFee, uint256 maxFee ) internal virtual returns (bool wasAdded) { wasAdded = _bridgeTokens.add(token); if (wasAdded) { // Need to save config only once. Need to use "end user" address for symbol mappings. _setTokenSymbol(_symbol, token); _setTokenConfig(token, tokenType, bridgeToken); _setTokenFee(token, bridgeFee, minFee, maxFee); } } /// @dev Sets the symbol for the bridge token function _setTokenSymbol(string memory symbol, address token) internal { // tokenToSymbol[token] is guaranteed to be empty, as token was just added require(bytes(symbol).length != 0, "Empty symbol"); require(symbolToToken[symbol] == address(0), "Symbol already in use"); symbolToToken[symbol] = token; tokenToSymbol[token] = symbol; } /// @dev Updates the token config for an already known bridge token. function _setTokenConfig( address token, TokenType tokenType, address bridgeToken ) internal { // Sanity checks for the provided token values require(token != address(0) && bridgeToken != address(0), "Token can't be zero address"); config[token] = TokenConfig(tokenType, bridgeToken); } /// @dev Updates the fee structure for an already known bridge token. function _setTokenFee( address token, uint256 bridgeFee, uint256 minFee, uint256 maxFee ) internal { // Sanity checks for the provided fee values require(bridgeFee < FEE_DENOMINATOR, "bridgeFee >= 100%"); require(minFee <= maxFee, "minFee > maxFee"); fee[token] = FeeStructure(uint40(bridgeFee), uint104(minFee), uint112(maxFee)); } /// @dev Removes a bridge token config along with its fee structure. /// Child contract could implement additional logic upon removing a token. function _removeToken(address token) internal virtual returns (bool wasRemoved) { wasRemoved = _bridgeTokens.remove(token); if (wasRemoved) { string memory symbol = tokenToSymbol[token]; delete tokenToSymbol[token]; delete symbolToToken[symbol]; delete config[token]; delete fee[token]; } } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ INTERNAL: VIEWS ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @dev Returns the amount of tokens received after applying the bridge fee. /// Will return 0, if bridged amount is lower than a minimum bridge fee. function _calculateBridgeAmountOut(address token, uint256 amount) internal view returns (uint256 amountOut) { uint256 feeAmount = _calculateBridgeFee(token, amount); if (feeAmount < amount) { // No need for SafeMath here amountOut = amount - feeAmount; } // Return 0, if fee amount >= amount } /// @dev Returns the fee for bridging a given token to this chain. function _calculateBridgeFee(address token, uint256 amount) internal view returns (uint256 feeAmount) { require(config[token].bridgeToken != address(0), "Token not supported"); FeeStructure memory tokenFee = fee[token]; feeAmount = amount.mul(tokenFee.bridgeFee).div(FEE_DENOMINATOR); if (feeAmount < tokenFee.minFee) { feeAmount = tokenFee.minFee; } else if (feeAmount > tokenFee.maxFee) { feeAmount = tokenFee.maxFee; } } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "../interfaces/ISwap.sol"; import "../interfaces/ISwapAdapter.sol"; import "../interfaces/ISwapQuoter.sol"; import "../interfaces/IWETH9.sol"; import "../libraries/UniversalToken.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract SynapseAdapter is Ownable, ISwapAdapter { using SafeERC20 for IERC20; using UniversalToken for address; uint256 internal constant MAX_UINT = type(uint256).max; /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ STORAGE ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @notice Address of the local SwapQuoter contract ISwapQuoter public swapQuoter; /// @notice Receive function to enable unwrapping ETH into this contract receive() external payable {} // solhint-disable-line no-empty-blocks /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ OWNER ONLY ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @notice Sets the Swap Quoter address to get the swap quotes from. function setSwapQuoter(ISwapQuoter _swapQuoter) external onlyOwner { swapQuoter = _swapQuoter; } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ EXTERNAL FUNCTIONS ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Performs a tokenIn -> tokenOut swap, according to the provided params. * If tokenIn is ETH_ADDRESS, this method should be invoked with `msg.value = amountIn`. * If tokenIn is ERC20, the tokens should be already transferred to this contract (using `msg.value = 0`). * If tokenOut is ETH_ADDRESS, native ETH will be sent to the recipient (be aware of potential reentrancy). * If tokenOut is ERC20, the tokens will be transferred to the recipient. * @dev Contracts implementing {ISwapAdapter} interface are required to enforce the above restrictions. * On top of that, they must ensure that exactly `amountOut` worth of `tokenOut` is transferred to the recipient. * Swap deadline and slippage is checked outside of this contract. * @dev Applied to SynapseAdapter only: * Use `params.pool = address(this)` for ETH handling without swaps: * 1. For wrapping ETH: tokenIn = ETH_ADDRESS, tokenOut = WETH, params.pool = address(this) * 2. For unwrapping WETH: tokenIn = WETH, tokenOut = ETH_ADDRESS, params.pool = address(this) * If `params.pool != address(this)`, and ETH_ADDRESS was supplied as tokenIn or tokenOut, * a corresponding pool token will be treated as WETH. * @param to Address to receive the swapped token * @param tokenIn Token to sell (use ETH_ADDRESS to start from native ETH) * @param amountIn Amount of tokens to sell * @param tokenOut Token to buy (use ETH_ADDRESS to end with native ETH) * @param rawParams Additional swap parameters * @return amountOut Amount of bought tokens */ function adapterSwap( address to, address tokenIn, uint256 amountIn, address tokenOut, bytes calldata rawParams ) external payable override returns (uint256 amountOut) { // We define a few phases for the whole swap process. // (?) means the phase is optional. // (!) means the phase is mandatory. // ============================== PHASE 0(!): CHECK ALL THE PARAMS ========================= require(tokenIn != tokenOut, "Swap tokens should differ"); // Decode params for swapping via a Synapse pool SynapseParams memory params = abi.decode(rawParams, (SynapseParams)); // Swap pool should exist, if action other than HandleEth was requested require(params.pool != address(0) || params.action == Action.HandleEth, "!pool"); // ============================== PHASE 1(?): WRAP RECEIVED ETH ============================ // tokenIn was already transferred to this contract, check if we start from native ETH if (tokenIn == UniversalToken.ETH_ADDRESS) { // Determine WETH address: this is either tokenOut (if no swap is needed), // or a pool token with index `tokenIndexFrom` (if swap is needed). tokenIn = _deriveWethAddress({token: tokenOut, params: params, isWethIn: true}); // Wrap ETH into WETH and leave it in this contract _wrapETH(tokenIn, amountIn); } else { // For ERC20 tokens msg.value should be zero require(msg.value == 0, "Incorrect tokenIn for ETH swap"); } // Either way, this contract has `amountIn` worth of `tokenIn`; tokenIn != ETH_ADDRESS // ============================== PHASE 2(?): PREPARE TO UNWRAP SWAPPED WETH =============== address tokenSwapTo = tokenOut; // Check if swap to native ETH was requested if (tokenOut == UniversalToken.ETH_ADDRESS) { // Determine WETH address: this is either tokenIn (if no swap is needed), // or a pool token with index `tokenIndexTo` (if swap is needed). tokenSwapTo = _deriveWethAddress({token: tokenIn, params: params, isWethIn: false}); } // Either way, we need to perform tokenIn -> tokenSwapTo swap. // Then we need to send tokenOut to the recipient. // The last step includes WETH unwrapping, if tokenOut is ETH_ADDRESS // ============================== PHASE 3(?): PERFORM A REQUESTED SWAP ===================== // Determine if we need to perform a swap if (params.action == Action.HandleEth) { // If no swap is required, amountOut doesn't change amountOut = amountIn; } else { // Approve token for spending if needed tokenIn.universalApproveInfinity(params.pool); if (params.action == Action.Swap) { // Perform a swap through the pool amountOut = _swap(ISwap(params.pool), params, amountIn, tokenSwapTo); } else if (params.action == Action.AddLiquidity) { // Add liquidity to the pool amountOut = _addLiquidity(ISwap(params.pool), params, amountIn, tokenSwapTo); } else { // Remove liquidity to the pool amountOut = _removeLiquidity(ISwap(params.pool), params, amountIn, tokenSwapTo); } } // Either way, this contract has `amountOut` worth of `tokenSwapTo` // ============================== PHASE 4(?): UNWRAP SWAPPED WETH ========================== // Check if swap to native ETH was requested if (tokenOut == UniversalToken.ETH_ADDRESS) { // We stored WETH address in `tokenSwapTo` previously, let's unwrap it _unwrapETH(tokenSwapTo, amountOut); } // Either way, we need to transfer `amountOut` worth of `tokenOut` // ============================== PHASE 5(!): TRANSFER SWAPPED TOKENS ====================== tokenOut.universalTransfer(to, amountOut); } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ VIEWS: QUOTES ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Finds the best pool for tokenIn -> tokenOut swap from the list of supported pools. * Returns the `SwapQuery` struct, that can be used on SynapseRouter. * minAmountOut and deadline fields will need to be adjusted based on the swap settings. */ function getAmountOut( address tokenIn, address tokenOut, uint256 amountIn ) external view returns (SwapQuery memory) { // All actions are allowed by default LimitedToken memory _tokenIn = LimitedToken(ActionLib.allActions(), tokenIn); return swapQuoter.getAmountOut(_tokenIn, tokenOut, amountIn); } /** * @notice Returns the exact quote for adding liquidity to a given pool * in a form of a single token. * @param pool The pool to add tokens to * @param amounts An array of token amounts to deposit. * The amount should be in each pooled token's native precision. * If a token charges a fee on transfers, use the amount that gets transferred after the fee. * @return LP token amount the user will receive */ function calculateAddLiquidity(address pool, uint256[] memory amounts) external view returns (uint256) { return swapQuoter.calculateAddLiquidity(pool, amounts); } /** * @notice Returns the exact quote for swapping between two given tokens. * @param pool The pool to use for the swap * @param tokenIndexFrom The token the user wants to sell * @param tokenIndexTo The token the user wants to buy * @param dx The amount of tokens the user wants to sell. If the token charges a fee on transfers, * use the amount that gets transferred after the fee. * @return amountOut amount of tokens the user will receive */ function calculateSwap( address pool, uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx ) external view returns (uint256 amountOut) { amountOut = swapQuoter.calculateSwap(pool, tokenIndexFrom, tokenIndexTo, dx); } /** * @notice Returns the exact quote for withdrawing pools tokens in a balanced way. * @param pool The pool to withdraw tokens from * @param amount The amount of LP tokens that would be burned on withdrawal * @return amountsOut Array of token balances that the user will receive */ function calculateRemoveLiquidity(address pool, uint256 amount) external view returns (uint256[] memory amountsOut) { amountsOut = swapQuoter.calculateRemoveLiquidity(pool, amount); } /** * @notice Returns the exact quote for withdrawing a single pool token. * @param pool The pool to withdraw a token from * @param tokenAmount The amount of LP token to burn * @param tokenIndex Index of which token will be withdrawn * @return amountOut Calculated amount of underlying token available to withdraw */ function calculateWithdrawOneToken( address pool, uint256 tokenAmount, uint8 tokenIndex ) external view returns (uint256 amountOut) { amountOut = swapQuoter.calculateWithdrawOneToken(pool, tokenAmount, tokenIndex); } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ VIEWS: POOLS ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Returns a list of all supported pools. */ function allPools() public view returns (Pool[] memory pools) { pools = swapQuoter.allPools(); } /** * @notice Returns the amount of tokens the given pool supports and the pool's LP token. */ function poolInfo(address pool) public view returns (uint256, address) { return swapQuoter.poolInfo(pool); } /** * @notice Returns a list of pool tokens for the given pool. */ function poolTokens(address pool) public view returns (PoolToken[] memory tokens) { tokens = swapQuoter.poolTokens(pool); } /** * @notice Returns the amount of supported pools. */ function poolsAmount() public view returns (uint256 amount) { amount = swapQuoter.poolsAmount(); } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ INTERNAL HELPERS ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /** * @notice Performs a swap through the given pool. * The pool token is already approved for spending. */ function _swap( ISwap pool, SynapseParams memory params, uint256 amountIn, address tokenOut ) internal returns (uint256 amountOut) { // tokenOut should match the "swap to" token require(pool.getToken(params.tokenIndexTo) == IERC20(tokenOut), "!tokenOut"); // amountOut and deadline are not checked in SwapAdapter amountOut = pool.swap({ tokenIndexFrom: params.tokenIndexFrom, tokenIndexTo: params.tokenIndexTo, dx: amountIn, minDy: 0, deadline: MAX_UINT }); } /** * @notice Adds liquidity in a form of a single token to the given pool. * The pool token is already approved for spending. */ function _addLiquidity( ISwap pool, SynapseParams memory params, uint256 amountIn, address tokenOut ) internal returns (uint256 amountOut) { (uint256 tokens, address lpToken) = swapQuoter.poolInfo(address(pool)); // tokenOut should match the LP token require(tokenOut == lpToken, "!tokenOut"); uint256[] memory amounts = new uint256[](tokens); amounts[params.tokenIndexFrom] = amountIn; // amountOut and deadline are not checked in SwapAdapter amountOut = pool.addLiquidity({amounts: amounts, minToMint: 0, deadline: MAX_UINT}); } /** * @notice Removes liquidity in a form of a single token from the given pool. * The pool LP token is already approved for spending. */ function _removeLiquidity( ISwap pool, SynapseParams memory params, uint256 amountIn, address tokenOut ) internal returns (uint256 amountOut) { // tokenOut should match the "swap to" token require(pool.getToken(params.tokenIndexTo) == IERC20(tokenOut), "!tokenOut"); // amountOut and deadline are not checked in SwapAdapter amountOut = pool.removeLiquidityOneToken({ tokenAmount: amountIn, tokenIndex: params.tokenIndexTo, minAmount: 0, deadline: MAX_UINT }); } /*╔══════════════════════════════════════════════════════════════════════╗*\ ▏*║ INTERNAL: WETH LOGIC ║*▕ \*╚══════════════════════════════════════════════════════════════════════╝*/ /// @dev Derives WETH address from swap parameters. function _deriveWethAddress( address token, SynapseParams memory params, bool isWethIn ) internal view returns (address weth) { if (params.action == Action.HandleEth) { // If we only need to wrap/unwrap ETH, WETH address should be specified as the other token weth = token; } else { // Otherwise, we need to get WETH address from the liquidity pool weth = address(ISwap(params.pool).getToken(isWethIn ? params.tokenIndexFrom : params.tokenIndexTo)); } } /// @dev Wraps ETH into WETH. function _wrapETH(address weth, uint256 amount) internal { require(msg.value == amount, "!msg.value"); // Deposit in order to have WETH in this contract IWETH9(payable(weth)).deposit{value: amount}(); } /// @dev Unwraps WETH into ETH. function _unwrapETH(address weth, uint256 amount) internal { // Withdraw ETH to this contract IWETH9(payable(weth)).withdraw(amount); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; /// @notice Multicall utility for view/pure functions. Inspired by Multicall3: /// https://github.com/mds1/multicall/blob/master/src/Multicall3.sol abstract contract MulticallView { struct Result { bool success; bytes returnData; } /// @notice Aggregates a few static calls to this contract into one multicall. /// Any of the calls could revert without having impact on other calls. That includes the scenario, /// where a data for state modifying call was supplied, which would lead to one of the calls being reverted. function multicallView(bytes[] memory data) external view returns (Result[] memory callResults) { uint256 amount = data.length; callResults = new Result[](amount); for (uint256 i = 0; i < amount; ++i) { // We perform a static call to ourselves here. This will record `success` as false, // should the static call be reverted. The other calls will still be performed regardless. // Note: `success` will be set to false, if data for state modifying call was supplied. // No data will be modified, as this is a view function. (callResults[i].success, callResults[i].returnData) = address(this).staticcall(data[i]); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * 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 () internal { 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; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.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; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../../utils/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../../utils/Context.sol"; import "./ERC20.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { using SafeMath for uint256; /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.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); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @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"); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.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); } } } }
// 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; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
{ "remappings": [ "@boringcrypto/=node_modules/@boringcrypto/", "@ensdomains/=node_modules/@ensdomains/", "@openzeppelin/=node_modules/@openzeppelin/", "ds-test/=lib/forge-std/lib/ds-test/src/", "eth-gas-reporter/=node_modules/eth-gas-reporter/", "forge-std/=lib/forge-std/src/", "hardhat-deploy/=node_modules/hardhat-deploy/", "hardhat/=node_modules/hardhat/", "sol-explore/=node_modules/sol-explore/", "solmate/=lib/solmate/src/", "synthetix/=node_modules/synthetix/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "evmVersion": "istanbul", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_synapseBridge","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"bytes","name":"rawParams","type":"bytes"}],"name":"adapterSwap","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"token","type":"address"},{"internalType":"enum LocalBridgeConfig.TokenType","name":"tokenType","type":"uint8"},{"internalType":"address","name":"bridgeToken","type":"address"},{"internalType":"uint256","name":"bridgeFee","type":"uint256"},{"internalType":"uint256","name":"minFee","type":"uint256"},{"internalType":"uint256","name":"maxFee","type":"uint256"}],"name":"addToken","outputs":[{"internalType":"bool","name":"wasAdded","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"id","type":"string"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"decimals","type":"uint256"},{"internalType":"enum LocalBridgeConfig.TokenType","name":"tokenType","type":"uint8"},{"internalType":"address","name":"bridgeToken","type":"address"},{"internalType":"uint256","name":"bridgeFee","type":"uint256"},{"internalType":"uint256","name":"minFee","type":"uint256"},{"internalType":"uint256","name":"maxFee","type":"uint256"}],"internalType":"struct LocalBridgeConfig.BridgeTokenConfig[]","name":"tokens","type":"tuple[]"}],"name":"addTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allPools","outputs":[{"components":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"lpToken","type":"address"},{"components":[{"internalType":"bool","name":"isWeth","type":"bool"},{"internalType":"address","name":"token","type":"address"}],"internalType":"struct PoolToken[]","name":"tokens","type":"tuple[]"}],"internalType":"struct Pool[]","name":"pools","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"components":[{"internalType":"address","name":"swapAdapter","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"rawParams","type":"bytes"}],"internalType":"struct SwapQuery","name":"originQuery","type":"tuple"},{"components":[{"internalType":"address","name":"swapAdapter","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"rawParams","type":"bytes"}],"internalType":"struct SwapQuery","name":"destQuery","type":"tuple"}],"name":"bridge","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"bridgeTokens","outputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridgeTokensAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"calculateAddLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateBridgeFee","outputs":[{"internalType":"uint256","name":"feeAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateRemoveLiquidity","outputs":[{"internalType":"uint256[]","name":"amountsOut","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"uint8","name":"tokenIndexFrom","type":"uint8"},{"internalType":"uint8","name":"tokenIndexTo","type":"uint8"},{"internalType":"uint256","name":"dx","type":"uint256"}],"name":"calculateSwap","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint8","name":"tokenIndex","type":"uint8"}],"name":"calculateWithdrawOneToken","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"config","outputs":[{"internalType":"enum LocalBridgeConfig.TokenType","name":"tokenType","type":"uint8"},{"internalType":"address","name":"bridgeToken","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"fee","outputs":[{"internalType":"uint40","name":"bridgeFee","type":"uint40"},{"internalType":"uint104","name":"minFee","type":"uint104"},{"internalType":"uint112","name":"maxFee","type":"uint112"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"getAmountOut","outputs":[{"components":[{"internalType":"address","name":"swapAdapter","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"rawParams","type":"bytes"}],"internalType":"struct SwapQuery","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOut","type":"address"}],"name":"getConnectedBridgeTokens","outputs":[{"components":[{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"token","type":"address"}],"internalType":"struct BridgeToken[]","name":"tokens","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"internalType":"struct DestRequest[]","name":"requests","type":"tuple[]"},{"internalType":"address","name":"tokenOut","type":"address"}],"name":"getDestinationAmountOut","outputs":[{"components":[{"internalType":"address","name":"swapAdapter","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"rawParams","type":"bytes"}],"internalType":"struct SwapQuery[]","name":"destQueries","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"string[]","name":"tokenSymbols","type":"string[]"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"getOriginAmountOut","outputs":[{"components":[{"internalType":"address","name":"swapAdapter","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"rawParams","type":"bytes"}],"internalType":"struct SwapQuery[]","name":"originQueries","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicallView","outputs":[{"components":[{"internalType":"bool","name":"success","type":"bool"},{"internalType":"bytes","name":"returnData","type":"bytes"}],"internalType":"struct MulticallView.Result[]","name":"callResults","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"poolInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"poolTokens","outputs":[{"components":[{"internalType":"bool","name":"isWeth","type":"bool"},{"internalType":"address","name":"token","type":"address"}],"internalType":"struct PoolToken[]","name":"tokens","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolsAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"removeToken","outputs":[{"internalType":"bool","name":"wasRemoved","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"removeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ISwapQuoter","name":"_swapQuoter","type":"address"}],"name":"setSwapQuoter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"enum LocalBridgeConfig.TokenType","name":"tokenType","type":"uint8"},{"internalType":"address","name":"bridgeToken","type":"address"}],"name":"setTokenConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"bridgeFee","type":"uint256"},{"internalType":"uint256","name":"minFee","type":"uint256"},{"internalType":"uint256","name":"maxFee","type":"uint256"}],"name":"setTokenFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"components":[{"internalType":"address","name":"swapAdapter","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"rawParams","type":"bytes"}],"internalType":"struct SwapQuery","name":"query","type":"tuple"}],"name":"swap","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"swapQuoter","outputs":[{"internalType":"contract ISwapQuoter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"symbolToToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"synapseBridge","outputs":[{"internalType":"contract ISynapseBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenToSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040516200558138038062005581833981016040819052620000349162000173565b6000620000406200009e565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062005561833981519152908290a3506001600160601b0319606083901b166080526200009681620000a2565b505062000245565b3390565b620000ac6200009e565b6001600160a01b0316620000bf62000164565b6001600160a01b031614620000f15760405162461bcd60e51b8152600401620000e890620001f7565b60405180910390fd5b6001600160a01b0381166200011a5760405162461bcd60e51b8152600401620000e890620001b1565b600080546040516001600160a01b03808516939216916000805160206200556183398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b6000806040838503121562000186578182fd5b825162000193816200022c565b6020840151909250620001a6816200022c565b809150509250929050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b03811681146200024257600080fd5b50565b60805160601c6152e0620002816000398061180f52806118c2528061195152806119f25280611a445280611fd35280612ac152506152e06000f3fe6080604052600436106102135760003560e01c80637c61e56111610118578063c2288147116100a0578063d62933e21161006f578063d62933e21461065b578063da46098c1461067b578063e80633771461069b578063f2fde38b146106b0578063f8a06888146106d05761021a565b8063c2288147146105d9578063c5c63e65146105ec578063ccc1bbc11461060e578063d38e78881461062e5761021a565b8063a5bc29c2116100e7578063a5bc29c214610537578063a734c44114610557578063a912616914610584578063b5d1cdd4146105b1578063ba7d536e146105c45761021a565b80637c61e561146104a7578063804b3dff146104d45780638da5cb5b146104f45780639a7b5f11146105095761021a565b80634d8644961161019b5780635ff30c0a1161016a5780635ff30c0a1461040e5780636c3824ef146104235780636fcca69b14610443578063715018a614610472578063798af720146104875761021a565b80634d86449614610381578063530d95f6146103a157806358b5b777146103ce5780635fa7b584146103ee5761021a565b806324a98f11116101e257806324a98f11146102d2578063302fee96146102f257806334474c8c146103125780633bc758fd146103345780634aa06652146103545761021a565b8063077e11991461021f5780630ba36121146102555780630e68ec951461028257806310f60034146102b05761021a565b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a366004613f89565b6106f2565b60405161024c9190614a57565b60405180910390f35b34801561026157600080fd5b506102756102703660046138e9565b6108d0565b60405161024c9190614b20565b34801561028e57600080fd5b506102a261029d3660046138e9565b61096b565b60405161024c929190614afa565b3480156102bc57600080fd5b506102d06102cb366004613ba4565b610990565b005b6102e56102e0366004613945565b610a24565b60405161024c919061513d565b3480156102fe57600080fd5b506102d061030d366004613caf565b610c30565b34801561031e57600080fd5b50610327610cbd565b60405161024c9190614679565b34801561034057600080fd5b5061023f61034f366004613a5b565b610ccc565b34801561036057600080fd5b5061037461036f366004613905565b610e57565b60405161024c919061512a565b34801561038d57600080fd5b506102e561039c366004613b00565b610f1c565b3480156103ad57600080fd5b506103c16103bc366004614282565b610fa8565b60405161024c9190614aef565b3480156103da57600080fd5b506102e56103e9366004613bed565b611004565b3480156103fa57600080fd5b506103c16104093660046138e9565b611010565b34801561041a57600080fd5b506102e561105a565b34801561042f57600080fd5b506102d061043e366004613d6f565b61106b565b34801561044f57600080fd5b5061046361045e3660046138e9565b6110e8565b60405161024c9392919061517b565b34801561047e57600080fd5b506102d0611126565b34801561049357600080fd5b506102e56104a2366004613d1f565b6111af565b3480156104b357600080fd5b506104c76104c2366004613bed565b61123f565b60405161024c9190614ab7565b3480156104e057600080fd5b506102d06104ef3660046138e9565b6112c6565b34801561050057600080fd5b50610327611327565b34801561051557600080fd5b506105296105243660046138e9565b611336565b60405161024c929190615146565b34801561054357600080fd5b50610327610552366004614250565b6113c3565b34801561056357600080fd5b50610577610572366004613ddd565b6113e9565b60405161024c91906149f2565b34801561059057600080fd5b506105a461059f3660046138e9565b611500565b60405161024c9190614965565b6102e56105bf3660046139f2565b611585565b3480156105d057600080fd5b506102e5611611565b6102d06105e7366004613c18565b61168e565b3480156105f857600080fd5b50610601611abc565b60405161024c9190614978565b34801561061a57600080fd5b506102e5610629366004613ce9565b611b3d565b34801561063a57600080fd5b5061064e6106493660046138e9565b611bca565b60405161024c9190614899565b34801561066757600080fd5b506102d0610676366004613e65565b611edf565b34801561068757600080fd5b506102d061069636600461423c565b611f7e565b3480156106a757600080fd5b50610327611fd1565b3480156106bc57600080fd5b506102d06106cb3660046138e9565b611ff5565b3480156106dc57600080fd5b506106e56120b5565b60405161024c919061484c565b8151606090806001600160401b038111801561070d57600080fd5b5060405190808252806020026020018201604052801561074757816020015b6107346134eb565b81526020019060019003908161072c5790505b50915060005b818110156108c8576000600486838151811061076557fe5b60200260200101516000015160405161077e919061465a565b908152604051908190036020019020546001600160a01b03169050806107a457506108c0565b60006107c7828885815181106107b657fe5b60200260200101516020015161214d565b9050806107d55750506108c0565b6001600160a01b03821660009081526001602052604090205460ff166107f961352c565b604051806040016040528061080d84612171565b81526001600160a01b0380871660209092019190915260075460405163e6b0000960e01b8152929350169063e6b00009906108509084908c908890600401615102565b60006040518083038186803b15801561086857600080fd5b505afa15801561087c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a4919081019061430e565b8786815181106108b057fe5b6020026020010181905250505050505b60010161074d565b505092915050565b60036020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156109635780601f1061093857610100808354040283529160200191610963565b820191906000526020600020905b81548152906001019060200180831161094657829003601f168201915b505050505081565b60016020526000908152604090205460ff81169061010090046001600160a01b031682565b6109986121a8565b6001600160a01b03166109a9611327565b6001600160a01b0316146109d85760405162461bcd60e51b81526004016109cf90614eb2565b60405180910390fd5b6001600160a01b03838116600090815260016020526040902054610100900416610a145760405162461bcd60e51b81526004016109cf90614c58565b610a1f8383836121ac565b505050565b6000836001600160a01b0316866001600160a01b03161415610a585760405162461bcd60e51b81526004016109cf90614e03565b610a60613543565b610a6c838501856143b0565b60208101519091506001600160a01b0316151580610a965750600381516003811115610a9457fe5b145b610ab25760405162461bcd60e51b81526004016109cf9061506a565b6001600160a01b03871673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610af457610ae385826001612271565b9650610aef8787612323565b610b12565b3415610b125760405162461bcd60e51b81526004016109cf90614e3a565b846001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610b4757610b4488836000612271565b90505b600382516003811115610b5657fe5b1415610b6457869250610be1565b6020820151610b7d906001600160a01b038a169061239a565b600082516003811115610b8c57fe5b1415610ba957610ba2826020015183898461249b565b9250610be1565b600182516003811115610bb857fe5b1415610bce57610ba282602001518389846125ba565b610bde826020015183898461275c565b92505b6001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610c1057610c108184612846565b610c246001600160a01b0387168a856128a8565b50509695505050505050565b610c386121a8565b6001600160a01b0316610c49611327565b6001600160a01b031614610c6f5760405162461bcd60e51b81526004016109cf90614eb2565b6001600160a01b03848116600090815260016020526040902054610100900416610cab5760405162461bcd60e51b81526004016109cf90614c58565b610cb784848484612979565b50505050565b6007546001600160a01b031681565b8151606090806001600160401b0381118015610ce757600080fd5b50604051908082528060200260200182016040528015610d2157816020015b610d0e6134eb565b815260200190600190039081610d065790505b50915060005b81811015610e4e5760006004868381518110610d3f57fe5b6020026020010151604051610d54919061465a565b908152604051908190036020019020546001600160a01b0316905080610d7a5750610e46565b610d8261352c565b6040518060400160405280610d95612a79565b81526001600160a01b03808b1660209092019190915260075460405163e6b0000960e01b8152929350169063e6b0000990610dd890849086908b90600401615102565b60006040518083038186803b158015610df057600080fd5b505afa158015610e04573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e2c919081019061430e565b858481518110610e3857fe5b602002602001018190525050505b600101610d27565b50509392505050565b610e5f6134eb565b610e6761352c565b6040518060400160405280610e7a612a79565b81526001600160a01b0380881660209092019190915260075460405163e6b0000960e01b8152929350169063e6b0000990610ebd90849088908890600401615102565b60006040518083038186803b158015610ed557600080fd5b505afa158015610ee9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f11919081019061430e565b9150505b9392505050565b6007546040516326c3224b60e11b81526000916001600160a01b031690634d86449690610f4f9086908690600401614706565b60206040518083038186803b158015610f6757600080fd5b505afa158015610f7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9f9190614474565b90505b92915050565b6000610fb26121a8565b6001600160a01b0316610fc3611327565b6001600160a01b031614610fe95760405162461bcd60e51b81526004016109cf90614eb2565b610ff888888888888888612a7f565b98975050505050505050565b6000610f9f8383612af0565b600061101a6121a8565b6001600160a01b031661102b611327565b6001600160a01b0316146110515760405162461bcd60e51b81526004016109cf90614eb2565b610fa282612c0a565b60006110666005612d4b565b905090565b6110736121a8565b6001600160a01b0316611084611327565b6001600160a01b0316146110aa5760405162461bcd60e51b81526004016109cf90614eb2565b8060005b81811015610cb7576110df8484838181106110c557fe5b90506020020160208101906110da91906138e9565b612c0a565b506001016110ae565b60026020526000908152604090205464ffffffffff8116906501000000000081046001600160681b031690600160901b90046001600160701b031683565b61112e6121a8565b6001600160a01b031661113f611327565b6001600160a01b0316146111655760405162461bcd60e51b81526004016109cf90614eb2565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6007546040516303cc57b960e51b81526000916001600160a01b03169063798af720906111e6908890889088908890600401614822565b60206040518083038186803b1580156111fe57600080fd5b505afa158015611212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112369190614474565b95945050505050565b600754604051637c61e56160e01b81526060916001600160a01b031690637c61e56190611272908690869060040161472a565b60006040518083038186803b15801561128a57600080fd5b505afa15801561129e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f9f9190810190614171565b6112ce6121a8565b6001600160a01b03166112df611327565b6001600160a01b0316146113055760405162461bcd60e51b81526004016109cf90614eb2565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b600754604051639a7b5f1160e01b815260009182916001600160a01b0390911690639a7b5f119061136b908690600401614679565b604080518083038186803b15801561138257600080fd5b505afa158015611396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ba919061448c565b91509150915091565b80516020818301810180516004825292820191909301209152546001600160a01b031681565b8051606090806001600160401b038111801561140457600080fd5b5060405190808252806020026020018201604052801561143e57816020015b61142b61356c565b8152602001906001900390816114235790505b50915060005b818110156114f957306001600160a01b031684828151811061146257fe5b6020026020010151604051611477919061465a565b600060405180830381855afa9150503d80600081146114b2576040519150601f19603f3d011682016040523d82523d6000602084013e6114b7565b606091505b508483815181106114c457fe5b60200260200101516000018584815181106114db57fe5b60209081029190910181015101919091529015159052600101611444565b5050919050565b60075460405163a912616960e01b81526060916001600160a01b03169063a912616990611531908590600401614679565b60006040518083038186803b15801561154957600080fd5b505afa15801561155d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fa29190810190614068565b60006001600160a01b0385166115ad5760405162461bcd60e51b81526004016109cf90614dcc565b6001600160a01b0385163014156115d65760405162461bcd60e51b81526004016109cf90614fe9565b6115df82612d56565b6115fb5760405162461bcd60e51b81526004016109cf90614d20565b61160785858585612d65565b9695505050505050565b60075460408051635d3ea9b760e11b815290516000926001600160a01b03169163ba7d536e916004808301926020929190829003018186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110669190614474565b61169782612d56565b156116b2576116a830858585612d65565b90945092506116bd565b6116bd308585612e5e565b6116c561352c565b6001600160a01b038516600090815260016020819052604091829020825180840190935280549091839160ff16908111156116fc57fe5b600181111561170757fe5b815290546001600160a01b03610100909104811660209283015290820151919250166117455760405162461bcd60e51b81526004016109cf90614ee7565b80602001519450611754613543565b61175d83612d56565b1561177d57826080015180602001905181019061177a9190614418565b90505b61178683612d56565b801561179f575060038151600381111561179c57fe5b14155b156119c6576001825160018111156117b357fe5b1415611883576000815160038111156117c857fe5b146117e55760405162461bcd60e51b81526004016109cf90614c21565b6040808201516060808401518684015191870151935163a2a2af0b60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169463a2a2af0b9461184c948f948f948f948f9493916004016147b1565b600060405180830381600087803b15801561186657600080fd5b505af115801561187a573d6000803e3d6000fd5b505050506119c1565b60008151600381111561189257fe5b14156118ff57604080820151606080840151868401519187015193516341cf6c8560e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169463839ed90a9461184c948f948f948f948f9493916004016147b1565b60028151600381111561190e57fe5b1461192b5760405162461bcd60e51b81526004016109cf90614c21565b6060808201516040808601519286015190516336e712ed60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016936336e712ed9361198e938e938e938e938e93909260040161476d565b600060405180830381600087803b1580156119a857600080fd5b505af11580156119bc573d6000803e3d6000fd5b505050505b611ab2565b6001825160018111156119d557fe5b1415611a2d57604051632434941d60e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906390d250749061198e908b908b908b908b90600401614743565b60405163f3f094a160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063f3f094a190611a7f908b908b908b908b90600401614743565b600060405180830381600087803b158015611a9957600080fd5b505af1158015611aad573d6000803e3d6000fd5b505050505b5050505050505050565b6007546040805163c5c63e6560e01b815290516060926001600160a01b03169163c5c63e65916004808301926000929190829003018186803b158015611b0157600080fd5b505afa158015611b15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611066919081019061409a565b60075460405163ccc1bbc160e01b81526000916001600160a01b03169063ccc1bbc190611b72908790879087906004016147fe565b60206040518083038186803b158015611b8a57600080fd5b505afa158015611b9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc29190614474565b949350505050565b60606000611bd661105a565b90506060816001600160401b0381118015611bf057600080fd5b50604051908082528060200260200182016040528015611c2a57816020015b611c1761352c565b815260200190600190039081611c0f5790505b50905060005b82811015611cb9576000611c45600583612ed8565b6001600160a01b038116600090815260016020526040902054909150611c6d9060ff16612171565b838381518110611c7957fe5b6020026020010151600001818152505080838381518110611c9657fe5b6020908102919091018101516001600160a01b0390921691015250600101611c30565b5060075460405163504094e760e11b81526000916060916001600160a01b039091169063a08129ce90611cf29086908a90600401614907565b60006040518083038186803b158015611d0a57600080fd5b505afa158015611d1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d4691908101906144bb565b91509150816001600160401b0381118015611d6057600080fd5b50604051908082528060200260200182016040528015611d9a57816020015b611d87613584565b815260200190600190039081611d7f5790505b5094506000915060005b84811015611ed557818181518110611db857fe5b602002602001015115611ecd576000848281518110611dd357fe5b6020908102919091018101518101516001600160a01b0381166000908152600383526040908190208054825160026001831615610100026000190190921691909104601f81018690048602820186019093528281529294509192830182828015611e7e5780601f10611e5357610100808354040283529160200191611e7e565b820191906000526020600020905b815481529060010190602001808311611e6157829003601f168201915b5050505050878581518110611e8f57fe5b60200260200101516000018190525080878581518110611eab57fe5b6020908102919091018101516001600160a01b03909216910152506001909201915b600101611da4565b5050505050919050565b611ee76121a8565b6001600160a01b0316611ef8611327565b6001600160a01b031614611f1e5760405162461bcd60e51b81526004016109cf90614eb2565b805160005b81811015610a1f57611f3361359c565b838281518110611f3f57fe5b60200260200101519050611f7481600001518260200151836060015184608001518560a001518660c001518760e00151612a7f565b5050600101611f23565b611f866121a8565b6001600160a01b0316611f97611327565b6001600160a01b031614611fbd5760405162461bcd60e51b81526004016109cf90614eb2565b610a1f6001600160a01b0384168383612ee4565b7f000000000000000000000000000000000000000000000000000000000000000081565b611ffd6121a8565b6001600160a01b031661200e611327565b6001600160a01b0316146120345760405162461bcd60e51b81526004016109cf90614eb2565b6001600160a01b03811661205a5760405162461bcd60e51b81526004016109cf90614bac565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b606060006120c161105a565b9050806001600160401b03811180156120d957600080fd5b50604051908082528060200260200182016040528015612103578160200160208202803683370190505b50915060005b818110156121485761211c600582612ed8565b83828151811061212857fe5b6001600160a01b0390921660209283029190910190910152600101612109565b505090565b60008061215a8484612af0565b90508281101561216a5780830391505b5092915050565b60008082600181111561218057fe5b1415612197576121906000612fde565b90506121a3565b610fa260026003612ff6565b919050565b3390565b6001600160a01b038316158015906121cc57506001600160a01b03811615155b6121e85760405162461bcd60e51b81526004016109cf90614b75565b60405180604001604052808360018111156121ff57fe5b81526001600160a01b0380841660209283015285166000908152600191829052604090208251815491929091839160ff1990911690838181111561223f57fe5b02179055506020919091015181546001600160a01b0390911661010002610100600160a81b0319909116179055505050565b600060038351600381111561228257fe5b141561228f575082610f15565b82602001516001600160a01b03166382b86600836122b15784606001516122b7565b84604001515b6040518263ffffffff1660e01b81526004016122d391906151ac565b60206040518083038186803b1580156122eb57600080fd5b505afa1580156122ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc29190614220565b8034146123425760405162461bcd60e51b81526004016109cf90614cfc565b816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561237d57600080fd5b505af1158015612391573d6000803e3d6000fd5b50505050505050565b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156123c457612497565b6001600160a01b0381163014156123da57612497565b604051636eb1769f60e11b81526000906001600160a01b0384169063dd62ed3e9061240b903090869060040161468d565b60206040518083038186803b15801561242357600080fd5b505afa158015612437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245b9190614474565b90506000198114610a1f578015612481576124816001600160a01b038416836000612ee4565b610a1f6001600160a01b03841683600019612ee4565b5050565b6000816001600160a01b0316856001600160a01b03166382b8660086606001516040518263ffffffff1660e01b81526004016124d791906151ac565b60206040518083038186803b1580156124ef57600080fd5b505afa158015612503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125279190614220565b6001600160a01b03161461254d5760405162461bcd60e51b81526004016109cf906150df565b846001600160a01b03166391695586856040015186606001518660006000196040518663ffffffff1660e01b815260040161258c9594939291906151ba565b602060405180830381600087803b1580156125a657600080fd5b505af1158015611212573d6000803e3d6000fd5b600754604051639a7b5f1160e01b8152600091829182916001600160a01b031690639a7b5f11906125ef908a90600401614679565b604080518083038186803b15801561260657600080fd5b505afa15801561261a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263e919061448c565b91509150806001600160a01b0316846001600160a01b0316146126735760405162461bcd60e51b81526004016109cf906150df565b6060826001600160401b038111801561268b57600080fd5b506040519080825280602002602001820160405280156126b5578160200160208202803683370190505b5090508581886040015160ff16815181106126cc57fe5b6020908102919091010152604051634d49e87d60e01b81526001600160a01b03891690634d49e87d9061270a90849060009060001990600401614aca565b602060405180830381600087803b15801561272457600080fd5b505af1158015612738573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff89190614474565b6000816001600160a01b0316856001600160a01b03166382b8660086606001516040518263ffffffff1660e01b815260040161279891906151ac565b60206040518083038186803b1580156127b057600080fd5b505afa1580156127c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127e89190614220565b6001600160a01b03161461280e5760405162461bcd60e51b81526004016109cf906150df565b60608401516040516301f1d0ab60e51b81526001600160a01b03871691633e3a15609161258c9187916000906000199060040161515d565b604051632e1a7d4d60e01b81526001600160a01b03831690632e1a7d4d9061287290849060040161513d565b600060405180830381600087803b15801561288c57600080fd5b505af11580156128a0573d6000803e3d6000fd5b505050505050565b6001600160a01b0382163014156128be57610a1f565b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415612965576000826001600160a01b0316826040516128fc90614676565b60006040518083038185875af1925050503d8060008114612939576040519150601f19603f3d011682016040523d82523d6000602084013e61293e565b606091505b505090508061295f5760405162461bcd60e51b81526004016109cf90614f5c565b50610a1f565b610a1f6001600160a01b0384168383613012565b6402540be400831061299d5760405162461bcd60e51b81526004016109cf90614d46565b808211156129bd5760405162461bcd60e51b81526004016109cf90614fc0565b6040805160608101825264ffffffffff94851681526001600160681b0393841660208083019182526001600160701b039485168385019081526001600160a01b0390981660009081526002909152929092209051815492519651909316600160901b0271ffffffffffffffffffffffffffffffffffff96909416650100000000000271ffffffffffffffffffffffffff0000000000199390951664ffffffffff1990921691909117919091169290921792909216919091179055565b60001990565b6000612a9088888888888888613031565b90508015612ae557846001600160a01b0316876001600160a01b03161415612ae557612ae56001600160a01b0388167f000000000000000000000000000000000000000000000000000000000000000061239a565b979650505050505050565b6001600160a01b03828116600090815260016020526040812054909161010090910416612b2f5760405162461bcd60e51b81526004016109cf90614ee7565b612b376135fe565b506001600160a01b0383166000908152600260209081526040918290208251606081018452905464ffffffffff81168083526501000000000082046001600160681b031693830193909352600160901b90046001600160701b031692810192909252612bb5906402540be40090612baf908690613067565b906130a1565b915080602001516001600160681b0316821015612be15780602001516001600160681b0316915061216a565b80604001516001600160701b031682111561216a57604001516001600160701b03169392505050565b6000612c176005836130d3565b905080156121a3576001600160a01b03821660009081526003602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015612cbe5780601f10612c9357610100808354040283529160200191612cbe565b820191906000526020600020905b815481529060010190602001808311612ca157829003601f168201915b505050506001600160a01b0385166000908152600360205260408120929350612ce892915061361e565b600481604051612cf8919061465a565b9081526040805191829003602090810190922080546001600160a01b03191690556001600160a01b03851660009081526001835281812080546001600160a81b0319169055600290925281205550919050565b6000610fa2826130e8565b516001600160a01b0316151590565b6000808260600151421115612d8c5760405162461bcd60e51b81526004016109cf90614f14565b8251612d99908686612e5e565b8260200151915082600001516001600160a01b03166324a98f11348888888789608001516040518763ffffffff1660e01b8152600401612ddd9594939291906146cb565b6020604051808303818588803b158015612df657600080fd5b505af1158015612e0a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e2f9190614474565b90508260400151811015612e555760405162461bcd60e51b81526004016109cf90614d71565b94509492505050565b34612e7d57612e786001600160a01b0383163385846130ec565b610a1f565b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14612eb95760405162461bcd60e51b81526004016109cf90614f3e565b803414610a1f5760405162461bcd60e51b81526004016109cf90614cfc565b6000610f9f838361310d565b801580612f6c5750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90612f1a903090869060040161468d565b60206040518083038186803b158015612f3257600080fd5b505afa158015612f46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6a9190614474565b155b612f885760405162461bcd60e51b81526004016109cf90615089565b610a1f8363095ea7b360e01b8484604051602401612fa792919061472a565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613152565b6000816003811115612fec57fe5b6001901b92915050565b600061300182612fde565b61300a84612fde565b179392505050565b610a1f8363a9059cbb60e01b8484604051602401612fa792919061472a565b600061303e6005886131e1565b90508015612ae55761305088886131f6565b61305b8787876121ac565b612ae587858585612979565b60008261307657506000610fa2565b8282028284828161308357fe5b0414610f9f5760405162461bcd60e51b81526004016109cf90614e71565b60008082116130c25760405162461bcd60e51b81526004016109cf90614cc5565b8183816130cb57fe5b049392505050565b6000610f9f836001600160a01b0384166132bf565b5490565b610cb7846323b872dd60e01b858585604051602401612fa7939291906146a7565b815460009082106131305760405162461bcd60e51b81526004016109cf90614b33565b82600001828154811061313f57fe5b9060005260206000200154905092915050565b60606131a7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166133859092919063ffffffff16565b805190915015610a1f57808060200190518101906131c59190614200565b610a1f5760405162461bcd60e51b81526004016109cf90615020565b6000610f9f836001600160a01b038416613394565b81516132145760405162461bcd60e51b81526004016109cf90614da6565b60006001600160a01b031660048360405161322f919061465a565b908152604051908190036020019020546001600160a01b0316146132655760405162461bcd60e51b81526004016109cf90614bf2565b80600483604051613276919061465a565b908152604080516020928190038301902080546001600160a01b0319166001600160a01b03948516179055918316600090815260038252919091208351610a1f92850190613665565b6000818152600183016020526040812054801561337b57835460001980830191908101906000908790839081106132f257fe5b906000526020600020015490508087600001848154811061330f57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061333f57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610fa2565b6000915050610fa2565b6060611bc284846000856133de565b60006133a08383613494565b6133d657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610fa2565b506000610fa2565b6060824710156134005760405162461bcd60e51b81526004016109cf90614c7f565b613409856134ac565b6134255760405162461bcd60e51b81526004016109cf90614f89565b60006060866001600160a01b03168587604051613442919061465a565b60006040518083038185875af1925050503d806000811461347f576040519150601f19603f3d011682016040523d82523d6000602084013e613484565b606091505b5091509150612ae58282866134b2565b60009081526001919091016020526040902054151590565b3b151590565b606083156134c1575081610f15565b8251156134d15782518084602001fd5b8160405162461bcd60e51b81526004016109cf9190614b20565b6040518060a0016040528060006001600160a01b0316815260200160006001600160a01b031681526020016000815260200160008152602001606081525090565b604080518082019091526000808252602082015290565b604080516080810190915280600081526000602082018190526040820181905260609091015290565b60408051808201909152600081526060602082015290565b60408051808201909152606081526000602082015290565b6040518061010001604052806060815260200160006001600160a01b0316815260200160008152602001600060018111156135d357fe5b815260200160006001600160a01b031681526020016000815260200160008152602001600081525090565b604080516060810182526000808252602082018190529181019190915290565b50805460018160011615610100020316600290046000825580601f106136445750613662565b601f01602090049060005260206000209081019061366291906136e3565b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106136a657805160ff19168380011785556136d3565b828001600101855582156136d3579182015b828111156136d35782518255916020019190600101906136b8565b506136df9291506136e3565b5090565b5b808211156136df57600081556001016136e4565b8035610fa281615279565b8051610fa281615279565b600082601f83011261371e578081fd5b815161373161372c8261520b565b6151e5565b818152915060208083019084810160408085028701830188101561375457600080fd5b6000805b868110156137a55782848b03121561376e578182fd5b613777836151e5565b6137818b866137b2565b815261378f8b878701613703565b8187015286529484019492820192600101613758565b5050505050505092915050565b80518015158114610fa257600080fd5b600082601f8301126137d2578081fd5b81356137e061372c8261522a565b91508082528360208285010111156137f757600080fd5b8060208401602084013760009082016020015292915050565b600082601f830112613820578081fd5b815161382e61372c8261522a565b915080825283602082850101111561384557600080fd5b61216a81602084016020860161524d565b803560028110610fa257600080fd5b600060a08284031215613876578081fd5b61388060a06151e5565b9050813561388d81615279565b8152602082013561389d81615279565b80602083015250604082013560408201526060820135606082015260808201356001600160401b038111156138d157600080fd5b6138dd848285016137c2565b60808301525092915050565b6000602082840312156138fa578081fd5b8135610f9f81615279565b600080600060608486031215613919578182fd5b833561392481615279565b9250602084013561393481615279565b929592945050506040919091013590565b60008060008060008060a0878903121561395d578384fd5b863561396881615279565b9550602087013561397881615279565b945060408701359350606087013561398f81615279565b925060808701356001600160401b03808211156139aa578384fd5b818901915089601f8301126139bd578384fd5b8135818111156139cb578485fd5b8a60208285010111156139dc578485fd5b6020830194508093505050509295509295509295565b60008060008060808587031215613a07578182fd5b8435613a1281615279565b93506020850135613a2281615279565b92506040850135915060608501356001600160401b03811115613a43578182fd5b613a4f87828801613865565b91505092959194509250565b600080600060608486031215613a6f578081fd5b8335613a7a81615279565b92506020848101356001600160401b03811115613a95578283fd5b8501601f81018713613aa5578283fd5b8035613ab361372c8261520b565b81815283810190838501865b84811015613ae857613ad68c8884358901016137c2565b84529286019290860190600101613abf565b50508096505050505050604084013590509250925092565b60008060408385031215613b12578182fd5b8235613b1d81615279565b91506020838101356001600160401b03811115613b38578283fd5b8401601f81018613613b48578283fd5b8035613b5661372c8261520b565b81815283810190838501858402850186018a1015613b72578687fd5b8694505b83851015613b94578035835260019490940193918501918501613b76565b5080955050505050509250929050565b600080600060608486031215613bb8578081fd5b8335613bc381615279565b9250613bd28560208601613856565b91506040840135613be281615279565b809150509250925092565b60008060408385031215613bff578182fd5b8235613c0a81615279565b946020939093013593505050565b60008060008060008060c08789031215613c30578384fd5b8635613c3b81615279565b9550602087013594506040870135613c5281615279565b93506060870135925060808701356001600160401b0380821115613c74578384fd5b613c808a838b01613865565b935060a0890135915080821115613c95578283fd5b50613ca289828a01613865565b9150509295509295509295565b60008060008060808587031215613cc4578182fd5b8435613ccf81615279565b966020860135965060408601359560600135945092505050565b600080600060608486031215613cfd578081fd5b8335613d0881615279565b9250602084013591506040840135613be28161529b565b60008060008060808587031215613d34578182fd5b8435613d3f81615279565b93506020850135613d4f8161529b565b92506040850135613d5f8161529b565b9396929550929360600135925050565b60008060208385031215613d81578182fd5b82356001600160401b0380821115613d97578384fd5b818501915085601f830112613daa578384fd5b813581811115613db8578485fd5b8660208083028501011115613dcb578485fd5b60209290920196919550909350505050565b60006020808385031215613def578182fd5b82356001600160401b03811115613e04578283fd5b8301601f81018513613e14578283fd5b8035613e2261372c8261520b565b81815283810190838501865b84811015613e5757613e458a8884358901016137c2565b84529286019290860190600101613e2e565b509098975050505050505050565b60006020808385031215613e77578182fd5b82356001600160401b0380821115613e8d578384fd5b818501915085601f830112613ea0578384fd5b8135613eae61372c8261520b565b81815284810190848601875b84811015613f7a578135870161010080601f19838f03011215613edb578a8bfd5b613ee4816151e5565b8a83013589811115613ef4578c8dfd5b613f028f8d838701016137c2565b825250613f128e604085016136f8565b8b8201526060808401356040830152613f2e8f60808601613856565b9082015260a0613f408f8583016136f8565b608083015260c0848101359183019190915260e0808501359183019190915291909201359082015284529287019290870190600101613eba565b50909998505050505050505050565b60008060408385031215613f9b578182fd5b82356001600160401b0380821115613fb1578384fd5b818501915085601f830112613fc4578384fd5b8135613fd261372c8261520b565b81815260208082019190858101885b8581101561404857813588016040818e03601f19011215614000578a8bfd5b61400a60406151e5565b848201358981111561401a578c8dfd5b6140288f87838601016137c2565b825250604091909101358482015285529382019390820190600101613fe1565b50508197506140598a828b016136f8565b96505050505050509250929050565b600060208284031215614079578081fd5b81516001600160401b0381111561408e578182fd5b611bc28482850161370e565b600060208083850312156140ac578182fd5b82516001600160401b03808211156140c2578384fd5b818501915085601f8301126140d5578384fd5b81516140e361372c8261520b565b81815284810190848601875b84811015613f7a5781518701606080601f19838f0301121561410f578a8bfd5b614118816151e5565b8a83015161412581615279565b815260408381015161413681615279565b828d015291830151918983111561414b578c8dfd5b6141598f8d8587010161370e565b908201528652505092870192908701906001016140ef565b60006020808385031215614183578182fd5b82516001600160401b03811115614198578283fd5b8301601f810185136141a8578283fd5b80516141b661372c8261520b565b81815283810190838501858402850186018910156141d2578687fd5b8694505b838510156141f45780518352600194909401939185019185016141d6565b50979650505050505050565b600060208284031215614211578081fd5b81518015158114610f9f578182fd5b600060208284031215614231578081fd5b8151610f9f81615279565b600080600060608486031215613919578081fd5b600060208284031215614261578081fd5b81356001600160401b03811115614276578182fd5b611bc2848285016137c2565b600080600080600080600060e0888a03121561429c578485fd5b87356001600160401b038111156142b1578586fd5b6142bd8a828b016137c2565b97505060208801356142ce81615279565b95506142dd8960408a01613856565b945060608801356142ed81615279565b9699959850939660808101359560a0820135955060c0909101359350915050565b60006020828403121561431f578081fd5b81516001600160401b0380821115614335578283fd5b9083019060a08286031215614348578283fd5b61435260a06151e5565b61435c8684613703565b815261436b8660208501613703565b60208201526040830151604082015260608301516060820152608083015182811115614395578485fd5b6143a187828601613810565b60808301525095945050505050565b6000608082840312156143c1578081fd5b6143cb60806151e5565b82356143d68161528e565b815260208301356143e681615279565b602082015260408301356143f98161529b565b6040820152606083013561440c8161529b565b60608201529392505050565b600060808284031215614429578081fd5b61443360806151e5565b825161443e8161528e565b8152602083015161444e81615279565b602082015260408301516144618161529b565b6040820152606083015161440c8161529b565b600060208284031215614485578081fd5b5051919050565b6000806040838503121561449e578182fd5b8251915060208301516144b081615279565b809150509250929050565b600080604083850312156144cd578182fd5b825191506020808401516001600160401b038111156144ea578283fd5b8401601f810186136144fa578283fd5b805161450861372c8261520b565b81815283810190838501858402850186018a1015614524578687fd5b8694505b83851015613b945761453a8a826137b2565b835260019490940193918501918501614528565b6000815180845260208085019450808401835b838110156145935781518051151588528301516001600160a01b03168388015260409096019590820190600101614561565b509495945050505050565b6000815180845260208085019450808401835b83811015614593578151875295820195908201906001016145b1565b600081518084526145e581602086016020860161524d565b601f01601f19169290920160200192915050565b805182526020908101516001600160a01b0316910152565b600060018060a01b03808351168452806020840151166020850152506040820151604084015260608201516060840152608082015160a06080850152611bc260a08501826145cd565b6000825161466c81846020870161524d565b9190910192915050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0386811682528581166020830152604082018590528316606082015260a060808201819052600090612ae5908301846145cd565b6001600160a01b0383168152604060208201819052600090611bc29083018461459e565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6001600160a01b0397881681526020810196909652939095166040850152606084019190915260ff16608083015260a082019290925260c081019190915260e00190565b6001600160a01b0398891681526020810197909752949096166040860152606085019290925260ff90811660808501521660a083015260c082019290925260e08101919091526101000190565b6001600160a01b03939093168352602083019190915260ff16604082015260600190565b6001600160a01b0394909416845260ff928316602085015291166040830152606082015260800190565b6020808252825182820181905260009190848201906040850190845b8181101561488d5783516001600160a01b031683529284019291840191600101614868565b50909695505050505050565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015613e5757888303603f19018552815180518785526148e1888601826145cd565b918901516001600160a01b031694890194909452948701949250908601906001016148bd565b60408082528351828201819052600091906020906060850190828801855b82811015614948576149388483516145f9565b9285019290840190600101614925565b5050506001600160a01b0395909516930192909252509092915050565b600060208252610f9f602083018461454e565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015613e5757888303603f19018552815180516001600160a01b03908116855288820151168885015286015160608785018190526149de8186018361454e565b96890196945050509086019060010161499c565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015613e5757888303603f190185528151805115158452870151878401879052614a44878501826145cd565b9588019593505090860190600101614a16565b6000602080830181845280855180835260408601915060408482028701019250838701855b82811015614aaa57603f19888603018452614a98858351614611565b94509285019290850190600101614a7c565b5092979650505050505050565b600060208252610f9f602083018461459e565b600060608252614add606083018661459e565b60208301949094525060400152919050565b901515815260200190565b6040810160028410614b0857fe5b9281526001600160a01b039190911660209091015290565b600060208252610f9f60208301846145cd565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601b908201527f546f6b656e2063616e2774206265207a65726f20616464726573730000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526015908201527453796d626f6c20616c726561647920696e2075736560581b604082015260600190565b60208082526017908201527f556e737570706f72746564206465737420616374696f6e000000000000000000604082015260600190565b6020808252600d908201526c2ab735b737bbb7103a37b5b2b760991b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252600a9082015269216d73672e76616c756560b01b604082015260600190565b6020808252600c908201526b10b9bbb0b820b230b83a32b960a11b604082015260600190565b602080825260119082015270627269646765466565203e3d203130302560781b604082015260600190565b6020808252818101527f53776170206469646e277420726573756c7420696e206d696e20746f6b656e73604082015260600190565b6020808252600c908201526b115b5c1d1e481cde5b589bdb60a21b604082015260600190565b60208082526018908201527f21726563697069656e743a207a65726f20616464726573730000000000000000604082015260600190565b60208082526019908201527f5377617020746f6b656e732073686f756c642064696666657200000000000000604082015260600190565b6020808252601e908201527f496e636f727265637420746f6b656e496e20666f722045544820737761700000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260139082015272151bdad95b881b9bdd081cdd5c1c1bdc9d1959606a1b604082015260600190565b60208082526010908201526f111958591b1a5b99481b9bdd081b595d60821b604082015260600190565b602080825260049082015263042cae8d60e31b604082015260600190565b602080825260139082015272115512081d1c985b9cd9995c8819985a5b1959606a1b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252600f908201526e6d696e466565203e206d617846656560881b604082015260600190565b6020808252601a908201527f21726563697069656e743a20726f757465722061646472657373000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b602080825260059082015264085c1bdbdb60da1b604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b602080825260099082015268085d1bdad95b93dd5d60ba1b604082015260600190565b6080810161511082866145f9565b6001600160a01b0393909316604082015260600152919050565b600060208252610f9f6020830184614611565b90815260200190565b9182526001600160a01b0316602082015260400190565b93845260ff9290921660208401526040830152606082015260800190565b64ffffffffff9390931683526001600160681b039190911660208301526001600160701b0316604082015260600190565b60ff91909116815260200190565b60ff958616815293909416602084015260408301919091526060820152608081019190915260a00190565b6040518181016001600160401b038111828210171561520357600080fd5b604052919050565b60006001600160401b03821115615220578081fd5b5060209081020190565b60006001600160401b0382111561523f578081fd5b50601f01601f191660200190565b60005b83811015615268578181015183820152602001615250565b83811115610cb75750506000910152565b6001600160a01b038116811461366257600080fd5b6004811061366257600080fd5b60ff8116811461366257600080fdfea26469706673582212202c66d45ebaed00279db776ac2ebe4bafbd1e2d3af18ef691a7bfedc4e0885dd164736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e00000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb6000000000000000000000000b73acb429ba868984c0236bdf940d4fe1e643f27
Deployed Bytecode
0x6080604052600436106102135760003560e01c80637c61e56111610118578063c2288147116100a0578063d62933e21161006f578063d62933e21461065b578063da46098c1461067b578063e80633771461069b578063f2fde38b146106b0578063f8a06888146106d05761021a565b8063c2288147146105d9578063c5c63e65146105ec578063ccc1bbc11461060e578063d38e78881461062e5761021a565b8063a5bc29c2116100e7578063a5bc29c214610537578063a734c44114610557578063a912616914610584578063b5d1cdd4146105b1578063ba7d536e146105c45761021a565b80637c61e561146104a7578063804b3dff146104d45780638da5cb5b146104f45780639a7b5f11146105095761021a565b80634d8644961161019b5780635ff30c0a1161016a5780635ff30c0a1461040e5780636c3824ef146104235780636fcca69b14610443578063715018a614610472578063798af720146104875761021a565b80634d86449614610381578063530d95f6146103a157806358b5b777146103ce5780635fa7b584146103ee5761021a565b806324a98f11116101e257806324a98f11146102d2578063302fee96146102f257806334474c8c146103125780633bc758fd146103345780634aa06652146103545761021a565b8063077e11991461021f5780630ba36121146102555780630e68ec951461028257806310f60034146102b05761021a565b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a366004613f89565b6106f2565b60405161024c9190614a57565b60405180910390f35b34801561026157600080fd5b506102756102703660046138e9565b6108d0565b60405161024c9190614b20565b34801561028e57600080fd5b506102a261029d3660046138e9565b61096b565b60405161024c929190614afa565b3480156102bc57600080fd5b506102d06102cb366004613ba4565b610990565b005b6102e56102e0366004613945565b610a24565b60405161024c919061513d565b3480156102fe57600080fd5b506102d061030d366004613caf565b610c30565b34801561031e57600080fd5b50610327610cbd565b60405161024c9190614679565b34801561034057600080fd5b5061023f61034f366004613a5b565b610ccc565b34801561036057600080fd5b5061037461036f366004613905565b610e57565b60405161024c919061512a565b34801561038d57600080fd5b506102e561039c366004613b00565b610f1c565b3480156103ad57600080fd5b506103c16103bc366004614282565b610fa8565b60405161024c9190614aef565b3480156103da57600080fd5b506102e56103e9366004613bed565b611004565b3480156103fa57600080fd5b506103c16104093660046138e9565b611010565b34801561041a57600080fd5b506102e561105a565b34801561042f57600080fd5b506102d061043e366004613d6f565b61106b565b34801561044f57600080fd5b5061046361045e3660046138e9565b6110e8565b60405161024c9392919061517b565b34801561047e57600080fd5b506102d0611126565b34801561049357600080fd5b506102e56104a2366004613d1f565b6111af565b3480156104b357600080fd5b506104c76104c2366004613bed565b61123f565b60405161024c9190614ab7565b3480156104e057600080fd5b506102d06104ef3660046138e9565b6112c6565b34801561050057600080fd5b50610327611327565b34801561051557600080fd5b506105296105243660046138e9565b611336565b60405161024c929190615146565b34801561054357600080fd5b50610327610552366004614250565b6113c3565b34801561056357600080fd5b50610577610572366004613ddd565b6113e9565b60405161024c91906149f2565b34801561059057600080fd5b506105a461059f3660046138e9565b611500565b60405161024c9190614965565b6102e56105bf3660046139f2565b611585565b3480156105d057600080fd5b506102e5611611565b6102d06105e7366004613c18565b61168e565b3480156105f857600080fd5b50610601611abc565b60405161024c9190614978565b34801561061a57600080fd5b506102e5610629366004613ce9565b611b3d565b34801561063a57600080fd5b5061064e6106493660046138e9565b611bca565b60405161024c9190614899565b34801561066757600080fd5b506102d0610676366004613e65565b611edf565b34801561068757600080fd5b506102d061069636600461423c565b611f7e565b3480156106a757600080fd5b50610327611fd1565b3480156106bc57600080fd5b506102d06106cb3660046138e9565b611ff5565b3480156106dc57600080fd5b506106e56120b5565b60405161024c919061484c565b8151606090806001600160401b038111801561070d57600080fd5b5060405190808252806020026020018201604052801561074757816020015b6107346134eb565b81526020019060019003908161072c5790505b50915060005b818110156108c8576000600486838151811061076557fe5b60200260200101516000015160405161077e919061465a565b908152604051908190036020019020546001600160a01b03169050806107a457506108c0565b60006107c7828885815181106107b657fe5b60200260200101516020015161214d565b9050806107d55750506108c0565b6001600160a01b03821660009081526001602052604090205460ff166107f961352c565b604051806040016040528061080d84612171565b81526001600160a01b0380871660209092019190915260075460405163e6b0000960e01b8152929350169063e6b00009906108509084908c908890600401615102565b60006040518083038186803b15801561086857600080fd5b505afa15801561087c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a4919081019061430e565b8786815181106108b057fe5b6020026020010181905250505050505b60010161074d565b505092915050565b60036020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156109635780601f1061093857610100808354040283529160200191610963565b820191906000526020600020905b81548152906001019060200180831161094657829003601f168201915b505050505081565b60016020526000908152604090205460ff81169061010090046001600160a01b031682565b6109986121a8565b6001600160a01b03166109a9611327565b6001600160a01b0316146109d85760405162461bcd60e51b81526004016109cf90614eb2565b60405180910390fd5b6001600160a01b03838116600090815260016020526040902054610100900416610a145760405162461bcd60e51b81526004016109cf90614c58565b610a1f8383836121ac565b505050565b6000836001600160a01b0316866001600160a01b03161415610a585760405162461bcd60e51b81526004016109cf90614e03565b610a60613543565b610a6c838501856143b0565b60208101519091506001600160a01b0316151580610a965750600381516003811115610a9457fe5b145b610ab25760405162461bcd60e51b81526004016109cf9061506a565b6001600160a01b03871673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610af457610ae385826001612271565b9650610aef8787612323565b610b12565b3415610b125760405162461bcd60e51b81526004016109cf90614e3a565b846001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610b4757610b4488836000612271565b90505b600382516003811115610b5657fe5b1415610b6457869250610be1565b6020820151610b7d906001600160a01b038a169061239a565b600082516003811115610b8c57fe5b1415610ba957610ba2826020015183898461249b565b9250610be1565b600182516003811115610bb857fe5b1415610bce57610ba282602001518389846125ba565b610bde826020015183898461275c565b92505b6001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610c1057610c108184612846565b610c246001600160a01b0387168a856128a8565b50509695505050505050565b610c386121a8565b6001600160a01b0316610c49611327565b6001600160a01b031614610c6f5760405162461bcd60e51b81526004016109cf90614eb2565b6001600160a01b03848116600090815260016020526040902054610100900416610cab5760405162461bcd60e51b81526004016109cf90614c58565b610cb784848484612979565b50505050565b6007546001600160a01b031681565b8151606090806001600160401b0381118015610ce757600080fd5b50604051908082528060200260200182016040528015610d2157816020015b610d0e6134eb565b815260200190600190039081610d065790505b50915060005b81811015610e4e5760006004868381518110610d3f57fe5b6020026020010151604051610d54919061465a565b908152604051908190036020019020546001600160a01b0316905080610d7a5750610e46565b610d8261352c565b6040518060400160405280610d95612a79565b81526001600160a01b03808b1660209092019190915260075460405163e6b0000960e01b8152929350169063e6b0000990610dd890849086908b90600401615102565b60006040518083038186803b158015610df057600080fd5b505afa158015610e04573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e2c919081019061430e565b858481518110610e3857fe5b602002602001018190525050505b600101610d27565b50509392505050565b610e5f6134eb565b610e6761352c565b6040518060400160405280610e7a612a79565b81526001600160a01b0380881660209092019190915260075460405163e6b0000960e01b8152929350169063e6b0000990610ebd90849088908890600401615102565b60006040518083038186803b158015610ed557600080fd5b505afa158015610ee9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f11919081019061430e565b9150505b9392505050565b6007546040516326c3224b60e11b81526000916001600160a01b031690634d86449690610f4f9086908690600401614706565b60206040518083038186803b158015610f6757600080fd5b505afa158015610f7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9f9190614474565b90505b92915050565b6000610fb26121a8565b6001600160a01b0316610fc3611327565b6001600160a01b031614610fe95760405162461bcd60e51b81526004016109cf90614eb2565b610ff888888888888888612a7f565b98975050505050505050565b6000610f9f8383612af0565b600061101a6121a8565b6001600160a01b031661102b611327565b6001600160a01b0316146110515760405162461bcd60e51b81526004016109cf90614eb2565b610fa282612c0a565b60006110666005612d4b565b905090565b6110736121a8565b6001600160a01b0316611084611327565b6001600160a01b0316146110aa5760405162461bcd60e51b81526004016109cf90614eb2565b8060005b81811015610cb7576110df8484838181106110c557fe5b90506020020160208101906110da91906138e9565b612c0a565b506001016110ae565b60026020526000908152604090205464ffffffffff8116906501000000000081046001600160681b031690600160901b90046001600160701b031683565b61112e6121a8565b6001600160a01b031661113f611327565b6001600160a01b0316146111655760405162461bcd60e51b81526004016109cf90614eb2565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6007546040516303cc57b960e51b81526000916001600160a01b03169063798af720906111e6908890889088908890600401614822565b60206040518083038186803b1580156111fe57600080fd5b505afa158015611212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112369190614474565b95945050505050565b600754604051637c61e56160e01b81526060916001600160a01b031690637c61e56190611272908690869060040161472a565b60006040518083038186803b15801561128a57600080fd5b505afa15801561129e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f9f9190810190614171565b6112ce6121a8565b6001600160a01b03166112df611327565b6001600160a01b0316146113055760405162461bcd60e51b81526004016109cf90614eb2565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b600754604051639a7b5f1160e01b815260009182916001600160a01b0390911690639a7b5f119061136b908690600401614679565b604080518083038186803b15801561138257600080fd5b505afa158015611396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ba919061448c565b91509150915091565b80516020818301810180516004825292820191909301209152546001600160a01b031681565b8051606090806001600160401b038111801561140457600080fd5b5060405190808252806020026020018201604052801561143e57816020015b61142b61356c565b8152602001906001900390816114235790505b50915060005b818110156114f957306001600160a01b031684828151811061146257fe5b6020026020010151604051611477919061465a565b600060405180830381855afa9150503d80600081146114b2576040519150601f19603f3d011682016040523d82523d6000602084013e6114b7565b606091505b508483815181106114c457fe5b60200260200101516000018584815181106114db57fe5b60209081029190910181015101919091529015159052600101611444565b5050919050565b60075460405163a912616960e01b81526060916001600160a01b03169063a912616990611531908590600401614679565b60006040518083038186803b15801561154957600080fd5b505afa15801561155d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fa29190810190614068565b60006001600160a01b0385166115ad5760405162461bcd60e51b81526004016109cf90614dcc565b6001600160a01b0385163014156115d65760405162461bcd60e51b81526004016109cf90614fe9565b6115df82612d56565b6115fb5760405162461bcd60e51b81526004016109cf90614d20565b61160785858585612d65565b9695505050505050565b60075460408051635d3ea9b760e11b815290516000926001600160a01b03169163ba7d536e916004808301926020929190829003018186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110669190614474565b61169782612d56565b156116b2576116a830858585612d65565b90945092506116bd565b6116bd308585612e5e565b6116c561352c565b6001600160a01b038516600090815260016020819052604091829020825180840190935280549091839160ff16908111156116fc57fe5b600181111561170757fe5b815290546001600160a01b03610100909104811660209283015290820151919250166117455760405162461bcd60e51b81526004016109cf90614ee7565b80602001519450611754613543565b61175d83612d56565b1561177d57826080015180602001905181019061177a9190614418565b90505b61178683612d56565b801561179f575060038151600381111561179c57fe5b14155b156119c6576001825160018111156117b357fe5b1415611883576000815160038111156117c857fe5b146117e55760405162461bcd60e51b81526004016109cf90614c21565b6040808201516060808401518684015191870151935163a2a2af0b60e01b81526001600160a01b037f0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb6169463a2a2af0b9461184c948f948f948f948f9493916004016147b1565b600060405180830381600087803b15801561186657600080fd5b505af115801561187a573d6000803e3d6000fd5b505050506119c1565b60008151600381111561189257fe5b14156118ff57604080820151606080840151868401519187015193516341cf6c8560e11b81526001600160a01b037f0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb6169463839ed90a9461184c948f948f948f948f9493916004016147b1565b60028151600381111561190e57fe5b1461192b5760405162461bcd60e51b81526004016109cf90614c21565b6060808201516040808601519286015190516336e712ed60e01b81526001600160a01b037f0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb616936336e712ed9361198e938e938e938e938e93909260040161476d565b600060405180830381600087803b1580156119a857600080fd5b505af11580156119bc573d6000803e3d6000fd5b505050505b611ab2565b6001825160018111156119d557fe5b1415611a2d57604051632434941d60e21b81526001600160a01b037f0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb616906390d250749061198e908b908b908b908b90600401614743565b60405163f3f094a160e01b81526001600160a01b037f0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb6169063f3f094a190611a7f908b908b908b908b90600401614743565b600060405180830381600087803b158015611a9957600080fd5b505af1158015611aad573d6000803e3d6000fd5b505050505b5050505050505050565b6007546040805163c5c63e6560e01b815290516060926001600160a01b03169163c5c63e65916004808301926000929190829003018186803b158015611b0157600080fd5b505afa158015611b15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611066919081019061409a565b60075460405163ccc1bbc160e01b81526000916001600160a01b03169063ccc1bbc190611b72908790879087906004016147fe565b60206040518083038186803b158015611b8a57600080fd5b505afa158015611b9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc29190614474565b949350505050565b60606000611bd661105a565b90506060816001600160401b0381118015611bf057600080fd5b50604051908082528060200260200182016040528015611c2a57816020015b611c1761352c565b815260200190600190039081611c0f5790505b50905060005b82811015611cb9576000611c45600583612ed8565b6001600160a01b038116600090815260016020526040902054909150611c6d9060ff16612171565b838381518110611c7957fe5b6020026020010151600001818152505080838381518110611c9657fe5b6020908102919091018101516001600160a01b0390921691015250600101611c30565b5060075460405163504094e760e11b81526000916060916001600160a01b039091169063a08129ce90611cf29086908a90600401614907565b60006040518083038186803b158015611d0a57600080fd5b505afa158015611d1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d4691908101906144bb565b91509150816001600160401b0381118015611d6057600080fd5b50604051908082528060200260200182016040528015611d9a57816020015b611d87613584565b815260200190600190039081611d7f5790505b5094506000915060005b84811015611ed557818181518110611db857fe5b602002602001015115611ecd576000848281518110611dd357fe5b6020908102919091018101518101516001600160a01b0381166000908152600383526040908190208054825160026001831615610100026000190190921691909104601f81018690048602820186019093528281529294509192830182828015611e7e5780601f10611e5357610100808354040283529160200191611e7e565b820191906000526020600020905b815481529060010190602001808311611e6157829003601f168201915b5050505050878581518110611e8f57fe5b60200260200101516000018190525080878581518110611eab57fe5b6020908102919091018101516001600160a01b03909216910152506001909201915b600101611da4565b5050505050919050565b611ee76121a8565b6001600160a01b0316611ef8611327565b6001600160a01b031614611f1e5760405162461bcd60e51b81526004016109cf90614eb2565b805160005b81811015610a1f57611f3361359c565b838281518110611f3f57fe5b60200260200101519050611f7481600001518260200151836060015184608001518560a001518660c001518760e00151612a7f565b5050600101611f23565b611f866121a8565b6001600160a01b0316611f97611327565b6001600160a01b031614611fbd5760405162461bcd60e51b81526004016109cf90614eb2565b610a1f6001600160a01b0384168383612ee4565b7f0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb681565b611ffd6121a8565b6001600160a01b031661200e611327565b6001600160a01b0316146120345760405162461bcd60e51b81526004016109cf90614eb2565b6001600160a01b03811661205a5760405162461bcd60e51b81526004016109cf90614bac565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b606060006120c161105a565b9050806001600160401b03811180156120d957600080fd5b50604051908082528060200260200182016040528015612103578160200160208202803683370190505b50915060005b818110156121485761211c600582612ed8565b83828151811061212857fe5b6001600160a01b0390921660209283029190910190910152600101612109565b505090565b60008061215a8484612af0565b90508281101561216a5780830391505b5092915050565b60008082600181111561218057fe5b1415612197576121906000612fde565b90506121a3565b610fa260026003612ff6565b919050565b3390565b6001600160a01b038316158015906121cc57506001600160a01b03811615155b6121e85760405162461bcd60e51b81526004016109cf90614b75565b60405180604001604052808360018111156121ff57fe5b81526001600160a01b0380841660209283015285166000908152600191829052604090208251815491929091839160ff1990911690838181111561223f57fe5b02179055506020919091015181546001600160a01b0390911661010002610100600160a81b0319909116179055505050565b600060038351600381111561228257fe5b141561228f575082610f15565b82602001516001600160a01b03166382b86600836122b15784606001516122b7565b84604001515b6040518263ffffffff1660e01b81526004016122d391906151ac565b60206040518083038186803b1580156122eb57600080fd5b505afa1580156122ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc29190614220565b8034146123425760405162461bcd60e51b81526004016109cf90614cfc565b816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561237d57600080fd5b505af1158015612391573d6000803e3d6000fd5b50505050505050565b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156123c457612497565b6001600160a01b0381163014156123da57612497565b604051636eb1769f60e11b81526000906001600160a01b0384169063dd62ed3e9061240b903090869060040161468d565b60206040518083038186803b15801561242357600080fd5b505afa158015612437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245b9190614474565b90506000198114610a1f578015612481576124816001600160a01b038416836000612ee4565b610a1f6001600160a01b03841683600019612ee4565b5050565b6000816001600160a01b0316856001600160a01b03166382b8660086606001516040518263ffffffff1660e01b81526004016124d791906151ac565b60206040518083038186803b1580156124ef57600080fd5b505afa158015612503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125279190614220565b6001600160a01b03161461254d5760405162461bcd60e51b81526004016109cf906150df565b846001600160a01b03166391695586856040015186606001518660006000196040518663ffffffff1660e01b815260040161258c9594939291906151ba565b602060405180830381600087803b1580156125a657600080fd5b505af1158015611212573d6000803e3d6000fd5b600754604051639a7b5f1160e01b8152600091829182916001600160a01b031690639a7b5f11906125ef908a90600401614679565b604080518083038186803b15801561260657600080fd5b505afa15801561261a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263e919061448c565b91509150806001600160a01b0316846001600160a01b0316146126735760405162461bcd60e51b81526004016109cf906150df565b6060826001600160401b038111801561268b57600080fd5b506040519080825280602002602001820160405280156126b5578160200160208202803683370190505b5090508581886040015160ff16815181106126cc57fe5b6020908102919091010152604051634d49e87d60e01b81526001600160a01b03891690634d49e87d9061270a90849060009060001990600401614aca565b602060405180830381600087803b15801561272457600080fd5b505af1158015612738573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff89190614474565b6000816001600160a01b0316856001600160a01b03166382b8660086606001516040518263ffffffff1660e01b815260040161279891906151ac565b60206040518083038186803b1580156127b057600080fd5b505afa1580156127c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127e89190614220565b6001600160a01b03161461280e5760405162461bcd60e51b81526004016109cf906150df565b60608401516040516301f1d0ab60e51b81526001600160a01b03871691633e3a15609161258c9187916000906000199060040161515d565b604051632e1a7d4d60e01b81526001600160a01b03831690632e1a7d4d9061287290849060040161513d565b600060405180830381600087803b15801561288c57600080fd5b505af11580156128a0573d6000803e3d6000fd5b505050505050565b6001600160a01b0382163014156128be57610a1f565b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415612965576000826001600160a01b0316826040516128fc90614676565b60006040518083038185875af1925050503d8060008114612939576040519150601f19603f3d011682016040523d82523d6000602084013e61293e565b606091505b505090508061295f5760405162461bcd60e51b81526004016109cf90614f5c565b50610a1f565b610a1f6001600160a01b0384168383613012565b6402540be400831061299d5760405162461bcd60e51b81526004016109cf90614d46565b808211156129bd5760405162461bcd60e51b81526004016109cf90614fc0565b6040805160608101825264ffffffffff94851681526001600160681b0393841660208083019182526001600160701b039485168385019081526001600160a01b0390981660009081526002909152929092209051815492519651909316600160901b0271ffffffffffffffffffffffffffffffffffff96909416650100000000000271ffffffffffffffffffffffffff0000000000199390951664ffffffffff1990921691909117919091169290921792909216919091179055565b60001990565b6000612a9088888888888888613031565b90508015612ae557846001600160a01b0316876001600160a01b03161415612ae557612ae56001600160a01b0388167f0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb661239a565b979650505050505050565b6001600160a01b03828116600090815260016020526040812054909161010090910416612b2f5760405162461bcd60e51b81526004016109cf90614ee7565b612b376135fe565b506001600160a01b0383166000908152600260209081526040918290208251606081018452905464ffffffffff81168083526501000000000082046001600160681b031693830193909352600160901b90046001600160701b031692810192909252612bb5906402540be40090612baf908690613067565b906130a1565b915080602001516001600160681b0316821015612be15780602001516001600160681b0316915061216a565b80604001516001600160701b031682111561216a57604001516001600160701b03169392505050565b6000612c176005836130d3565b905080156121a3576001600160a01b03821660009081526003602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015612cbe5780601f10612c9357610100808354040283529160200191612cbe565b820191906000526020600020905b815481529060010190602001808311612ca157829003601f168201915b505050506001600160a01b0385166000908152600360205260408120929350612ce892915061361e565b600481604051612cf8919061465a565b9081526040805191829003602090810190922080546001600160a01b03191690556001600160a01b03851660009081526001835281812080546001600160a81b0319169055600290925281205550919050565b6000610fa2826130e8565b516001600160a01b0316151590565b6000808260600151421115612d8c5760405162461bcd60e51b81526004016109cf90614f14565b8251612d99908686612e5e565b8260200151915082600001516001600160a01b03166324a98f11348888888789608001516040518763ffffffff1660e01b8152600401612ddd9594939291906146cb565b6020604051808303818588803b158015612df657600080fd5b505af1158015612e0a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e2f9190614474565b90508260400151811015612e555760405162461bcd60e51b81526004016109cf90614d71565b94509492505050565b34612e7d57612e786001600160a01b0383163385846130ec565b610a1f565b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14612eb95760405162461bcd60e51b81526004016109cf90614f3e565b803414610a1f5760405162461bcd60e51b81526004016109cf90614cfc565b6000610f9f838361310d565b801580612f6c5750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90612f1a903090869060040161468d565b60206040518083038186803b158015612f3257600080fd5b505afa158015612f46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6a9190614474565b155b612f885760405162461bcd60e51b81526004016109cf90615089565b610a1f8363095ea7b360e01b8484604051602401612fa792919061472a565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613152565b6000816003811115612fec57fe5b6001901b92915050565b600061300182612fde565b61300a84612fde565b179392505050565b610a1f8363a9059cbb60e01b8484604051602401612fa792919061472a565b600061303e6005886131e1565b90508015612ae55761305088886131f6565b61305b8787876121ac565b612ae587858585612979565b60008261307657506000610fa2565b8282028284828161308357fe5b0414610f9f5760405162461bcd60e51b81526004016109cf90614e71565b60008082116130c25760405162461bcd60e51b81526004016109cf90614cc5565b8183816130cb57fe5b049392505050565b6000610f9f836001600160a01b0384166132bf565b5490565b610cb7846323b872dd60e01b858585604051602401612fa7939291906146a7565b815460009082106131305760405162461bcd60e51b81526004016109cf90614b33565b82600001828154811061313f57fe5b9060005260206000200154905092915050565b60606131a7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166133859092919063ffffffff16565b805190915015610a1f57808060200190518101906131c59190614200565b610a1f5760405162461bcd60e51b81526004016109cf90615020565b6000610f9f836001600160a01b038416613394565b81516132145760405162461bcd60e51b81526004016109cf90614da6565b60006001600160a01b031660048360405161322f919061465a565b908152604051908190036020019020546001600160a01b0316146132655760405162461bcd60e51b81526004016109cf90614bf2565b80600483604051613276919061465a565b908152604080516020928190038301902080546001600160a01b0319166001600160a01b03948516179055918316600090815260038252919091208351610a1f92850190613665565b6000818152600183016020526040812054801561337b57835460001980830191908101906000908790839081106132f257fe5b906000526020600020015490508087600001848154811061330f57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061333f57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610fa2565b6000915050610fa2565b6060611bc284846000856133de565b60006133a08383613494565b6133d657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610fa2565b506000610fa2565b6060824710156134005760405162461bcd60e51b81526004016109cf90614c7f565b613409856134ac565b6134255760405162461bcd60e51b81526004016109cf90614f89565b60006060866001600160a01b03168587604051613442919061465a565b60006040518083038185875af1925050503d806000811461347f576040519150601f19603f3d011682016040523d82523d6000602084013e613484565b606091505b5091509150612ae58282866134b2565b60009081526001919091016020526040902054151590565b3b151590565b606083156134c1575081610f15565b8251156134d15782518084602001fd5b8160405162461bcd60e51b81526004016109cf9190614b20565b6040518060a0016040528060006001600160a01b0316815260200160006001600160a01b031681526020016000815260200160008152602001606081525090565b604080518082019091526000808252602082015290565b604080516080810190915280600081526000602082018190526040820181905260609091015290565b60408051808201909152600081526060602082015290565b60408051808201909152606081526000602082015290565b6040518061010001604052806060815260200160006001600160a01b0316815260200160008152602001600060018111156135d357fe5b815260200160006001600160a01b031681526020016000815260200160008152602001600081525090565b604080516060810182526000808252602082018190529181019190915290565b50805460018160011615610100020316600290046000825580601f106136445750613662565b601f01602090049060005260206000209081019061366291906136e3565b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106136a657805160ff19168380011785556136d3565b828001600101855582156136d3579182015b828111156136d35782518255916020019190600101906136b8565b506136df9291506136e3565b5090565b5b808211156136df57600081556001016136e4565b8035610fa281615279565b8051610fa281615279565b600082601f83011261371e578081fd5b815161373161372c8261520b565b6151e5565b818152915060208083019084810160408085028701830188101561375457600080fd5b6000805b868110156137a55782848b03121561376e578182fd5b613777836151e5565b6137818b866137b2565b815261378f8b878701613703565b8187015286529484019492820192600101613758565b5050505050505092915050565b80518015158114610fa257600080fd5b600082601f8301126137d2578081fd5b81356137e061372c8261522a565b91508082528360208285010111156137f757600080fd5b8060208401602084013760009082016020015292915050565b600082601f830112613820578081fd5b815161382e61372c8261522a565b915080825283602082850101111561384557600080fd5b61216a81602084016020860161524d565b803560028110610fa257600080fd5b600060a08284031215613876578081fd5b61388060a06151e5565b9050813561388d81615279565b8152602082013561389d81615279565b80602083015250604082013560408201526060820135606082015260808201356001600160401b038111156138d157600080fd5b6138dd848285016137c2565b60808301525092915050565b6000602082840312156138fa578081fd5b8135610f9f81615279565b600080600060608486031215613919578182fd5b833561392481615279565b9250602084013561393481615279565b929592945050506040919091013590565b60008060008060008060a0878903121561395d578384fd5b863561396881615279565b9550602087013561397881615279565b945060408701359350606087013561398f81615279565b925060808701356001600160401b03808211156139aa578384fd5b818901915089601f8301126139bd578384fd5b8135818111156139cb578485fd5b8a60208285010111156139dc578485fd5b6020830194508093505050509295509295509295565b60008060008060808587031215613a07578182fd5b8435613a1281615279565b93506020850135613a2281615279565b92506040850135915060608501356001600160401b03811115613a43578182fd5b613a4f87828801613865565b91505092959194509250565b600080600060608486031215613a6f578081fd5b8335613a7a81615279565b92506020848101356001600160401b03811115613a95578283fd5b8501601f81018713613aa5578283fd5b8035613ab361372c8261520b565b81815283810190838501865b84811015613ae857613ad68c8884358901016137c2565b84529286019290860190600101613abf565b50508096505050505050604084013590509250925092565b60008060408385031215613b12578182fd5b8235613b1d81615279565b91506020838101356001600160401b03811115613b38578283fd5b8401601f81018613613b48578283fd5b8035613b5661372c8261520b565b81815283810190838501858402850186018a1015613b72578687fd5b8694505b83851015613b94578035835260019490940193918501918501613b76565b5080955050505050509250929050565b600080600060608486031215613bb8578081fd5b8335613bc381615279565b9250613bd28560208601613856565b91506040840135613be281615279565b809150509250925092565b60008060408385031215613bff578182fd5b8235613c0a81615279565b946020939093013593505050565b60008060008060008060c08789031215613c30578384fd5b8635613c3b81615279565b9550602087013594506040870135613c5281615279565b93506060870135925060808701356001600160401b0380821115613c74578384fd5b613c808a838b01613865565b935060a0890135915080821115613c95578283fd5b50613ca289828a01613865565b9150509295509295509295565b60008060008060808587031215613cc4578182fd5b8435613ccf81615279565b966020860135965060408601359560600135945092505050565b600080600060608486031215613cfd578081fd5b8335613d0881615279565b9250602084013591506040840135613be28161529b565b60008060008060808587031215613d34578182fd5b8435613d3f81615279565b93506020850135613d4f8161529b565b92506040850135613d5f8161529b565b9396929550929360600135925050565b60008060208385031215613d81578182fd5b82356001600160401b0380821115613d97578384fd5b818501915085601f830112613daa578384fd5b813581811115613db8578485fd5b8660208083028501011115613dcb578485fd5b60209290920196919550909350505050565b60006020808385031215613def578182fd5b82356001600160401b03811115613e04578283fd5b8301601f81018513613e14578283fd5b8035613e2261372c8261520b565b81815283810190838501865b84811015613e5757613e458a8884358901016137c2565b84529286019290860190600101613e2e565b509098975050505050505050565b60006020808385031215613e77578182fd5b82356001600160401b0380821115613e8d578384fd5b818501915085601f830112613ea0578384fd5b8135613eae61372c8261520b565b81815284810190848601875b84811015613f7a578135870161010080601f19838f03011215613edb578a8bfd5b613ee4816151e5565b8a83013589811115613ef4578c8dfd5b613f028f8d838701016137c2565b825250613f128e604085016136f8565b8b8201526060808401356040830152613f2e8f60808601613856565b9082015260a0613f408f8583016136f8565b608083015260c0848101359183019190915260e0808501359183019190915291909201359082015284529287019290870190600101613eba565b50909998505050505050505050565b60008060408385031215613f9b578182fd5b82356001600160401b0380821115613fb1578384fd5b818501915085601f830112613fc4578384fd5b8135613fd261372c8261520b565b81815260208082019190858101885b8581101561404857813588016040818e03601f19011215614000578a8bfd5b61400a60406151e5565b848201358981111561401a578c8dfd5b6140288f87838601016137c2565b825250604091909101358482015285529382019390820190600101613fe1565b50508197506140598a828b016136f8565b96505050505050509250929050565b600060208284031215614079578081fd5b81516001600160401b0381111561408e578182fd5b611bc28482850161370e565b600060208083850312156140ac578182fd5b82516001600160401b03808211156140c2578384fd5b818501915085601f8301126140d5578384fd5b81516140e361372c8261520b565b81815284810190848601875b84811015613f7a5781518701606080601f19838f0301121561410f578a8bfd5b614118816151e5565b8a83015161412581615279565b815260408381015161413681615279565b828d015291830151918983111561414b578c8dfd5b6141598f8d8587010161370e565b908201528652505092870192908701906001016140ef565b60006020808385031215614183578182fd5b82516001600160401b03811115614198578283fd5b8301601f810185136141a8578283fd5b80516141b661372c8261520b565b81815283810190838501858402850186018910156141d2578687fd5b8694505b838510156141f45780518352600194909401939185019185016141d6565b50979650505050505050565b600060208284031215614211578081fd5b81518015158114610f9f578182fd5b600060208284031215614231578081fd5b8151610f9f81615279565b600080600060608486031215613919578081fd5b600060208284031215614261578081fd5b81356001600160401b03811115614276578182fd5b611bc2848285016137c2565b600080600080600080600060e0888a03121561429c578485fd5b87356001600160401b038111156142b1578586fd5b6142bd8a828b016137c2565b97505060208801356142ce81615279565b95506142dd8960408a01613856565b945060608801356142ed81615279565b9699959850939660808101359560a0820135955060c0909101359350915050565b60006020828403121561431f578081fd5b81516001600160401b0380821115614335578283fd5b9083019060a08286031215614348578283fd5b61435260a06151e5565b61435c8684613703565b815261436b8660208501613703565b60208201526040830151604082015260608301516060820152608083015182811115614395578485fd5b6143a187828601613810565b60808301525095945050505050565b6000608082840312156143c1578081fd5b6143cb60806151e5565b82356143d68161528e565b815260208301356143e681615279565b602082015260408301356143f98161529b565b6040820152606083013561440c8161529b565b60608201529392505050565b600060808284031215614429578081fd5b61443360806151e5565b825161443e8161528e565b8152602083015161444e81615279565b602082015260408301516144618161529b565b6040820152606083015161440c8161529b565b600060208284031215614485578081fd5b5051919050565b6000806040838503121561449e578182fd5b8251915060208301516144b081615279565b809150509250929050565b600080604083850312156144cd578182fd5b825191506020808401516001600160401b038111156144ea578283fd5b8401601f810186136144fa578283fd5b805161450861372c8261520b565b81815283810190838501858402850186018a1015614524578687fd5b8694505b83851015613b945761453a8a826137b2565b835260019490940193918501918501614528565b6000815180845260208085019450808401835b838110156145935781518051151588528301516001600160a01b03168388015260409096019590820190600101614561565b509495945050505050565b6000815180845260208085019450808401835b83811015614593578151875295820195908201906001016145b1565b600081518084526145e581602086016020860161524d565b601f01601f19169290920160200192915050565b805182526020908101516001600160a01b0316910152565b600060018060a01b03808351168452806020840151166020850152506040820151604084015260608201516060840152608082015160a06080850152611bc260a08501826145cd565b6000825161466c81846020870161524d565b9190910192915050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0386811682528581166020830152604082018590528316606082015260a060808201819052600090612ae5908301846145cd565b6001600160a01b0383168152604060208201819052600090611bc29083018461459e565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6001600160a01b0397881681526020810196909652939095166040850152606084019190915260ff16608083015260a082019290925260c081019190915260e00190565b6001600160a01b0398891681526020810197909752949096166040860152606085019290925260ff90811660808501521660a083015260c082019290925260e08101919091526101000190565b6001600160a01b03939093168352602083019190915260ff16604082015260600190565b6001600160a01b0394909416845260ff928316602085015291166040830152606082015260800190565b6020808252825182820181905260009190848201906040850190845b8181101561488d5783516001600160a01b031683529284019291840191600101614868565b50909695505050505050565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015613e5757888303603f19018552815180518785526148e1888601826145cd565b918901516001600160a01b031694890194909452948701949250908601906001016148bd565b60408082528351828201819052600091906020906060850190828801855b82811015614948576149388483516145f9565b9285019290840190600101614925565b5050506001600160a01b0395909516930192909252509092915050565b600060208252610f9f602083018461454e565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015613e5757888303603f19018552815180516001600160a01b03908116855288820151168885015286015160608785018190526149de8186018361454e565b96890196945050509086019060010161499c565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015613e5757888303603f190185528151805115158452870151878401879052614a44878501826145cd565b9588019593505090860190600101614a16565b6000602080830181845280855180835260408601915060408482028701019250838701855b82811015614aaa57603f19888603018452614a98858351614611565b94509285019290850190600101614a7c565b5092979650505050505050565b600060208252610f9f602083018461459e565b600060608252614add606083018661459e565b60208301949094525060400152919050565b901515815260200190565b6040810160028410614b0857fe5b9281526001600160a01b039190911660209091015290565b600060208252610f9f60208301846145cd565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601b908201527f546f6b656e2063616e2774206265207a65726f20616464726573730000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526015908201527453796d626f6c20616c726561647920696e2075736560581b604082015260600190565b60208082526017908201527f556e737570706f72746564206465737420616374696f6e000000000000000000604082015260600190565b6020808252600d908201526c2ab735b737bbb7103a37b5b2b760991b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252600a9082015269216d73672e76616c756560b01b604082015260600190565b6020808252600c908201526b10b9bbb0b820b230b83a32b960a11b604082015260600190565b602080825260119082015270627269646765466565203e3d203130302560781b604082015260600190565b6020808252818101527f53776170206469646e277420726573756c7420696e206d696e20746f6b656e73604082015260600190565b6020808252600c908201526b115b5c1d1e481cde5b589bdb60a21b604082015260600190565b60208082526018908201527f21726563697069656e743a207a65726f20616464726573730000000000000000604082015260600190565b60208082526019908201527f5377617020746f6b656e732073686f756c642064696666657200000000000000604082015260600190565b6020808252601e908201527f496e636f727265637420746f6b656e496e20666f722045544820737761700000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260139082015272151bdad95b881b9bdd081cdd5c1c1bdc9d1959606a1b604082015260600190565b60208082526010908201526f111958591b1a5b99481b9bdd081b595d60821b604082015260600190565b602080825260049082015263042cae8d60e31b604082015260600190565b602080825260139082015272115512081d1c985b9cd9995c8819985a5b1959606a1b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252600f908201526e6d696e466565203e206d617846656560881b604082015260600190565b6020808252601a908201527f21726563697069656e743a20726f757465722061646472657373000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b602080825260059082015264085c1bdbdb60da1b604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b602080825260099082015268085d1bdad95b93dd5d60ba1b604082015260600190565b6080810161511082866145f9565b6001600160a01b0393909316604082015260600152919050565b600060208252610f9f6020830184614611565b90815260200190565b9182526001600160a01b0316602082015260400190565b93845260ff9290921660208401526040830152606082015260800190565b64ffffffffff9390931683526001600160681b039190911660208301526001600160701b0316604082015260600190565b60ff91909116815260200190565b60ff958616815293909416602084015260408301919091526060820152608081019190915260a00190565b6040518181016001600160401b038111828210171561520357600080fd5b604052919050565b60006001600160401b03821115615220578081fd5b5060209081020190565b60006001600160401b0382111561523f578081fd5b50601f01601f191660200190565b60005b83811015615268578181015183820152602001615250565b83811115610cb75750506000910152565b6001600160a01b038116811461366257600080fd5b6004811061366257600080fd5b60ff8116811461366257600080fdfea26469706673582212202c66d45ebaed00279db776ac2ebe4bafbd1e2d3af18ef691a7bfedc4e0885dd164736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb6000000000000000000000000b73acb429ba868984c0236bdf940d4fe1e643f27
-----Decoded View---------------
Arg [0] : _synapseBridge (address): 0x2796317b0fF8538F253012862c06787Adfb8cEb6
Arg [1] : owner_ (address): 0xb73AcB429Ba868984c0236bdf940D4FE1E643F27
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002796317b0ff8538f253012862c06787adfb8ceb6
Arg [1] : 000000000000000000000000b73acb429ba868984c0236bdf940d4fe1e643f27
Deployed Bytecode Sourcemap
3945:22499:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17782:1066;;;;;;;;;;-1:-1:-1;17782:1066:9;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4793:47:7;;;;;;;;;;-1:-1:-1;4793:47:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4479:45::-;;;;;;;;;;-1:-1:-1;4479:45:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;8064:268::-;;;;;;;;;;-1:-1:-1;8064:268:7;;;;;:::i;:::-;;:::i;:::-;;4298:4095:8;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;8889:282:7:-;;;;;;;;;;-1:-1:-1;8889:282:7;;;;;:::i;:::-;;:::i;1191:29:8:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;15832:819:9:-;;;;;;;;;;-1:-1:-1;15832:819:9;;;;;:::i;:::-;;:::i;9220:355:8:-;;;;;;;;;;-1:-1:-1;9220:355:8;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;10075:174::-;;;;;;;;;;-1:-1:-1;10075:174:8;;;;;:::i;:::-;;:::i;6517:356:7:-;;;;;;;;;;-1:-1:-1;6517:356:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11728:164::-;;;;;;;;;;-1:-1:-1;11728:164:7;;;;;:::i;:::-;;:::i;9583:130::-;;;;;;;;;;-1:-1:-1;9583:130:7;;;;;:::i;:::-;;:::i;11233:115::-;;;;;;;;;;;;;:::i;10074:209::-;;;;;;;;;;-1:-1:-1;10074:209:7;;;;;:::i;:::-;;:::i;4677:43::-;;;;;;;;;;-1:-1:-1;4677:43:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;1717:145:11:-;;;;;;;;;;;;;:::i;10812:264:8:-;;;;;;;;;;-1:-1:-1;10812:264:8;;;;;:::i;:::-;;:::i;11412:223::-;;;;;;;;;;-1:-1:-1;11412:223:8;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1993:108::-;;;;;;;;;;-1:-1:-1;1993:108:8;;;;;:::i;:::-;;:::i;1085:85:11:-;;;;;;;;;;;;;:::i;13104:120:8:-;;;;;;;;;;-1:-1:-1;13104:120:8;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;4913:47:7:-;;;;;;;;;;-1:-1:-1;4913:47:7;;;;;:::i;:::-;;:::i;652:711:10:-;;;;;;;;;;-1:-1:-1;652:711:10;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;13311:135:8:-;;;;;;;;;;-1:-1:-1;13311:135:8;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;13673:522:9:-;;;;;;:::i;:::-;;:::i;13522:110:8:-;;;;;;;;;;;;;:::i;9001:3775:9:-;;;;;;:::i;:::-;;:::i;12881:108:8:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;12009:256::-;;;;;;;;;;-1:-1:-1;12009:256:8;;;;;:::i;:::-;;:::i;19292:1283:9:-;;;;;;;;;;-1:-1:-1;19292:1283:9;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;6998:486:7:-;;;;;;;;;;-1:-1:-1;6998:486:7;;;;;:::i;:::-;;:::i;6408:169:9:-;;;;;;;;;;-1:-1:-1;6408:169:9;;;;;:::i;:::-;;:::i;4852:45::-;;;;;;;;;;;;;:::i;2011:240:11:-;;;;;;;;;;-1:-1:-1;2011:240:11;;;;;:::i;:::-;;:::i;10892:268:7:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;17782:1066:9:-;17974:15;;17911:30;;17974:15;-1:-1:-1;;;;;18013:23:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;17999:37;;18051:9;18046:796;18070:6;18066:1;:10;18046:796;;;18097:13;18113;18127:8;18136:1;18127:11;;;;;;;;;;;;;;:18;;;18113:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;18113:33:9;;-1:-1:-1;18210:19:9;18206:33;;18231:8;;;18206:33;18332:16;18351:54;18377:5;18384:8;18393:1;18384:11;;;;;;;;;;;;;;:20;;;18351:25;:54::i;:::-;18332:73;-1:-1:-1;18475:13:9;18471:27;;18490:8;;;;18471:27;-1:-1:-1;;;;;18540:13:9;;18512:25;18540:13;;;:6;:13;;;;;:23;;;18661:27;;:::i;:::-;18691:57;;;;;;;;18704:36;18724:15;18704:19;:36::i;:::-;18691:57;;-1:-1:-1;;;;;18691:57:9;;;;;;;;;;;18779:10;;:52;;-1:-1:-1;;;18779:52:9;;18661:87;;-1:-1:-1;18779:10:9;;:23;;:52;;18661:87;;18812:8;;18822;;18779:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18779:52:9;;;;;;;;;;;;:::i;:::-;18762:11;18774:1;18762:14;;;;;;;;;;;;;:69;;;;18046:796;;;;;18078:3;;18046:796;;;;17782:1066;;;;;:::o;4793:47:7:-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4793:47:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4479:45::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4479:45:7;;:::o;8064:268::-;1308:12:11;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;8212:13:7;;::::1;8249:1;8212:13:::0;;;:6:::1;:13;::::0;;;;:25;::::1;::::0;::::1;;8204:65;;;;-1:-1:-1::0;;;8204:65:7::1;;;;;;;:::i;:::-;8279:46;8295:5;8302:9;8313:11;8279:15;:46::i;:::-;8064:268:::0;;;:::o;4298:4095:8:-;4491:17;4792:8;-1:-1:-1;;;;;4781:19:8;:7;-1:-1:-1;;;;;4781:19:8;;;4773:57;;;;-1:-1:-1;;;4773:57:8;;;;;;;:::i;:::-;4897:27;;:::i;:::-;4927:38;;;;4938:9;4927:38;:::i;:::-;5063:11;;;;4897:68;;-1:-1:-1;;;;;;5063:25:8;;;;:62;;-1:-1:-1;5109:16:8;5092:13;;:33;;;;;;;;;5063:62;5055:80;;;;-1:-1:-1;;;5055:80:8;;;;;;;:::i;:::-;-1:-1:-1;;;;;5346:37:8;;317:42:6;5346:37:8;5342:564;;;5576:69;5603:8;5621:6;5639:4;5576:18;:69::i;:::-;5566:79;;5723:27;5732:7;5741:8;5723;:27::i;:::-;5342:564;;;5846:9;:14;5838:57;;;;-1:-1:-1;;;5838:57:8;;;;;;;:::i;:::-;6134:8;-1:-1:-1;;;;;6209:38:8;;317:42:6;6209:38:8;6205:316;;;6441:69;6468:7;6485:6;6503:5;6441:18;:69::i;:::-;6427:83;;6205:316;6911:16;6894:13;;:33;;;;;;;;;6890:843;;;7019:8;7007:20;;6890:843;;;7143:11;;;;7110:45;;-1:-1:-1;;;;;7110:32:8;;;;:45::i;:::-;7190:11;7173:13;;:28;;;;;;;;;7169:554;;;7284:56;7296:6;:11;;;7310:6;7318:8;7328:11;7284:5;:56::i;:::-;7272:68;;7169:554;;;7382:19;7365:13;;:36;;;;;;;;;7361:362;;;7478:64;7498:6;:11;;;7512:6;7520:8;7530:11;7478:13;:64::i;7361:362::-;7641:67;7664:6;:11;;;7678:6;7686:8;7696:11;7641:16;:67::i;:::-;7629:79;;7361:362;-1:-1:-1;;;;;7977:38:8;;317:42:6;7977:38:8;7973:186;;;8114:34;8125:11;8138:9;8114:10;:34::i;:::-;8345:41;-1:-1:-1;;;;;8345:26:8;;8372:2;8376:9;8345:26;:41::i;:::-;4298:4095;;;;;;;;;;:::o;8889:282:7:-;1308:12:11;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;9051:13:7;;::::1;9088:1;9051:13:::0;;;:6:::1;:13;::::0;;;;:25;::::1;::::0;::::1;;9043:65;;;;-1:-1:-1::0;;;9043:65:7::1;;;;;;;:::i;:::-;9118:46;9131:5;9138:9;9149:6;9157;9118:12;:46::i;:::-;8889:282:::0;;;;:::o;1191:29:8:-;;;-1:-1:-1;;;;;1191:29:8;;:::o;15832:819:9:-;16039:19;;15978:32;;16039:19;-1:-1:-1;;;;;16084:23:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;16068:39;;16122:9;16117:528;16141:6;16137:1;:10;16117:528;;;16243:19;16265:13;16279:12;16292:1;16279:15;;;;;;;;;;;;;;16265:30;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;16265:30:9;;-1:-1:-1;16354:25:9;16350:39;;16381:8;;;16350:39;16469:28;;:::i;:::-;16500:45;;;;;;;;16513:22;:20;:22::i;:::-;16500:45;;-1:-1:-1;;;;;16500:45:9;;;;;;;;;;;16578:10;;:56;;-1:-1:-1;;;16578:56:9;;16469:76;;-1:-1:-1;16578:10:9;;:23;;:56;;16469:76;;16612:11;;16625:8;;16578:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16578:56:9;;;;;;;;;;;;:::i;:::-;16559:13;16573:1;16559:16;;;;;;;;;;;;;:75;;;;16117:528;;;16149:3;;16117:528;;;;15832:819;;;;;;:::o;9220:355:8:-;9348:16;;:::i;:::-;9422:28;;:::i;:::-;9453:45;;;;;;;;9466:22;:20;:22::i;:::-;9453:45;;-1:-1:-1;;;;;9453:45:8;;;;;;;;;;;9515:10;;:53;;-1:-1:-1;;;9515:53:8;;9422:76;;-1:-1:-1;9515:10:8;;:23;;:53;;9422:76;;9549:8;;9559;;9515:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9515:53:8;;;;;;;;;;;;:::i;:::-;9508:60;;;9220:355;;;;;;:::o;10075:174::-;10195:10;;:47;;-1:-1:-1;;;10195:47:8;;10169:7;;-1:-1:-1;;;;;10195:10:8;;:32;;:47;;10228:4;;10234:7;;10195:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10188:54;;10075:174;;;;;:::o;6517:356:7:-;6755:13;1308:12:11;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;6791:75:7::1;6801:6;6809:5;6816:9;6827:11;6840:9;6851:6;6859;6791:9;:75::i;:::-;6780:86:::0;6517:356;-1:-1:-1;;;;;;;;6517:356:7:o;11728:164::-;11810:17;11851:34;11871:5;11878:6;11851:19;:34::i;9583:130::-;9647:15;1308:12:11;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;9687:19:7::1;9700:5;9687:12;:19::i;11233:115::-:0;11284:14;11319:22;:13;:20;:22::i;:::-;11310:31;;11233:115;:::o;10074:209::-;1308:12:11;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;10169:6:7;10152:14:::1;10192:85;10216:6;10212:1;:10;10192:85;;;10243:23;10256:6;;10263:1;10256:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;10243:12;:23::i;:::-;-1:-1:-1::0;10224:3:7::1;;10192:85;;4677:43:::0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4677:43:7;;-1:-1:-1;;;4677:43:7;;-1:-1:-1;;;;;4677:43:7;;:::o;1717:145:11:-;1308:12;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;1823:1:::1;1807:6:::0;;1786:40:::1;::::0;-1:-1:-1;;;;;1807:6:11;;::::1;::::0;1786:40:::1;::::0;1823:1;;1786:40:::1;1853:1;1836:19:::0;;-1:-1:-1;;;;;;1836:19:11::1;::::0;;1717:145::o;10812:264:8:-;11005:10;;:64;;-1:-1:-1;;;11005:64:8;;10964:17;;-1:-1:-1;;;;;11005:10:8;;:24;;:64;;11030:4;;11036:14;;11052:12;;11066:2;;11005:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10993:76;10812:264;-1:-1:-1;;;;;10812:264:8:o;11412:223::-;11579:10;;:49;;-1:-1:-1;;;11579:49:8;;11523:27;;-1:-1:-1;;;;;11579:10:8;;:35;;:49;;11615:4;;11621:6;;11579:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11579:49:8;;;;;;;;;;;;:::i;1993:108::-;1308:12:11;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;2070:10:8::1;:24:::0;;-1:-1:-1;;;;;;2070:24:8::1;-1:-1:-1::0;;;;;2070:24:8;;;::::1;::::0;;;::::1;::::0;;1993:108::o;1085:85:11:-;1131:7;1157:6;-1:-1:-1;;;;;1157:6:11;1085:85;:::o;13104:120:8:-;13192:10;;:25;;-1:-1:-1;;;13192:25:8;;13157:7;;;;-1:-1:-1;;;;;13192:10:8;;;;:19;;:25;;13212:4;;13192:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13185:32;;;;13104:120;;;:::o;4913:47:7:-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4913:47:7;;:::o;652:711:10:-;775:11;;719:27;;775:11;-1:-1:-1;;;;;810:20:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;796:34;;845:9;840:517;864:6;860:1;:10;840:517;;;1321:4;-1:-1:-1;;;;;1313:24:10;1338:4;1343:1;1338:7;;;;;;;;;;;;;;1313:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1260:11;1272:1;1260:14;;;;;;;;;;;;;;:22;;1284:11;1296:1;1284:14;;;;;;;;;;;;;;;;;;;:25;1259:87;;;;;;;;;872:3;;840:517;;;;652:711;;;;:::o;13311:135:8:-;13412:10;;:27;;-1:-1:-1;;;13412:27:8;;13366:25;;-1:-1:-1;;;;;13412:10:8;;:21;;:27;;13434:4;;13412:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13412:27:8;;;;;;;;;;;;:::i;13673:522:9:-;13818:17;-1:-1:-1;;;;;13855:16:9;;13847:53;;;;-1:-1:-1;;;13847:53:9;;;;;;;:::i;:::-;-1:-1:-1;;;;;13918:19:9;;13932:4;13918:19;;13910:58;;;;-1:-1:-1;;;13910:58:9;;;;;;;:::i;:::-;13986:18;13998:5;13986:11;:18::i;:::-;13978:43;;;;-1:-1:-1;;;13978:43:9;;;;;;;:::i;:::-;14150:38;14163:2;14167:5;14174:6;14182:5;14150:12;:38::i;:::-;14134:54;13673:522;-1:-1:-1;;;;;;13673:522:9:o;13522:110:8:-;13601:10;;:24;;;-1:-1:-1;;;13601:24:8;;;;13566:14;;-1:-1:-1;;;;;13601:10:8;;:22;;:24;;;;;;;;;;;;;;:10;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;9001:3775:9:-;9220:24;9232:11;9220;:24::i;:::-;9216:363;;;9377:55;9398:4;9405:5;9412:6;9420:11;9377:12;:55::i;:::-;9359:73;;-1:-1:-1;9359:73:9;-1:-1:-1;9216:363:9;;;9528:40;9547:4;9554:5;9561:6;9528:10;:40::i;:::-;9655:26;;:::i;:::-;-1:-1:-1;;;;;9684:13:9;;;;;;:6;:13;;;;;;;;;9655:42;;;;;;;;;;9684:13;;9655:42;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9655:42:9;;;;;;;;;;;9715:19;;;;9655:42;;-1:-1:-1;9715:33:9;9707:65;;;;-1:-1:-1;;;9707:65:9;;;;;;;:::i;:::-;9790:7;:19;;;9782:27;;9926:31;;:::i;:::-;9971:22;9983:9;9971:11;:22::i;:::-;9967:89;;;10019:9;:19;;;10008:48;;;;;;;;;;;;:::i;:::-;9995:61;;9967:89;10267:22;10279:9;10267:11;:22::i;:::-;:63;;;;-1:-1:-1;10314:16:9;10293:17;;:37;;;;;;;;;;10267:63;10263:2507;;;10371:17;10350;;:38;;;;;;;;;10346:1995;;;10437:11;10416:17;;:32;;;;;;;;;10408:68;;;;-1:-1:-1;;;10408:68:9;;;;;;;:::i;:::-;10847:25;;;;;10908:23;;;;;10960:22;;;;11014:18;;;;10636:415;;-1:-1:-1;;;10636:415:9;;-1:-1:-1;;;;;10636:13:9;:28;;;;:415;;10691:2;;10724:7;;10767:5;;10803:6;;10847:25;10960:22;10636:415;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10346:1995;;;11097:11;11076:17;;:32;;;;;;;;;11072:1269;;;11479:25;;;;;11540:23;;;;;11592:22;;;;11646:18;;;;11269:414;;-1:-1:-1;;;11269:414:9;;-1:-1:-1;;;;;11269:13:9;:27;;;;:414;;11323:2;;11356:7;;11399:5;;11435:6;;11479:25;11592:22;11269:414;;;:::i;11072:1269::-;11751:22;11730:17;;:43;;;;;;;;;11722:79;;;;-1:-1:-1;;;11722:79:9;;;;;;;:::i;:::-;12173:23;;;;;12232:22;;;;;12289:18;;;;11962:364;;-1:-1:-1;;;11962:364:9;;-1:-1:-1;;;;;11962:13:9;:29;;;;:364;;12018:2;;12051:7;;12094:5;;12130:6;;12173:23;;11962:364;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11072:1269;10263:2507;;;12396:17;12375;;:38;;;;;;;;;12371:389;;;12514:57;;-1:-1:-1;;;12514:57:9;;-1:-1:-1;;;;;12514:13:9;:21;;;;:57;;12536:2;;12540:7;;12556:5;;12564:6;;12514:57;;;:::i;12371:389::-;12689:56;;-1:-1:-1;;;12689:56:9;;-1:-1:-1;;;;;12689:13:9;:20;;;;:56;;12710:2;;12714:7;;12730:5;;12738:6;;12689:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12371:389;9001:3775;;;;;;;;:::o;12881:108:8:-;12961:10;;:21;;;-1:-1:-1;;;12961:21:8;;;;12922:19;;-1:-1:-1;;;;;12961:10:8;;:19;;:21;;;;;:10;;:21;;;;;;;:10;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12961:21:8;;;;;;;;;;;;:::i;12009:256::-;12191:10;;:67;;-1:-1:-1;;;12191:67:8;;12150:17;;-1:-1:-1;;;;;12191:10:8;;:36;;:67;;12228:4;;12234:11;;12247:10;;12191:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12179:79;12009:256;-1:-1:-1;;;;12009:256:8:o;19292:1283:9:-;19367:27;19406:14;19423:20;:18;:20::i;:::-;19406:37;;19520:31;19573:6;-1:-1:-1;;;;;19554:26:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;19520:60;;19595:9;19590:305;19614:6;19610:1;:10;19590:305;;;19641:13;19657:19;:13;19674:1;19657:16;:19::i;:::-;-1:-1:-1;;;;;19820:13:9;;;;;;:6;:13;;;;;:23;19641:35;;-1:-1:-1;19800:44:9;;19820:23;;19800:19;:44::i;:::-;19774:9;19784:1;19774:12;;;;;;;;;;;;;;:23;;:70;;;;;19879:5;19858:9;19868:1;19858:12;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19858:26:9;;;:18;;:26;-1:-1:-1;19622:3:9;;19590:305;;;-1:-1:-1;19955:10:9;;:51;;-1:-1:-1;;;19955:51:9;;19905:19;;19926:25;;-1:-1:-1;;;;;19955:10:9;;;;:30;;:51;;19986:9;;19997:8;;19955:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19955:51:9;;;;;;;;;;;;:::i;:::-;19904:102;;;;20043:11;-1:-1:-1;;;;;20025:30:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;20016:39;;20175:1;20161:15;;20191:9;20186:383;20210:6;20206:1;:10;20186:383;;;20241:11;20253:1;20241:14;;;;;;;;;;;;;;20237:322;;;20321:13;20337:9;20347:1;20337:12;;;;;;;;;;;;;;;;;;;:18;;;-1:-1:-1;;;;;20402:20:9;;;;;;:13;:20;;;;;;;20373:49;;;;;;;;;;;-1:-1:-1;;20373:49:9;;;;;;;;;;;;;;;;;;;;;;;;;;20337:18;;-1:-1:-1;20373:49:9;;;;20402:20;20373:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:6;20380:11;20373:19;;;;;;;;;;;;;;:26;;:49;;;;20468:5;20440:6;20447:11;20440:19;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20440:33:9;;;:25;;:33;-1:-1:-1;20531:13:9;;;;;20237:322;20218:3;;20186:383;;;;19292:1283;;;;;;;:::o;6998:486:7:-;1308:12:11;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;7098:13:7;;7081:14:::1;7121:357;7145:6;7141:1;:10;7121:357;;;7172:30;;:::i;:::-;7205:6;7212:1;7205:9;;;;;;;;;;;;;;7172:42;;7228:239;7255:5;:8;;;7281:5;:11;;;7310:5;:15;;;7343:5;:17;;;7378:5;:15;;;7411:5;:12;;;7441:5;:12;;;7228:9;:239::i;:::-;-1:-1:-1::0;;7153:3:7::1;;7121:357;;6408:169:9::0;1308:12:11;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;6536:34:9::1;-1:-1:-1::0;;;;;6536:17:9;::::1;6554:7:::0;6563:6;6536:17:::1;:34::i;4852:45::-:0;;;:::o;2011:240:11:-;1308:12;:10;:12::i;:::-;-1:-1:-1;;;;;1297:23:11;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1297:23:11;;1289:68;;;;-1:-1:-1;;;1289:68:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;2099:22:11;::::1;2091:73;;;;-1:-1:-1::0;;;2091:73:11::1;;;;;;;:::i;:::-;2200:6;::::0;;2179:38:::1;::::0;-1:-1:-1;;;;;2179:38:11;;::::1;::::0;2200:6;::::1;::::0;2179:38:::1;::::0;::::1;2227:6;:17:::0;;-1:-1:-1;;;;;;2227:17:11::1;-1:-1:-1::0;;;;;2227:17:11;;;::::1;::::0;;;::::1;::::0;;2011:240::o;10892:268:7:-;10939:23;10974:14;10991:20;:18;:20::i;:::-;10974:37;;11044:6;-1:-1:-1;;;;;11030:21:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11030:21:7;;11021:30;;11066:9;11061:93;11085:6;11081:1;:10;11061:93;;;11124:19;:13;11141:1;11124:16;:19::i;:::-;11112:6;11119:1;11112:9;;;;;;;;-1:-1:-1;;;;;11112:31:7;;;:9;;;;;;;;;;;:31;11093:3;;11061:93;;;;10892:268;;:::o;15789:353::-;15878:17;15907;15927:34;15947:5;15954:6;15927:19;:34::i;:::-;15907:54;;15987:6;15975:9;:18;15971:120;;;16071:9;16062:6;:18;16050:30;;15971:120;15789:353;;;;;:::o;23974:1011:9:-;24047:18;;24081:9;:29;;;;;;;;;24077:902;;;24470:27;24485:11;24470:14;:27::i;:::-;24457:40;;24077:902;;;24912:56;24927:22;24951:16;24912:14;:56::i;24077:902::-;23974:1011;;;:::o;598:104:18:-;685:10;598:104;:::o;13722:342:7:-;-1:-1:-1;;;;;13916:19:7;;;;;;:48;;-1:-1:-1;;;;;;13939:25:7;;;;13916:48;13908:88;;;;-1:-1:-1;;;13908:88:7;;;;;;;:::i;:::-;14022:35;;;;;;;;14034:9;14022:35;;;;;;;;;;-1:-1:-1;;;;;14022:35:7;;;;;;;;14006:13;;-1:-1:-1;14006:13:7;;;:6;:13;;;;;;;:51;;;;:13;;:51;;:13;;-1:-1:-1;;14006:51:7;;;;;;;;;;;;;;;;;-1:-1:-1;14006:51:7;;;;;;;;-1:-1:-1;;;;;14006:51:7;;;;;-1:-1:-1;;;;;;14006:51:7;;;;;;-1:-1:-1;;;13722:342:7:o;17039:557:8:-;17179:12;17224:16;17207:13;;:33;;;;;;;;;17203:387;;;-1:-1:-1;17366:5:8;17203:387;;;17501:6;:11;;;-1:-1:-1;;;;;17495:27:8;;17523:8;:54;;17558:6;:19;;;17523:54;;;17534:6;:21;;;17523:54;17495:83;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;17636:230::-;17724:6;17711:9;:19;17703:42;;;;-1:-1:-1;;;17703:42:8;;;;;;;:::i;:::-;17828:4;-1:-1:-1;;;;;17813:29:8;;17850:6;17813:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17636:230;;:::o;1074:666:6:-;-1:-1:-1;;;;;1213:20:6;;317:42;1213:20;1209:33;;;1235:7;;1209:33;-1:-1:-1;;;;;1296:24:6;;1315:4;1296:24;1292:37;;;1322:7;;1292:37;1358:47;;-1:-1:-1;;;1358:47:6;;1338:17;;-1:-1:-1;;;;;1358:23:6;;;;;:47;;1390:4;;1397:7;;1358:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1338:67;;-1:-1:-1;;1466:9:6;:21;1462:272;;1580:14;;1576:90;;1614:37;-1:-1:-1;;;;;1614:25:6;;1640:7;1649:1;1614:25;:37::i;:::-;1679:44;-1:-1:-1;;;;;1679:25:6;;1705:7;-1:-1:-1;;1679:25:6;:44::i;1074:666::-;;;:::o;14305:599:8:-;14453:17;14588:8;-1:-1:-1;;;;;14543:54:8;:4;-1:-1:-1;;;;;14543:13:8;;14557:6;:19;;;14543:34;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;14543:54:8;;14535:76;;;;-1:-1:-1;;;14535:76:8;;;;;;;:::i;:::-;14698:4;-1:-1:-1;;;;;14698:9:8;;14738:6;:21;;;14787:6;:19;;;14824:8;14853:1;-1:-1:-1;;14698:199:8;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15059:626;15280:10;;:34;;-1:-1:-1;;;15280:34:8;;15215:17;;;;;;-1:-1:-1;;;;;15280:10:8;;:19;;:34;;15308:4;;15280:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15244:70;;;;15390:7;-1:-1:-1;;;;;15378:19:8;:8;-1:-1:-1;;;;;15378:19:8;;15370:41;;;;-1:-1:-1;;;15370:41:8;;;;;;;:::i;:::-;15421:24;15462:6;-1:-1:-1;;;;;15448:21:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15448:21:8;;15421:48;;15512:8;15479:7;15487:6;:21;;;15479:30;;;;;;;;;;;;;;;;;;;:41;15607:71;;-1:-1:-1;;;15607:71:8;;-1:-1:-1;;;;;15607:17:8;;;;;:71;;15635:7;;15655:1;;-1:-1:-1;;570:17:8;15607:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;15848:589::-;16007:17;16142:8;-1:-1:-1;;;;;16097:54:8;:4;-1:-1:-1;;;;;16097:13:8;;16111:6;:19;;;16097:34;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;16097:54:8;;16089:76;;;;-1:-1:-1;;;16089:76:8;;;;;;;:::i;:::-;16342:19;;;;16252:178;;-1:-1:-1;;;16252:178:8;;-1:-1:-1;;;;;16252:28:8;;;;;:178;;16308:8;;16386:1;;-1:-1:-1;;570:17:8;16252:178;;;:::i;17908:155::-;18018:38;;-1:-1:-1;;;18018:38:8;;-1:-1:-1;;;;;18018:30:8;;;;;:38;;18049:6;;18018:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17908:155;;:::o;1980:593:6:-;-1:-1:-1;;;;;2171:19:6;;2185:4;2171:19;2167:32;;;2192:7;;2167:32;-1:-1:-1;;;;;2212:20:6;;317:42;2212:20;2208:359;;;2392:12;2410:2;-1:-1:-1;;;;;2410:7:6;2425:5;2410:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2391:44;;;2457:7;2449:39;;;;-1:-1:-1;;;2449:39:6;;;;;;;:::i;:::-;2208:359;;;;2519:37;-1:-1:-1;;;;;2519:26:6;;2546:2;2550:5;2519:26;:37::i;14144:404:7:-;3722:6;14350:9;:27;14342:57;;;;-1:-1:-1;;;14342:57:7;;;;;;;:::i;:::-;14427:6;14417;:16;;14409:44;;;;-1:-1:-1;;;14409:44:7;;;;;;;:::i;:::-;14476:65;;;;;;;;;;;;;;-1:-1:-1;;;;;14476:65:7;;;;;;;;;;-1:-1:-1;;;;;14476:65:7;;;;;;;;;-1:-1:-1;;;;;14463:10:7;;;-1:-1:-1;14463:10:7;;;:3;:10;;;;;;;:78;;;;;;;;;;;-1:-1:-1;;;14463:78:7;;;;;;;;-1:-1:-1;;14463:78:7;;;;-1:-1:-1;;14463:78:7;;;;;;;;;;;;;;;;;;;;;;;;;14144:404::o;3396:112:5:-;-1:-1:-1;;3484:17:5;3396:112::o;25688:754:9:-;25926:13;26005:93;26033:6;26041:5;26048:9;26059:11;26072:9;26083:6;26091;26005:27;:93::i;:::-;25994:104;;26112:8;26108:328;;;26292:11;-1:-1:-1;;;;;26283:20:9;:5;-1:-1:-1;;;;;26283:20:9;;26279:80;;;26305:54;-1:-1:-1;;;;;26305:30:9;;26344:13;26305:30;:54::i;:::-;25688:754;;;;;;;;;:::o;16219:499:7:-;-1:-1:-1;;;;;16339:13:7;;;16302:17;16339:13;;;:6;:13;;;;;:25;16302:17;;16339:25;;;;;16331:71;;;;-1:-1:-1;;;16331:71:7;;;;;;;:::i;:::-;16412:28;;:::i;:::-;-1:-1:-1;;;;;;16443:10:7;;;;;;:3;:10;;;;;;;;;16412:41;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16412:41:7;;;;;;;;-1:-1:-1;;;16412:41:7;;-1:-1:-1;;;;;16412:41:7;;;;;;;;16475:51;;3722:6;;16475:30;;:6;;:10;:30::i;:::-;:34;;:51::i;:::-;16463:63;;16552:8;:15;;;-1:-1:-1;;;;;16540:27:7;:9;:27;16536:176;;;16595:8;:15;;;-1:-1:-1;;;;;16583:27:7;;;16536:176;;;16643:8;:15;;;-1:-1:-1;;;;;16631:27:7;:9;:27;16627:85;;;16686:15;;;-1:-1:-1;;;;;16674:27:7;;16219:499;-1:-1:-1;;;16219:499:7:o;14706:378::-;14769:15;14809:27;:13;14830:5;14809:20;:27::i;:::-;14796:40;;14850:10;14846:232;;;-1:-1:-1;;;;;14899:20:7;;;;;;:13;:20;;;;;;;;;14876:43;;;;;;-1:-1:-1;;14876:43:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:20;;:43;;;14899:20;14876:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;14940:20:7;;;;;;:13;:20;;;;;14876:43;;-1:-1:-1;14933:27:7;;14940:20;-1:-1:-1;14933:27:7;:::i;:::-;14981:13;14995:6;14981:21;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14974:28;;-1:-1:-1;;;;;;14974:28:7;;;-1:-1:-1;;;;;15023:13:7;;14981:21;15023:13;;;14974:28;15023:13;;;;;15016:20;;-1:-1:-1;;;;;;15016:20:7;;;15057:3;:10;;;;;15050:17;-1:-1:-1;14706:378:7;;;:::o;7230:115:19:-;7293:7;7319:19;7327:3;7319:7;:19::i;23839:129:9:-;23930:17;-1:-1:-1;;;;;23930:31:9;;;;23839:129::o;21355:1420::-;21507:16;21525:17;21685:5;:14;;;21666:15;:33;;21658:62;;;;-1:-1:-1;;;21658:62:9;;;;;;;:::i;:::-;21811:17;;21800:44;;21830:5;21837:6;21800:10;:44::i;:::-;21865:5;:14;;;21854:25;;22297:5;:17;;;-1:-1:-1;;;;;22284:43:9;;22335:9;22364;22396:5;22425:6;22455:8;22488:5;:15;;;22284:230;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22272:242;;22713:5;:18;;;22700:9;:31;;22692:76;;;;-1:-1:-1;;;22692:76:9;;;;;;;:::i;:::-;21355:1420;;;;;;;:::o;22966:696::-;23089:9;23085:571;;23251:61;-1:-1:-1;;;;;23251:30:9;;23282:10;23294:9;23305:6;23251:30;:61::i;:::-;23085:571;;;-1:-1:-1;;;;;23417:35:9;;317:42:6;23417:35:9;23409:52;;;;-1:-1:-1;;;23409:52:9;;;;;;;:::i;:::-;23545:6;23532:9;:19;23524:42;;;;-1:-1:-1;;;23524:42:9;;;;;;;:::i;7677:156:19:-;7751:7;7801:22;7805:3;7817:5;7801:3;:22::i;1348:613:16:-;1713:10;;;1712:62;;-1:-1:-1;1729:39:16;;-1:-1:-1;;;1729:39:16;;-1:-1:-1;;;;;1729:15:16;;;;;:39;;1753:4;;1760:7;;1729:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;1712:62;1704:150;;;;-1:-1:-1;;;1704:150:16;;;;;;;:::i;:::-;1864:90;1884:5;1914:22;;;1938:7;1947:5;1891:62;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1891:62:16;;;;;;;;;;;;;;-1:-1:-1;;;;;1891:62:16;-1:-1:-1;;;;;;1891:62:16;;;;;;;;;;1864:19;:90::i;3810:105:5:-;3862:7;3901:6;3893:15;;;;;;;;3888:1;:20;;;3810:105;-1:-1:-1;;3810:105:5:o;3996:107::-;4053:7;4089;4094:1;4089:4;:7::i;:::-;4079;4084:1;4079:4;:7::i;:::-;:17;;3996:107;-1:-1:-1;;;3996:107:5:o;704:175:16:-;786:86;806:5;836:23;;;861:2;865:5;813:58;;;;;;;;;:::i;12607:602:7:-;12845:13;12881:24;:13;12899:5;12881:17;:24::i;:::-;12870:35;;12919:8;12915:288;;;13041:31;13057:7;13066:5;13041:15;:31::i;:::-;13086:46;13102:5;13109:9;13120:11;13086:15;:46::i;:::-;13146;13159:5;13166:9;13177:6;13185;13146:12;:46::i;3538:215:12:-;3596:7;3619:6;3615:20;;-1:-1:-1;3634:1:12;3627:8;;3615:20;3657:5;;;3661:1;3657;:5;:1;3680:5;;;;;:10;3672:56;;;;-1:-1:-1;;;3672:56:12;;;;;;;:::i;4217:150::-;4275:7;4306:1;4302;:5;4294:44;;;;-1:-1:-1;;;4294:44:12;;;;;;;:::i;:::-;4359:1;4355;:5;;;;;;;4217:150;-1:-1:-1;;;4217:150:12:o;6747:156:19:-;6820:4;6843:53;6851:3;-1:-1:-1;;;;;6871:23:19;;6843:7;:53::i;4013:107::-;4095:18;;4013:107::o;885:203:16:-;985:96;1005:5;1035:27;;;1064:4;1070:2;1074:5;1012:68;;;;;;;;;;:::i;4452:201:19:-;4546:18;;4519:7;;4546:26;-1:-1:-1;4538:73:19;;;;-1:-1:-1;;;4538:73:19;;;;;;;:::i;:::-;4628:3;:11;;4640:5;4628:18;;;;;;;;;;;;;;;;4621:25;;4452:201;;;;:::o;2967:751:16:-;3386:23;3412:69;3440:4;3412:69;;;;;;;;;;;;;;;;;3420:5;-1:-1:-1;;;;;3412:27:16;;;:69;;;;;:::i;:::-;3495:17;;3386:95;;-1:-1:-1;3495:21:16;3491:221;;3635:10;3624:30;;;;;;;;;;;;:::i;:::-;3616:85;;;;-1:-1:-1;;;3616:85:16;;;;;;;:::i;6429:150:19:-;6499:4;6522:50;6527:3;-1:-1:-1;;;;;6547:23:19;;6522:4;:50::i;13265:378:7:-;13437:20;;13429:50;;;;-1:-1:-1;;;13429:50:7;;;;;;;:::i;:::-;13530:1;-1:-1:-1;;;;;13497:35:7;:13;13511:6;13497:21;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;13497:21:7;:35;13489:69;;;;-1:-1:-1;;;13489:69:7;;;;;;;:::i;:::-;13592:5;13568:13;13582:6;13568:21;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:29;;-1:-1:-1;;;;;;13568:29:7;-1:-1:-1;;;;;13568:29:7;;;;;;13607:20;;;-1:-1:-1;13607:20:7;;;:13;:20;;;;;;:29;;;;;;;;:::i;2212:1512:19:-;2278:4;2415:19;;;:12;;;:19;;;;;;2449:15;;2445:1273;;2878:18;;-1:-1:-1;;2830:14:19;;;;2878:22;;;;2806:21;;2878:3;;:22;;3160;;;;;;;;;;;;;;3140:42;;3303:9;3274:3;:11;;3286:13;3274:26;;;;;;;;;;;;;;;;;;;:38;;;;3378:23;;;3420:1;3378:12;;;:23;;;;;;3404:17;;;3378:43;;3527:17;;3378:3;;3527:17;;;;;;;;;;;;;;;;;;;;;;3619:3;:12;;:19;3632:5;3619:19;;;;;;;;;;;3612:26;;;3660:4;3653:11;;;;;;;;2445:1273;3702:5;3695:12;;;;;3581:193:17;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;1640:404:19:-;1703:4;1724:21;1734:3;1739:5;1724:9;:21::i;:::-;1719:319;;-1:-1:-1;1761:23:19;;;;;;;;:11;:23;;;;;;;;;;;;;1941:18;;1919:19;;;:12;;;:19;;;;;;:40;;;;1973:11;;1719:319;-1:-1:-1;2022:5:19;2015:12;;4608:523:17;4735:12;4792:5;4767:21;:30;;4759:81;;;;-1:-1:-1;;;4759:81:17;;;;;;;:::i;:::-;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;-1:-1:-1;;;4850:60:17;;;;;;;:::i;:::-;4981:12;4995:23;5022:6;-1:-1:-1;;;;;5022:11:17;5042:5;5050:4;5022:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4980:75;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;3805:127:19:-;3878:4;3901:19;;;:12;;;;;:19;;;;;;:24;;;3805:127::o;726:413:17:-;1086:20;1124:8;;;726:413::o;7091:725::-;7206:12;7234:7;7230:580;;;-1:-1:-1;7264:10:17;7257:17;;7230:580;7375:17;;:21;7371:429;;7633:10;7627:17;7693:15;7680:10;7676:2;7672:19;7665:44;7582:145;7772:12;7765:20;;-1:-1:-1;;;7765:20:17;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;5:130;72:20;;97:33;72:20;97:33;:::i;142:134::-;220:13;;238:33;220:13;238:33;:::i;4526:800::-;;4680:3;4673:4;4665:6;4661:17;4657:27;4647:2;;-1:-1;;4688:12;4647:2;4728:6;4722:13;4750:106;4765:90;4848:6;4765:90;:::i;:::-;4750:106;:::i;:::-;4884:21;;;4741:115;-1:-1;4928:4;4941:14;;;;4916:17;;;5042:4;5030:17;;;5021:27;;;;5018:36;-1:-1;5015:2;;;5067:1;;5057:12;5015:2;5092:1;;5077:243;5102:6;5099:1;5096:13;5077:243;;;5042:4;12710:9;12705:3;12701:19;12697:30;12694:2;;;5092:1;;12730:12;12694:2;12758:20;5042:4;12758:20;:::i;:::-;12862:57;12915:3;12891:22;12862:57;:::i;:::-;12844:16;12837:83;13015:60;13071:3;4928:4;13051:9;13047:22;13015:60;:::i;:::-;12997:16;;;12990:86;5170:87;;5271:14;;;;5299;;;;5124:1;5117:9;5077:243;;;5081:14;;;;;;;4640:686;;;;:::o;7594:128::-;7669:13;;103912;;103905:21;106915:32;;106905:2;;106961:1;;106951:12;8088:440;;8189:3;8182:4;8174:6;8170:17;8166:27;8156:2;;-1:-1;;8197:12;8156:2;8244:6;8231:20;8266:64;8281:48;8322:6;8281:48;:::i;8266:64::-;8257:73;;8350:6;8343:5;8336:21;8454:3;8386:4;8445:6;8378;8436:16;;8433:25;8430:2;;;8471:1;;8461:12;8430:2;106170:6;8386:4;8378:6;8374:17;8386:4;8412:5;8408:16;106147:30;106226:1;106208:16;;;8386:4;106208:16;106201:27;8412:5;8149:379;-1:-1;;8149:379::o;8537:442::-;;8649:3;8642:4;8634:6;8630:17;8626:27;8616:2;;-1:-1;;8657:12;8616:2;8697:6;8691:13;8719:64;8734:48;8775:6;8734:48;:::i;8719:64::-;8710:73;;8803:6;8796:5;8789:21;8907:3;8839:4;8898:6;8831;8889:16;;8886:25;8883:2;;;8924:1;;8914:12;8883:2;8934:39;8966:6;8839:4;8865:5;8861:16;8839:4;8831:6;8827:17;8934:39;:::i;9818:156::-;9898:20;;107486:1;107476:12;;107466:2;;107502:1;;107492:12;13938:1024;;14053:4;14041:9;14036:3;14032:19;14028:30;14025:2;;;-1:-1;;14061:12;14025:2;14089:20;14053:4;14089:20;:::i;:::-;14080:29;;85:6;72:20;97:33;124:5;97:33;:::i;:::-;14173:75;;14313:2;14367:22;;72:20;97:33;72:20;97:33;:::i;:::-;14346:49;14313:2;14332:5;14328:16;14321:75;;14465:2;14523:9;14519:22;17844:20;14465:2;14484:5;14480:16;14473:75;14613:2;14671:9;14667:22;17844:20;14613:2;14632:5;14628:16;14621:75;14790:3;14779:9;14775:19;14762:33;-1:-1;;;;;14807:6;14804:30;14801:2;;;-1:-1;;14837:12;14801:2;14882:58;14936:3;14927:6;14916:9;14912:22;14882:58;:::i;:::-;14790:3;14868:5;14864:16;14857:84;;14019:943;;;;:::o;18325:241::-;;18429:2;18417:9;18408:7;18404:23;18400:32;18397:2;;;-1:-1;;18435:12;18397:2;85:6;72:20;97:33;124:5;97:33;:::i;18573:491::-;;;;18711:2;18699:9;18690:7;18686:23;18682:32;18679:2;;;-1:-1;;18717:12;18679:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;18769:63;-1:-1;18869:2;18908:22;;72:20;97:33;72:20;97:33;:::i;:::-;18673:391;;18877:63;;-1:-1;;;18977:2;19016:22;;;;17844:20;;18673:391::o;19071:867::-;;;;;;;19262:3;19250:9;19241:7;19237:23;19233:33;19230:2;;;-1:-1;;19269:12;19230:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;19321:63;-1:-1;19421:2;19460:22;;72:20;97:33;72:20;97:33;:::i;:::-;19429:63;-1:-1;19529:2;19568:22;;17844:20;;-1:-1;19637:2;19676:22;;72:20;97:33;72:20;97:33;:::i;:::-;19645:63;-1:-1;19773:3;19758:19;;19745:33;-1:-1;;;;;19787:30;;;19784:2;;;-1:-1;;19820:12;19784:2;19905:6;19894:9;19890:22;;;7857:3;7850:4;7842:6;7838:17;7834:27;7824:2;;-1:-1;;7865:12;7824:2;7908:6;7895:20;19798:18;7927:6;7924:30;7921:2;;;-1:-1;;7957:12;7921:2;8052:3;19421:2;8032:17;7993:6;8018:32;;8015:41;8012:2;;;-1:-1;;8059:12;8012:2;19421;7993:6;7989:17;19840:82;;;;;;;;19224:714;;;;;;;;:::o;19945:755::-;;;;;20126:3;20114:9;20105:7;20101:23;20097:33;20094:2;;;-1:-1;;20133:12;20094:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;20185:63;-1:-1;20285:2;20324:22;;72:20;97:33;72:20;97:33;:::i;:::-;20293:63;-1:-1;20393:2;20432:22;;17844:20;;-1:-1;20529:2;20514:18;;20501:32;-1:-1;;;;;20542:30;;20539:2;;;-1:-1;;20575:12;20539:2;20605:79;20676:7;20667:6;20656:9;20652:22;20605:79;:::i;:::-;20595:89;;;20088:612;;;;;;;:::o;20707:647::-;;;;20880:2;20868:9;20859:7;20855:23;20851:32;20848:2;;;-1:-1;;20886:12;20848:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;20938:63;-1:-1;21066:2;21051:18;;;21038:32;-1:-1;;;;;21079:30;;21076:2;;;-1:-1;;21112:12;21076:2;21198:22;;2263:4;2251:17;;2247:27;-1:-1;2237:2;;-1:-1;;2278:12;2237:2;2325:6;2312:20;2347:90;2362:74;2429:6;2362:74;:::i;2347:90::-;2465:21;;;2522:14;;;;2497:17;;;-1:-1;2602:243;2627:6;2624:1;2621:13;2602:243;;;2734:47;2777:3;21066:2;2710:3;2697:17;2501:6;2685:30;;2734:47;:::i;:::-;2722:60;;2796:14;;;;2824;;;;2649:1;2642:9;2602:243;;;2606:14;;21132:98;;;;;;;;21267:2;21310:9;21306:22;17844:20;21275:63;;20842:512;;;;;:::o;21361:502::-;;;21507:2;21495:9;21486:7;21482:23;21478:32;21475:2;;;-1:-1;;21513:12;21475:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;21565:63;-1:-1;21693:2;21678:18;;;21665:32;-1:-1;;;;;21706:30;;21703:2;;;-1:-1;;21739:12;21703:2;21815:22;;6241:4;6229:17;;6225:27;-1:-1;6215:2;;-1:-1;;6256:12;6215:2;6303:6;6290:20;6325:80;6340:64;6397:6;6340:64;:::i;6325:80::-;6433:21;;;6490:14;;;;6465:17;;;6579;;;6570:27;;;;6567:36;-1:-1;6564:2;;;-1:-1;;6606:12;6564:2;-1:-1;6632:10;;6626:206;6651:6;6648:1;6645:13;6626:206;;;17844:20;;6719:50;;6673:1;6666:9;;;;;6783:14;;;;6811;;6626:206;;;6630:14;21759:88;;;;;;;;21469:394;;;;;:::o;21870:517::-;;;;22021:2;22009:9;22000:7;21996:23;21992:32;21989:2;;;-1:-1;;22027:12;21989:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;22079:63;-1:-1;22197:66;22255:7;22179:2;22231:22;;22197:66;:::i;:::-;22187:76;;22300:2;22343:9;22339:22;72:20;97:33;124:5;97:33;:::i;:::-;22308:63;;;;21983:404;;;;;:::o;22394:366::-;;;22515:2;22503:9;22494:7;22490:23;22486:32;22483:2;;;-1:-1;;22521:12;22483:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;22573:63;22673:2;22712:22;;;;17844:20;;-1:-1;;;22477:283::o;22767:1145::-;;;;;;;23008:3;22996:9;22987:7;22983:23;22979:33;22976:2;;;-1:-1;;23015:12;22976:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;23067:63;-1:-1;23167:2;23206:22;;17844:20;;-1:-1;23275:2;23314:22;;72:20;97:33;72:20;97:33;:::i;:::-;23283:63;-1:-1;23383:2;23422:22;;17844:20;;-1:-1;23519:3;23504:19;;23491:33;-1:-1;;;;;23533:30;;;23530:2;;;-1:-1;;23566:12;23530:2;23596:79;23667:7;23658:6;23647:9;23643:22;23596:79;:::i;:::-;23586:89;;23740:3;23729:9;23725:19;23712:33;23698:47;;23544:18;23757:6;23754:30;23751:2;;;-1:-1;;23787:12;23751:2;;23817:79;23888:7;23879:6;23868:9;23864:22;23817:79;:::i;:::-;23807:89;;;22970:942;;;;;;;;:::o;23919:617::-;;;;;24074:3;24062:9;24053:7;24049:23;24045:33;24042:2;;;-1:-1;;24081:12;24042:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;24133:63;24233:2;24272:22;;17844:20;;-1:-1;24341:2;24380:22;;17844:20;;24449:2;24488:22;17844:20;;-1:-1;24036:500;-1:-1;;;24036:500::o;24543:487::-;;;;24679:2;24667:9;24658:7;24654:23;24650:32;24647:2;;;-1:-1;;24685:12;24647:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;24737:63;-1:-1;24837:2;24876:22;;17844:20;;-1:-1;24945:2;24982:22;;18120:20;18145:31;18120:20;18145:31;:::i;25037:609::-;;;;;25188:3;25176:9;25167:7;25163:23;25159:33;25156:2;;;-1:-1;;25195:12;25156:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;25247:63;-1:-1;25347:2;25384:22;;18120:20;18145:31;18120:20;18145:31;:::i;:::-;25355:61;-1:-1;25453:2;25490:22;;18120:20;18145:31;18120:20;18145:31;:::i;:::-;25150:496;;;;-1:-1;25461:61;;25559:2;25598:22;17844:20;;-1:-1;;25150:496::o;25653:397::-;;;25792:2;25780:9;25771:7;25767:23;25763:32;25760:2;;;-1:-1;;25798:12;25760:2;25856:17;25843:31;-1:-1;;;;;25894:18;25886:6;25883:30;25880:2;;;-1:-1;;25916:12;25880:2;26017:6;26006:9;26002:22;;;431:3;424:4;416:6;412:17;408:27;398:2;;-1:-1;;439:12;398:2;482:6;469:20;25894:18;501:6;498:30;495:2;;;-1:-1;;531:12;495:2;626:3;25792:2;;610:6;606:17;567:6;592:32;;589:41;586:2;;;-1:-1;;633:12;586:2;25792;563:17;;;;;25936:98;;-1:-1;25754:296;;-1:-1;;;;25754:296::o;26057:395::-;;26195:2;;26183:9;26174:7;26170:23;26166:32;26163:2;;;-1:-1;;26201:12;26163:2;26259:17;26246:31;-1:-1;;;;;26289:6;26286:30;26283:2;;;-1:-1;;26319:12;26283:2;26404:22;;1532:4;1520:17;;1516:27;-1:-1;1506:2;;-1:-1;;1547:12;1506:2;1594:6;1581:20;1616:89;1631:73;1697:6;1631:73;:::i;1616:89::-;1733:21;;;1790:14;;;;1765:17;;;-1:-1;1870:242;1895:6;1892:1;1889:13;1870:242;;;2002:46;2044:3;26195:2;1978:3;1965:17;1769:6;1953:30;;2002:46;:::i;:::-;1990:59;;2063:14;;;;2091;;;;1917:1;1910:9;1870:242;;;-1:-1;26339:97;;26157:295;-1:-1;;;;;;;;26157:295::o;26459:445::-;;26622:2;;26610:9;26601:7;26597:23;26593:32;26590:2;;;-1:-1;;26628:12;26590:2;26686:17;26673:31;-1:-1;;;;;26724:18;26716:6;26713:30;26710:2;;;-1:-1;;26746:12;26710:2;26871:6;26860:9;26856:22;;;3063:3;3056:4;3048:6;3044:17;3040:27;3030:2;;-1:-1;;3071:12;3030:2;3118:6;3105:20;3140:114;3155:98;3246:6;3155:98;:::i;3140:114::-;3282:21;;;3339:14;;;;3314:17;;;-1:-1;3419:267;3444:6;3441:1;3438:13;3419:267;;;3527:3;3514:17;3318:6;3502:30;10604:6;;10583:19;;3502:30;10587:3;10583:19;;10579:32;10576:2;;;-1:-1;;10614:12;10576:2;10642:22;10604:6;10642:22;:::i;:::-;26622:2;3502:30;;10712:31;26724:18;10755:6;10752:30;10749:2;;;-1:-1;;10785:12;10749:2;10830:59;10885:3;26622:2;10876:6;3502:30;10861:22;;10830:59;:::i;:::-;10812:16;10805:85;;10985:49;11030:3;11006:22;3502:30;11006:22;10985:49;:::i;:::-;26622:2;10971:5;10967:16;10960:75;11154:22;;3502:30;11154:22;17844:20;11006:22;11119:5;11115:16;11108:75;11282:62;11340:3;11316:22;3502:30;11316:22;11282:62;:::i;:::-;11264:16;;;11257:88;11468:22;11447:49;11492:3;11468:22;;;11447:49;:::i;:::-;11316:22;11429:16;;11422:75;11618:22;;;;17844:20;11579:16;;;11572:75;;;;11765:22;;;;17844:20;11726:16;;;11719:75;;;;11912:22;;;;17844:20;11873:16;;;11866:75;3539:84;;3637:14;;;;3665;;;;3466:1;3459:9;3419:267;;;-1:-1;26766:122;;26584:320;-1:-1;;;;;;;;;26584:320::o;26911:558::-;;;27085:2;27073:9;27064:7;27060:23;27056:32;27053:2;;;-1:-1;;27091:12;27053:2;27149:17;27136:31;-1:-1;;;;;27187:18;27179:6;27176:30;27173:2;;;-1:-1;;27209:12;27173:2;27328:6;27317:9;27313:22;;;3874:3;3867:4;3859:6;3855:17;3851:27;3841:2;;-1:-1;;3882:12;3841:2;3929:6;3916:20;3951:108;3966:92;4051:6;3966:92;:::i;3951:108::-;4087:21;;;4131:4;4144:14;;;;4065:16;4119:17;;;-1:-1;4224:261;4249:6;4246:1;4243:13;4224:261;;;4319:17;;4307:30;;27085:2;12090:19;;;-1:-1;;12090:19;12086:30;12083:2;;;-1:-1;;12119:12;12083:2;12147:20;27085:2;12147:20;:::i;:::-;4131:4;4307:30;;12219:31;27187:18;12262:6;12259:30;12256:2;;;-1:-1;;12292:12;12256:2;12337:59;12392:3;4131:4;12383:6;4307:30;12368:22;;12337:59;:::i;:::-;12312:85;;-1:-1;27085:2;12516:22;;;;17844:20;12477:16;;;12470:75;4344:78;;4436:14;;;;4464;;;;4271:1;4264:9;4224:261;;;4228:14;;27229:116;;;27400:53;27445:7;4131:4;27425:9;27421:22;27400:53;:::i;:::-;27390:63;;;;;;;;27047:422;;;;;:::o;27476:444::-;;27642:2;27630:9;27621:7;27617:23;27613:32;27610:2;;;-1:-1;;27648:12;27610:2;27699:17;27693:24;-1:-1;;;;;27729:6;27726:30;27723:2;;;-1:-1;;27759:12;27723:2;27789:115;27896:7;27887:6;27876:9;27872:22;27789:115;:::i;27927:434::-;;28088:2;;28076:9;28067:7;28063:23;28059:32;28056:2;;;-1:-1;;28094:12;28056:2;28145:17;28139:24;-1:-1;;;;;28183:18;28175:6;28172:30;28169:2;;;-1:-1;;28205:12;28169:2;28328:6;28317:9;28313:22;;;5505:3;5498:4;5490:6;5486:17;5482:27;5472:2;;-1:-1;;5513:12;5472:2;5553:6;5547:13;5575:101;5590:85;5668:6;5590:85;:::i;5575:101::-;5704:21;;;5761:14;;;;5736:17;;;-1:-1;5841:258;5866:6;5863:1;5860:13;5841:258;;;5942:3;5936:10;5740:6;5924:23;13243:4;;10583:19;;5924:23;13226:3;13222:19;;13218:30;13215:2;;;-1:-1;;13251:12;13215:2;13279:20;13243:4;13279:20;:::i;:::-;28088:2;5924:23;;220:13;238:33;265:5;238:33;:::i;:::-;13356:86;;13571:22;;;;220:13;238:33;220:13;238:33;:::i;:::-;13521:16;;;13514:86;13669:18;;;13663:25;;13697:30;;;13694:2;;;-1:-1;;13730:12;13694:2;13775:111;13882:3;28088:2;13873:6;5924:23;13858:22;;13775:111;:::i;:::-;13757:16;;;13750:137;5954:82;;-1:-1;;6050:14;;;;6078;;;;5888:1;5881:9;5841:258;;28368:392;;28508:2;;28496:9;28487:7;28483:23;28479:32;28476:2;;;-1:-1;;28514:12;28476:2;28565:17;28559:24;-1:-1;;;;;28595:6;28592:30;28589:2;;;-1:-1;;28625:12;28589:2;28712:22;;6985:4;6973:17;;6969:27;-1:-1;6959:2;;-1:-1;;7000:12;6959:2;7040:6;7034:13;7062:80;7077:64;7134:6;7077:64;:::i;7062:80::-;7170:21;;;7227:14;;;;7202:17;;;7316;;;7307:27;;;;7304:36;-1:-1;7301:2;;;-1:-1;;7343:12;7301:2;-1:-1;7369:10;;7363:217;7388:6;7385:1;7382:13;7363:217;;;17992:13;;7456:61;;7410:1;7403:9;;;;;7531:14;;;;7559;;7363:217;;;-1:-1;28645:99;28470:290;-1:-1;;;;;;;28470:290::o;28767:257::-;;28879:2;28867:9;28858:7;28854:23;28850:32;28847:2;;;-1:-1;;28885:12;28847:2;7675:6;7669:13;106940:5;103912:13;103905:21;106918:5;106915:32;106905:2;;-1:-1;;106951:12;29031:293;;29161:2;29149:9;29140:7;29136:23;29132:32;29129:2;;;-1:-1;;29167:12;29129:2;9253:6;9247:13;9265:48;9307:5;9265:48;:::i;29331:521::-;;;;29484:2;29472:9;29463:7;29459:23;29455:32;29452:2;;;-1:-1;;29490:12;30145:347;;30259:2;30247:9;30238:7;30234:23;30230:32;30227:2;;;-1:-1;;30265:12;30227:2;30323:17;30310:31;-1:-1;;;;;30353:6;30350:30;30347:2;;;-1:-1;;30383:12;30347:2;30413:63;30468:7;30459:6;30448:9;30444:22;30413:63;:::i;30499:1127::-;;;;;;;;30728:3;30716:9;30707:7;30703:23;30699:33;30696:2;;;-1:-1;;30735:12;30696:2;30793:17;30780:31;-1:-1;;;;;30823:6;30820:30;30817:2;;;-1:-1;;30853:12;30817:2;30883:63;30938:7;30929:6;30918:9;30914:22;30883:63;:::i;:::-;30873:73;;;30983:2;31026:9;31022:22;72:20;97:33;124:5;97:33;:::i;:::-;30991:63;-1:-1;31109:66;31167:7;31091:2;31143:22;;31109:66;:::i;:::-;31099:76;;31212:2;31255:9;31251:22;72:20;97:33;124:5;97:33;:::i;:::-;30690:936;;;;-1:-1;30690:936;;31320:3;31360:22;;17844:20;;31429:3;31469:22;;17844:20;;-1:-1;31538:3;31578:22;;;17844:20;;-1:-1;30690:936;-1:-1;;30690:936::o;31633:394::-;;31774:2;31762:9;31753:7;31749:23;31745:32;31742:2;;;-1:-1;;31780:12;31742:2;31831:17;31825:24;-1:-1;;;;;31869:18;31861:6;31858:30;31855:2;;;-1:-1;;31891:12;31855:2;31979:22;;;;15118:4;15097:19;;;15093:30;15090:2;;;-1:-1;;15126:12;15090:2;15154:20;15118:4;15154:20;:::i;:::-;15263:60;15319:3;15295:22;15263:60;:::i;:::-;15245:16;15238:86;15422:60;15478:3;31774:2;15458:9;15454:22;15422:60;:::i;:::-;31774:2;15408:5;15404:16;15397:86;15552:2;15621:9;15617:22;17992:13;15552:2;15571:5;15567:16;15560:86;15711:2;15780:9;15776:22;17992:13;15711:2;15730:5;15726:16;15719:86;15892:3;15881:9;15877:19;15871:26;31869:18;15909:6;15906:30;15903:2;;;-1:-1;;15939:12;15903:2;15984:69;16049:3;16040:6;16029:9;16025:22;15984:69;:::i;:::-;15892:3;15966:16;;15959:95;-1:-1;15970:5;31736:291;-1:-1;;;;;31736:291::o;32034:302::-;;32168:3;32156:9;32147:7;32143:23;32139:33;32136:2;;;-1:-1;;32175:12;32136:2;16264:20;32168:3;16264:20;:::i;:::-;9590:6;9577:20;9602:43;9639:5;9602:43;:::i;:::-;16343:85;;16489:2;16543:22;;72:20;97:33;72:20;97:33;:::i;:::-;16489:2;16504:16;;16497:75;16643:2;16695:22;;18120:20;18145:31;18120:20;18145:31;:::i;:::-;16643:2;16658:16;;16651:73;16793:2;16845:22;;18120:20;18145:31;18120:20;18145:31;:::i;:::-;16793:2;16808:16;;16801:73;16812:5;32130:206;-1:-1;;;32130:206::o;32343:324::-;;32488:3;32476:9;32467:7;32463:23;32459:33;32456:2;;;-1:-1;;32495:12;32456:2;17095:20;32488:3;17095:20;:::i;:::-;9751:6;9745:13;9763:43;9800:5;9763:43;:::i;:::-;17174:96;;17331:2;17396:22;;220:13;238:33;220:13;238:33;:::i;:::-;17331:2;17346:16;;17339:86;17496:2;17559:22;;18264:13;18282:31;18264:13;18282:31;:::i;:::-;17496:2;17511:16;;17504:84;17657:2;17720:22;;18264:13;18282:31;18264:13;18282:31;:::i;32674:263::-;;32789:2;32777:9;32768:7;32764:23;32760:32;32757:2;;;-1:-1;;32795:12;32757:2;-1:-1;17992:13;;32751:186;-1:-1;32751:186::o;32944:399::-;;;33076:2;33064:9;33055:7;33051:23;33047:32;33044:2;;;-1:-1;;33082:12;33044:2;17998:6;17992:13;33134:74;;33245:2;33299:9;33295:22;220:13;238:33;265:5;238:33;:::i;:::-;33253:74;;;;33038:305;;;;;:::o;33350:522::-;;;33504:2;33492:9;33483:7;33479:23;33475:32;33472:2;;;-1:-1;;33510:12;33472:2;17998:6;17992:13;33562:74;;33694:2;;33683:9;33679:18;33673:25;-1:-1;;;;;33710:6;33707:30;33704:2;;;-1:-1;;33740:12;33704:2;33824:22;;794:4;782:17;;778:27;-1:-1;768:2;;-1:-1;;809:12;768:2;849:6;843:13;871:77;886:61;940:6;886:61;:::i;871:77::-;976:21;;;1033:14;;;;1008:17;;;1122;;;1113:27;;;;1110:36;-1:-1;1107:2;;;-1:-1;;1149:12;1107:2;-1:-1;1175:10;;1169:214;1194:6;1191:1;1188:13;1169:214;;;1274:45;1315:3;1303:10;1274:45;:::i;:::-;1262:58;;1216:1;1209:9;;;;;1334:14;;;;1362;;1169:214;;38997:878;;39258:5;98388:12;101053:6;101048:3;101041:19;101090:4;;101085:3;101081:14;39270:109;;101090:4;39476:5;96982:14;-1:-1;39515:338;39540:6;39537:1;39534:13;39515:338;;;39601:13;;60111:23;;103912:13;103905:21;44917:34;;60266:16;;60260:23;-1:-1;;;;;104599:54;60337:14;;;35932:37;34900:4;34891:14;;;;99937;;;;14815:18;39555:9;39515:338;;;-1:-1;39859:10;;39163:712;-1:-1;;;;;39163:712::o;44164:690::-;;44357:5;98388:12;101053:6;101048:3;101041:19;101090:4;;101085:3;101081:14;44369:93;;101090:4;44533:5;96982:14;-1:-1;44572:260;44597:6;44594:1;44591:13;44572:260;;;44658:13;;64359:37;;35843:14;;;;99937;;;;44619:1;44612:9;44572:260;;45074:323;;45206:5;98388:12;101053:6;101048:3;101041:19;45289:52;45334:6;101090:4;101085:3;101081:14;101090:4;45315:5;45311:16;45289:52;:::i;:::-;10583:19;106587:14;-1:-1;;106583:28;45353:39;;;;101090:4;45353:39;;45154:243;-1:-1;;45154:243::o;58830:481::-;59043:23;;64359:37;;59215:4;59204:16;;;59198:23;-1:-1;;;;;104599:54;59275:14;;35932:37;58944:367::o;61889:1051::-;;14815:18;;104610:42;;;;62111:16;62105:23;104599:54;35939:3;35932:37;104610:42;62280:4;62273:5;62269:16;62263:23;104599:54;62280:4;62344:3;62340:14;35932:37;;62442:4;62435:5;62431:16;62425:23;62442:4;62506:3;62502:14;64359:37;62600:4;62593:5;62589:16;62583:23;62600:4;62664:3;62660:14;64359:37;62759:4;62752:5;62748:16;62742:23;62032:4;62759;62789:3;62785:14;62778:38;62831:71;62032:4;62027:3;62023:14;62883:12;62831:71;:::i;64759:271::-;;45914:5;98388:12;46025:52;46070:6;46065:3;46058:4;46051:5;46047:16;46025:52;:::i;:::-;46089:16;;;;;64893:137;-1:-1;;64893:137::o;65319:379::-;65683:10;65507:191::o;65705:222::-;-1:-1;;;;;104599:54;;;;35932:37;;65832:2;65817:18;;65803:124::o;65934:333::-;-1:-1;;;;;104599:54;;;35932:37;;104599:54;;66253:2;66238:18;;35932:37;66089:2;66074:18;;66060:207::o;66274:444::-;-1:-1;;;;;104599:54;;;35932:37;;104599:54;;;;66621:2;66606:18;;35932:37;66704:2;66689:18;;64359:37;;;;66457:2;66442:18;;66428:290::o;66725:752::-;-1:-1;;;;;104599:54;;;35932:37;;104599:54;;;67147:2;67132:18;;35932:37;67230:2;67215:18;;64359:37;;;104599:54;;67313:2;67298:18;;35932:37;104610:42;67350:3;67335:19;;67328:49;;;66725:752;;67391:76;;66967:19;;67453:6;67391:76;:::i;67484:481::-;-1:-1;;;;;104599:54;;35932:37;;67689:2;67807;67792:18;;67785:48;;;67484:481;;67847:108;;67674:18;;67941:6;67847:108;:::i;67972:333::-;-1:-1;;;;;104599:54;;;;35932:37;;68291:2;68276:18;;64359:37;68127:2;68112:18;;68098:207::o;68312:586::-;-1:-1;;;;;104599:54;;;35932:37;;68703:2;68688:18;;64359:37;;;;104599:54;;68801:2;68786:18;;46203:65;68884:2;68869:18;;64359:37;;;;68538:3;68523:19;;68509:389::o;68905:914::-;-1:-1;;;;;104599:54;;;35932:37;;69376:2;69361:18;;64359:37;;;;104599:54;;;;69474:2;69459:18;;46203:65;69557:2;69542:18;;64359:37;;;;104912:4;104901:16;69636:3;69621:19;;64712:35;104610:42;69705:19;;64359:37;;;;69804:3;69789:19;;64359:37;;;;69211:3;69196:19;;69182:637::o;69826:1018::-;-1:-1;;;;;104599:54;;;35932:37;;70321:2;70306:18;;64359:37;;;;104599:54;;;;70419:2;70404:18;;46203:65;70502:2;70487:18;;64359:37;;;;104912:4;104901:16;;;70581:3;70566:19;;64712:35;104901:16;104610:42;70646:19;;64712:35;70745:3;70730:19;;64359:37;;;;70829:3;70814:19;;64359:37;;;;70156:3;70141:19;;70127:717::o;70851:436::-;-1:-1;;;;;104599:54;;;;35932:37;;71194:2;71179:18;;64359:37;;;;104912:4;104901:16;71273:2;71258:18;;64712:35;71030:2;71015:18;;71001:286::o;71294:540::-;-1:-1;;;;;104599:54;;;;35932:37;;104912:4;104901:16;;;71658:2;71643:18;;64712:35;104901:16;;71737:2;71722:18;;64712:35;71820:2;71805:18;;64359:37;71497:3;71482:19;;71468:366::o;71841:370::-;72018:2;72032:47;;;98388:12;;72003:18;;;101041:19;;;71841:370;;72018:2;96982:14;;;;101081;;;;71841:370;36540:260;36565:6;36562:1;36559:13;36540:260;;;36626:13;;-1:-1;;;;;104599:54;35932:37;;99937:14;;;;34033;;;;14815:18;36580:9;36540:260;;;-1:-1;72085:116;;71989:222;-1:-1;;;;;;71989:222::o;72218:482::-;72451:2;72465:47;;;98388:12;;72436:18;;;101041:19;;;72218:482;;72451:2;101081:14;;;;;;37346:17;;;37337:27;;;;96982:14;;;72218:482;37502:414;37527:6;37524:1;37521:13;37502:414;;;37579:20;;;-1:-1;;37579:20;37567:33;;37628:13;;58419:23;;58455:38;;;58508:73;58342:14;;;58419:23;58508:73;:::i;:::-;58656:16;;;58650:23;-1:-1;;;;;104599:54;58727:14;;;35932:37;;;;37895:14;;;;58500:81;-1:-1;99937:14;;;;14815:18;37542:9;37502:414;;72707:597;72970:2;72984:47;;;98388:12;;72955:18;;;101041:19;;;72707:597;;72970:2;101090:4;;101081:14;;;;96982;;;72707:597;38571:347;38596:6;38593:1;38590:13;38571:347;;;34481:104;34581:3;38663:6;38657:13;34481:104;:::i;:::-;34605:14;;;;99937;;;;38618:1;38611:9;38571:347;;;-1:-1;;;;;;;;104599:54;;;;73275:18;;35932:37;;;;-1:-1;73037:174;;72941:363;-1:-1;;72941:363::o;73311:474::-;;73540:2;73561:17;73554:47;73615:160;73540:2;73529:9;73525:18;73761:6;73615:160;:::i;73792:454::-;74011:2;74025:47;;;98388:12;;73996:18;;;101041:19;;;73792:454;;74011:2;101081:14;;;;;;41312:17;;;41303:27;;;;96982:14;;;73792:454;41461:393;41486:6;41483:1;41480:13;41461:393;;;41538:20;;;-1:-1;;41538:20;41526:33;;41587:13;;60612:23;;-1:-1;;;;;104599:54;;;35932:37;;60775:16;;;60769:23;104599:54;60846:14;;;35932:37;60931:16;;60925:23;60546:4;60968:14;;;60961:38;;;61014:155;60537:14;;;60925:23;61014:155;:::i;:::-;41833:14;;;;41607:114;-1:-1;;;99937:14;;;;41508:1;41501:9;41461:393;;74253:466;74478:2;74492:47;;;98388:12;;74463:18;;;101041:19;;;74253:466;;74478:2;101081:14;;;;;;42419:17;;;42410:27;;;;96982:14;;;74253:466;42571:402;42596:6;42593:1;42590:13;42571:402;;;42648:20;;;-1:-1;;42648:20;42636:33;;42697:13;;61487:23;;103912:13;103905:21;44917:34;;61647:16;;61641:23;61684:14;;;61677:38;;;61730:71;61409:14;;;61641:23;61730:71;:::i;:::-;42952:14;;;;42717:120;-1:-1;;99937:14;;;;42618:1;42611:9;42571:402;;74726:474;;74955:2;;74944:9;74940:18;74955:2;74976:17;74969:47;75030:160;43340:5;98388:12;101053:6;101048:3;101041:19;101081:14;74944:9;101081:14;43352:119;;101081:14;74955:2;43528:6;43524:17;74944:9;43515:27;;43503:39;;74955:2;43639:5;96982:14;-1:-1;43678:408;43703:6;43700:1;43697:13;43678:408;;;37579:20;;74944:9;43759:4;43755:20;;43750:3;43743:33;35577:98;35671:3;43810:6;43804:13;35577:98;:::i;:::-;43824:124;-1:-1;44065:14;;;;99937;;;;43725:1;43718:9;43678:408;;;-1:-1;75022:168;;74926:274;-1:-1;;;;;;;74926:274::o;75207:370::-;;75384:2;75405:17;75398:47;75459:108;75384:2;75373:9;75369:18;75553:6;75459:108;:::i;75584:608::-;;75825:2;75846:17;75839:47;75900:108;75825:2;75814:9;75810:18;75994:6;75900:108;:::i;:::-;76095:2;76080:18;;46862:58;;;;-1:-1;76178:2;76163:18;64359:37;75892:116;75796:396;-1:-1;75796:396::o;76199:210::-;103912:13;;103905:21;44917:34;;76320:2;76305:18;;76291:118::o;76956:355::-;77122:2;77107:18;;106706:1;106696:12;;106686:2;;106712:9;106686:2;46710:61;;;-1:-1;;;;;104599:54;;;;77297:2;77282:18;;;35932:37;77093:218;:::o;77318:310::-;;77465:2;77486:17;77479:47;77540:78;77465:2;77454:9;77450:18;77604:6;77540:78;:::i;77635:416::-;77835:2;77849:47;;;48212:2;77820:18;;;101041:19;48248:34;101081:14;;;48228:55;-1:-1;;;48303:12;;;48296:26;48341:12;;;77806:245::o;78058:416::-;78258:2;78272:47;;;48592:2;78243:18;;;101041:19;48628:29;101081:14;;;48608:50;48677:12;;;78229:245::o;78481:416::-;78681:2;78695:47;;;48928:2;78666:18;;;101041:19;48964:34;101081:14;;;48944:55;-1:-1;;;49019:12;;;49012:30;49061:12;;;78652:245::o;78904:416::-;79104:2;79118:47;;;49312:2;79089:18;;;101041:19;-1:-1;;;101081:14;;;49328:44;49391:12;;;79075:245::o;79327:416::-;79527:2;79541:47;;;49642:2;79512:18;;;101041:19;49678:25;101081:14;;;49658:46;49723:12;;;79498:245::o;79750:416::-;79950:2;79964:47;;;49974:2;79935:18;;;101041:19;-1:-1;;;101081:14;;;49990:36;50045:12;;;79921:245::o;80173:416::-;80373:2;80387:47;;;50296:2;80358:18;;;101041:19;50332:34;101081:14;;;50312:55;-1:-1;;;50387:12;;;50380:30;50429:12;;;80344:245::o;80596:416::-;80796:2;80810:47;;;50680:2;80781:18;;;101041:19;50716:28;101081:14;;;50696:49;50764:12;;;80767:245::o;81019:416::-;81219:2;81233:47;;;51015:2;81204:18;;;101041:19;-1:-1;;;101081:14;;;51031:33;51083:12;;;81190:245::o;81442:416::-;81642:2;81656:47;;;51334:2;81627:18;;;101041:19;-1:-1;;;101081:14;;;51350:35;51404:12;;;81613:245::o;81865:416::-;82065:2;82079:47;;;51655:2;82050:18;;;101041:19;-1:-1;;;101081:14;;;51671:40;51730:12;;;82036:245::o;82288:416::-;82488:2;82502:47;;;82473:18;;;101041:19;52017:34;101081:14;;;51997:55;52071:12;;;82459:245::o;82711:416::-;82911:2;82925:47;;;52322:2;82896:18;;;101041:19;-1:-1;;;101081:14;;;52338:35;52392:12;;;82882:245::o;83134:416::-;83334:2;83348:47;;;52643:2;83319:18;;;101041:19;52679:26;101081:14;;;52659:47;52725:12;;;83305:245::o;83557:416::-;83757:2;83771:47;;;52976:2;83742:18;;;101041:19;53012:27;101081:14;;;52992:48;53059:12;;;83728:245::o;83980:416::-;84180:2;84194:47;;;53310:2;84165:18;;;101041:19;53346:32;101081:14;;;53326:53;53398:12;;;84151:245::o;84403:416::-;84603:2;84617:47;;;53649:2;84588:18;;;101041:19;53685:34;101081:14;;;53665:55;-1:-1;;;53740:12;;;53733:25;53777:12;;;84574:245::o;84826:416::-;85026:2;85040:47;;;85011:18;;;101041:19;54064:34;101081:14;;;54044:55;54118:12;;;84997:245::o;85249:416::-;85449:2;85463:47;;;54369:2;85434:18;;;101041:19;-1:-1;;;101081:14;;;54385:42;54446:12;;;85420:245::o;85672:416::-;85872:2;85886:47;;;54697:2;85857:18;;;101041:19;-1:-1;;;101081:14;;;54713:39;54771:12;;;85843:245::o;86095:416::-;86295:2;86309:47;;;55022:1;86280:18;;;101041:19;-1:-1;;;101081:14;;;55037:27;55083:12;;;86266:245::o;86518:416::-;86718:2;86732:47;;;55639:2;86703:18;;;101041:19;-1:-1;;;101081:14;;;55655:42;55716:12;;;86689:245::o;86941:416::-;87141:2;87155:47;;;55967:2;87126:18;;;101041:19;56003:31;101081:14;;;55983:52;56054:12;;;87112:245::o;87364:416::-;87564:2;87578:47;;;56305:2;87549:18;;;101041:19;-1:-1;;;101081:14;;;56321:38;56378:12;;;87535:245::o;87787:416::-;87987:2;88001:47;;;56629:2;87972:18;;;101041:19;56665:28;101081:14;;;56645:49;56713:12;;;87958:245::o;88210:416::-;88410:2;88424:47;;;56964:2;88395:18;;;101041:19;57000:34;101081:14;;;56980:55;-1:-1;;;57055:12;;;57048:34;57101:12;;;88381:245::o;88633:416::-;88833:2;88847:47;;;57352:1;88818:18;;;101041:19;-1:-1;;;101081:14;;;57367:28;57414:12;;;88804:245::o;89056:416::-;89256:2;89270:47;;;57665:2;89241:18;;;101041:19;57701:34;101081:14;;;57681:55;-1:-1;;;57756:12;;;57749:46;57814:12;;;89227:245::o;89479:416::-;89679:2;89693:47;;;58065:1;89664:18;;;101041:19;-1:-1;;;101081:14;;;58080:32;58131:12;;;89650:245::o;89902:561::-;90143:3;90128:19;;90158:129;90132:9;90260:6;90158:129;:::i;:::-;-1:-1;;;;;104599:54;;;;90366:2;90351:18;;35932:37;90449:2;90434:18;64359:37;90114:349;;-1:-1;90114:349::o;90470:374::-;;90649:2;90670:17;90663:47;90724:110;90649:2;90638:9;90634:18;90820:6;90724:110;:::i;90851:222::-;64359:37;;;90978:2;90963:18;;90949:124::o;91080:333::-;64359:37;;;-1:-1;;;;;104599:54;91399:2;91384:18;;35932:37;91235:2;91220:18;;91206:207::o;91420:564::-;64359:37;;;104912:4;104901:16;;;;91796:2;91781:18;;64712:35;91887:2;91872:18;;46862:58;91970:2;91955:18;;64359:37;91635:3;91620:19;;91606:378::o;91991:440::-;104816:12;104805:24;;;;64597:36;;-1:-1;;;;;104369:40;;;;92334:2;92319:18;;64129:37;-1:-1;;;;;104483:42;92417:2;92402:18;;64249:37;92172:2;92157:18;;92143:288::o;92438:214::-;104912:4;104901:16;;;;64712:35;;92561:2;92546:18;;92532:120::o;92659:668::-;104912:4;104901:16;;;64712:35;;104901:16;;;;93055:2;93040:18;;64712:35;93138:2;93123:18;;64359:37;;;;93229:2;93214:18;;46862:58;93312:3;93297:19;;64359:37;;;;92898:3;92883:19;;92869:458::o;93334:256::-;93396:2;93390:9;93422:17;;;-1:-1;;;;;93482:34;;93518:22;;;93479:62;93476:2;;;93554:1;;93544:12;93476:2;93396;93563:22;93374:216;;-1:-1;93374:216::o;93597:301::-;;-1:-1;;;;;93745:6;93742:30;93739:2;;;-1:-1;;93775:12;93739:2;-1:-1;93820:4;93808:17;;;93873:15;;93676:222::o;96210:321::-;;-1:-1;;;;;96345:6;96342:30;96339:2;;;-1:-1;;96375:12;96339:2;-1:-1;10583:19;96429:17;-1:-1;;96425:33;96516:4;96506:15;;96276:255::o;106243:268::-;106308:1;106315:101;106329:6;106326:1;106323:13;106315:101;;;106396:11;;;106390:18;106377:11;;;106370:39;106351:2;106344:10;106315:101;;;106431:6;106428:1;106425:13;106422:2;;;-1:-1;;106308:1;106478:16;;106471:27;106292:219::o;106735:117::-;-1:-1;;;;;104599:54;;106794:35;;106784:2;;106843:1;;106833:12;107293:104;107372:1;107365:5;107362:12;107352:2;;107388:1;;107378:12;107642:113;104912:4;107725:5;104901:16;107702:5;107699:33;107689:2;;107746:1;;107736:12
Swarm Source
ipfs://2c66d45ebaed00279db776ac2ebe4bafbd1e2d3af18ef691a7bfedc4e0885dd1
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.