More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer Ownersh... | 41013617 | 301 days ago | IN | 0 WEMIX | 0.0047835 |
Loading...
Loading
Contract Name:
EVM2EVMOnRamp
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.19; import {ITypeAndVersion} from "../../shared/interfaces/ITypeAndVersion.sol"; import {IPool} from "../interfaces/pools/IPool.sol"; import {IARM} from "../interfaces/IARM.sol"; import {IPriceRegistry} from "../interfaces/IPriceRegistry.sol"; import {IEVM2AnyOnRamp} from "../interfaces/IEVM2AnyOnRamp.sol"; import {IEVM2AnyOnRampClient} from "../interfaces/IEVM2AnyOnRampClient.sol"; import {ILinkAvailable} from "../interfaces/automation/ILinkAvailable.sol"; import {AggregateRateLimiter} from "../AggregateRateLimiter.sol"; import {Client} from "../libraries/Client.sol"; import {Internal} from "../libraries/Internal.sol"; import {RateLimiter} from "../libraries/RateLimiter.sol"; import {USDPriceWith18Decimals} from "../libraries/USDPriceWith18Decimals.sol"; import {EnumerableMapAddresses} from "../../shared/enumerable/EnumerableMapAddresses.sol"; import {SafeERC20} from "../../vendor/openzeppelin-solidity/v4.8.0/contracts/token/ERC20/utils/SafeERC20.sol"; import {IERC20} from "../../vendor/openzeppelin-solidity/v4.8.0/contracts/token/ERC20/IERC20.sol"; import {EnumerableMap} from "../../vendor/openzeppelin-solidity/v4.8.0/contracts/utils/structs/EnumerableMap.sol"; /// @notice The onRamp is a contract that handles lane-specific fee logic, NOP payments and /// bridgeable token support. /// @dev The EVM2EVMOnRamp, CommitStore and EVM2EVMOffRamp form an xchain upgradeable unit. Any change to one of them /// results an onchain upgrade of all 3. contract EVM2EVMOnRamp is IEVM2AnyOnRamp, ILinkAvailable, AggregateRateLimiter, ITypeAndVersion { using SafeERC20 for IERC20; using EnumerableMap for EnumerableMap.AddressToUintMap; using EnumerableMapAddresses for EnumerableMapAddresses.AddressToAddressMap; using USDPriceWith18Decimals for uint224; error InvalidExtraArgsTag(); error OnlyCallableByOwnerOrAdmin(); error OnlyCallableByOwnerOrAdminOrNop(); error InvalidWithdrawParams(); error NoFeesToPay(); error NoNopsToPay(); error InsufficientBalance(); error TooManyNops(); error MaxFeeBalanceReached(); error MessageTooLarge(uint256 maxSize, uint256 actualSize); error MessageGasLimitTooHigh(); error UnsupportedNumberOfTokens(); error UnsupportedToken(IERC20 token); error MustBeCalledByRouter(); error RouterMustSetOriginalSender(); error InvalidTokenPoolConfig(); error PoolAlreadyAdded(); error PoolDoesNotExist(address token); error TokenPoolMismatch(); error InvalidConfig(); error InvalidAddress(bytes encodedAddress); error BadARMSignal(); error LinkBalanceNotSettled(); error InvalidNopAddress(address nop); error NotAFeeToken(address token); error CannotSendZeroTokens(); error SourceTokenDataTooLarge(address token); error InvalidChainSelector(uint64 chainSelector); event ConfigSet(StaticConfig staticConfig, DynamicConfig dynamicConfig); event NopPaid(address indexed nop, uint256 amount); event FeeConfigSet(FeeTokenConfigArgs[] feeConfig); event TokenTransferFeeConfigSet(TokenTransferFeeConfigArgs[] transferFeeConfig); /// RMN depends on this event, if changing, please notify the RMN maintainers. event CCIPSendRequested(Internal.EVM2EVMMessage message); event NopsSet(uint256 nopWeightsTotal, NopAndWeight[] nopsAndWeights); event PoolAdded(address token, address pool); event PoolRemoved(address token, address pool); /// @dev Struct that contains the static configuration /// RMN depends on this struct, if changing, please notify the RMN maintainers. struct StaticConfig { address linkToken; // ────────╮ Link token address uint64 chainSelector; // ─────╯ Source chainSelector uint64 destChainSelector; // ─╮ Destination chainSelector uint64 defaultTxGasLimit; // │ Default gas limit for a tx uint96 maxNopFeesJuels; // ───╯ Max nop fee balance onramp can have address prevOnRamp; // Address of previous-version OnRamp address armProxy; // Address of ARM proxy } /// @dev Struct to contains the dynamic configuration struct DynamicConfig { address router; // ──────────────────────────╮ Router address uint16 maxNumberOfTokensPerMsg; // │ Maximum number of distinct ERC20 token transferred per message uint32 destGasOverhead; // │ Gas charged on top of the gasLimit to cover destination chain costs uint16 destGasPerPayloadByte; // │ Destination chain gas charged for passing each byte of `data` payload to receiver uint32 destDataAvailabilityOverheadGas; // ──╯ Extra data availability gas charged on top of the message, e.g. for OCR uint16 destGasPerDataAvailabilityByte; // ───╮ Amount of gas to charge per byte of message data that needs availability uint16 destDataAvailabilityMultiplierBps; // │ Multiplier for data availability gas, multiples of bps, or 0.0001 address priceRegistry; // │ Price registry address uint32 maxDataBytes; // │ Maximum payload data size in bytes uint32 maxPerMsgGasLimit; // ────────────────╯ Maximum gas limit for messages targeting EVMs } /// @dev Struct to hold the execution fee configuration for a fee token struct FeeTokenConfig { uint32 networkFeeUSDCents; // ─────────╮ Flat network fee to charge for messages, multiples of 0.01 USD uint64 gasMultiplierWeiPerEth; // │ Multiplier for gas costs, 1e18 based so 11e17 = 10% extra cost. uint64 premiumMultiplierWeiPerEth; // │ Multiplier for fee-token-specific premiums bool enabled; // ──────────────────────╯ Whether this fee token is enabled } /// @dev Struct to hold the fee configuration for a fee token, same as the FeeTokenConfig but with /// token included so that an array of these can be passed in to setFeeTokenConfig to set the mapping struct FeeTokenConfigArgs { address token; // ─────────────────────╮ Token address uint32 networkFeeUSDCents; // │ Flat network fee to charge for messages, multiples of 0.01 USD uint64 gasMultiplierWeiPerEth; // ─────╯ Multiplier for gas costs, 1e18 based so 11e17 = 10% extra cost uint64 premiumMultiplierWeiPerEth; // ─╮ Multiplier for fee-token-specific premiums, 1e18 based bool enabled; // ──────────────────────╯ Whether this fee token is enabled } /// @dev Struct to hold the transfer fee configuration for token transfers struct TokenTransferFeeConfig { uint32 minFeeUSDCents; // ────╮ Minimum fee to charge per token transfer, multiples of 0.01 USD uint32 maxFeeUSDCents; // │ Maximum fee to charge per token transfer, multiples of 0.01 USD uint16 deciBps; // │ Basis points charged on token transfers, multiples of 0.1bps, or 1e-5 uint32 destGasOverhead; // │ Gas charged to execute the token transfer on the destination chain uint32 destBytesOverhead; // ─╯ Extra data availability bytes on top of fixed transfer data, including sourceTokenData and offchainData } /// @dev Same as TokenTransferFeeConfig /// token included so that an array of these can be passed in to setTokenTransferFeeConfig struct TokenTransferFeeConfigArgs { address token; // ────────────╮ Token address uint32 minFeeUSDCents; // │ Minimum fee to charge per token transfer, multiples of 0.01 USD uint32 maxFeeUSDCents; // │ Maximum fee to charge per token transfer, multiples of 0.01 USD uint16 deciBps; // ───────────╯ Basis points charged on token transfers, multiples of 0.1bps, or 1e-5 uint32 destGasOverhead; // ───╮ Gas charged to execute the token transfer on the destination chain uint32 destBytesOverhead; // ─╯ Extra data availability bytes on top of fixed transfer data, including sourceTokenData and offchainData } /// @dev Nop address and weight, used to set the nops and their weights struct NopAndWeight { address nop; // ────╮ Address of the node operator uint16 weight; // ──╯ Weight for nop rewards } // STATIC CONFIG // solhint-disable-next-line chainlink-solidity/all-caps-constant-storage-variables string public constant override typeAndVersion = "EVM2EVMOnRamp 1.2.0"; /// @dev metadataHash is a lane-specific prefix for a message hash preimage which ensures global uniqueness /// Ensures that 2 identical messages sent to 2 different lanes will have a distinct hash. /// Must match the metadataHash used in computing leaf hashes offchain for the root committed in /// the commitStore and i_metadataHash in the offRamp. bytes32 internal immutable i_metadataHash; /// @dev Default gas limit for a transactions that did not specify /// a gas limit in the extraArgs. uint64 internal immutable i_defaultTxGasLimit; /// @dev Maximum nop fee that can accumulate in this onramp uint96 internal immutable i_maxNopFeesJuels; /// @dev The link token address - known to pay nops for their work address internal immutable i_linkToken; /// @dev The chain ID of the source chain that this contract is deployed to uint64 internal immutable i_chainSelector; /// @dev The chain ID of the destination chain uint64 internal immutable i_destChainSelector; /// @dev The address of previous-version OnRamp for this lane /// Used to be able to provide sequencing continuity during a zero downtime upgrade. address internal immutable i_prevOnRamp; /// @dev The address of the arm proxy address internal immutable i_armProxy; /// @dev the maximum number of nops that can be configured at the same time. /// Used to bound gas for loops over nops. uint256 private constant MAX_NUMBER_OF_NOPS = 64; // DYNAMIC CONFIG /// @dev The config for the onRamp DynamicConfig internal s_dynamicConfig; /// @dev (address nop => uint256 weight) EnumerableMap.AddressToUintMap internal s_nops; /// @dev source token => token pool EnumerableMapAddresses.AddressToAddressMap private s_poolsBySourceToken; /// @dev The execution fee token config that can be set by the owner or fee admin mapping(address token => FeeTokenConfig feeTokenConfig) internal s_feeTokenConfig; /// @dev The token transfer fee config that can be set by the owner or fee admin mapping(address token => TokenTransferFeeConfig tranferFeeConfig) internal s_tokenTransferFeeConfig; // STATE /// @dev The current nonce per sender. /// The offramp has a corresponding s_senderNonce mapping to ensure messages /// are executed in the same order they are sent. mapping(address sender => uint64 nonce) internal s_senderNonce; /// @dev The amount of LINK available to pay NOPS uint96 internal s_nopFeesJuels; /// @dev The combined weight of all NOPs weights uint32 internal s_nopWeightsTotal; /// @dev The last used sequence number. This is zero in the case where no /// messages has been sent yet. 0 is not a valid sequence number for any /// real transaction. uint64 internal s_sequenceNumber; constructor( StaticConfig memory staticConfig, DynamicConfig memory dynamicConfig, Internal.PoolUpdate[] memory tokensAndPools, RateLimiter.Config memory rateLimiterConfig, FeeTokenConfigArgs[] memory feeTokenConfigs, TokenTransferFeeConfigArgs[] memory tokenTransferFeeConfigArgs, NopAndWeight[] memory nopsAndWeights ) AggregateRateLimiter(rateLimiterConfig) { if ( staticConfig.linkToken == address(0) || staticConfig.chainSelector == 0 || staticConfig.destChainSelector == 0 || staticConfig.defaultTxGasLimit == 0 || staticConfig.armProxy == address(0) ) revert InvalidConfig(); i_metadataHash = keccak256( abi.encode( Internal.EVM_2_EVM_MESSAGE_HASH, staticConfig.chainSelector, staticConfig.destChainSelector, address(this) ) ); i_linkToken = staticConfig.linkToken; i_chainSelector = staticConfig.chainSelector; i_destChainSelector = staticConfig.destChainSelector; i_defaultTxGasLimit = staticConfig.defaultTxGasLimit; i_maxNopFeesJuels = staticConfig.maxNopFeesJuels; i_prevOnRamp = staticConfig.prevOnRamp; i_armProxy = staticConfig.armProxy; _setDynamicConfig(dynamicConfig); _setFeeTokenConfig(feeTokenConfigs); _setTokenTransferFeeConfig(tokenTransferFeeConfigArgs); _setNops(nopsAndWeights); // Set new tokens and pools _applyPoolUpdates(new Internal.PoolUpdate[](0), tokensAndPools); } // ================================================================ // │ Messaging │ // ================================================================ /// @inheritdoc IEVM2AnyOnRamp function getExpectedNextSequenceNumber() external view returns (uint64) { return s_sequenceNumber + 1; } /// @inheritdoc IEVM2AnyOnRamp function getSenderNonce(address sender) external view returns (uint64) { uint256 senderNonce = s_senderNonce[sender]; if (senderNonce == 0 && i_prevOnRamp != address(0)) { // If OnRamp was upgraded, check if sender has a nonce from the previous OnRamp. return IEVM2AnyOnRamp(i_prevOnRamp).getSenderNonce(sender); } return uint64(senderNonce); } /// @inheritdoc IEVM2AnyOnRampClient function forwardFromRouter( uint64 destChainSelector, Client.EVM2AnyMessage calldata message, uint256 feeTokenAmount, address originalSender ) external whenHealthy returns (bytes32) { // Validate message sender is set and allowed. Not validated in `getFee` since it is not user-driven. if (originalSender == address(0)) revert RouterMustSetOriginalSender(); // Router address may be zero intentionally to pause. if (msg.sender != s_dynamicConfig.router) revert MustBeCalledByRouter(); if (destChainSelector != i_destChainSelector) revert InvalidChainSelector(destChainSelector); // EVM destination addresses should be abi encoded and therefore always 32 bytes long // Not duplicately validated in `getFee`. Invalid address is uncommon, gas cost outweighs UX gain. if (message.receiver.length != 32) revert InvalidAddress(message.receiver); uint256 decodedReceiver = abi.decode(message.receiver, (uint256)); // We want to disallow sending to address(0) and to precompiles, which exist on address(1) through address(9). if (decodedReceiver > type(uint160).max || decodedReceiver < 10) revert InvalidAddress(message.receiver); uint256 gasLimit = _fromBytes(message.extraArgs).gasLimit; // Validate the message with various checks uint256 numberOfTokens = message.tokenAmounts.length; _validateMessage(message.data.length, gasLimit, numberOfTokens); // Only check token value if there are tokens if (numberOfTokens > 0) { for (uint256 i = 0; i < numberOfTokens; ++i) { if (message.tokenAmounts[i].amount == 0) revert CannotSendZeroTokens(); } // Rate limit on aggregated token value _rateLimitValue(message.tokenAmounts, IPriceRegistry(s_dynamicConfig.priceRegistry)); } // Convert feeToken to link if not already in link if (message.feeToken == i_linkToken) { // Since there is only 1b link this is safe s_nopFeesJuels += uint96(feeTokenAmount); } else { // the cast from uint256 to uint96 is considered safe, uint96 can store more than max supply of link token s_nopFeesJuels += uint96( IPriceRegistry(s_dynamicConfig.priceRegistry).convertTokenAmount(message.feeToken, feeTokenAmount, i_linkToken) ); } if (s_nopFeesJuels > i_maxNopFeesJuels) revert MaxFeeBalanceReached(); if (s_senderNonce[originalSender] == 0 && i_prevOnRamp != address(0)) { // If this is first time send for a sender in new OnRamp, check if they have a nonce // from the previous OnRamp and start from there instead of zero. s_senderNonce[originalSender] = IEVM2AnyOnRamp(i_prevOnRamp).getSenderNonce(originalSender); } // We need the next available sequence number so we increment before we use the value Internal.EVM2EVMMessage memory newMessage = Internal.EVM2EVMMessage({ sourceChainSelector: i_chainSelector, sender: originalSender, receiver: address(uint160(decodedReceiver)), sequenceNumber: ++s_sequenceNumber, gasLimit: gasLimit, strict: false, nonce: ++s_senderNonce[originalSender], feeToken: message.feeToken, feeTokenAmount: feeTokenAmount, data: message.data, tokenAmounts: message.tokenAmounts, sourceTokenData: new bytes[](numberOfTokens), // will be filled in later messageId: "" }); // Lock the tokens as last step. TokenPools may not always be trusted. // There should be no state changes after external call to TokenPools. for (uint256 i = 0; i < numberOfTokens; ++i) { Client.EVMTokenAmount memory tokenAndAmount = message.tokenAmounts[i]; bytes memory tokenData = getPoolBySourceToken(destChainSelector, IERC20(tokenAndAmount.token)).lockOrBurn( originalSender, message.receiver, tokenAndAmount.amount, i_destChainSelector, bytes("") // any future extraArgs component would be added here ); // Since the DON has to pay for the tokenData to be included on the destination chain, we cap the length of the tokenData. // This prevents gas bomb attacks on the NOPs. We use destBytesOverhead as a proxy to cap the number of bytes we accept. // As destBytesOverhead accounts for tokenData + offchainData, this caps the worst case abuse to the number of bytes reserved for offchainData. // It therefore fully mitigates gas bombs for most tokens, as most tokens don't use offchainData. if (tokenData.length > s_tokenTransferFeeConfig[tokenAndAmount.token].destBytesOverhead) revert SourceTokenDataTooLarge(tokenAndAmount.token); newMessage.sourceTokenData[i] = tokenData; } // Hash only after the sourceTokenData has been set newMessage.messageId = Internal._hash(newMessage, i_metadataHash); // Emit message request // Note this must happen after pools, some tokens (eg USDC) emit events that we // expect to directly precede this event. emit CCIPSendRequested(newMessage); return newMessage.messageId; } /// @dev Convert the extra args bytes into a struct /// @param extraArgs The extra args bytes /// @return The extra args struct function _fromBytes(bytes calldata extraArgs) internal view returns (Client.EVMExtraArgsV1 memory) { if (extraArgs.length == 0) { return Client.EVMExtraArgsV1({gasLimit: i_defaultTxGasLimit}); } if (bytes4(extraArgs) != Client.EVM_EXTRA_ARGS_V1_TAG) revert InvalidExtraArgsTag(); // EVMExtraArgsV1 originally included a second boolean (strict) field which we have deprecated entirely. // Clients may still send that version but it will be ignored. return abi.decode(extraArgs[4:], (Client.EVMExtraArgsV1)); } /// @notice Validate the forwarded message with various checks. /// @dev This function can be called multiple times during a CCIPSend, /// only common user-driven mistakes are validated here to minimize duplicate validation cost. /// @param dataLength The length of the data field of the message. /// @param gasLimit The gasLimit set in message for destination execution. /// @param numberOfTokens The number of tokens to be sent. function _validateMessage(uint256 dataLength, uint256 gasLimit, uint256 numberOfTokens) internal view { // Check that payload is formed correctly uint256 maxDataBytes = uint256(s_dynamicConfig.maxDataBytes); if (dataLength > maxDataBytes) revert MessageTooLarge(maxDataBytes, dataLength); if (gasLimit > uint256(s_dynamicConfig.maxPerMsgGasLimit)) revert MessageGasLimitTooHigh(); if (numberOfTokens > uint256(s_dynamicConfig.maxNumberOfTokensPerMsg)) revert UnsupportedNumberOfTokens(); } // ================================================================ // │ Config │ // ================================================================ /// @notice Returns the static onRamp config. /// @dev RMN depends on this function, if changing, please notify the RMN maintainers. /// @return the configuration. function getStaticConfig() external view returns (StaticConfig memory) { return StaticConfig({ linkToken: i_linkToken, chainSelector: i_chainSelector, destChainSelector: i_destChainSelector, defaultTxGasLimit: i_defaultTxGasLimit, maxNopFeesJuels: i_maxNopFeesJuels, prevOnRamp: i_prevOnRamp, armProxy: i_armProxy }); } /// @notice Returns the dynamic onRamp config. /// @return dynamicConfig the configuration. function getDynamicConfig() external view returns (DynamicConfig memory dynamicConfig) { return s_dynamicConfig; } /// @notice Sets the dynamic configuration. /// @param dynamicConfig The configuration. function setDynamicConfig(DynamicConfig memory dynamicConfig) external onlyOwner { _setDynamicConfig(dynamicConfig); } /// @notice Internal version of setDynamicConfig to allow for reuse in the constructor. function _setDynamicConfig(DynamicConfig memory dynamicConfig) internal { // We permit router to be set to zero as a way to pause the contract. if (dynamicConfig.priceRegistry == address(0)) revert InvalidConfig(); s_dynamicConfig = dynamicConfig; emit ConfigSet( StaticConfig({ linkToken: i_linkToken, chainSelector: i_chainSelector, destChainSelector: i_destChainSelector, defaultTxGasLimit: i_defaultTxGasLimit, maxNopFeesJuels: i_maxNopFeesJuels, prevOnRamp: i_prevOnRamp, armProxy: i_armProxy }), dynamicConfig ); } // ================================================================ // │ Tokens and pools │ // ================================================================ /// @inheritdoc IEVM2AnyOnRampClient function getSupportedTokens(uint64 /*destChainSelector*/) external view returns (address[] memory) { address[] memory sourceTokens = new address[](s_poolsBySourceToken.length()); for (uint256 i = 0; i < sourceTokens.length; ++i) { (sourceTokens[i], ) = s_poolsBySourceToken.at(i); } return sourceTokens; } /// @inheritdoc IEVM2AnyOnRampClient function getPoolBySourceToken(uint64 /*destChainSelector*/, IERC20 sourceToken) public view returns (IPool) { if (!s_poolsBySourceToken.contains(address(sourceToken))) revert UnsupportedToken(sourceToken); return IPool(s_poolsBySourceToken.get(address(sourceToken))); } /// @inheritdoc IEVM2AnyOnRamp /// @dev This method can only be called by the owner of the contract. function applyPoolUpdates( Internal.PoolUpdate[] memory removes, Internal.PoolUpdate[] memory adds ) external onlyOwner { _applyPoolUpdates(removes, adds); } function _applyPoolUpdates(Internal.PoolUpdate[] memory removes, Internal.PoolUpdate[] memory adds) internal { for (uint256 i = 0; i < removes.length; ++i) { address token = removes[i].token; address pool = removes[i].pool; if (!s_poolsBySourceToken.contains(token)) revert PoolDoesNotExist(token); if (s_poolsBySourceToken.get(token) != pool) revert TokenPoolMismatch(); if (s_poolsBySourceToken.remove(token)) { emit PoolRemoved(token, pool); } } for (uint256 i = 0; i < adds.length; ++i) { address token = adds[i].token; address pool = adds[i].pool; if (token == address(0) || pool == address(0)) revert InvalidTokenPoolConfig(); if (token != address(IPool(pool).getToken())) revert TokenPoolMismatch(); if (s_poolsBySourceToken.set(token, pool)) { emit PoolAdded(token, pool); } else { revert PoolAlreadyAdded(); } } } // ================================================================ // │ Fees │ // ================================================================ /// @inheritdoc IEVM2AnyOnRampClient /// @dev getFee MUST revert if the feeToken is not listed in the fee token config, as the router assumes it does. /// @param destChainSelector The destination chain selector. /// @param message The message to get quote for. /// @return feeTokenAmount The amount of fee token needed for the fee, in smallest denomination of the fee token. function getFee( uint64 destChainSelector, Client.EVM2AnyMessage calldata message ) external view returns (uint256 feeTokenAmount) { if (destChainSelector != i_destChainSelector) revert InvalidChainSelector(destChainSelector); uint256 gasLimit = _fromBytes(message.extraArgs).gasLimit; // Validate the message with various checks _validateMessage(message.data.length, gasLimit, message.tokenAmounts.length); FeeTokenConfig memory feeTokenConfig = s_feeTokenConfig[message.feeToken]; if (!feeTokenConfig.enabled) revert NotAFeeToken(message.feeToken); (uint224 feeTokenPrice, uint224 packedGasPrice) = IPriceRegistry(s_dynamicConfig.priceRegistry) .getTokenAndGasPrices(message.feeToken, destChainSelector); uint112 executionGasPrice = uint112(packedGasPrice); // Calculate premiumFee in USD with 18 decimals precision first. // If message-only and no token transfers, a flat network fee is charged. // If there are token transfers, premiumFee is calculated from token transfer fee. // If there are both token transfers and message, premiumFee is only calculated from token transfer fee. uint256 premiumFee = 0; uint32 tokenTransferGas = 0; uint32 tokenTransferBytesOverhead = 0; if (message.tokenAmounts.length > 0) { (premiumFee, tokenTransferGas, tokenTransferBytesOverhead) = _getTokenTransferCost( message.feeToken, feeTokenPrice, message.tokenAmounts ); } else { // Convert USD cents with 2 decimals to 18 decimals. premiumFee = uint256(feeTokenConfig.networkFeeUSDCents) * 1e16; } // Apply a feeToken-specific multiplier with 18 decimals, raising the premiumFee to 36 decimals premiumFee = premiumFee * feeTokenConfig.premiumMultiplierWeiPerEth; // Calculate execution gas fee on destination chain in USD with 36 decimals. // We add the message gas limit, the overhead gas, the gas of passing message data to receiver, and token transfer gas together. // We then multiply this gas total with the gas multiplier and gas price, converting it into USD with 36 decimals. uint256 executionCost = executionGasPrice * ((gasLimit + s_dynamicConfig.destGasOverhead + (message.data.length * s_dynamicConfig.destGasPerPayloadByte) + tokenTransferGas) * feeTokenConfig.gasMultiplierWeiPerEth); // Calculate data availability cost in USD with 36 decimals. Data availability cost exists on rollups that need to post // transaction calldata onto another storage layer, e.g. Eth mainnet, incurring additional storage gas costs. uint256 dataAvailabilityCost = 0; // Only calculate data availability cost if data availability multiplier is non-zero. // The multiplier should be set to 0 if destination chain does not charge data availability cost. if (s_dynamicConfig.destDataAvailabilityMultiplierBps > 0) { // Parse the dava availability gas price stored in the higher-order 112 bits of encoded gas price. uint112 dataAvailabilityGasPrice = uint112(packedGasPrice >> Internal.GAS_PRICE_BITS); dataAvailabilityCost = _getDataAvailabilityCost( dataAvailabilityGasPrice, message.data.length, message.tokenAmounts.length, tokenTransferBytesOverhead ); } // Calculate number of fee tokens to charge. // Total USD fee is in 36 decimals, feeTokenPrice is in 18 decimals USD for 1e18 smallest token denominations. // Result of the division is the number of smallest token denominations. return (premiumFee + executionCost + dataAvailabilityCost) / feeTokenPrice; } /// @notice Returns the estimated data availability cost of the message. /// @dev To save on gas, we use a single destGasPerDataAvailabilityByte value for both zero and non-zero bytes. /// @param dataAvailabilityGasPrice USD per data availability gas in 18 decimals. /// @param messageDataLength length of the data field in the message. /// @param numberOfTokens number of distinct token transfers in the message. /// @param tokenTransferBytesOverhead additional token transfer data passed to destination, e.g. USDC attestation. /// @return dataAvailabilityCostUSD36Decimal total data availability cost in USD with 36 decimals. function _getDataAvailabilityCost( uint112 dataAvailabilityGasPrice, uint256 messageDataLength, uint256 numberOfTokens, uint32 tokenTransferBytesOverhead ) internal view returns (uint256 dataAvailabilityCostUSD36Decimal) { // dataAvailabilityLengthBytes sums up byte lengths of fixed message fields and dynamic message fields. // Fixed message fields does account for the offset and length slot of the dynamic fields. uint256 dataAvailabilityLengthBytes = Internal.MESSAGE_FIXED_BYTES + messageDataLength + (numberOfTokens * Internal.MESSAGE_FIXED_BYTES_PER_TOKEN) + tokenTransferBytesOverhead; // destDataAvailabilityOverheadGas is a separate config value for flexibility to be updated independently of message cost. // Its value is determined by CCIP lane implementation, e.g. the overhead data posted for OCR. uint256 dataAvailabilityGas = (dataAvailabilityLengthBytes * s_dynamicConfig.destGasPerDataAvailabilityByte) + s_dynamicConfig.destDataAvailabilityOverheadGas; // dataAvailabilityGasPrice is in 18 decimals, destDataAvailabilityMultiplierBps is in 4 decimals // We pad 14 decimals to bring the result to 36 decimals, in line with token bps and execution fee. return ((dataAvailabilityGas * dataAvailabilityGasPrice) * s_dynamicConfig.destDataAvailabilityMultiplierBps) * 1e14; } /// @notice Returns the token transfer cost parameters. /// A basis point fee is calculated from the USD value of each token transfer. /// For each individual transfer, this fee is between [minFeeUSD, maxFeeUSD]. /// Total transfer fee is the sum of each individual token transfer fee. /// @dev Assumes that tokenAmounts are validated to be listed tokens elsewhere. /// @dev Splitting one token transfer into multiple transfers is discouraged, /// as it will result in a transferFee equal or greater than the same amount aggregated/de-duped. /// @param feeToken address of the feeToken. /// @param feeTokenPrice price of feeToken in USD with 18 decimals. /// @param tokenAmounts token transfers in the message. /// @return tokenTransferFeeUSDWei total token transfer bps fee in USD with 18 decimals. /// @return tokenTransferGas total execution gas of the token transfers. /// @return tokenTransferBytesOverhead additional token transfer data passed to destination, e.g. USDC attestation. function _getTokenTransferCost( address feeToken, uint224 feeTokenPrice, Client.EVMTokenAmount[] calldata tokenAmounts ) internal view returns (uint256 tokenTransferFeeUSDWei, uint32 tokenTransferGas, uint32 tokenTransferBytesOverhead) { uint256 numberOfTokens = tokenAmounts.length; for (uint256 i = 0; i < numberOfTokens; ++i) { Client.EVMTokenAmount memory tokenAmount = tokenAmounts[i]; TokenTransferFeeConfig memory transferFeeConfig = s_tokenTransferFeeConfig[tokenAmount.token]; // Validate if the token is supported, do not calculate fee for unsupported tokens. if (!s_poolsBySourceToken.contains(tokenAmount.token)) revert UnsupportedToken(IERC20(tokenAmount.token)); uint256 bpsFeeUSDWei = 0; // Only calculate bps fee if ratio is greater than 0. Ratio of 0 means no bps fee for a token. // Useful for when the PriceRegistry cannot return a valid price for the token. if (transferFeeConfig.deciBps > 0) { uint224 tokenPrice = 0; if (tokenAmount.token != feeToken) { tokenPrice = IPriceRegistry(s_dynamicConfig.priceRegistry).getValidatedTokenPrice(tokenAmount.token); } else { tokenPrice = feeTokenPrice; } // Calculate token transfer value, then apply fee ratio // ratio represents multiples of 0.1bps, or 1e-5 bpsFeeUSDWei = (tokenPrice._calcUSDValueFromTokenAmount(tokenAmount.amount) * transferFeeConfig.deciBps) / 1e5; } tokenTransferGas += transferFeeConfig.destGasOverhead; tokenTransferBytesOverhead += transferFeeConfig.destBytesOverhead; // Bps fees should be kept within range of [minFeeUSD, maxFeeUSD]. // Convert USD values with 2 decimals to 18 decimals. uint256 minFeeUSDWei = uint256(transferFeeConfig.minFeeUSDCents) * 1e16; if (bpsFeeUSDWei < minFeeUSDWei) { tokenTransferFeeUSDWei += minFeeUSDWei; continue; } uint256 maxFeeUSDWei = uint256(transferFeeConfig.maxFeeUSDCents) * 1e16; if (bpsFeeUSDWei > maxFeeUSDWei) { tokenTransferFeeUSDWei += maxFeeUSDWei; continue; } tokenTransferFeeUSDWei += bpsFeeUSDWei; } return (tokenTransferFeeUSDWei, tokenTransferGas, tokenTransferBytesOverhead); } /// @notice Gets the fee configuration for a token /// @param token The token to get the fee configuration for /// @return feeTokenConfig FeeTokenConfig struct function getFeeTokenConfig(address token) external view returns (FeeTokenConfig memory feeTokenConfig) { return s_feeTokenConfig[token]; } /// @notice Sets the fee configuration for a token /// @param feeTokenConfigArgs Array of FeeTokenConfigArgs structs. function setFeeTokenConfig(FeeTokenConfigArgs[] memory feeTokenConfigArgs) external onlyOwnerOrAdmin { _setFeeTokenConfig(feeTokenConfigArgs); } /// @dev Set the fee config /// @param feeTokenConfigArgs The fee token configs. function _setFeeTokenConfig(FeeTokenConfigArgs[] memory feeTokenConfigArgs) internal { for (uint256 i = 0; i < feeTokenConfigArgs.length; ++i) { FeeTokenConfigArgs memory configArg = feeTokenConfigArgs[i]; s_feeTokenConfig[configArg.token] = FeeTokenConfig({ networkFeeUSDCents: configArg.networkFeeUSDCents, gasMultiplierWeiPerEth: configArg.gasMultiplierWeiPerEth, premiumMultiplierWeiPerEth: configArg.premiumMultiplierWeiPerEth, enabled: configArg.enabled }); } emit FeeConfigSet(feeTokenConfigArgs); } /// @notice Gets the transfer fee config for a given token. function getTokenTransferFeeConfig( address token ) external view returns (TokenTransferFeeConfig memory tokenTransferFeeConfig) { return s_tokenTransferFeeConfig[token]; } /// @notice Sets the transfer fee config. /// @dev only callable by the owner or admin. function setTokenTransferFeeConfig( TokenTransferFeeConfigArgs[] memory tokenTransferFeeConfigArgs ) external onlyOwnerOrAdmin { _setTokenTransferFeeConfig(tokenTransferFeeConfigArgs); } /// @notice internal helper to set the token transfer fee config. function _setTokenTransferFeeConfig(TokenTransferFeeConfigArgs[] memory tokenTransferFeeConfigArgs) internal { for (uint256 i = 0; i < tokenTransferFeeConfigArgs.length; ++i) { TokenTransferFeeConfigArgs memory configArg = tokenTransferFeeConfigArgs[i]; s_tokenTransferFeeConfig[configArg.token] = TokenTransferFeeConfig({ minFeeUSDCents: configArg.minFeeUSDCents, maxFeeUSDCents: configArg.maxFeeUSDCents, deciBps: configArg.deciBps, destGasOverhead: configArg.destGasOverhead, destBytesOverhead: configArg.destBytesOverhead }); } emit TokenTransferFeeConfigSet(tokenTransferFeeConfigArgs); } // ================================================================ // │ NOP payments │ // ================================================================ /// @notice Get the total amount of fees to be paid to the Nops (in LINK) /// @return totalNopFees function getNopFeesJuels() external view returns (uint96) { return s_nopFeesJuels; } /// @notice Gets the Nops and their weights /// @return nopsAndWeights Array of NopAndWeight structs /// @return weightsTotal The sum weight of all Nops function getNops() external view returns (NopAndWeight[] memory nopsAndWeights, uint256 weightsTotal) { uint256 length = s_nops.length(); nopsAndWeights = new NopAndWeight[](length); for (uint256 i = 0; i < length; ++i) { (address nopAddress, uint256 nopWeight) = s_nops.at(i); nopsAndWeights[i] = NopAndWeight({nop: nopAddress, weight: uint16(nopWeight)}); } weightsTotal = s_nopWeightsTotal; return (nopsAndWeights, weightsTotal); } /// @notice Sets the Nops and their weights /// @param nopsAndWeights Array of NopAndWeight structs function setNops(NopAndWeight[] calldata nopsAndWeights) external onlyOwnerOrAdmin { _setNops(nopsAndWeights); } /// @param nopsAndWeights New set of nops and weights /// @dev Clears existing nops, sets new nops and weights /// @dev We permit fees to accrue before nops are configured, in which case /// they will go to the first set of configured nops. function _setNops(NopAndWeight[] memory nopsAndWeights) internal { uint256 numberOfNops = nopsAndWeights.length; if (numberOfNops > MAX_NUMBER_OF_NOPS) revert TooManyNops(); // Make sure all nops have been paid before removing nops // We only have to pay when there are nops and there is enough // outstanding NOP balance to trigger a payment. if (s_nopWeightsTotal > 0 && s_nopFeesJuels >= s_nopWeightsTotal) { payNops(); } // Remove all previous nops, move from end to start to avoid shifting for (uint256 i = s_nops.length(); i > 0; --i) { (address nop, ) = s_nops.at(i - 1); s_nops.remove(nop); } // Add new uint32 nopWeightsTotal = 0; // nopWeightsTotal is bounded by the MAX_NUMBER_OF_NOPS and the weight of // a single nop being of type uint16. This ensures nopWeightsTotal will // always fit into the uint32 type. for (uint256 i = 0; i < numberOfNops; ++i) { // Make sure the LINK token is not a nop because the link token doesn't allow // self transfers. If set as nop, payNops would always revert. Since setNops // calls payNops, we can never remove the LINK token as a nop. address nop = nopsAndWeights[i].nop; uint16 weight = nopsAndWeights[i].weight; if (nop == i_linkToken || nop == address(0)) revert InvalidNopAddress(nop); s_nops.set(nop, weight); nopWeightsTotal += weight; } s_nopWeightsTotal = nopWeightsTotal; emit NopsSet(nopWeightsTotal, nopsAndWeights); } /// @notice Pays the Node Ops their outstanding balances. /// @dev some balance can remain after payments are done. This is at most the sum /// of the weight of all nops. Since nop weights are uint16s and we can have at /// most MAX_NUMBER_OF_NOPS NOPs, the highest possible value is 2**22 or 0.04 gjuels. function payNops() public onlyOwnerOrAdminOrNop { uint256 weightsTotal = s_nopWeightsTotal; if (weightsTotal == 0) revert NoNopsToPay(); uint96 totalFeesToPay = s_nopFeesJuels; if (totalFeesToPay < weightsTotal) revert NoFeesToPay(); if (_linkLeftAfterNopFees() < 0) revert InsufficientBalance(); uint96 fundsLeft = totalFeesToPay; uint256 numberOfNops = s_nops.length(); for (uint256 i = 0; i < numberOfNops; ++i) { (address nop, uint256 weight) = s_nops.at(i); // amount can never be higher than totalFeesToPay so the cast to uint96 is safe uint96 amount = uint96((totalFeesToPay * weight) / weightsTotal); fundsLeft -= amount; IERC20(i_linkToken).safeTransfer(nop, amount); emit NopPaid(nop, amount); } // Some funds can remain, since this is an incredibly small // amount we consider this OK. s_nopFeesJuels = fundsLeft; } /// @notice Allows the owner to withdraw any ERC20 token that is not the fee token /// @param feeToken The token to withdraw /// @param to The address to send the tokens to function withdrawNonLinkFees(address feeToken, address to) external onlyOwnerOrAdmin { if (feeToken == i_linkToken || to == address(0)) revert InvalidWithdrawParams(); // We require the link balance to be settled before allowing withdrawal // of non-link fees. if (_linkLeftAfterNopFees() < 0) revert LinkBalanceNotSettled(); IERC20(feeToken).safeTransfer(to, IERC20(feeToken).balanceOf(address(this))); } // ================================================================ // │ Link monitoring │ // ================================================================ /// @notice Calculate remaining LINK balance after paying nops /// @return balance if nops were to be paid function _linkLeftAfterNopFees() private view returns (int256) { // Since LINK caps at uint96, casting to int256 is safe return int256(IERC20(i_linkToken).balanceOf(address(this))) - int256(uint256(s_nopFeesJuels)); } /// @notice Allow keeper to monitor funds available for paying nops function linkAvailableForPayment() external view returns (int256) { return _linkLeftAfterNopFees(); } // ================================================================ // │ Access and ARM │ // ================================================================ /// @dev Require that the sender is the owner or the fee admin or a nop modifier onlyOwnerOrAdminOrNop() { if (msg.sender != owner() && msg.sender != s_admin && !s_nops.contains(msg.sender)) revert OnlyCallableByOwnerOrAdminOrNop(); _; } /// @dev Require that the sender is the owner or the fee admin modifier onlyOwnerOrAdmin() { if (msg.sender != owner() && msg.sender != s_admin) revert OnlyCallableByOwnerOrAdmin(); _; } /// @notice Ensure that the ARM has not emitted a bad signal, and that the latest heartbeat is not stale. modifier whenHealthy() { if (IARM(i_armProxy).isCursed()) revert BadARMSignal(); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableMap.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableMap.js. pragma solidity ^0.8.0; import "./EnumerableSet.sol"; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * The following map types are supported: * * - `uint256 -> address` (`UintToAddressMap`) since v3.0.0 * - `address -> uint256` (`AddressToUintMap`) since v4.6.0 * - `bytes32 -> bytes32` (`Bytes32ToBytes32Map`) since v4.6.0 * - `uint256 -> uint256` (`UintToUintMap`) since v4.7.0 * - `bytes32 -> uint256` (`Bytes32ToUintMap`) since v4.7.0 * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableMap, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableMap. * ==== */ library EnumerableMap { using EnumerableSet for EnumerableSet.Bytes32Set; // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct Bytes32ToBytes32Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping(bytes32 => bytes32) _values; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( Bytes32ToBytes32Map storage map, bytes32 key, bytes32 value ) internal returns (bool) { map._values[key] = value; return map._keys.add(key); } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(Bytes32ToBytes32Map storage map, bytes32 key) internal returns (bool) { delete map._values[key]; return map._keys.remove(key); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(Bytes32ToBytes32Map storage map, bytes32 key) internal view returns (bool) { return map._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function length(Bytes32ToBytes32Map storage map) internal view returns (uint256) { return map._keys.length(); } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32ToBytes32Map storage map, uint256 index) internal view returns (bytes32, bytes32) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function tryGet(Bytes32ToBytes32Map storage map, bytes32 key) internal view returns (bool, bytes32) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (contains(map, key), bytes32(0)); } else { return (true, value); } } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(Bytes32ToBytes32Map storage map, bytes32 key) internal view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( Bytes32ToBytes32Map storage map, bytes32 key, string memory errorMessage ) internal view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || contains(map, key), errorMessage); return value; } // UintToUintMap struct UintToUintMap { Bytes32ToBytes32Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToUintMap storage map, uint256 key, uint256 value ) internal returns (bool) { return set(map._inner, bytes32(key), bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToUintMap storage map, uint256 key) internal returns (bool) { return remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToUintMap storage map, uint256 key) internal view returns (bool) { return contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToUintMap storage map) internal view returns (uint256) { return length(map._inner); } /** * @dev Returns the element 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(UintToUintMap storage map, uint256 index) internal view returns (uint256, uint256) { (bytes32 key, bytes32 value) = at(map._inner, index); return (uint256(key), uint256(value)); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function tryGet(UintToUintMap storage map, uint256 key) internal view returns (bool, uint256) { (bool success, bytes32 value) = tryGet(map._inner, bytes32(key)); return (success, uint256(value)); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToUintMap storage map, uint256 key) internal view returns (uint256) { return uint256(get(map._inner, bytes32(key))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToUintMap storage map, uint256 key, string memory errorMessage ) internal view returns (uint256) { return uint256(get(map._inner, bytes32(key), errorMessage)); } // UintToAddressMap struct UintToAddressMap { Bytes32ToBytes32Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToAddressMap storage map, uint256 key, address value ) internal returns (bool) { return set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return length(map._inner); } /** * @dev Returns the element 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(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToAddressMap storage map, uint256 key, string memory errorMessage ) internal view returns (address) { return address(uint160(uint256(get(map._inner, bytes32(key), errorMessage)))); } // AddressToUintMap struct AddressToUintMap { Bytes32ToBytes32Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( AddressToUintMap storage map, address key, uint256 value ) internal returns (bool) { return set(map._inner, bytes32(uint256(uint160(key))), bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(AddressToUintMap storage map, address key) internal returns (bool) { return remove(map._inner, bytes32(uint256(uint160(key)))); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(AddressToUintMap storage map, address key) internal view returns (bool) { return contains(map._inner, bytes32(uint256(uint160(key)))); } /** * @dev Returns the number of elements in the map. O(1). */ function length(AddressToUintMap storage map) internal view returns (uint256) { return length(map._inner); } /** * @dev Returns the element 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(AddressToUintMap storage map, uint256 index) internal view returns (address, uint256) { (bytes32 key, bytes32 value) = at(map._inner, index); return (address(uint160(uint256(key))), uint256(value)); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function tryGet(AddressToUintMap storage map, address key) internal view returns (bool, uint256) { (bool success, bytes32 value) = tryGet(map._inner, bytes32(uint256(uint160(key)))); return (success, uint256(value)); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(AddressToUintMap storage map, address key) internal view returns (uint256) { return uint256(get(map._inner, bytes32(uint256(uint160(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( AddressToUintMap storage map, address key, string memory errorMessage ) internal view returns (uint256) { return uint256(get(map._inner, bytes32(uint256(uint160(key))), errorMessage)); } // Bytes32ToUintMap struct Bytes32ToUintMap { Bytes32ToBytes32Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( Bytes32ToUintMap storage map, bytes32 key, uint256 value ) internal returns (bool) { return set(map._inner, key, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(Bytes32ToUintMap storage map, bytes32 key) internal returns (bool) { return remove(map._inner, key); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(Bytes32ToUintMap storage map, bytes32 key) internal view returns (bool) { return contains(map._inner, key); } /** * @dev Returns the number of elements in the map. O(1). */ function length(Bytes32ToUintMap storage map) internal view returns (uint256) { return length(map._inner); } /** * @dev Returns the element 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(Bytes32ToUintMap storage map, uint256 index) internal view returns (bytes32, uint256) { (bytes32 key, bytes32 value) = at(map._inner, index); return (key, uint256(value)); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function tryGet(Bytes32ToUintMap storage map, bytes32 key) internal view returns (bool, uint256) { (bool success, bytes32 value) = tryGet(map._inner, key); return (success, uint256(value)); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(Bytes32ToUintMap storage map, bytes32 key) internal view returns (uint256) { return uint256(get(map._inner, key)); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( Bytes32ToUintMap storage map, bytes32 key, string memory errorMessage ) internal view returns (uint256) { return uint256(get(map._inner, key, errorMessage)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.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 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' 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) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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 require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {EnumerableMap} from "../../vendor/openzeppelin-solidity/v4.8.0/contracts/utils/structs/EnumerableMap.sol"; library EnumerableMapAddresses { using EnumerableMap for EnumerableMap.UintToAddressMap; struct AddressToAddressMap { EnumerableMap.UintToAddressMap _inner; } // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function set(AddressToAddressMap storage map, address key, address value) internal returns (bool) { return map._inner.set(uint256(uint160(key)), value); } // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function remove(AddressToAddressMap storage map, address key) internal returns (bool) { return map._inner.remove(uint256(uint160(key))); } // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function contains(AddressToAddressMap storage map, address key) internal view returns (bool) { return map._inner.contains(uint256(uint160(key))); } // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function length(AddressToAddressMap storage map) internal view returns (uint256) { return map._inner.length(); } // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function at(AddressToAddressMap storage map, uint256 index) internal view returns (address, address) { (uint256 key, address value) = map._inner.at(index); return (address(uint160(key)), value); } // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function tryGet(AddressToAddressMap storage map, address key) internal view returns (bool, address) { return map._inner.tryGet(uint256(uint160(key))); } // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function get(AddressToAddressMap storage map, address key) internal view returns (address) { return map._inner.get(uint256(uint160(key))); } // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function get( AddressToAddressMap storage map, address key, string memory errorMessage ) internal view returns (address) { return map._inner.get(uint256(uint160(key)), errorMessage); } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.0; library USDPriceWith18Decimals { /// @notice Takes a price in USD, with 18 decimals per 1e18 token amount, /// and amount of the smallest token denomination, /// calculates the value in USD with 18 decimals. /// @param tokenPrice The USD price of the token. /// @param tokenAmount Amount of the smallest token denomination. /// @return USD value with 18 decimals. /// @dev this function assumes that no more than 1e59 US dollar worth of token is passed in. /// If more is sent, this function will overflow and revert. /// Since there isn't even close to 1e59 dollars, this is ok for all legit tokens. function _calcUSDValueFromTokenAmount(uint224 tokenPrice, uint256 tokenAmount) internal pure returns (uint256) { /// LINK Example: /// tokenPrice: 8e18 -> $8/LINK, as 1e18 token amount is 1 LINK, worth 8 USD, or 8e18 with 18 decimals /// tokenAmount: 2e18 -> 2 LINK /// result: 8e18 * 2e18 / 1e18 -> 16e18 with 18 decimals = $16 /// USDC Example: /// tokenPrice: 1e30 -> $1/USDC, as 1e18 token amount is 1e12 USDC, worth 1e12 USD, or 1e30 with 18 decimals /// tokenAmount: 5e6 -> 5 USDC /// result: 1e30 * 5e6 / 1e18 -> 5e18 with 18 decimals = $5 return (tokenPrice * tokenAmount) / 1e18; } /// @notice Takes a price in USD, with 18 decimals per 1e18 token amount, /// and USD value with 18 decimals, /// calculates amount of the smallest token denomination. /// @param tokenPrice The USD price of the token. /// @param usdValue USD value with 18 decimals. /// @return Amount of the smallest token denomination. function _calcTokenAmountFromUSDValue(uint224 tokenPrice, uint256 usdValue) internal pure returns (uint256) { /// LINK Example: /// tokenPrice: 8e18 -> $8/LINK, as 1e18 token amount is 1 LINK, worth 8 USD, or 8e18 with 18 decimals /// usdValue: 16e18 -> $16 /// result: 16e18 * 1e18 / 8e18 -> 2e18 = 2 LINK /// USDC Example: /// tokenPrice: 1e30 -> $1/USDC, as 1e18 token amount is 1e12 USDC, worth 1e12 USD, or 1e30 with 18 decimals /// usdValue: 5e18 -> $5 /// result: 5e18 * 1e18 / 1e30 -> 5e6 = 5 USDC return (usdValue * 1e18) / tokenPrice; } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.0; /// @notice Implements Token Bucket rate limiting. /// @dev uint128 is safe for rate limiter state. /// For USD value rate limiting, it can adequately store USD value in 18 decimals. /// For ERC20 token amount rate limiting, all tokens that will be listed will have at most /// a supply of uint128.max tokens, and it will therefore not overflow the bucket. /// In exceptional scenarios where tokens consumed may be larger than uint128, /// e.g. compromised issuer, an enabled RateLimiter will check and revert. library RateLimiter { error BucketOverfilled(); error OnlyCallableByAdminOrOwner(); error TokenMaxCapacityExceeded(uint256 capacity, uint256 requested, address tokenAddress); error TokenRateLimitReached(uint256 minWaitInSeconds, uint256 available, address tokenAddress); error AggregateValueMaxCapacityExceeded(uint256 capacity, uint256 requested); error AggregateValueRateLimitReached(uint256 minWaitInSeconds, uint256 available); event TokensConsumed(uint256 tokens); event ConfigChanged(Config config); struct TokenBucket { uint128 tokens; // ──────╮ Current number of tokens that are in the bucket. uint32 lastUpdated; // │ Timestamp in seconds of the last token refill, good for 100+ years. bool isEnabled; // ──────╯ Indication whether the rate limiting is enabled or not uint128 capacity; // ────╮ Maximum number of tokens that can be in the bucket. uint128 rate; // ────────╯ Number of tokens per second that the bucket is refilled. } struct Config { bool isEnabled; // Indication whether the rate limiting should be enabled uint128 capacity; // ────╮ Specifies the capacity of the rate limiter uint128 rate; // ───────╯ Specifies the rate of the rate limiter } /// @notice _consume removes the given tokens from the pool, lowering the /// rate tokens allowed to be consumed for subsequent calls. /// @param requestTokens The total tokens to be consumed from the bucket. /// @param tokenAddress The token to consume capacity for, use 0x0 to indicate aggregate value capacity. /// @dev Reverts when requestTokens exceeds bucket capacity or available tokens in the bucket /// @dev emits removal of requestTokens if requestTokens is > 0 function _consume(TokenBucket storage s_bucket, uint256 requestTokens, address tokenAddress) internal { // If there is no value to remove or rate limiting is turned off, skip this step to reduce gas usage if (!s_bucket.isEnabled || requestTokens == 0) { return; } uint256 tokens = s_bucket.tokens; uint256 capacity = s_bucket.capacity; uint256 timeDiff = block.timestamp - s_bucket.lastUpdated; if (timeDiff != 0) { if (tokens > capacity) revert BucketOverfilled(); // Refill tokens when arriving at a new block time tokens = _calculateRefill(capacity, tokens, timeDiff, s_bucket.rate); s_bucket.lastUpdated = uint32(block.timestamp); } if (capacity < requestTokens) { // Token address 0 indicates consuming aggregate value rate limit capacity. if (tokenAddress == address(0)) revert AggregateValueMaxCapacityExceeded(capacity, requestTokens); revert TokenMaxCapacityExceeded(capacity, requestTokens, tokenAddress); } if (tokens < requestTokens) { uint256 rate = s_bucket.rate; // Wait required until the bucket is refilled enough to accept this value, round up to next higher second // Consume is not guaranteed to succeed after wait time passes if there is competing traffic. // This acts as a lower bound of wait time. uint256 minWaitInSeconds = ((requestTokens - tokens) + (rate - 1)) / rate; if (tokenAddress == address(0)) revert AggregateValueRateLimitReached(minWaitInSeconds, tokens); revert TokenRateLimitReached(minWaitInSeconds, tokens, tokenAddress); } tokens -= requestTokens; // Downcast is safe here, as tokens is not larger than capacity s_bucket.tokens = uint128(tokens); emit TokensConsumed(requestTokens); } /// @notice Gets the token bucket with its values for the block it was requested at. /// @return The token bucket. function _currentTokenBucketState(TokenBucket memory bucket) internal view returns (TokenBucket memory) { // We update the bucket to reflect the status at the exact time of the // call. This means we might need to refill a part of the bucket based // on the time that has passed since the last update. bucket.tokens = uint128( _calculateRefill(bucket.capacity, bucket.tokens, block.timestamp - bucket.lastUpdated, bucket.rate) ); bucket.lastUpdated = uint32(block.timestamp); return bucket; } /// @notice Sets the rate limited config. /// @param s_bucket The token bucket /// @param config The new config function _setTokenBucketConfig(TokenBucket storage s_bucket, Config memory config) internal { // First update the bucket to make sure the proper rate is used for all the time // up until the config change. uint256 timeDiff = block.timestamp - s_bucket.lastUpdated; if (timeDiff != 0) { s_bucket.tokens = uint128(_calculateRefill(s_bucket.capacity, s_bucket.tokens, timeDiff, s_bucket.rate)); s_bucket.lastUpdated = uint32(block.timestamp); } s_bucket.tokens = uint128(_min(config.capacity, s_bucket.tokens)); s_bucket.isEnabled = config.isEnabled; s_bucket.capacity = config.capacity; s_bucket.rate = config.rate; emit ConfigChanged(config); } /// @notice Calculate refilled tokens /// @param capacity bucket capacity /// @param tokens current bucket tokens /// @param timeDiff block time difference since last refill /// @param rate bucket refill rate /// @return the value of tokens after refill function _calculateRefill( uint256 capacity, uint256 tokens, uint256 timeDiff, uint256 rate ) private pure returns (uint256) { return _min(capacity, tokens + timeDiff * rate); } /// @notice Return the smallest of two integers /// @param a first int /// @param b second int /// @return smallest function _min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Client} from "./Client.sol"; import {MerkleMultiProof} from "../libraries/MerkleMultiProof.sol"; // Library for CCIP internal definitions common to multiple contracts. library Internal { /// @dev The minimum amount of gas to perform the call with exact gas. /// We include this in the offramp so that we can redeploy to adjust it /// should a hardfork change the gas costs of relevant opcodes in callWithExactGas. uint16 internal constant GAS_FOR_CALL_EXACT_CHECK = 5_000; // @dev We limit return data to a selector plus 4 words. This is to avoid // malicious contracts from returning large amounts of data and causing // repeated out-of-gas scenarios. uint16 internal constant MAX_RET_BYTES = 4 + 4 * 32; /// @notice A collection of token price and gas price updates. /// @dev RMN depends on this struct, if changing, please notify the RMN maintainers. struct PriceUpdates { TokenPriceUpdate[] tokenPriceUpdates; GasPriceUpdate[] gasPriceUpdates; } /// @notice Token price in USD. /// @dev RMN depends on this struct, if changing, please notify the RMN maintainers. struct TokenPriceUpdate { address sourceToken; // Source token uint224 usdPerToken; // 1e18 USD per smallest unit of token } /// @notice Gas price for a given chain in USD, its value may contain tightly packed fields. /// @dev RMN depends on this struct, if changing, please notify the RMN maintainers. struct GasPriceUpdate { uint64 destChainSelector; // Destination chain selector uint224 usdPerUnitGas; // 1e18 USD per smallest unit (e.g. wei) of destination chain gas } /// @notice A timestamped uint224 value that can contain several tightly packed fields. struct TimestampedPackedUint224 { uint224 value; // ───────╮ Value in uint224, packed. uint32 timestamp; // ────╯ Timestamp of the most recent price update. } /// @dev Gas price is stored in 112-bit unsigned int. uint224 can pack 2 prices. /// When packing L1 and L2 gas prices, L1 gas price is left-shifted to the higher-order bits. /// Using uint8 type, which cannot be higher than other bit shift operands, to avoid shift operand type warning. uint8 public constant GAS_PRICE_BITS = 112; struct PoolUpdate { address token; // The IERC20 token address address pool; // The token pool address } /// @notice Report that is submitted by the execution DON at the execution phase. /// @dev RMN depends on this struct, if changing, please notify the RMN maintainers. struct ExecutionReport { EVM2EVMMessage[] messages; // Contains a bytes array for each message, each inner bytes array contains bytes per transferred token bytes[][] offchainTokenData; bytes32[] proofs; uint256 proofFlagBits; } /// @notice The cross chain message that gets committed to EVM chains. /// @dev RMN depends on this struct, if changing, please notify the RMN maintainers. struct EVM2EVMMessage { uint64 sourceChainSelector; // ─────────╮ the chain selector of the source chain, note: not chainId address sender; // ─────────────────────╯ sender address on the source chain address receiver; // ───────────────────╮ receiver address on the destination chain uint64 sequenceNumber; // ──────────────╯ sequence number, not unique across lanes uint256 gasLimit; // user supplied maximum gas amount available for dest chain execution bool strict; // ────────────────────────╮ DEPRECATED uint64 nonce; // │ nonce for this lane for this sender, not unique across senders/lanes address feeToken; // ───────────────────╯ fee token uint256 feeTokenAmount; // fee token amount bytes data; // arbitrary data payload supplied by the message sender Client.EVMTokenAmount[] tokenAmounts; // array of tokens and amounts to transfer bytes[] sourceTokenData; // array of token pool return values, one per token bytes32 messageId; // a hash of the message data } /// @dev EVM2EVMMessage struct has 13 fields, including 3 variable arrays. /// Each variable array takes 1 more slot to store its length. /// When abi encoded, excluding array contents, /// EVM2EVMMessage takes up a fixed number of 16 lots, 32 bytes each. /// For structs that contain arrays, 1 more slot is added to the front, reaching a total of 17. uint256 public constant MESSAGE_FIXED_BYTES = 32 * 17; /// @dev Each token transfer adds 1 EVMTokenAmount and 1 bytes. /// When abiEncoded, each EVMTokenAmount takes 2 slots, each bytes takes 2 slots, excl bytes contents uint256 public constant MESSAGE_FIXED_BYTES_PER_TOKEN = 32 * 4; function _toAny2EVMMessage( EVM2EVMMessage memory original, Client.EVMTokenAmount[] memory destTokenAmounts ) internal pure returns (Client.Any2EVMMessage memory message) { message = Client.Any2EVMMessage({ messageId: original.messageId, sourceChainSelector: original.sourceChainSelector, sender: abi.encode(original.sender), data: original.data, destTokenAmounts: destTokenAmounts }); } bytes32 internal constant EVM_2_EVM_MESSAGE_HASH = keccak256("EVM2EVMMessageHashV2"); function _hash(EVM2EVMMessage memory original, bytes32 metadataHash) internal pure returns (bytes32) { // Fixed-size message fields are included in nested hash to reduce stack pressure. // This hashing scheme is also used by RMN. If changing it, please notify the RMN maintainers. return keccak256( abi.encode( MerkleMultiProof.LEAF_DOMAIN_SEPARATOR, metadataHash, keccak256( abi.encode( original.sender, original.receiver, original.sequenceNumber, original.gasLimit, original.strict, original.nonce, original.feeToken, original.feeTokenAmount ) ), keccak256(original.data), keccak256(abi.encode(original.tokenAmounts)), keccak256(abi.encode(original.sourceTokenData)) ) ); } /// @notice Enum listing the possible message execution states within /// the offRamp contract. /// UNTOUCHED never executed /// IN_PROGRESS currently being executed, used a replay protection /// SUCCESS successfully executed. End state /// FAILURE unsuccessfully executed, manual execution is now enabled. /// @dev RMN depends on this enum, if changing, please notify the RMN maintainers. enum MessageExecutionState { UNTOUCHED, IN_PROGRESS, SUCCESS, FAILURE } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // End consumer library. library Client { /// @dev RMN depends on this struct, if changing, please notify the RMN maintainers. struct EVMTokenAmount { address token; // token address on the local chain. uint256 amount; // Amount of tokens. } struct Any2EVMMessage { bytes32 messageId; // MessageId corresponding to ccipSend on source. uint64 sourceChainSelector; // Source chain selector. bytes sender; // abi.decode(sender) if coming from an EVM chain. bytes data; // payload sent in original message. EVMTokenAmount[] destTokenAmounts; // Tokens and their amounts in their destination chain representation. } // If extraArgs is empty bytes, the default is 200k gas limit. struct EVM2AnyMessage { bytes receiver; // abi.encode(receiver address) for dest EVM chains bytes data; // Data payload EVMTokenAmount[] tokenAmounts; // Token transfers address feeToken; // Address of feeToken. address(0) means you will send msg.value. bytes extraArgs; // Populate this with _argsToBytes(EVMExtraArgsV1) } // bytes4(keccak256("CCIP EVMExtraArgsV1")); bytes4 public constant EVM_EXTRA_ARGS_V1_TAG = 0x97a657c9; struct EVMExtraArgsV1 { uint256 gasLimit; } function _argsToBytes(EVMExtraArgsV1 memory extraArgs) internal pure returns (bytes memory bts) { return abi.encodeWithSelector(EVM_EXTRA_ARGS_V1_TAG, extraArgs); } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.19; import {IPriceRegistry} from "./interfaces/IPriceRegistry.sol"; import {OwnerIsCreator} from "./../shared/access/OwnerIsCreator.sol"; import {Client} from "./libraries/Client.sol"; import {RateLimiter} from "./libraries/RateLimiter.sol"; import {USDPriceWith18Decimals} from "./libraries/USDPriceWith18Decimals.sol"; /// @notice The aggregate rate limiter is a wrapper of the token bucket rate limiter /// which permits rate limiting based on the aggregate value of a group of /// token transfers, using a price registry to convert to a numeraire asset (e.g. USD). contract AggregateRateLimiter is OwnerIsCreator { using RateLimiter for RateLimiter.TokenBucket; using USDPriceWith18Decimals for uint224; error PriceNotFoundForToken(address token); event AdminSet(address newAdmin); // The address of the token limit admin that has the same permissions as the owner. address internal s_admin; // The token bucket object that contains the bucket state. RateLimiter.TokenBucket private s_rateLimiter; /// @param config The RateLimiter.Config containing the capacity and refill rate /// of the bucket, plus the admin address. constructor(RateLimiter.Config memory config) { s_rateLimiter = RateLimiter.TokenBucket({ rate: config.rate, capacity: config.capacity, tokens: config.capacity, lastUpdated: uint32(block.timestamp), isEnabled: config.isEnabled }); } /// @notice Consumes value from the rate limiter bucket based on the /// token value given. First, calculate the prices function _rateLimitValue(Client.EVMTokenAmount[] memory tokenAmounts, IPriceRegistry priceRegistry) internal { uint256 numberOfTokens = tokenAmounts.length; uint256 value = 0; for (uint256 i = 0; i < numberOfTokens; ++i) { // not fetching validated price, as price staleness is not important for value-based rate limiting // we only need to verify price is not 0 uint224 pricePerToken = priceRegistry.getTokenPrice(tokenAmounts[i].token).value; if (pricePerToken == 0) revert PriceNotFoundForToken(tokenAmounts[i].token); value += pricePerToken._calcUSDValueFromTokenAmount(tokenAmounts[i].amount); } s_rateLimiter._consume(value, address(0)); } /// @notice Gets the token bucket with its values for the block it was requested at. /// @return The token bucket. function currentRateLimiterState() external view returns (RateLimiter.TokenBucket memory) { return s_rateLimiter._currentTokenBucketState(); } /// @notice Sets the rate limited config. /// @param config The new rate limiter config. /// @dev should only be callable by the owner or token limit admin. function setRateLimiterConfig(RateLimiter.Config memory config) external onlyAdminOrOwner { s_rateLimiter._setTokenBucketConfig(config); } // ================================================================ // │ Access │ // ================================================================ /// @notice Gets the token limit admin address. /// @return the token limit admin address. function getTokenLimitAdmin() external view returns (address) { return s_admin; } /// @notice Sets the token limit admin address. /// @param newAdmin the address of the new admin. /// @dev setting this to address(0) indicates there is no active admin. function setAdmin(address newAdmin) external onlyAdminOrOwner { s_admin = newAdmin; emit AdminSet(newAdmin); } /// @notice a modifier that allows the owner or the s_tokenLimitAdmin call the functions /// it is applied to. modifier onlyAdminOrOwner() { if (msg.sender != owner() && msg.sender != s_admin) revert RateLimiter.OnlyCallableByAdminOrOwner(); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @notice Implement this contract so that a keeper-compatible contract can monitor /// and fund the implementation contract with LINK if it falls below a defined threshold. interface ILinkAvailable { function linkAvailableForPayment() external view returns (int256 availableBalance); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IPool} from "./pools/IPool.sol"; import {Client} from "../libraries/Client.sol"; import {IERC20} from "../../vendor/openzeppelin-solidity/v4.8.0/contracts/token/ERC20/IERC20.sol"; interface IEVM2AnyOnRampClient { /// @notice Get the fee for a given ccip message /// @param destChainSelector The destination chain selector /// @param message The message to calculate the cost for /// @return fee The calculated fee function getFee(uint64 destChainSelector, Client.EVM2AnyMessage calldata message) external view returns (uint256 fee); /// @notice Get the pool for a specific token /// @param destChainSelector The destination chain selector /// @param sourceToken The source chain token to get the pool for /// @return pool Token pool function getPoolBySourceToken(uint64 destChainSelector, IERC20 sourceToken) external view returns (IPool); /// @notice Gets a list of all supported source chain tokens. /// @param destChainSelector The destination chain selector /// @return tokens The addresses of all tokens that this onRamp supports the given destination chain function getSupportedTokens(uint64 destChainSelector) external view returns (address[] memory tokens); /// @notice Send a message to the remote chain /// @dev only callable by the Router /// @dev approve() must have already been called on the token using the this ramp address as the spender. /// @dev if the contract is paused, this function will revert. /// @param destChainSelector The destination chain selector /// @param message Message struct to send /// @param feeTokenAmount Amount of fee tokens for payment /// @param originalSender The original initiator of the CCIP request function forwardFromRouter( uint64 destChainSelector, Client.EVM2AnyMessage memory message, uint256 feeTokenAmount, address originalSender ) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IEVM2AnyOnRampClient} from "./IEVM2AnyOnRampClient.sol"; import {Internal} from "../libraries/Internal.sol"; interface IEVM2AnyOnRamp is IEVM2AnyOnRampClient { /// @notice Gets the next sequence number to be used in the onRamp /// @return the next sequence number to be used function getExpectedNextSequenceNumber() external view returns (uint64); /// @notice Get the next nonce for a given sender /// @param sender The sender to get the nonce for /// @return nonce The next nonce for the sender function getSenderNonce(address sender) external view returns (uint64 nonce); /// @notice Adds and removed token pools. /// @param removes The tokens and pools to be removed /// @param adds The tokens and pools to be added. function applyPoolUpdates(Internal.PoolUpdate[] memory removes, Internal.PoolUpdate[] memory adds) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Internal} from "../libraries/Internal.sol"; interface IPriceRegistry { /// @notice Update the price for given tokens and gas prices for given chains. /// @param priceUpdates The price updates to apply. function updatePrices(Internal.PriceUpdates memory priceUpdates) external; /// @notice Get the `tokenPrice` for a given token. /// @param token The token to get the price for. /// @return tokenPrice The tokenPrice for the given token. function getTokenPrice(address token) external view returns (Internal.TimestampedPackedUint224 memory); /// @notice Get the `tokenPrice` for a given token, checks if the price is valid. /// @param token The token to get the price for. /// @return tokenPrice The tokenPrice for the given token if it exists and is valid. function getValidatedTokenPrice(address token) external view returns (uint224); /// @notice Get the `tokenPrice` for an array of tokens. /// @param tokens The tokens to get prices for. /// @return tokenPrices The tokenPrices for the given tokens. function getTokenPrices(address[] calldata tokens) external view returns (Internal.TimestampedPackedUint224[] memory); /// @notice Get an encoded `gasPrice` for a given destination chain ID. /// The 224-bit result encodes necessary gas price components. /// On L1 chains like Ethereum or Avax, the only component is the gas price. /// On Optimistic Rollups, there are two components - the L2 gas price, and L1 base fee for data availability. /// On future chains, there could be more or differing price components. /// PriceRegistry does not contain chain-specific logic to parse destination chain price components. /// @param destChainSelector The destination chain to get the price for. /// @return gasPrice The encoded gasPrice for the given destination chain ID. function getDestinationChainGasPrice( uint64 destChainSelector ) external view returns (Internal.TimestampedPackedUint224 memory); /// @notice Gets the fee token price and the gas price, both denominated in dollars. /// @param token The source token to get the price for. /// @param destChainSelector The destination chain to get the gas price for. /// @return tokenPrice The price of the feeToken in 1e18 dollars per base unit. /// @return gasPrice The price of gas in 1e18 dollars per base unit. function getTokenAndGasPrices( address token, uint64 destChainSelector ) external view returns (uint224 tokenPrice, uint224 gasPrice); /// @notice Convert a given token amount to target token amount. /// @param fromToken The given token address. /// @param fromTokenAmount The given token amount. /// @param toToken The target token address. /// @return toTokenAmount The target token amount. function convertTokenAmount( address fromToken, uint256 fromTokenAmount, address toToken ) external view returns (uint256 toTokenAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @notice This interface contains the only ARM-related functions that might be used on-chain by other CCIP contracts. interface IARM { /// @notice A Merkle root tagged with the address of the commit store contract it is destined for. struct TaggedRoot { address commitStore; bytes32 root; } /// @notice Callers MUST NOT cache the return value as a blessed tagged root could become unblessed. function isBlessed(TaggedRoot calldata taggedRoot) external view returns (bool); /// @notice When the ARM is "cursed", CCIP pauses until the curse is lifted. function isCursed() external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IERC20} from "../../../vendor/openzeppelin-solidity/v4.8.0/contracts/token/ERC20/IERC20.sol"; // Shared public interface for multiple pool types. // Each pool type handles a different child token model (lock/unlock, mint/burn.) interface IPool { /// @notice Lock tokens into the pool or burn the tokens. /// @param originalSender Original sender of the tokens. /// @param receiver Receiver of the tokens on destination chain. /// @param amount Amount to lock or burn. /// @param destChainSelector Destination chain Id. /// @param extraArgs Additional data passed in by sender for lockOrBurn processing /// in custom pools on source chain. /// @return retData Optional field that contains bytes. Unused for now but already /// implemented to allow future upgrades while preserving the interface. function lockOrBurn( address originalSender, bytes calldata receiver, uint256 amount, uint64 destChainSelector, bytes calldata extraArgs ) external returns (bytes memory); /// @notice Releases or mints tokens to the receiver address. /// @param originalSender Original sender of the tokens. /// @param receiver Receiver of the tokens. /// @param amount Amount to release or mint. /// @param sourceChainSelector Source chain Id. /// @param extraData Additional data supplied offchain for releaseOrMint processing in /// custom pools on dest chain. This could be an attestation that was retrieved through a /// third party API. /// @dev offchainData can come from any untrusted source. function releaseOrMint( bytes memory originalSender, address receiver, uint256 amount, uint64 sourceChainSelector, bytes memory extraData ) external; /// @notice Gets the IERC20 token that this pool can lock or burn. /// @return token The IERC20 token representation. function getToken() external view returns (IERC20 token); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ITypeAndVersion { function typeAndVersion() external pure returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^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. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ 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; if (lastIndex != toDeleteIndex) { 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] = valueIndex; // Replace lastValue's index to valueIndex } // 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) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // 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); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // 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)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // 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 in 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)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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"); (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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.0; library MerkleMultiProof { /// @notice Leaf domain separator, should be used as the first 32 bytes of a leaf's preimage. bytes32 internal constant LEAF_DOMAIN_SEPARATOR = 0x0000000000000000000000000000000000000000000000000000000000000000; /// @notice Internal domain separator, should be used as the first 32 bytes of an internal node's preiimage. bytes32 internal constant INTERNAL_DOMAIN_SEPARATOR = 0x0000000000000000000000000000000000000000000000000000000000000001; uint256 internal constant MAX_NUM_HASHES = 256; error InvalidProof(); error LeavesCannotBeEmpty(); /// @notice Computes the root based on provided pre-hashed leaf nodes in /// leaves, internal nodes in proofs, and using proofFlagBits' i-th bit to /// determine if an element of proofs or one of the previously computed leafs /// or internal nodes will be used for the i-th hash. /// @param leaves Should be pre-hashed and the first 32 bytes of a leaf's /// preimage should match LEAF_DOMAIN_SEPARATOR. /// @param proofs The hashes to be used instead of a leaf hash when the proofFlagBits /// indicates a proof should be used. /// @param proofFlagBits A single uint256 of which each bit indicates whether a leaf or /// a proof needs to be used in a hash operation. /// @dev the maximum number of hash operations it set to 256. Any input that would require /// more than 256 hashes to get to a root will revert. /// @dev For given input `leaves` = [a,b,c] `proofs` = [D] and `proofFlagBits` = 5 /// totalHashes = 3 + 1 - 1 = 3 /// ** round 1 ** /// proofFlagBits = (5 >> 0) & 1 = true /// hashes[0] = hashPair(a, b) /// (leafPos, hashPos, proofPos) = (2, 0, 0); /// /// ** round 2 ** /// proofFlagBits = (5 >> 1) & 1 = false /// hashes[1] = hashPair(D, c) /// (leafPos, hashPos, proofPos) = (3, 0, 1); /// /// ** round 3 ** /// proofFlagBits = (5 >> 2) & 1 = true /// hashes[2] = hashPair(hashes[0], hashes[1]) /// (leafPos, hashPos, proofPos) = (3, 2, 1); /// /// i = 3 and no longer < totalHashes. The algorithm is done /// return hashes[totalHashes - 1] = hashes[2]; the last hash we computed. // We mark this function as internal to force it to be inlined in contracts // that use it, but semantically it is public. // solhint-disable-next-line chainlink-solidity/prefix-internal-functions-with-underscore function merkleRoot( bytes32[] memory leaves, bytes32[] memory proofs, uint256 proofFlagBits ) internal pure returns (bytes32) { unchecked { uint256 leavesLen = leaves.length; uint256 proofsLen = proofs.length; if (leavesLen == 0) revert LeavesCannotBeEmpty(); if (!(leavesLen <= MAX_NUM_HASHES + 1 && proofsLen <= MAX_NUM_HASHES + 1)) revert InvalidProof(); uint256 totalHashes = leavesLen + proofsLen - 1; if (!(totalHashes <= MAX_NUM_HASHES)) revert InvalidProof(); if (totalHashes == 0) { return leaves[0]; } bytes32[] memory hashes = new bytes32[](totalHashes); (uint256 leafPos, uint256 hashPos, uint256 proofPos) = (0, 0, 0); for (uint256 i = 0; i < totalHashes; ++i) { // Checks if the bit flag signals the use of a supplied proof or a leaf/previous hash. bytes32 a; if (proofFlagBits & (1 << i) == (1 << i)) { // Use a leaf or a previously computed hash. if (leafPos < leavesLen) { a = leaves[leafPos++]; } else { a = hashes[hashPos++]; } } else { // Use a supplied proof. a = proofs[proofPos++]; } // The second part of the hashed pair is never a proof as hashing two proofs would result in a // hash that can already be computed offchain. bytes32 b; if (leafPos < leavesLen) { b = leaves[leafPos++]; } else { b = hashes[hashPos++]; } if (!(hashPos <= i)) revert InvalidProof(); hashes[i] = _hashPair(a, b); } if (!(hashPos == totalHashes - 1 && leafPos == leavesLen && proofPos == proofsLen)) revert InvalidProof(); // Return the last hash. return hashes[totalHashes - 1]; } } /// @notice Hashes two bytes32 objects in their given order, prepended by the /// INTERNAL_DOMAIN_SEPARATOR. function _hashInternalNode(bytes32 left, bytes32 right) private pure returns (bytes32 hash) { return keccak256(abi.encode(INTERNAL_DOMAIN_SEPARATOR, left, right)); } /// @notice Hashes two bytes32 objects. The order is taken into account, /// using the lower value first. function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _hashInternalNode(a, b) : _hashInternalNode(b, a); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ConfirmedOwner} from "./ConfirmedOwner.sol"; /// @title The OwnerIsCreator contract /// @notice A contract with helpers for basic contract ownership. contract OwnerIsCreator is ConfirmedOwner { constructor() ConfirmedOwner(msg.sender) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ConfirmedOwnerWithProposal} from "./ConfirmedOwnerWithProposal.sol"; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwner is ConfirmedOwnerWithProposal { constructor(address newOwner) ConfirmedOwnerWithProposal(newOwner, address(0)) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IOwnable} from "../interfaces/IOwnable.sol"; /** * @title The ConfirmedOwner contract * @notice A contract with helpers for basic contract ownership. */ contract ConfirmedOwnerWithProposal is IOwnable { address private s_owner; address private s_pendingOwner; event OwnershipTransferRequested(address indexed from, address indexed to); event OwnershipTransferred(address indexed from, address indexed to); constructor(address newOwner, address pendingOwner) { // solhint-disable-next-line custom-errors require(newOwner != address(0), "Cannot set owner to zero"); s_owner = newOwner; if (pendingOwner != address(0)) { _transferOwnership(pendingOwner); } } /** * @notice Allows an owner to begin transferring ownership to a new address, * pending. */ function transferOwnership(address to) public override onlyOwner { _transferOwnership(to); } /** * @notice Allows an ownership transfer to be completed by the recipient. */ function acceptOwnership() external override { // solhint-disable-next-line custom-errors require(msg.sender == s_pendingOwner, "Must be proposed owner"); address oldOwner = s_owner; s_owner = msg.sender; s_pendingOwner = address(0); emit OwnershipTransferred(oldOwner, msg.sender); } /** * @notice Get the current owner */ function owner() public view override returns (address) { return s_owner; } /** * @notice validate, transfer ownership, and emit relevant events */ function _transferOwnership(address to) private { // solhint-disable-next-line custom-errors require(to != msg.sender, "Cannot transfer to self"); s_pendingOwner = to; emit OwnershipTransferRequested(s_owner, to); } /** * @notice validate access */ function _validateOwnership() internal view { // solhint-disable-next-line custom-errors require(msg.sender == s_owner, "Only callable by owner"); } /** * @notice Reverts if called by anyone other than the contract owner. */ modifier onlyOwner() { _validateOwnership(); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IOwnable { function owner() external returns (address); function transferOwnership(address recipient) external; function acceptOwnership() external; }
{ "optimizer": { "enabled": true, "runs": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "remappings": [], "evmVersion": "paris", "metadata": { "bytecodeHash": "none" } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"components":[{"internalType":"address","name":"linkToken","type":"address"},{"internalType":"uint64","name":"chainSelector","type":"uint64"},{"internalType":"uint64","name":"destChainSelector","type":"uint64"},{"internalType":"uint64","name":"defaultTxGasLimit","type":"uint64"},{"internalType":"uint96","name":"maxNopFeesJuels","type":"uint96"},{"internalType":"address","name":"prevOnRamp","type":"address"},{"internalType":"address","name":"armProxy","type":"address"}],"internalType":"struct EVM2EVMOnRamp.StaticConfig","name":"staticConfig","type":"tuple"},{"components":[{"internalType":"address","name":"router","type":"address"},{"internalType":"uint16","name":"maxNumberOfTokensPerMsg","type":"uint16"},{"internalType":"uint32","name":"destGasOverhead","type":"uint32"},{"internalType":"uint16","name":"destGasPerPayloadByte","type":"uint16"},{"internalType":"uint32","name":"destDataAvailabilityOverheadGas","type":"uint32"},{"internalType":"uint16","name":"destGasPerDataAvailabilityByte","type":"uint16"},{"internalType":"uint16","name":"destDataAvailabilityMultiplierBps","type":"uint16"},{"internalType":"address","name":"priceRegistry","type":"address"},{"internalType":"uint32","name":"maxDataBytes","type":"uint32"},{"internalType":"uint32","name":"maxPerMsgGasLimit","type":"uint32"}],"internalType":"struct EVM2EVMOnRamp.DynamicConfig","name":"dynamicConfig","type":"tuple"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"pool","type":"address"}],"internalType":"struct Internal.PoolUpdate[]","name":"tokensAndPools","type":"tuple[]"},{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"internalType":"struct RateLimiter.Config","name":"rateLimiterConfig","type":"tuple"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint32","name":"networkFeeUSDCents","type":"uint32"},{"internalType":"uint64","name":"gasMultiplierWeiPerEth","type":"uint64"},{"internalType":"uint64","name":"premiumMultiplierWeiPerEth","type":"uint64"},{"internalType":"bool","name":"enabled","type":"bool"}],"internalType":"struct EVM2EVMOnRamp.FeeTokenConfigArgs[]","name":"feeTokenConfigs","type":"tuple[]"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint32","name":"minFeeUSDCents","type":"uint32"},{"internalType":"uint32","name":"maxFeeUSDCents","type":"uint32"},{"internalType":"uint16","name":"deciBps","type":"uint16"},{"internalType":"uint32","name":"destGasOverhead","type":"uint32"},{"internalType":"uint32","name":"destBytesOverhead","type":"uint32"}],"internalType":"struct EVM2EVMOnRamp.TokenTransferFeeConfigArgs[]","name":"tokenTransferFeeConfigArgs","type":"tuple[]"},{"components":[{"internalType":"address","name":"nop","type":"address"},{"internalType":"uint16","name":"weight","type":"uint16"}],"internalType":"struct EVM2EVMOnRamp.NopAndWeight[]","name":"nopsAndWeights","type":"tuple[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"capacity","type":"uint256"},{"internalType":"uint256","name":"requested","type":"uint256"}],"name":"AggregateValueMaxCapacityExceeded","type":"error"},{"inputs":[{"internalType":"uint256","name":"minWaitInSeconds","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"}],"name":"AggregateValueRateLimitReached","type":"error"},{"inputs":[],"name":"BadARMSignal","type":"error"},{"inputs":[],"name":"BucketOverfilled","type":"error"},{"inputs":[],"name":"CannotSendZeroTokens","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[{"internalType":"bytes","name":"encodedAddress","type":"bytes"}],"name":"InvalidAddress","type":"error"},{"inputs":[{"internalType":"uint64","name":"chainSelector","type":"uint64"}],"name":"InvalidChainSelector","type":"error"},{"inputs":[],"name":"InvalidConfig","type":"error"},{"inputs":[],"name":"InvalidExtraArgsTag","type":"error"},{"inputs":[{"internalType":"address","name":"nop","type":"address"}],"name":"InvalidNopAddress","type":"error"},{"inputs":[],"name":"InvalidTokenPoolConfig","type":"error"},{"inputs":[],"name":"InvalidWithdrawParams","type":"error"},{"inputs":[],"name":"LinkBalanceNotSettled","type":"error"},{"inputs":[],"name":"MaxFeeBalanceReached","type":"error"},{"inputs":[],"name":"MessageGasLimitTooHigh","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxSize","type":"uint256"},{"internalType":"uint256","name":"actualSize","type":"uint256"}],"name":"MessageTooLarge","type":"error"},{"inputs":[],"name":"MustBeCalledByRouter","type":"error"},{"inputs":[],"name":"NoFeesToPay","type":"error"},{"inputs":[],"name":"NoNopsToPay","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"NotAFeeToken","type":"error"},{"inputs":[],"name":"OnlyCallableByAdminOrOwner","type":"error"},{"inputs":[],"name":"OnlyCallableByOwnerOrAdmin","type":"error"},{"inputs":[],"name":"OnlyCallableByOwnerOrAdminOrNop","type":"error"},{"inputs":[],"name":"PoolAlreadyAdded","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"PoolDoesNotExist","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"PriceNotFoundForToken","type":"error"},{"inputs":[],"name":"RouterMustSetOriginalSender","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SourceTokenDataTooLarge","type":"error"},{"inputs":[{"internalType":"uint256","name":"capacity","type":"uint256"},{"internalType":"uint256","name":"requested","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"TokenMaxCapacityExceeded","type":"error"},{"inputs":[],"name":"TokenPoolMismatch","type":"error"},{"inputs":[{"internalType":"uint256","name":"minWaitInSeconds","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"TokenRateLimitReached","type":"error"},{"inputs":[],"name":"TooManyNops","type":"error"},{"inputs":[],"name":"UnsupportedNumberOfTokens","type":"error"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"UnsupportedToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminSet","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"uint64","name":"sourceChainSelector","type":"uint64"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint64","name":"sequenceNumber","type":"uint64"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bool","name":"strict","type":"bool"},{"internalType":"uint64","name":"nonce","type":"uint64"},{"internalType":"address","name":"feeToken","type":"address"},{"internalType":"uint256","name":"feeTokenAmount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Client.EVMTokenAmount[]","name":"tokenAmounts","type":"tuple[]"},{"internalType":"bytes[]","name":"sourceTokenData","type":"bytes[]"},{"internalType":"bytes32","name":"messageId","type":"bytes32"}],"indexed":false,"internalType":"struct Internal.EVM2EVMMessage","name":"message","type":"tuple"}],"name":"CCIPSendRequested","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"linkToken","type":"address"},{"internalType":"uint64","name":"chainSelector","type":"uint64"},{"internalType":"uint64","name":"destChainSelector","type":"uint64"},{"internalType":"uint64","name":"defaultTxGasLimit","type":"uint64"},{"internalType":"uint96","name":"maxNopFeesJuels","type":"uint96"},{"internalType":"address","name":"prevOnRamp","type":"address"},{"internalType":"address","name":"armProxy","type":"address"}],"indexed":false,"internalType":"struct EVM2EVMOnRamp.StaticConfig","name":"staticConfig","type":"tuple"},{"components":[{"internalType":"address","name":"router","type":"address"},{"internalType":"uint16","name":"maxNumberOfTokensPerMsg","type":"uint16"},{"internalType":"uint32","name":"destGasOverhead","type":"uint32"},{"internalType":"uint16","name":"destGasPerPayloadByte","type":"uint16"},{"internalType":"uint32","name":"destDataAvailabilityOverheadGas","type":"uint32"},{"internalType":"uint16","name":"destGasPerDataAvailabilityByte","type":"uint16"},{"internalType":"uint16","name":"destDataAvailabilityMultiplierBps","type":"uint16"},{"internalType":"address","name":"priceRegistry","type":"address"},{"internalType":"uint32","name":"maxDataBytes","type":"uint32"},{"internalType":"uint32","name":"maxPerMsgGasLimit","type":"uint32"}],"indexed":false,"internalType":"struct EVM2EVMOnRamp.DynamicConfig","name":"dynamicConfig","type":"tuple"}],"name":"ConfigSet","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint32","name":"networkFeeUSDCents","type":"uint32"},{"internalType":"uint64","name":"gasMultiplierWeiPerEth","type":"uint64"},{"internalType":"uint64","name":"premiumMultiplierWeiPerEth","type":"uint64"},{"internalType":"bool","name":"enabled","type":"bool"}],"indexed":false,"internalType":"struct EVM2EVMOnRamp.FeeTokenConfigArgs[]","name":"feeConfig","type":"tuple[]"}],"name":"FeeConfigSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nop","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NopPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nopWeightsTotal","type":"uint256"},{"components":[{"internalType":"address","name":"nop","type":"address"},{"internalType":"uint16","name":"weight","type":"uint16"}],"indexed":false,"internalType":"struct EVM2EVMOnRamp.NopAndWeight[]","name":"nopsAndWeights","type":"tuple[]"}],"name":"NopsSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"}],"name":"PoolAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"}],"name":"PoolRemoved","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint32","name":"minFeeUSDCents","type":"uint32"},{"internalType":"uint32","name":"maxFeeUSDCents","type":"uint32"},{"internalType":"uint16","name":"deciBps","type":"uint16"},{"internalType":"uint32","name":"destGasOverhead","type":"uint32"},{"internalType":"uint32","name":"destBytesOverhead","type":"uint32"}],"indexed":false,"internalType":"struct EVM2EVMOnRamp.TokenTransferFeeConfigArgs[]","name":"transferFeeConfig","type":"tuple[]"}],"name":"TokenTransferFeeConfigSet","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"pool","type":"address"}],"internalType":"struct Internal.PoolUpdate[]","name":"removes","type":"tuple[]"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"pool","type":"address"}],"internalType":"struct Internal.PoolUpdate[]","name":"adds","type":"tuple[]"}],"name":"applyPoolUpdates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentRateLimiterState","outputs":[{"components":[{"internalType":"uint128","name":"tokens","type":"uint128"},{"internalType":"uint32","name":"lastUpdated","type":"uint32"},{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"internalType":"struct RateLimiter.TokenBucket","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"destChainSelector","type":"uint64"},{"components":[{"internalType":"bytes","name":"receiver","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Client.EVMTokenAmount[]","name":"tokenAmounts","type":"tuple[]"},{"internalType":"address","name":"feeToken","type":"address"},{"internalType":"bytes","name":"extraArgs","type":"bytes"}],"internalType":"struct Client.EVM2AnyMessage","name":"message","type":"tuple"},{"internalType":"uint256","name":"feeTokenAmount","type":"uint256"},{"internalType":"address","name":"originalSender","type":"address"}],"name":"forwardFromRouter","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getDynamicConfig","outputs":[{"components":[{"internalType":"address","name":"router","type":"address"},{"internalType":"uint16","name":"maxNumberOfTokensPerMsg","type":"uint16"},{"internalType":"uint32","name":"destGasOverhead","type":"uint32"},{"internalType":"uint16","name":"destGasPerPayloadByte","type":"uint16"},{"internalType":"uint32","name":"destDataAvailabilityOverheadGas","type":"uint32"},{"internalType":"uint16","name":"destGasPerDataAvailabilityByte","type":"uint16"},{"internalType":"uint16","name":"destDataAvailabilityMultiplierBps","type":"uint16"},{"internalType":"address","name":"priceRegistry","type":"address"},{"internalType":"uint32","name":"maxDataBytes","type":"uint32"},{"internalType":"uint32","name":"maxPerMsgGasLimit","type":"uint32"}],"internalType":"struct EVM2EVMOnRamp.DynamicConfig","name":"dynamicConfig","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExpectedNextSequenceNumber","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"destChainSelector","type":"uint64"},{"components":[{"internalType":"bytes","name":"receiver","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Client.EVMTokenAmount[]","name":"tokenAmounts","type":"tuple[]"},{"internalType":"address","name":"feeToken","type":"address"},{"internalType":"bytes","name":"extraArgs","type":"bytes"}],"internalType":"struct Client.EVM2AnyMessage","name":"message","type":"tuple"}],"name":"getFee","outputs":[{"internalType":"uint256","name":"feeTokenAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getFeeTokenConfig","outputs":[{"components":[{"internalType":"uint32","name":"networkFeeUSDCents","type":"uint32"},{"internalType":"uint64","name":"gasMultiplierWeiPerEth","type":"uint64"},{"internalType":"uint64","name":"premiumMultiplierWeiPerEth","type":"uint64"},{"internalType":"bool","name":"enabled","type":"bool"}],"internalType":"struct EVM2EVMOnRamp.FeeTokenConfig","name":"feeTokenConfig","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNopFeesJuels","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNops","outputs":[{"components":[{"internalType":"address","name":"nop","type":"address"},{"internalType":"uint16","name":"weight","type":"uint16"}],"internalType":"struct EVM2EVMOnRamp.NopAndWeight[]","name":"nopsAndWeights","type":"tuple[]"},{"internalType":"uint256","name":"weightsTotal","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"},{"internalType":"contract IERC20","name":"sourceToken","type":"address"}],"name":"getPoolBySourceToken","outputs":[{"internalType":"contract IPool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getSenderNonce","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStaticConfig","outputs":[{"components":[{"internalType":"address","name":"linkToken","type":"address"},{"internalType":"uint64","name":"chainSelector","type":"uint64"},{"internalType":"uint64","name":"destChainSelector","type":"uint64"},{"internalType":"uint64","name":"defaultTxGasLimit","type":"uint64"},{"internalType":"uint96","name":"maxNopFeesJuels","type":"uint96"},{"internalType":"address","name":"prevOnRamp","type":"address"},{"internalType":"address","name":"armProxy","type":"address"}],"internalType":"struct EVM2EVMOnRamp.StaticConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"name":"getSupportedTokens","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenLimitAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getTokenTransferFeeConfig","outputs":[{"components":[{"internalType":"uint32","name":"minFeeUSDCents","type":"uint32"},{"internalType":"uint32","name":"maxFeeUSDCents","type":"uint32"},{"internalType":"uint16","name":"deciBps","type":"uint16"},{"internalType":"uint32","name":"destGasOverhead","type":"uint32"},{"internalType":"uint32","name":"destBytesOverhead","type":"uint32"}],"internalType":"struct EVM2EVMOnRamp.TokenTransferFeeConfig","name":"tokenTransferFeeConfig","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"linkAvailableForPayment","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payNops","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"router","type":"address"},{"internalType":"uint16","name":"maxNumberOfTokensPerMsg","type":"uint16"},{"internalType":"uint32","name":"destGasOverhead","type":"uint32"},{"internalType":"uint16","name":"destGasPerPayloadByte","type":"uint16"},{"internalType":"uint32","name":"destDataAvailabilityOverheadGas","type":"uint32"},{"internalType":"uint16","name":"destGasPerDataAvailabilityByte","type":"uint16"},{"internalType":"uint16","name":"destDataAvailabilityMultiplierBps","type":"uint16"},{"internalType":"address","name":"priceRegistry","type":"address"},{"internalType":"uint32","name":"maxDataBytes","type":"uint32"},{"internalType":"uint32","name":"maxPerMsgGasLimit","type":"uint32"}],"internalType":"struct EVM2EVMOnRamp.DynamicConfig","name":"dynamicConfig","type":"tuple"}],"name":"setDynamicConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint32","name":"networkFeeUSDCents","type":"uint32"},{"internalType":"uint64","name":"gasMultiplierWeiPerEth","type":"uint64"},{"internalType":"uint64","name":"premiumMultiplierWeiPerEth","type":"uint64"},{"internalType":"bool","name":"enabled","type":"bool"}],"internalType":"struct EVM2EVMOnRamp.FeeTokenConfigArgs[]","name":"feeTokenConfigArgs","type":"tuple[]"}],"name":"setFeeTokenConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"nop","type":"address"},{"internalType":"uint16","name":"weight","type":"uint16"}],"internalType":"struct EVM2EVMOnRamp.NopAndWeight[]","name":"nopsAndWeights","type":"tuple[]"}],"name":"setNops","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"internalType":"struct RateLimiter.Config","name":"config","type":"tuple"}],"name":"setRateLimiterConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint32","name":"minFeeUSDCents","type":"uint32"},{"internalType":"uint32","name":"maxFeeUSDCents","type":"uint32"},{"internalType":"uint16","name":"deciBps","type":"uint16"},{"internalType":"uint32","name":"destGasOverhead","type":"uint32"},{"internalType":"uint32","name":"destBytesOverhead","type":"uint32"}],"internalType":"struct EVM2EVMOnRamp.TokenTransferFeeConfigArgs[]","name":"tokenTransferFeeConfigArgs","type":"tuple[]"}],"name":"setTokenTransferFeeConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"typeAndVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"feeToken","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawNonLinkFees","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101806040523480156200001257600080fd5b506040516200849a3803806200849a833981016040819052620000359162001e40565b8333806000816200008d5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615620000c057620000c08162000323565b50506040805160a081018252602084810180516001600160801b039081168085524263ffffffff169385018490528751151585870181905292518216606086018190529790950151166080909301839052600380546001600160a01b031916909417600160801b9283021760ff60a01b1916600160a01b90910217909255029091176004555086516001600160a01b0316158062000169575060208701516001600160401b0316155b8062000180575060408701516001600160401b0316155b8062000197575060608701516001600160401b0316155b80620001ae575060c08701516001600160a01b0316155b15620001cd576040516306b7c75960e31b815260040160405180910390fd5b6020808801516040808a015181517f8acd72527118c8324937b1a42e02cd246697c3b633f1742f3cae11de233722b3948101949094526001600160401b039283169184019190915216606082015230608082015260a00160408051601f198184030181529181528151602092830120608090815289516001600160a01b0390811660e052928a01516001600160401b0390811661010052918a015182166101205260608a015190911660a0908152908901516001600160601b031660c0908152908901518216610140528801511661016052620002aa86620003ce565b620002b58362000645565b620002c0826200077f565b620002cb81620008e5565b6040805160008082526020820190925262000316916200030e565b6040805180820190915260008082526020820152815260200190600190039081620002e65790505b508662000b0f565b505050505050506200241a565b336001600160a01b038216036200037d5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000084565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b60e08101516001600160a01b0316620003fa576040516306b7c75960e31b815260040160405180910390fd5b80600560008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001601a6101000a81548161ffff021916908361ffff160217905550608082015181600001601c6101000a81548163ffffffff021916908363ffffffff16021790555060a08201518160010160006101000a81548161ffff021916908361ffff16021790555060c08201518160010160026101000a81548161ffff021916908361ffff16021790555060e08201518160010160046101000a8154816001600160a01b0302191690836001600160a01b031602179055506101008201518160010160186101000a81548163ffffffff021916908363ffffffff16021790555061012082015181600101601c6101000a81548163ffffffff021916908363ffffffff1602179055509050507f2a57f7c2027cf032c78b77d4d8d2fbd20ad22e5d5e5b5fb23ac7d7820d44adc66040518060e0016040528060e0516001600160a01b03168152602001610100516001600160401b03168152602001610120516001600160401b0316815260200160a0516001600160401b0316815260200160c0516001600160601b03168152602001610140516001600160a01b03168152602001610160516001600160a01b0316815250826040516200063a92919062002015565b60405180910390a150565b60005b81518110156200074d57600082828151811062000669576200066962002095565b60209081029190910181015160408051608080820183528385015163ffffffff9081168352838501516001600160401b03908116848801908152606080880151831686880190815294880151151590860190815296516001600160a01b03166000908152600d90985294909620925183549451925195511515600160a01b0260ff60a01b199688166c010000000000000000000000000296909616600160601b600160a81b031993909716640100000000026001600160601b0319909516911617929092179190911692909217179055506200074581620020c1565b905062000648565b507f067924bf9277d905a9a4631a06d959bc032ace86b3caa835ae7e403d4f39010e816040516200063a9190620020dd565b60005b8151811015620008b3576000828281518110620007a357620007a362002095565b6020908102919091018101516040805160a080820183528385015163ffffffff908116835283850151811683870190815260608087015161ffff9081168688019081526080808a0151861693880193845295890151851695870195865297516001600160a01b03166000908152600e909952959097209351845491519651975193518316600160701b0263ffffffff60701b199484166a01000000000000000000000263ffffffff60501b199990971668010000000000000000029890981665ffffffffffff60401b19978416640100000000026001600160401b03199093169190931617179490941693909317919091179190911691909117905550620008ab81620020c1565b905062000782565b507f555c74101f7a15746d31c6731170310e667bcc607996b2fc0b981a7b26a416e9816040516200063a91906200216c565b805160408111156200090a57604051635ad0867d60e11b815260040160405180910390fd5b6010546c01000000000000000000000000900463ffffffff161580159062000954575060105463ffffffff6c010000000000000000000000008204166001600160601b0390911610155b1562000964576200096462000e12565b600062000972600762001012565b90505b8015620009be576000620009986200098f600184620021f3565b60079062001025565b509050620009a860078262001043565b505080620009b69062002209565b905062000975565b506000805b8281101562000aa6576000848281518110620009e357620009e362002095565b6020026020010151600001519050600085838151811062000a085762000a0862002095565b602002602001015160200151905060e0516001600160a01b0316826001600160a01b0316148062000a4057506001600160a01b038216155b1562000a6b57604051634de938d160e01b81526001600160a01b038316600482015260240162000084565b62000a7d60078361ffff841662001061565b5062000a8e61ffff82168562002223565b935050508062000a9e90620020c1565b9050620009c3565b506010805463ffffffff60601b19166c0100000000000000000000000063ffffffff8416021790556040517f8c337bff38141c507abd25c547606bdde78fe8c12e941ab613f3a565fea6cd249062000b02908390869062002243565b60405180910390a1505050565b60005b825181101562000c4b57600083828151811062000b335762000b3362002095565b6020026020010151600001519050600084838151811062000b585762000b5862002095565b6020908102919091018101510151905062000b75600a8362001081565b62000b9f576040516373913ebd60e01b81526001600160a01b038316600482015260240162000084565b6001600160a01b03811662000bb6600a8462001098565b6001600160a01b03161462000bde57604051630d98f73360e31b815260040160405180910390fd5b62000beb600a83620010af565b1562000c3557604080516001600160a01b038085168252831660208201527f987eb3c2f78454541205f72f34839b434c306c9eaf4922efd7c0c3060fdb2e4c910160405180910390a15b50508062000c4390620020c1565b905062000b12565b5060005b815181101562000e0d57600082828151811062000c705762000c7062002095565b6020026020010151600001519050600083838151811062000c955762000c9562002095565b602002602001015160200151905060006001600160a01b0316826001600160a01b0316148062000ccc57506001600160a01b038116155b1562000cea5760405162d8548360e71b815260040160405180910390fd5b806001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d29573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d4f9190620022b0565b6001600160a01b0316826001600160a01b03161462000d8157604051630d98f73360e31b815260040160405180910390fd5b62000d8f600a8383620010c6565b1562000dde57604080516001600160a01b038085168252831660208201527f95f865c2808f8b2a85eea2611db7843150ee7835ef1403f9755918a97d76933c910160405180910390a162000df7565b604051633caf458560e01b815260040160405180910390fd5b50508062000e0590620020c1565b905062000c4f565b505050565b6000546001600160a01b0316331480159062000e3957506002546001600160a01b03163314155b801562000e50575062000e4e600733620010de565b155b1562000e6f5760405163032bb72b60e31b815260040160405180910390fd5b6010546c01000000000000000000000000900463ffffffff16600081900362000eab5760405163990e30bf60e01b815260040160405180910390fd5b6010546001600160601b03168181101562000ed9576040516311a1ee3b60e31b815260040160405180910390fd5b600062000ee5620010f5565b121562000f0557604051631e9acf1760e31b815260040160405180910390fd5b80600062000f14600762001012565b905060005b8181101562000fec5760008062000f3260078462001025565b909250905060008762000f4f836001600160601b038a16620022d0565b62000f5b9190620022ea565b905062000f6981876200230d565b60e05190965062000f8e906001600160a01b0316846001600160601b03841662001183565b6040516001600160601b03821681526001600160a01b038416907f55fdec2aab60a41fa5abb106670eb1006f5aeaee1ba7afea2bc89b5b3ec7678f9060200160405180910390a25050508062000fe490620020c1565b905062000f19565b5050601080546001600160601b0319166001600160601b03929092169190911790555050565b60006200101f82620011db565b92915050565b6000808080620010368686620011e8565b9097909650945050505050565b60006200105a836001600160a01b03841662001215565b9392505050565b600062001079846001600160a01b0385168462001234565b949350505050565b60006200105a836001600160a01b03841662001253565b60006200105a836001600160a01b03841662001261565b60006200105a836001600160a01b0384166200126f565b600062001079846001600160a01b038516846200127d565b60006200105a836001600160a01b03841662001295565b60105460e0516040516370a0823160e01b81523060048201526000926001600160601b0316916001600160a01b0316906370a0823190602401602060405180830381865afa1580156200114c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001172919062002330565b6200117e91906200234a565b905090565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663a9059cbb60e01b1790915262000e0d918591620012a316565b60006200101f8262001374565b60008080620011f885856200137f565b600081815260029690960160205260409095205494959350505050565b600081815260028301602052604081208190556200105a83836200138d565b600082815260028401602052604081208290556200107984846200139b565b60006200105a838362001295565b60006200105a8383620013a9565b60006200105a838362001215565b60006200107984846001600160a01b03851662001234565b60006200105a83836200141e565b6040805180820190915260208082527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490820152600090620012f2906001600160a01b03851690849062001437565b80519091501562000e0d57808060200190518101906200131391906200236d565b62000e0d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162000084565b60006200101f825490565b60006200105a838362001448565b60006200105a838362001475565b60006200105a838362001580565b600081815260028301602052604081205480151580620013d05750620013d0848462001295565b6200105a5760405162461bcd60e51b815260206004820152601e60248201527f456e756d657261626c654d61703a206e6f6e6578697374656e74206b65790000604482015260640162000084565b600081815260018301602052604081205415156200105a565b6060620010798484600085620015d2565b600082600001828154811062001462576200146262002095565b9060005260206000200154905092915050565b600081815260018301602052604081205480156200156e5760006200149c600183620021f3565b8554909150600090620014b290600190620021f3565b90508181146200151e576000866000018281548110620014d657620014d662002095565b9060005260206000200154905080876000018481548110620014fc57620014fc62002095565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806200153257620015326200238b565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506200101f565b60009150506200101f565b5092915050565b6000818152600183016020526040812054620015c9575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200101f565b5060006200101f565b606082471015620016355760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162000084565b600080866001600160a01b03168587604051620016539190620023c7565b60006040518083038185875af1925050503d806000811462001692576040519150601f19603f3d011682016040523d82523d6000602084013e62001697565b606091505b509092509050620016ab87838387620016b6565b979650505050505050565b606083156200172a57825160000362001722576001600160a01b0385163b620017225760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000084565b508162001079565b620010798383815115620017415781518083602001fd5b8060405162461bcd60e51b8152600401620000849190620023e5565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200179857620017986200175d565b60405290565b60405161014081016001600160401b03811182821017156200179857620017986200175d565b604080519081016001600160401b03811182821017156200179857620017986200175d565b60405160a081016001600160401b03811182821017156200179857620017986200175d565b60405160c081016001600160401b03811182821017156200179857620017986200175d565b604051601f8201601f191681016001600160401b03811182821017156200185e576200185e6200175d565b604052919050565b6001600160a01b03811681146200187c57600080fd5b50565b80516200188c8162001866565b919050565b80516001600160401b03811681146200188c57600080fd5b600060e08284031215620018bc57600080fd5b620018c662001773565b90508151620018d58162001866565b8152620018e56020830162001891565b6020820152620018f86040830162001891565b60408201526200190b6060830162001891565b606082015260808201516001600160601b03811681146200192b57600080fd5b60808201526200193e60a083016200187f565b60a08201526200195160c083016200187f565b60c082015292915050565b805161ffff811681146200188c57600080fd5b805163ffffffff811681146200188c57600080fd5b600061014082840312156200199857600080fd5b620019a26200179e565b9050620019af826200187f565b8152620019bf602083016200195c565b6020820152620019d2604083016200196f565b6040820152620019e5606083016200195c565b6060820152620019f8608083016200196f565b608082015262001a0b60a083016200195c565b60a082015262001a1e60c083016200195c565b60c082015262001a3160e083016200187f565b60e082015261010062001a468184016200196f565b9082015261012062001a5a8382016200196f565b9082015292915050565b60006001600160401b0382111562001a805762001a806200175d565b5060051b60200190565b600082601f83011262001a9c57600080fd5b8151602062001ab562001aaf8362001a64565b62001833565b82815260069290921b8401810191818101908684111562001ad557600080fd5b8286015b8481101562001b2f576040818903121562001af45760008081fd5b62001afe620017c4565b815162001b0b8162001866565b81528185015162001b1c8162001866565b8186015283529183019160400162001ad9565b509695505050505050565b805180151581146200188c57600080fd5b80516001600160801b03811681146200188c57600080fd5b60006060828403121562001b7657600080fd5b604051606081016001600160401b038111828210171562001b9b5762001b9b6200175d565b60405290508062001bac8362001b3a565b815262001bbc6020840162001b4b565b602082015262001bcf6040840162001b4b565b60408201525092915050565b600082601f83011262001bed57600080fd5b8151602062001c0062001aaf8362001a64565b82815260a0928302850182019282820191908785111562001c2057600080fd5b8387015b8581101562001caf5781818a03121562001c3e5760008081fd5b62001c48620017e9565b815162001c558162001866565b815262001c648287016200196f565b86820152604062001c7781840162001891565b90820152606062001c8a83820162001891565b90820152608062001c9d83820162001b3a565b90820152845292840192810162001c24565b5090979650505050505050565b600082601f83011262001cce57600080fd5b8151602062001ce162001aaf8362001a64565b82815260c0928302850182019282820191908785111562001d0157600080fd5b8387015b8581101562001caf5781818a03121562001d1f5760008081fd5b62001d296200180e565b815162001d368162001866565b815262001d458287016200196f565b86820152604062001d588184016200196f565b90820152606062001d6b8382016200195c565b90820152608062001d7e8382016200196f565b9082015260a062001d918382016200196f565b90820152845292840192810162001d05565b600082601f83011262001db557600080fd5b8151602062001dc862001aaf8362001a64565b82815260069290921b8401810191818101908684111562001de857600080fd5b8286015b8481101562001b2f576040818903121562001e075760008081fd5b62001e11620017c4565b815162001e1e8162001866565b815262001e2d8286016200195c565b8186015283529183019160400162001dec565b6000806000806000806000610300888a03121562001e5d57600080fd5b62001e698989620018a9565b965062001e7a8960e08a0162001984565b6102208901519096506001600160401b038082111562001e9957600080fd5b62001ea78b838c0162001a8a565b965062001eb98b6102408c0162001b63565b95506102a08a015191508082111562001ed157600080fd5b62001edf8b838c0162001bdb565b94506102c08a015191508082111562001ef757600080fd5b62001f058b838c0162001cbc565b93506102e08a015191508082111562001f1d57600080fd5b5062001f2c8a828b0162001da3565b91505092959891949750929550565b80516001600160a01b03168252602081015162001f5e602084018261ffff169052565b50604081015162001f77604084018263ffffffff169052565b50606081015162001f8e606084018261ffff169052565b50608081015162001fa7608084018263ffffffff169052565b5060a081015162001fbe60a084018261ffff169052565b5060c081015162001fd560c084018261ffff169052565b5060e081015162001ff160e08401826001600160a01b03169052565b506101008181015163ffffffff908116918401919091526101209182015116910152565b82516001600160a01b0390811682526020808501516001600160401b0390811691840191909152604080860151821690840152606080860151909116908301526080808501516001600160601b03169083015260a08085015182169083015260c0808501519091169082015261022081016200105a60e083018462001f3b565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620020d657620020d6620020ab565b5060010190565b602080825282518282018190526000919060409081850190868401855b828110156200215f57815180516001600160a01b031685528681015163ffffffff1687860152858101516001600160401b03908116878701526060808301519091169086015260809081015115159085015260a09093019290850190600101620020fa565b5091979650505050505050565b602080825282518282018190526000919060409081850190868401855b828110156200215f57815180516001600160a01b031685528681015163ffffffff908116888701528682015181168787015260608083015161ffff169087015260808083015182169087015260a091820151169085015260c0909301929085019060010162002189565b818103818111156200101f576200101f620020ab565b6000816200221b576200221b620020ab565b506000190190565b63ffffffff818116838216019080821115620015795762001579620020ab565b6000604080830163ffffffff8616845260208281860152818651808452606087019150828801935060005b81811015620022a257845180516001600160a01b0316845284015161ffff168484015293830193918501916001016200226e565b509098975050505050505050565b600060208284031215620022c357600080fd5b81516200105a8162001866565b80820281158282048414176200101f576200101f620020ab565b6000826200230857634e487b7160e01b600052601260045260246000fd5b500490565b6001600160601b03828116828216039080821115620015795762001579620020ab565b6000602082840312156200234357600080fd5b5051919050565b8181036000831280158383131683831282161715620015795762001579620020ab565b6000602082840312156200238057600080fd5b6200105a8262001b3a565b634e487b7160e01b600052603160045260246000fd5b60005b83811015620023be578181015183820152602001620023a4565b50506000910152565b60008251620023db818460208701620023a1565b9190910192915050565b602081526000825180602084015262002406816040850160208701620023a1565b601f01601f19169190910160400192915050565b60805160a05160c05160e05161010051610120516101405161016051615f726200252860003960008181610334015281816116530152613dfb015260008181610305015281816114060152818161146e01528181611c3501528181611c9d0152613dcc0152600081816102710152818161097f01528181611790015281816120350152613d3801526000818161024101528181611d680152613d0801526000818161021201528181610fb4015281816119e001528181611ae1015281816123a301528181613090015281816132c60152613cd90152600081816102d101528181611bad0152613d980152600081816102a1015281816125d30152613d680152600061215e0152615f726000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806379ba5097116100f9578063d09dc33911610097578063eff7cc4811610071578063eff7cc481461092d578063f25561fd14610935578063f2fde38b14610948578063fbca3b741461095b57600080fd5b8063d09dc339146108ff578063df0aa9e914610907578063e687b40a1461091a57600080fd5b80638da5cb5b116100d35780638da5cb5b146107c05780639a113c36146107d1578063b06d41bc146108d6578063c92b2832146108ec57600080fd5b806379ba5097146107925780637ec757511461079a578063856c8247146107ad57600080fd5b8063546719cd11610166578063599f643111610140578063599f6431146105ec578063704b6c02146105fd5780637437ff9f1461061057806376f6ae761461077f57600080fd5b8063546719cd14610555578063549e946f146105b957806354b71468146105cc57600080fd5b806320487ded116101a257806320487ded146104d35780633a87ac53146104f45780634120fccd1461050957806348a98aa41461052a57600080fd5b806306285c69146101c95780631772047e1461037a578063181f5a771461048a575b600080fd5b6103646040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526040518060e001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000000006bffffffffffffffffffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316815250905090565b6040516103719190614ac2565b60405180910390f35b61043c610388366004614b63565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160a01b03166000908152600e6020908152604091829020825160a081018452905463ffffffff8082168352640100000000820481169383019390935261ffff68010000000000000000820416938201939093526a01000000000000000000008304821660608201526e01000000000000000000000000000090920416608082015290565b6040516103719190815163ffffffff908116825260208084015182169083015260408084015161ffff1690830152606080840151821690830152608092830151169181019190915260a00190565b6104c66040518060400160405280601381526020017f45564d3245564d4f6e52616d7020312e322e300000000000000000000000000081525081565b6040516103719190614bd0565b6104e66104e1366004614c11565b61097b565b604051908152602001610371565b610507610502366004614e19565b610dfb565b005b610511610e11565b60405167ffffffffffffffff9091168152602001610371565b61053d610538366004614e73565b610e45565b6040516001600160a01b039091168152602001610371565b61055d610ea5565b604051610371919081516fffffffffffffffffffffffffffffffff908116825260208084015163ffffffff1690830152604080840151151590830152606080840151821690830152608092830151169181019190915260a00190565b6105076105c7366004614eac565b610f55565b6010546040516bffffffffffffffffffffffff9091168152602001610371565b6002546001600160a01b031661053d565b61050761060b366004614b63565b61110a565b6107726040805161014081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081018290526101208101919091525060408051610140810182526005546001600160a01b03808216835261ffff7401000000000000000000000000000000000000000083048116602085015263ffffffff76010000000000000000000000000000000000000000000084048116958501959095527a0100000000000000000000000000000000000000000000000000008304811660608501527c0100000000000000000000000000000000000000000000000000000000928390048516608085015260065480821660a086015262010000810490911660c0850152640100000000810490911660e08401527801000000000000000000000000000000000000000000000000810484166101008401520490911661012082015290565b6040516103719190614fa5565b61050761078d366004614fb4565b6111d4565b61050761128c565b6105076107a8366004615058565b61136f565b6105116107bb366004614b63565b6113d8565b6000546001600160a01b031661053d565b61088c6107df366004614b63565b604080516080810182526000808252602082018190529181018290526060810191909152506001600160a01b03166000908152600d60209081526040918290208251608081018452905463ffffffff8116825267ffffffffffffffff64010000000082048116938301939093526c0100000000000000000000000081049092169281019290925260ff74010000000000000000000000000000000000000000909104161515606082015290565b60408051825163ffffffff16815260208084015167ffffffffffffffff90811691830191909152838301511691810191909152606091820151151591810191909152608001610371565b6108de6114d9565b6040516103719291906151bb565b6105076108fa36600461520b565b6115dd565b6104e6611645565b6104e6610915366004615279565b61164f565b6105076109283660046152e5565b6121d3565b6105076121e4565b6105076109433660046153ad565b61247b565b610507610956366004614b63565b6124e1565b61096e6109693660046154a0565b6124f2565b60405161037191906154bd565b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff168367ffffffffffffffff16146109fb576040517fd9a9cd6800000000000000000000000000000000000000000000000000000000815267ffffffffffffffff841660048201526024015b60405180910390fd5b6000610a12610a0d608085018561550a565b6125a4565b519050610a3c610a25602085018561550a565b905082610a35604087018761556f565b9050612698565b6000600d81610a516080870160608801614b63565b6001600160a01b0316815260208082019290925260409081016000208151608081018352905463ffffffff81168252640100000000810467ffffffffffffffff908116948301949094526c010000000000000000000000008104909316918101919091527401000000000000000000000000000000000000000090910460ff16151560608201819052909150610b2f57610af16080850160608601614b63565b6040517fa7499d200000000000000000000000000000000000000000000000000000000081526001600160a01b0390911660048201526024016109f2565b600654600090819064010000000090046001600160a01b031663ffdb4b37610b5d6080890160608a01614b63565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b03909116600482015267ffffffffffffffff8a1660248201526044016040805180830381865afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec9190615603565b9092509050806000808080610c0460408c018c61556f565b90501115610c3e57610c32610c1f60808c0160608d01614b63565b87610c2d60408e018e61556f565b6127c1565b91945092509050610c5a565b8651610c579063ffffffff16662386f26fc10000615665565b92505b6040870151610c739067ffffffffffffffff1684615665565b60208881015160055492955060009267ffffffffffffffff9091169163ffffffff8616917a010000000000000000000000000000000000000000000000000000900461ffff1690610cc6908f018f61550a565b610cd1929150615665565b600554610cfe90760100000000000000000000000000000000000000000000900463ffffffff168d61567c565b610d08919061567c565b610d12919061567c565b610d1c9190615665565b610d36906dffffffffffffffffffffffffffff8716615665565b60065490915060009062010000900461ffff1615610daa576000607060ff16887bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16901c9050610da6818e8060200190610d8c919061550a565b90508f8060400190610d9e919061556f565b905087612acb565b9150505b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff881681610dd4848861567c565b610dde919061567c565b610de8919061568f565b9a50505050505050505050505b92915050565b610e03612b9b565b610e0d8282612c11565b5050565b601054600090610e4090700100000000000000000000000000000000900467ffffffffffffffff1660016156ca565b905090565b6000610e52600a83612f71565b610e93576040517fbf16aab60000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109f2565b610e9e600a83612f86565b9392505050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040805160a0810182526003546fffffffffffffffffffffffffffffffff808216835270010000000000000000000000000000000080830463ffffffff1660208501527401000000000000000000000000000000000000000090920460ff161515938301939093526004548084166060840152049091166080820152610e4090612f9b565b6000546001600160a01b03163314801590610f7b57506002546001600160a01b03163314155b15610fb2576040517ffbdb8e5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610ff957506001600160a01b038116155b15611030576040517f232cb97f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061103a61304d565b1215611072576040517f02075e0000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152610e0d9082906001600160a01b038516906370a0823190602401602060405180830381865afa1580156110d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f991906156eb565b6001600160a01b038516919061310d565b6000546001600160a01b0316331480159061113057506002546001600160a01b03163314155b15611167576040517ff6cd562000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f8fe72c3e0020beb3234e76ae6676fa576fbfcae600af1c4fea44784cf0db329c906020015b60405180910390a150565b6000546001600160a01b031633148015906111fa57506002546001600160a01b03163314155b15611231576040517ffbdb8e5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e0d8282808060200260200160405190810160405280939291908181526020016000905b828210156112825761127360408302860136819003810190615704565b81526020019060010190611256565b505050505061318d565b6001546001600160a01b03163314611300576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064016109f2565b60008054337fffffffffffffffffffffffff0000000000000000000000000000000000000000808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b6000546001600160a01b0316331480159061139557506002546001600160a01b03163314155b156113cc576040517ffbdb8e5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113d581613400565b50565b6001600160a01b0381166000908152600f602052604081205467ffffffffffffffff168015801561143157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b15610df5576040517f856c82470000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063856c824790602401602060405180830381865afa1580156114b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190615743565b60606000806114e860076135c6565b90508067ffffffffffffffff81111561150357611503614c61565b60405190808252806020026020018201604052801561154857816020015b60408051808201909152600080825260208201528152602001906001900390816115215790505b50925060005b818110156115ba576000806115646007846135d1565b915091506040518060400160405280836001600160a01b031681526020018261ffff1681525086848151811061159c5761159c615760565b60200260200101819052505050806115b39061578f565b905061154e565b505060105491926c0100000000000000000000000090920463ffffffff16919050565b6000546001600160a01b0316331480159061160357506002546001600160a01b03163314155b1561163a576040517ff6cd562000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113d56003826135ef565b6000610e4061304d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663397796f76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d391906157c7565b1561170a576040517fc148371500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821661174a576040517fa4ec747900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005546001600160a01b0316331461178e576040517f1c0a352900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff168567ffffffffffffffff1614611807576040517fd9a9cd6800000000000000000000000000000000000000000000000000000000815267ffffffffffffffff861660048201526024016109f2565b611811848061550a565b905060201461185857611824848061550a565b6040517f370d875f0000000000000000000000000000000000000000000000000000000081526004016109f292919061580f565b6000611864858061550a565b8101906118719190615823565b90506001600160a01b038111806118885750600a81105b1561189757611824858061550a565b60006118a9610a0d608088018861550a565b51905060006118bb604088018861556f565b91506118d890506118cf602089018961550a565b90508383612698565b80156119d65760005b81811015611959576118f6604089018961556f565b8281811061190657611906615760565b90506040020160200135600003611949576040517f5cf0444900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119528161578f565b90506118e1565b506119d661196a604089018961556f565b808060200260200160405190810160405280939291908181526020016000905b828210156119b6576119a76040830286013681900381019061583c565b8152602001906001019061198a565b505060065464010000000090046001600160a01b031692506137c7915050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016611a106080890160608a01614b63565b6001600160a01b031603611a745760108054879190600090611a419084906bffffffffffffffffffffffff16615876565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550611b9b565b60065464010000000090046001600160a01b03166241e5be611a9c60808a0160608b01614b63565b60405160e083901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b039182166004820152602481018a90527f00000000000000000000000000000000000000000000000000000000000000009091166044820152606401602060405180830381865afa158015611b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4c91906156eb565b60108054600090611b6c9084906bffffffffffffffffffffffff16615876565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505b6010546bffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811691161115611c08576040517fe5c7a49100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0385166000908152600f602052604090205467ffffffffffffffff16158015611c6057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b15611d58576040517f856c82470000000000000000000000000000000000000000000000000000000081526001600160a01b0386811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063856c824790602401602060405180830381865afa158015611ce4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d089190615743565b6001600160a01b0386166000908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff929092169190911790555b6000604051806101a001604052807f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff168152602001876001600160a01b03168152602001856001600160a01b0316815260200160108081819054906101000a900467ffffffffffffffff16611dd59061589b565b825467ffffffffffffffff9182166101009390930a838102908302199091161790925582526020808301879052600060408085018290526001600160a01b038c168252600f90925290812080546060909401939092611e34911661589b565b825467ffffffffffffffff9182166101009390930a83810292021916179091558152602001611e6960808b0160608c01614b63565b6001600160a01b03168152602001888152602001898060200190611e8d919061550a565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250602001611ed460408b018b61556f565b808060200260200160405190810160405280939291908181526020016000905b82821015611f2057611f116040830286013681900381019061583c565b81526020019060010190611ef4565b505050505081526020018367ffffffffffffffff811115611f4357611f43614c61565b604051908082528060200260200182016040528015611f7657816020015b6060815260200190600190039081611f615790505b508152600060209091018190529091505b82811015612157576000611f9e60408b018b61556f565b83818110611fae57611fae615760565b905060400201803603810190611fc4919061583c565b90506000611fd68c8360000151610e45565b6001600160a01b031663968754458a611fef8e8061550a565b60208088015160408051928301815260008352517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b16815261205d959493927f0000000000000000000000000000000000000000000000000000000000000000916004016158c2565b6000604051808303816000875af115801561207c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120a4919081019061591a565b82516001600160a01b03166000908152600e602052604090205481519192506e010000000000000000000000000000900463ffffffff1610156121215781516040517f36f536ca0000000000000000000000000000000000000000000000000000000081526001600160a01b0390911660048201526024016109f2565b80846101600151848151811061213957612139615760565b60200260200101819052505050806121509061578f565b9050611f87565b50612182817f0000000000000000000000000000000000000000000000000000000000000000613982565b6101808201526040517fd0c3c799bf9e2639de44391e7f524d229b2b55f5b1ea94b2bf7da42f7243dddd906121b8908390615a47565b60405180910390a1610180015193505050505b949350505050565b6121db612b9b565b6113d581613add565b6000546001600160a01b0316331480159061220a57506002546001600160a01b03163314155b801561221e575061221c600733613e35565b155b15612255576040517f195db95800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546c01000000000000000000000000900463ffffffff1660008190036122a9576040517f990e30bf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546bffffffffffffffffffffffff16818110156122f4576040517f8d0f71d800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122fe61304d565b1215612336576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600061234360076135c6565b905060005b818110156124385760008061235e6007846135d1565b909250905060008761237e836bffffffffffffffffffffffff8a16615665565b612388919061568f565b90506123948187615b7c565b95506123d86001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016846bffffffffffffffffffffffff841661310d565b6040516bffffffffffffffffffffffff821681526001600160a01b038416907f55fdec2aab60a41fa5abb106670eb1006f5aeaee1ba7afea2bc89b5b3ec7678f9060200160405180910390a2505050806124319061578f565b9050612348565b5050601080547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166bffffffffffffffffffffffff929092169190911790555050565b6000546001600160a01b031633148015906124a157506002546001600160a01b03163314155b156124d8576040517ffbdb8e5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113d581613e4a565b6124e9612b9b565b6113d581613fd5565b60606000612500600a6140b0565b67ffffffffffffffff81111561251857612518614c61565b604051908082528060200260200182016040528015612541578160200160208202803683370190505b50905060005b815181101561259d5761255b600a826140bb565b5082828151811061256e5761256e615760565b60200260200101816001600160a01b03166001600160a01b031681525050806125969061578f565b9050612547565b5092915050565b60408051602081019091526000815260008290036125fa5750604080516020810190915267ffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152610df5565b7f97a657c9000000000000000000000000000000000000000000000000000000006126258385615ba1565b7fffffffff00000000000000000000000000000000000000000000000000000000161461267e576040517f5247fdce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61268b8260048186615be9565b810190610e9e9190615c13565b6006547801000000000000000000000000000000000000000000000000900463ffffffff1680841115612701576040517f8693378900000000000000000000000000000000000000000000000000000000815260048101829052602481018590526044016109f2565b6006547c0100000000000000000000000000000000000000000000000000000000900463ffffffff16831115612763576040517f4c4fc93a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055474010000000000000000000000000000000000000000900461ffff168211156127bb576040517f4c056b6a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000808083815b81811015612abf5760008787838181106127e4576127e4615760565b9050604002018036038101906127fa919061583c565b80516001600160a01b03166000908152600e6020908152604091829020825160a081018452905463ffffffff8082168352640100000000820481169383019390935261ffff68010000000000000000820416938201939093526a01000000000000000000008304821660608201526e010000000000000000000000000000909204811660808301528251929350909161289791600a9190612f7116565b6128db5781516040517fbf16aab60000000000000000000000000000000000000000000000000000000081526001600160a01b0390911660048201526024016109f2565b604081015160009061ffff16156129ff5760008c6001600160a01b031684600001516001600160a01b0316146129a25760065484516040517f4ab35b0b0000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201526401000000009092041690634ab35b0b90602401602060405180830381865afa158015612977573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299b9190615c55565b90506129a5565b508a5b620186a0836040015161ffff166129e78660200151847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166140ca90919063ffffffff16565b6129f19190615665565b6129fb919061568f565b9150505b6060820151612a0e9088615c70565b9650816080015186612a209190615c70565b8251909650600090612a3f9063ffffffff16662386f26fc10000615665565b905080821015612a5e57612a53818a61567c565b985050505050612aaf565b6000836020015163ffffffff16662386f26fc10000612a7d9190615665565b905080831115612a9d57612a91818b61567c565b99505050505050612aaf565b612aa7838b61567c565b995050505050505b612ab88161578f565b90506127c8565b50509450945094915050565b60008063ffffffff8316612ae0608086615665565b612aec8761022061567c565b612af6919061567c565b612b00919061567c565b6005546006549192506000917c010000000000000000000000000000000000000000000000000000000090910463ffffffff1690612b429061ffff1684615665565b612b4c919061567c565b60065490915062010000900461ffff16612b766dffffffffffffffffffffffffffff891683615665565b612b809190615665565b612b9090655af3107a4000615665565b979650505050505050565b6000546001600160a01b03163314612c0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e65720000000000000000000060448201526064016109f2565b565b60005b8251811015612d72576000838281518110612c3157612c31615760565b60200260200101516000015190506000848381518110612c5357612c53615760565b6020026020010151602001519050612c7582600a612f7190919063ffffffff16565b612cb6576040517f73913ebd0000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109f2565b6001600160a01b038116612ccb600a84612f86565b6001600160a01b031614612d0b576040517f6cc7b99800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d16600a83614107565b15612d5f57604080516001600160a01b038085168252831660208201527f987eb3c2f78454541205f72f34839b434c306c9eaf4922efd7c0c3060fdb2e4c910160405180910390a15b505080612d6b9061578f565b9050612c14565b5060005b8151811015612f6c576000828281518110612d9357612d93615760565b60200260200101516000015190506000838381518110612db557612db5615760565b602002602001015160200151905060006001600160a01b0316826001600160a01b03161480612deb57506001600160a01b038116155b15612e22576040517f6c2a418000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e849190615c8d565b6001600160a01b0316826001600160a01b031614612ece576040517f6cc7b99800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612eda600a838361411c565b15612f2757604080516001600160a01b038085168252831660208201527f95f865c2808f8b2a85eea2611db7843150ee7835ef1403f9755918a97d76933c910160405180910390a1612f59565b6040517f3caf458500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505080612f659061578f565b9050612d76565b505050565b6000610e9e836001600160a01b038416614132565b6000610e9e836001600160a01b03841661413e565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915261302982606001516fffffffffffffffffffffffffffffffff1683600001516fffffffffffffffffffffffffffffffff16846020015163ffffffff164261300d9190615caa565b85608001516fffffffffffffffffffffffffffffffff1661414a565b6fffffffffffffffffffffffffffffffff1682525063ffffffff4216602082015290565b6010546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000916bffffffffffffffffffffffff16907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156130df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061310391906156eb565b610e409190615cbd565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052612f6c908490614172565b805160408111156131ca576040517fb5a10cfa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546c01000000000000000000000000900463ffffffff1615801590613218575060105463ffffffff6c010000000000000000000000008204166bffffffffffffffffffffffff90911610155b15613225576132256121e4565b600061323160076135c6565b90505b801561327357600061325261324a600184615caa565b6007906135d1565b509050613260600782614271565b50508061326c90615cdd565b9050613234565b506000805b8281101561338157600084828151811061329457613294615760565b602002602001015160000151905060008583815181106132b6576132b6615760565b60200260200101516020015190507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316148061330b57506001600160a01b038216155b1561334d576040517f4de938d10000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109f2565b61335d60078361ffff8416614286565b5061336c61ffff821685615c70565b935050508061337a9061578f565b9050613278565b50601080547fffffffffffffffffffffffffffffffff00000000ffffffffffffffffffffffff166c0100000000000000000000000063ffffffff8416021790556040517f8c337bff38141c507abd25c547606bdde78fe8c12e941ab613f3a565fea6cd24906133f39083908690615d12565b60405180910390a1505050565b60005b815181101561359657600082828151811061342057613420615760565b6020908102919091018101516040805160a080820183528385015163ffffffff908116835283850151811683870190815260608087015161ffff9081168688019081526080808a0151861693880193845295890151851695870195865297516001600160a01b03166000908152600e9099529590972093518454915196519751935183166e010000000000000000000000000000027fffffffffffffffffffffffffffff00000000ffffffffffffffffffffffffffff9484166a0100000000000000000000027fffffffffffffffffffffffffffffffffffff00000000ffffffffffffffffffff999097166801000000000000000002989098167fffffffffffffffffffffffffffffffffffff000000000000ffffffffffffffff978416640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000909316919093161717949094169390931791909117919091169190911790555061358f8161578f565b9050613403565b507f555c74101f7a15746d31c6731170310e667bcc607996b2fc0b981a7b26a416e9816040516111c99190615d31565b6000610df58261429c565b60008080806135e086866142a7565b909450925050505b9250929050565b815460009061361890700100000000000000000000000000000000900463ffffffff1642615caa565b905080156136ba5760018301548354613660916fffffffffffffffffffffffffffffffff8082169281169185917001000000000000000000000000000000009091041661414a565b83546fffffffffffffffffffffffffffffffff919091167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116177001000000000000000000000000000000004263ffffffff16021783555b602082015183546136e0916fffffffffffffffffffffffffffffffff90811691166142d2565b83548351151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffff000000000000000000000000000000009091166fffffffffffffffffffffffffffffffff92831617178455602083015160408085015183167001000000000000000000000000000000000291909216176001850155517f9ea3374b67bf275e6bb9c8ae68f9cae023e1c528b4b27e092f0bb209d3531c19906133f39084908151151581526020808301516fffffffffffffffffffffffffffffffff90811691830191909152604092830151169181019190915260600190565b81516000805b82811015613974576000846001600160a01b031663d02641a08784815181106137f8576137f8615760565b6020908102919091010151516040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b0390911660048201526024016040805180830381865afa15801561385f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138839190615db6565b5190507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8116600003613908578582815181106138be576138be615760565b6020908102919091010151516040517f9a655f7b0000000000000000000000000000000000000000000000000000000081526001600160a01b0390911660048201526024016109f2565b61395686838151811061391d5761391d615760565b602002602001015160200151827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166140ca90919063ffffffff16565b613960908461567c565b9250508061396d9061578f565b90506137cd565b506127bb60038260006142e8565b60008060001b8284602001518560400151866060015187608001518860a001518960c001518a60e001518b6101000151604051602001613a189897969594939291906001600160a01b039889168152968816602088015267ffffffffffffffff95861660408801526060870194909452911515608086015290921660a0840152921660c082015260e08101919091526101000190565b6040516020818303038152906040528051906020012085610120015180519060200120866101400151604051602001613a519190615de9565b60405160208183030381529060405280519060200120876101600151604051602001613a7d9190615dfc565b60408051601f198184030181528282528051602091820120908301979097528101949094526060840192909252608083015260a082015260c081019190915260e00160405160208183030381529060405280519060200120905092915050565b60e08101516001600160a01b0316613b21576040517f35be3ac800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001601a6101000a81548161ffff021916908361ffff160217905550608082015181600001601c6101000a81548163ffffffff021916908363ffffffff16021790555060a08201518160010160006101000a81548161ffff021916908361ffff16021790555060c08201518160010160026101000a81548161ffff021916908361ffff16021790555060e08201518160010160046101000a8154816001600160a01b0302191690836001600160a01b031602179055506101008201518160010160186101000a81548163ffffffff021916908363ffffffff16021790555061012082015181600101601c6101000a81548163ffffffff021916908363ffffffff1602179055509050507f2a57f7c2027cf032c78b77d4d8d2fbd20ad22e5d5e5b5fb23ac7d7820d44adc66040518060e001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000000006bffffffffffffffffffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316815250826040516111c9929190615e0f565b6000610e9e836001600160a01b038416614637565b60005b8151811015613fa5576000828281518110613e6a57613e6a615760565b60209081029190910181015160408051608080820183528385015163ffffffff90811683528385015167ffffffffffffffff908116848801908152606080880151831686880190815294880151151590860190815296516001600160a01b03166000908152600d9098529490962092518354945192519551151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9688166c0100000000000000000000000002969096167fffffffffffffffffffffff000000000000000000ffffffffffffffffffffffff93909716640100000000027fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090951691161792909217919091169290921717905550613f9e8161578f565b9050613e4d565b507f067924bf9277d905a9a4631a06d959bc032ace86b3caa835ae7e403d4f39010e816040516111c99190615e99565b336001600160a01b03821603614047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c6600000000000000000060448201526064016109f2565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6000610df5826135c6565b60008080806135e086866135d1565b6000670de0b6b3a76400006140fd837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8616615665565b610e9e919061568f565b6000610e9e836001600160a01b038416614643565b60006121cb846001600160a01b0385168461464f565b6000610e9e8383614637565b6000610e9e8383614665565b60006141698561415a8486615665565b614164908761567c565b6142d2565b95945050505050565b60006141c7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166146ef9092919063ffffffff16565b805190915015612f6c57808060200190518101906141e591906157c7565b612f6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016109f2565b6000610e9e836001600160a01b0384166146fe565b60006121cb846001600160a01b0385168461471b565b6000610df582614738565b600080806142b58585614742565b600081815260029690960160205260409095205494959350505050565b60008183106142e15781610e9e565b5090919050565b825474010000000000000000000000000000000000000000900460ff16158061430f575081155b1561431957505050565b825460018401546fffffffffffffffffffffffffffffffff8083169291169060009061435f90700100000000000000000000000000000000900463ffffffff1642615caa565b9050801561441f57818311156143a1576040517f9725942a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018601546143db9083908590849070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1661414a565b86547fffffffffffffffffffffffff00000000ffffffffffffffffffffffffffffffff167001000000000000000000000000000000004263ffffffff160217875592505b848210156144bc576001600160a01b038416614471576040517ff94ebcd100000000000000000000000000000000000000000000000000000000815260048101839052602481018690526044016109f2565b6040517f1a76572a00000000000000000000000000000000000000000000000000000000815260048101839052602481018690526001600160a01b03851660448201526064016109f2565b848310156145b55760018681015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff169060009082906145009082615caa565b61450a878a615caa565b614514919061567c565b61451e919061568f565b90506001600160a01b03861661456a576040517f15279c0800000000000000000000000000000000000000000000000000000000815260048101829052602481018690526044016109f2565b6040517fd0c8d23a00000000000000000000000000000000000000000000000000000000815260048101829052602481018690526001600160a01b03871660448201526064016109f2565b6145bf8584615caa565b86547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff82161787556040518681529093507f1871cdf8010e63f2eb8384381a68dfa7416dc571a5517e66e88b2d2d0c0a690a9060200160405180910390a1505050505050565b6000610e9e838361474e565b6000610e9e83836146fe565b60006121cb84846001600160a01b03851661471b565b60008181526002830160205260408120548015158061468957506146898484614637565b610e9e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579000060448201526064016109f2565b60606121cb8484600085614766565b60008181526002830160205260408120819055610e9e8383614867565b600082815260028401602052604081208290556121cb8484614873565b6000610df5825490565b6000610e9e838361487f565b60008181526001830160205260408120541515610e9e565b6060824710156147f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016109f2565b600080866001600160a01b031685876040516148149190615f1a565b60006040518083038185875af1925050503d8060008114614851576040519150601f19603f3d011682016040523d82523d6000602084013e614856565b606091505b5091509150612b90878383876148a9565b6000610e9e838361493c565b6000610e9e8383614a2f565b600082600001828154811061489657614896615760565b9060005260206000200154905092915050565b6060831561493257825160000361492b576001600160a01b0385163b61492b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109f2565b50816121cb565b6121cb8383614a7e565b60008181526001830160205260408120548015614a25576000614960600183615caa565b855490915060009061497490600190615caa565b90508181146149d957600086600001828154811061499457614994615760565b90600052602060002001549050808760000184815481106149b7576149b7615760565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806149ea576149ea615f36565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610df5565b6000915050610df5565b6000818152600183016020526040812054614a7657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610df5565b506000610df5565b815115614a8e5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f29190614bd0565b60e08101610df582846001600160a01b03808251168352602082015167ffffffffffffffff808216602086015280604085015116604086015280606085015116606086015250506bffffffffffffffffffffffff60808301511660808401528060a08301511660a08401528060c08301511660c0840152505050565b6001600160a01b03811681146113d557600080fd5b8035614b5e81614b3e565b919050565b600060208284031215614b7557600080fd5b8135610e9e81614b3e565b60005b83811015614b9b578181015183820152602001614b83565b50506000910152565b60008151808452614bbc816020860160208601614b80565b601f01601f19169290920160200192915050565b602081526000610e9e6020830184614ba4565b67ffffffffffffffff811681146113d557600080fd5b600060a08284031215614c0b57600080fd5b50919050565b60008060408385031215614c2457600080fd5b8235614c2f81614be3565b9150602083013567ffffffffffffffff811115614c4b57600080fd5b614c5785828601614bf9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715614cb357614cb3614c61565b60405290565b60405160c0810167ffffffffffffffff81118282101715614cb357614cb3614c61565b604051610140810167ffffffffffffffff81118282101715614cb357614cb3614c61565b60405160a0810167ffffffffffffffff81118282101715614cb357614cb3614c61565b604051601f8201601f1916810167ffffffffffffffff81118282101715614d4c57614d4c614c61565b604052919050565b600067ffffffffffffffff821115614d6e57614d6e614c61565b5060051b60200190565b600082601f830112614d8957600080fd5b81356020614d9e614d9983614d54565b614d23565b82815260069290921b84018101918181019086841115614dbd57600080fd5b8286015b84811015614e0e5760408189031215614dda5760008081fd5b614de2614c90565b8135614ded81614b3e565b815281850135614dfc81614b3e565b81860152835291830191604001614dc1565b509695505050505050565b60008060408385031215614e2c57600080fd5b823567ffffffffffffffff80821115614e4457600080fd5b614e5086838701614d78565b93506020850135915080821115614e6657600080fd5b50614c5785828601614d78565b60008060408385031215614e8657600080fd5b8235614e9181614be3565b91506020830135614ea181614b3e565b809150509250929050565b60008060408385031215614ebf57600080fd5b8235614e9181614b3e565b80516001600160a01b031682526020810151614eec602084018261ffff169052565b506040810151614f04604084018263ffffffff169052565b506060810151614f1a606084018261ffff169052565b506080810151614f32608084018263ffffffff169052565b5060a0810151614f4860a084018261ffff169052565b5060c0810151614f5e60c084018261ffff169052565b5060e0810151614f7960e08401826001600160a01b03169052565b506101008181015163ffffffff81168483015250506101208181015163ffffffff8116848301526127bb565b6101408101610df58284614eca565b60008060208385031215614fc757600080fd5b823567ffffffffffffffff80821115614fdf57600080fd5b818501915085601f830112614ff357600080fd5b81358181111561500257600080fd5b8660208260061b850101111561501757600080fd5b60209290920196919550909350505050565b63ffffffff811681146113d557600080fd5b8035614b5e81615029565b803561ffff81168114614b5e57600080fd5b6000602080838503121561506b57600080fd5b823567ffffffffffffffff81111561508257600080fd5b8301601f8101851361509357600080fd5b80356150a1614d9982614d54565b81815260c091820283018401918482019190888411156150c057600080fd5b938501935b8385101561515c5780858a0312156150dd5760008081fd5b6150e5614cb9565b85356150f081614b3e565b8152858701356150ff81615029565b8188015260408681013561511281615029565b908201526060615123878201615046565b9082015260808681013561513681615029565b9082015260a08681013561514981615029565b90820152835293840193918501916150c5565b50979650505050505050565b600081518084526020808501945080840160005b838110156151b057815180516001600160a01b0316885283015161ffff16838801526040909601959082019060010161517c565b509495945050505050565b6040815260006151ce6040830185615168565b90508260208301529392505050565b80151581146113d557600080fd5b80356fffffffffffffffffffffffffffffffff81168114614b5e57600080fd5b60006060828403121561521d57600080fd5b6040516060810181811067ffffffffffffffff8211171561524057615240614c61565b604052823561524e816151dd565b815261525c602084016151eb565b602082015261526d604084016151eb565b60408201529392505050565b6000806000806080858703121561528f57600080fd5b843561529a81614be3565b9350602085013567ffffffffffffffff8111156152b657600080fd5b6152c287828801614bf9565b9350506040850135915060608501356152da81614b3e565b939692955090935050565b600061014082840312156152f857600080fd5b615300614cdc565b61530983614b53565b815261531760208401615046565b60208201526153286040840161503b565b604082015261533960608401615046565b606082015261534a6080840161503b565b608082015261535b60a08401615046565b60a082015261536c60c08401615046565b60c082015261537d60e08401614b53565b60e082015261010061539081850161503b565b908201526101206153a284820161503b565b908201529392505050565b600060208083850312156153c057600080fd5b823567ffffffffffffffff8111156153d757600080fd5b8301601f810185136153e857600080fd5b80356153f6614d9982614d54565b81815260a0918202830184019184820191908884111561541557600080fd5b938501935b8385101561515c5780858a0312156154325760008081fd5b61543a614d00565b853561544581614b3e565b81528587013561545481615029565b8188015260408681013561546781614be3565b9082015260608681013561547a81614be3565b9082015260808681013561548d816151dd565b908201528352938401939185019161541a565b6000602082840312156154b257600080fd5b8135610e9e81614be3565b6020808252825182820181905260009190848201906040850190845b818110156154fe5783516001600160a01b0316835292840192918401916001016154d9565b50909695505050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261553f57600080fd5b83018035915067ffffffffffffffff82111561555a57600080fd5b6020019150368190038213156135e857600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126155a457600080fd5b83018035915067ffffffffffffffff8211156155bf57600080fd5b6020019150600681901b36038213156135e857600080fd5b80517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff81168114614b5e57600080fd5b6000806040838503121561561657600080fd5b61561f836155d7565b915061562d602084016155d7565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417610df557610df5615636565b80820180821115610df557610df5615636565b6000826156c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b67ffffffffffffffff81811683821601908082111561259d5761259d615636565b6000602082840312156156fd57600080fd5b5051919050565b60006040828403121561571657600080fd5b61571e614c90565b823561572981614b3e565b815261573760208401615046565b60208201529392505050565b60006020828403121561575557600080fd5b8151610e9e81614be3565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036157c0576157c0615636565b5060010190565b6000602082840312156157d957600080fd5b8151610e9e816151dd565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b6020815260006121cb6020830184866157e4565b60006020828403121561583557600080fd5b5035919050565b60006040828403121561584e57600080fd5b615856614c90565b823561586181614b3e565b81526020928301359281019290925250919050565b6bffffffffffffffffffffffff81811683821601908082111561259d5761259d615636565b600067ffffffffffffffff8083168181036158b8576158b8615636565b6001019392505050565b6001600160a01b038716815260a0602082015260006158e560a0830187896157e4565b85604084015267ffffffffffffffff85166060840152828103608084015261590d8185614ba4565b9998505050505050505050565b60006020828403121561592c57600080fd5b815167ffffffffffffffff8082111561594457600080fd5b818401915084601f83011261595857600080fd5b81518181111561596a5761596a614c61565b61597d6020601f19601f84011601614d23565b915080825285602082850101111561599457600080fd5b6159a5816020840160208601614b80565b50949350505050565b600081518084526020808501945080840160005b838110156151b057815180516001600160a01b0316885283015183880152604090960195908201906001016159c2565b600081518084526020808501808196508360051b8101915082860160005b85811015615a3a578284038952615a28848351614ba4565b98850198935090840190600101615a10565b5091979650505050505050565b60208152615a6260208201835167ffffffffffffffff169052565b60006020830151615a7e60408401826001600160a01b03169052565b5060408301516001600160a01b038116606084015250606083015167ffffffffffffffff8116608084015250608083015160a083015260a0830151615ac760c084018215159052565b5060c083015167ffffffffffffffff811660e08401525060e0830151610100615afa818501836001600160a01b03169052565b840151610120848101919091528401516101a061014080860182905291925090615b286101c0860184614ba4565b9250808601519050601f19610160818786030181880152615b4985846159ae565b945080880151925050610180818786030181880152615b6885846159f2565b970151959092019490945250929392505050565b6bffffffffffffffffffffffff82811682821603908082111561259d5761259d615636565b7fffffffff000000000000000000000000000000000000000000000000000000008135818116916004851015615be15780818660040360031b1b83161692505b505092915050565b60008085851115615bf957600080fd5b83861115615c0657600080fd5b5050820193919092039150565b600060208284031215615c2557600080fd5b6040516020810181811067ffffffffffffffff82111715615c4857615c48614c61565b6040529135825250919050565b600060208284031215615c6757600080fd5b610e9e826155d7565b63ffffffff81811683821601908082111561259d5761259d615636565b600060208284031215615c9f57600080fd5b8151610e9e81614b3e565b81810381811115610df557610df5615636565b818103600083128015838313168383128216171561259d5761259d615636565b600081615cec57615cec615636565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b63ffffffff831681526040602082015260006121cb6040830184615168565b602080825282518282018190526000919060409081850190868401855b82811015615a3a57815180516001600160a01b031685528681015163ffffffff908116888701528682015181168787015260608083015161ffff169087015260808083015182169087015260a091820151169085015260c09093019290850190600101615d4e565b600060408284031215615dc857600080fd5b615dd0614c90565b615dd9836155d7565b8152602083015161573781615029565b602081526000610e9e60208301846159ae565b602081526000610e9e60208301846159f2565b6102208101615e8c82856001600160a01b03808251168352602082015167ffffffffffffffff808216602086015280604085015116604086015280606085015116606086015250506bffffffffffffffffffffffff60808301511660808401528060a08301511660a08401528060c08301511660c0840152505050565b610e9e60e0830184614eca565b602080825282518282018190526000919060409081850190868401855b82811015615a3a57815180516001600160a01b031685528681015163ffffffff16878601528581015167ffffffffffffffff908116878701526060808301519091169086015260809081015115159085015260a09093019290850190600101615eb6565b60008251615f2c818460208701614b80565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea164736f6c6343000813000a00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d69000000000000000000000000000000000000000000000000475f3a7c1964d2490000000000000000000000000000000000000000000000009d70576d8e253bcf0000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000043c33c193756480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002375959c6571ac7a83c164c6fccbd09e7782773d0000000000000000000000004077d88ade5ba1b021f84657fed3509b6132f2210000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000005573000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002514058753d212110fff63a52915746991014fa2000000000000000000000000000000000000000000000000000000000000753000000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000152d02c7e14af68000000000000000000000000000000000000000000000000000090d972f32323c0000000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000835670043d88d2b3a52340a957b7997be0dc787800000000000000000000000095036f37b03212478d81df4fc6b12dcf0e54f653000000000000000000000000000000000000000000000000000000000000000200000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d69000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000e92596fd62900000000000000000000000000000000000000000000000000000c7d713b49da000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000007d72b22a74a216af4a002a1095c8c707d6ec1c5f000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000e92596fd62900000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806379ba5097116100f9578063d09dc33911610097578063eff7cc4811610071578063eff7cc481461092d578063f25561fd14610935578063f2fde38b14610948578063fbca3b741461095b57600080fd5b8063d09dc339146108ff578063df0aa9e914610907578063e687b40a1461091a57600080fd5b80638da5cb5b116100d35780638da5cb5b146107c05780639a113c36146107d1578063b06d41bc146108d6578063c92b2832146108ec57600080fd5b806379ba5097146107925780637ec757511461079a578063856c8247146107ad57600080fd5b8063546719cd11610166578063599f643111610140578063599f6431146105ec578063704b6c02146105fd5780637437ff9f1461061057806376f6ae761461077f57600080fd5b8063546719cd14610555578063549e946f146105b957806354b71468146105cc57600080fd5b806320487ded116101a257806320487ded146104d35780633a87ac53146104f45780634120fccd1461050957806348a98aa41461052a57600080fd5b806306285c69146101c95780631772047e1461037a578063181f5a771461048a575b600080fd5b6103646040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526040518060e001604052807f00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d696001600160a01b031681526020017f000000000000000000000000000000000000000000000000475f3a7c1964d24967ffffffffffffffff1681526020017f0000000000000000000000000000000000000000000000009d70576d8e253bcf67ffffffffffffffff1681526020017f0000000000000000000000000000000000000000000000000000000000030d4067ffffffffffffffff1681526020017f00000000000000000000000000000000000000000000043c33c19375648000006bffffffffffffffffffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f0000000000000000000000002375959c6571ac7a83c164c6fccbd09e7782773d6001600160a01b0316815250905090565b6040516103719190614ac2565b60405180910390f35b61043c610388366004614b63565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160a01b03166000908152600e6020908152604091829020825160a081018452905463ffffffff8082168352640100000000820481169383019390935261ffff68010000000000000000820416938201939093526a01000000000000000000008304821660608201526e01000000000000000000000000000090920416608082015290565b6040516103719190815163ffffffff908116825260208084015182169083015260408084015161ffff1690830152606080840151821690830152608092830151169181019190915260a00190565b6104c66040518060400160405280601381526020017f45564d3245564d4f6e52616d7020312e322e300000000000000000000000000081525081565b6040516103719190614bd0565b6104e66104e1366004614c11565b61097b565b604051908152602001610371565b610507610502366004614e19565b610dfb565b005b610511610e11565b60405167ffffffffffffffff9091168152602001610371565b61053d610538366004614e73565b610e45565b6040516001600160a01b039091168152602001610371565b61055d610ea5565b604051610371919081516fffffffffffffffffffffffffffffffff908116825260208084015163ffffffff1690830152604080840151151590830152606080840151821690830152608092830151169181019190915260a00190565b6105076105c7366004614eac565b610f55565b6010546040516bffffffffffffffffffffffff9091168152602001610371565b6002546001600160a01b031661053d565b61050761060b366004614b63565b61110a565b6107726040805161014081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081018290526101208101919091525060408051610140810182526005546001600160a01b03808216835261ffff7401000000000000000000000000000000000000000083048116602085015263ffffffff76010000000000000000000000000000000000000000000084048116958501959095527a0100000000000000000000000000000000000000000000000000008304811660608501527c0100000000000000000000000000000000000000000000000000000000928390048516608085015260065480821660a086015262010000810490911660c0850152640100000000810490911660e08401527801000000000000000000000000000000000000000000000000810484166101008401520490911661012082015290565b6040516103719190614fa5565b61050761078d366004614fb4565b6111d4565b61050761128c565b6105076107a8366004615058565b61136f565b6105116107bb366004614b63565b6113d8565b6000546001600160a01b031661053d565b61088c6107df366004614b63565b604080516080810182526000808252602082018190529181018290526060810191909152506001600160a01b03166000908152600d60209081526040918290208251608081018452905463ffffffff8116825267ffffffffffffffff64010000000082048116938301939093526c0100000000000000000000000081049092169281019290925260ff74010000000000000000000000000000000000000000909104161515606082015290565b60408051825163ffffffff16815260208084015167ffffffffffffffff90811691830191909152838301511691810191909152606091820151151591810191909152608001610371565b6108de6114d9565b6040516103719291906151bb565b6105076108fa36600461520b565b6115dd565b6104e6611645565b6104e6610915366004615279565b61164f565b6105076109283660046152e5565b6121d3565b6105076121e4565b6105076109433660046153ad565b61247b565b610507610956366004614b63565b6124e1565b61096e6109693660046154a0565b6124f2565b60405161037191906154bd565b60007f0000000000000000000000000000000000000000000000009d70576d8e253bcf67ffffffffffffffff168367ffffffffffffffff16146109fb576040517fd9a9cd6800000000000000000000000000000000000000000000000000000000815267ffffffffffffffff841660048201526024015b60405180910390fd5b6000610a12610a0d608085018561550a565b6125a4565b519050610a3c610a25602085018561550a565b905082610a35604087018761556f565b9050612698565b6000600d81610a516080870160608801614b63565b6001600160a01b0316815260208082019290925260409081016000208151608081018352905463ffffffff81168252640100000000810467ffffffffffffffff908116948301949094526c010000000000000000000000008104909316918101919091527401000000000000000000000000000000000000000090910460ff16151560608201819052909150610b2f57610af16080850160608601614b63565b6040517fa7499d200000000000000000000000000000000000000000000000000000000081526001600160a01b0390911660048201526024016109f2565b600654600090819064010000000090046001600160a01b031663ffdb4b37610b5d6080890160608a01614b63565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b03909116600482015267ffffffffffffffff8a1660248201526044016040805180830381865afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec9190615603565b9092509050806000808080610c0460408c018c61556f565b90501115610c3e57610c32610c1f60808c0160608d01614b63565b87610c2d60408e018e61556f565b6127c1565b91945092509050610c5a565b8651610c579063ffffffff16662386f26fc10000615665565b92505b6040870151610c739067ffffffffffffffff1684615665565b60208881015160055492955060009267ffffffffffffffff9091169163ffffffff8616917a010000000000000000000000000000000000000000000000000000900461ffff1690610cc6908f018f61550a565b610cd1929150615665565b600554610cfe90760100000000000000000000000000000000000000000000900463ffffffff168d61567c565b610d08919061567c565b610d12919061567c565b610d1c9190615665565b610d36906dffffffffffffffffffffffffffff8716615665565b60065490915060009062010000900461ffff1615610daa576000607060ff16887bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16901c9050610da6818e8060200190610d8c919061550a565b90508f8060400190610d9e919061556f565b905087612acb565b9150505b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff881681610dd4848861567c565b610dde919061567c565b610de8919061568f565b9a50505050505050505050505b92915050565b610e03612b9b565b610e0d8282612c11565b5050565b601054600090610e4090700100000000000000000000000000000000900467ffffffffffffffff1660016156ca565b905090565b6000610e52600a83612f71565b610e93576040517fbf16aab60000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109f2565b610e9e600a83612f86565b9392505050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040805160a0810182526003546fffffffffffffffffffffffffffffffff808216835270010000000000000000000000000000000080830463ffffffff1660208501527401000000000000000000000000000000000000000090920460ff161515938301939093526004548084166060840152049091166080820152610e4090612f9b565b6000546001600160a01b03163314801590610f7b57506002546001600160a01b03163314155b15610fb2576040517ffbdb8e5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d696001600160a01b0316826001600160a01b03161480610ff957506001600160a01b038116155b15611030576040517f232cb97f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061103a61304d565b1215611072576040517f02075e0000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152610e0d9082906001600160a01b038516906370a0823190602401602060405180830381865afa1580156110d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f991906156eb565b6001600160a01b038516919061310d565b6000546001600160a01b0316331480159061113057506002546001600160a01b03163314155b15611167576040517ff6cd562000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f8fe72c3e0020beb3234e76ae6676fa576fbfcae600af1c4fea44784cf0db329c906020015b60405180910390a150565b6000546001600160a01b031633148015906111fa57506002546001600160a01b03163314155b15611231576040517ffbdb8e5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e0d8282808060200260200160405190810160405280939291908181526020016000905b828210156112825761127360408302860136819003810190615704565b81526020019060010190611256565b505050505061318d565b6001546001600160a01b03163314611300576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064016109f2565b60008054337fffffffffffffffffffffffff0000000000000000000000000000000000000000808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b6000546001600160a01b0316331480159061139557506002546001600160a01b03163314155b156113cc576040517ffbdb8e5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113d581613400565b50565b6001600160a01b0381166000908152600f602052604081205467ffffffffffffffff168015801561143157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b15610df5576040517f856c82470000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063856c824790602401602060405180830381865afa1580156114b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190615743565b60606000806114e860076135c6565b90508067ffffffffffffffff81111561150357611503614c61565b60405190808252806020026020018201604052801561154857816020015b60408051808201909152600080825260208201528152602001906001900390816115215790505b50925060005b818110156115ba576000806115646007846135d1565b915091506040518060400160405280836001600160a01b031681526020018261ffff1681525086848151811061159c5761159c615760565b60200260200101819052505050806115b39061578f565b905061154e565b505060105491926c0100000000000000000000000090920463ffffffff16919050565b6000546001600160a01b0316331480159061160357506002546001600160a01b03163314155b1561163a576040517ff6cd562000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113d56003826135ef565b6000610e4061304d565b60007f0000000000000000000000002375959c6571ac7a83c164c6fccbd09e7782773d6001600160a01b031663397796f76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d391906157c7565b1561170a576040517fc148371500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821661174a576040517fa4ec747900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005546001600160a01b0316331461178e576040517f1c0a352900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000009d70576d8e253bcf67ffffffffffffffff168567ffffffffffffffff1614611807576040517fd9a9cd6800000000000000000000000000000000000000000000000000000000815267ffffffffffffffff861660048201526024016109f2565b611811848061550a565b905060201461185857611824848061550a565b6040517f370d875f0000000000000000000000000000000000000000000000000000000081526004016109f292919061580f565b6000611864858061550a565b8101906118719190615823565b90506001600160a01b038111806118885750600a81105b1561189757611824858061550a565b60006118a9610a0d608088018861550a565b51905060006118bb604088018861556f565b91506118d890506118cf602089018961550a565b90508383612698565b80156119d65760005b81811015611959576118f6604089018961556f565b8281811061190657611906615760565b90506040020160200135600003611949576040517f5cf0444900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119528161578f565b90506118e1565b506119d661196a604089018961556f565b808060200260200160405190810160405280939291908181526020016000905b828210156119b6576119a76040830286013681900381019061583c565b8152602001906001019061198a565b505060065464010000000090046001600160a01b031692506137c7915050565b6001600160a01b037f00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d6916611a106080890160608a01614b63565b6001600160a01b031603611a745760108054879190600090611a419084906bffffffffffffffffffffffff16615876565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550611b9b565b60065464010000000090046001600160a01b03166241e5be611a9c60808a0160608b01614b63565b60405160e083901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b039182166004820152602481018a90527f00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d699091166044820152606401602060405180830381865afa158015611b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4c91906156eb565b60108054600090611b6c9084906bffffffffffffffffffffffff16615876565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505b6010546bffffffffffffffffffffffff7f00000000000000000000000000000000000000000000043c33c1937564800000811691161115611c08576040517fe5c7a49100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0385166000908152600f602052604090205467ffffffffffffffff16158015611c6057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b15611d58576040517f856c82470000000000000000000000000000000000000000000000000000000081526001600160a01b0386811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063856c824790602401602060405180830381865afa158015611ce4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d089190615743565b6001600160a01b0386166000908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff929092169190911790555b6000604051806101a001604052807f000000000000000000000000000000000000000000000000475f3a7c1964d24967ffffffffffffffff168152602001876001600160a01b03168152602001856001600160a01b0316815260200160108081819054906101000a900467ffffffffffffffff16611dd59061589b565b825467ffffffffffffffff9182166101009390930a838102908302199091161790925582526020808301879052600060408085018290526001600160a01b038c168252600f90925290812080546060909401939092611e34911661589b565b825467ffffffffffffffff9182166101009390930a83810292021916179091558152602001611e6960808b0160608c01614b63565b6001600160a01b03168152602001888152602001898060200190611e8d919061550a565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250602001611ed460408b018b61556f565b808060200260200160405190810160405280939291908181526020016000905b82821015611f2057611f116040830286013681900381019061583c565b81526020019060010190611ef4565b505050505081526020018367ffffffffffffffff811115611f4357611f43614c61565b604051908082528060200260200182016040528015611f7657816020015b6060815260200190600190039081611f615790505b508152600060209091018190529091505b82811015612157576000611f9e60408b018b61556f565b83818110611fae57611fae615760565b905060400201803603810190611fc4919061583c565b90506000611fd68c8360000151610e45565b6001600160a01b031663968754458a611fef8e8061550a565b60208088015160408051928301815260008352517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b16815261205d959493927f0000000000000000000000000000000000000000000000009d70576d8e253bcf916004016158c2565b6000604051808303816000875af115801561207c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120a4919081019061591a565b82516001600160a01b03166000908152600e602052604090205481519192506e010000000000000000000000000000900463ffffffff1610156121215781516040517f36f536ca0000000000000000000000000000000000000000000000000000000081526001600160a01b0390911660048201526024016109f2565b80846101600151848151811061213957612139615760565b60200260200101819052505050806121509061578f565b9050611f87565b50612182817f3376c633b434a0798a77582eca86a60c9176e082bf5ee61ebce342bb9d94c7f2613982565b6101808201526040517fd0c3c799bf9e2639de44391e7f524d229b2b55f5b1ea94b2bf7da42f7243dddd906121b8908390615a47565b60405180910390a1610180015193505050505b949350505050565b6121db612b9b565b6113d581613add565b6000546001600160a01b0316331480159061220a57506002546001600160a01b03163314155b801561221e575061221c600733613e35565b155b15612255576040517f195db95800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546c01000000000000000000000000900463ffffffff1660008190036122a9576040517f990e30bf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546bffffffffffffffffffffffff16818110156122f4576040517f8d0f71d800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122fe61304d565b1215612336576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600061234360076135c6565b905060005b818110156124385760008061235e6007846135d1565b909250905060008761237e836bffffffffffffffffffffffff8a16615665565b612388919061568f565b90506123948187615b7c565b95506123d86001600160a01b037f00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d6916846bffffffffffffffffffffffff841661310d565b6040516bffffffffffffffffffffffff821681526001600160a01b038416907f55fdec2aab60a41fa5abb106670eb1006f5aeaee1ba7afea2bc89b5b3ec7678f9060200160405180910390a2505050806124319061578f565b9050612348565b5050601080547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166bffffffffffffffffffffffff929092169190911790555050565b6000546001600160a01b031633148015906124a157506002546001600160a01b03163314155b156124d8576040517ffbdb8e5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113d581613e4a565b6124e9612b9b565b6113d581613fd5565b60606000612500600a6140b0565b67ffffffffffffffff81111561251857612518614c61565b604051908082528060200260200182016040528015612541578160200160208202803683370190505b50905060005b815181101561259d5761255b600a826140bb565b5082828151811061256e5761256e615760565b60200260200101816001600160a01b03166001600160a01b031681525050806125969061578f565b9050612547565b5092915050565b60408051602081019091526000815260008290036125fa5750604080516020810190915267ffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000030d40168152610df5565b7f97a657c9000000000000000000000000000000000000000000000000000000006126258385615ba1565b7fffffffff00000000000000000000000000000000000000000000000000000000161461267e576040517f5247fdce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61268b8260048186615be9565b810190610e9e9190615c13565b6006547801000000000000000000000000000000000000000000000000900463ffffffff1680841115612701576040517f8693378900000000000000000000000000000000000000000000000000000000815260048101829052602481018590526044016109f2565b6006547c0100000000000000000000000000000000000000000000000000000000900463ffffffff16831115612763576040517f4c4fc93a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055474010000000000000000000000000000000000000000900461ffff168211156127bb576040517f4c056b6a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000808083815b81811015612abf5760008787838181106127e4576127e4615760565b9050604002018036038101906127fa919061583c565b80516001600160a01b03166000908152600e6020908152604091829020825160a081018452905463ffffffff8082168352640100000000820481169383019390935261ffff68010000000000000000820416938201939093526a01000000000000000000008304821660608201526e010000000000000000000000000000909204811660808301528251929350909161289791600a9190612f7116565b6128db5781516040517fbf16aab60000000000000000000000000000000000000000000000000000000081526001600160a01b0390911660048201526024016109f2565b604081015160009061ffff16156129ff5760008c6001600160a01b031684600001516001600160a01b0316146129a25760065484516040517f4ab35b0b0000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201526401000000009092041690634ab35b0b90602401602060405180830381865afa158015612977573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299b9190615c55565b90506129a5565b508a5b620186a0836040015161ffff166129e78660200151847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166140ca90919063ffffffff16565b6129f19190615665565b6129fb919061568f565b9150505b6060820151612a0e9088615c70565b9650816080015186612a209190615c70565b8251909650600090612a3f9063ffffffff16662386f26fc10000615665565b905080821015612a5e57612a53818a61567c565b985050505050612aaf565b6000836020015163ffffffff16662386f26fc10000612a7d9190615665565b905080831115612a9d57612a91818b61567c565b99505050505050612aaf565b612aa7838b61567c565b995050505050505b612ab88161578f565b90506127c8565b50509450945094915050565b60008063ffffffff8316612ae0608086615665565b612aec8761022061567c565b612af6919061567c565b612b00919061567c565b6005546006549192506000917c010000000000000000000000000000000000000000000000000000000090910463ffffffff1690612b429061ffff1684615665565b612b4c919061567c565b60065490915062010000900461ffff16612b766dffffffffffffffffffffffffffff891683615665565b612b809190615665565b612b9090655af3107a4000615665565b979650505050505050565b6000546001600160a01b03163314612c0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e65720000000000000000000060448201526064016109f2565b565b60005b8251811015612d72576000838281518110612c3157612c31615760565b60200260200101516000015190506000848381518110612c5357612c53615760565b6020026020010151602001519050612c7582600a612f7190919063ffffffff16565b612cb6576040517f73913ebd0000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109f2565b6001600160a01b038116612ccb600a84612f86565b6001600160a01b031614612d0b576040517f6cc7b99800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d16600a83614107565b15612d5f57604080516001600160a01b038085168252831660208201527f987eb3c2f78454541205f72f34839b434c306c9eaf4922efd7c0c3060fdb2e4c910160405180910390a15b505080612d6b9061578f565b9050612c14565b5060005b8151811015612f6c576000828281518110612d9357612d93615760565b60200260200101516000015190506000838381518110612db557612db5615760565b602002602001015160200151905060006001600160a01b0316826001600160a01b03161480612deb57506001600160a01b038116155b15612e22576040517f6c2a418000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e849190615c8d565b6001600160a01b0316826001600160a01b031614612ece576040517f6cc7b99800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612eda600a838361411c565b15612f2757604080516001600160a01b038085168252831660208201527f95f865c2808f8b2a85eea2611db7843150ee7835ef1403f9755918a97d76933c910160405180910390a1612f59565b6040517f3caf458500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505080612f659061578f565b9050612d76565b505050565b6000610e9e836001600160a01b038416614132565b6000610e9e836001600160a01b03841661413e565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915261302982606001516fffffffffffffffffffffffffffffffff1683600001516fffffffffffffffffffffffffffffffff16846020015163ffffffff164261300d9190615caa565b85608001516fffffffffffffffffffffffffffffffff1661414a565b6fffffffffffffffffffffffffffffffff1682525063ffffffff4216602082015290565b6010546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000916bffffffffffffffffffffffff16907f00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d696001600160a01b0316906370a0823190602401602060405180830381865afa1580156130df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061310391906156eb565b610e409190615cbd565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052612f6c908490614172565b805160408111156131ca576040517fb5a10cfa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546c01000000000000000000000000900463ffffffff1615801590613218575060105463ffffffff6c010000000000000000000000008204166bffffffffffffffffffffffff90911610155b15613225576132256121e4565b600061323160076135c6565b90505b801561327357600061325261324a600184615caa565b6007906135d1565b509050613260600782614271565b50508061326c90615cdd565b9050613234565b506000805b8281101561338157600084828151811061329457613294615760565b602002602001015160000151905060008583815181106132b6576132b6615760565b60200260200101516020015190507f00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d696001600160a01b0316826001600160a01b0316148061330b57506001600160a01b038216155b1561334d576040517f4de938d10000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109f2565b61335d60078361ffff8416614286565b5061336c61ffff821685615c70565b935050508061337a9061578f565b9050613278565b50601080547fffffffffffffffffffffffffffffffff00000000ffffffffffffffffffffffff166c0100000000000000000000000063ffffffff8416021790556040517f8c337bff38141c507abd25c547606bdde78fe8c12e941ab613f3a565fea6cd24906133f39083908690615d12565b60405180910390a1505050565b60005b815181101561359657600082828151811061342057613420615760565b6020908102919091018101516040805160a080820183528385015163ffffffff908116835283850151811683870190815260608087015161ffff9081168688019081526080808a0151861693880193845295890151851695870195865297516001600160a01b03166000908152600e9099529590972093518454915196519751935183166e010000000000000000000000000000027fffffffffffffffffffffffffffff00000000ffffffffffffffffffffffffffff9484166a0100000000000000000000027fffffffffffffffffffffffffffffffffffff00000000ffffffffffffffffffff999097166801000000000000000002989098167fffffffffffffffffffffffffffffffffffff000000000000ffffffffffffffff978416640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000909316919093161717949094169390931791909117919091169190911790555061358f8161578f565b9050613403565b507f555c74101f7a15746d31c6731170310e667bcc607996b2fc0b981a7b26a416e9816040516111c99190615d31565b6000610df58261429c565b60008080806135e086866142a7565b909450925050505b9250929050565b815460009061361890700100000000000000000000000000000000900463ffffffff1642615caa565b905080156136ba5760018301548354613660916fffffffffffffffffffffffffffffffff8082169281169185917001000000000000000000000000000000009091041661414a565b83546fffffffffffffffffffffffffffffffff919091167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116177001000000000000000000000000000000004263ffffffff16021783555b602082015183546136e0916fffffffffffffffffffffffffffffffff90811691166142d2565b83548351151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffff000000000000000000000000000000009091166fffffffffffffffffffffffffffffffff92831617178455602083015160408085015183167001000000000000000000000000000000000291909216176001850155517f9ea3374b67bf275e6bb9c8ae68f9cae023e1c528b4b27e092f0bb209d3531c19906133f39084908151151581526020808301516fffffffffffffffffffffffffffffffff90811691830191909152604092830151169181019190915260600190565b81516000805b82811015613974576000846001600160a01b031663d02641a08784815181106137f8576137f8615760565b6020908102919091010151516040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b0390911660048201526024016040805180830381865afa15801561385f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138839190615db6565b5190507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8116600003613908578582815181106138be576138be615760565b6020908102919091010151516040517f9a655f7b0000000000000000000000000000000000000000000000000000000081526001600160a01b0390911660048201526024016109f2565b61395686838151811061391d5761391d615760565b602002602001015160200151827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166140ca90919063ffffffff16565b613960908461567c565b9250508061396d9061578f565b90506137cd565b506127bb60038260006142e8565b60008060001b8284602001518560400151866060015187608001518860a001518960c001518a60e001518b6101000151604051602001613a189897969594939291906001600160a01b039889168152968816602088015267ffffffffffffffff95861660408801526060870194909452911515608086015290921660a0840152921660c082015260e08101919091526101000190565b6040516020818303038152906040528051906020012085610120015180519060200120866101400151604051602001613a519190615de9565b60405160208183030381529060405280519060200120876101600151604051602001613a7d9190615dfc565b60408051601f198184030181528282528051602091820120908301979097528101949094526060840192909252608083015260a082015260c081019190915260e00160405160208183030381529060405280519060200120905092915050565b60e08101516001600160a01b0316613b21576040517f35be3ac800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001601a6101000a81548161ffff021916908361ffff160217905550608082015181600001601c6101000a81548163ffffffff021916908363ffffffff16021790555060a08201518160010160006101000a81548161ffff021916908361ffff16021790555060c08201518160010160026101000a81548161ffff021916908361ffff16021790555060e08201518160010160046101000a8154816001600160a01b0302191690836001600160a01b031602179055506101008201518160010160186101000a81548163ffffffff021916908363ffffffff16021790555061012082015181600101601c6101000a81548163ffffffff021916908363ffffffff1602179055509050507f2a57f7c2027cf032c78b77d4d8d2fbd20ad22e5d5e5b5fb23ac7d7820d44adc66040518060e001604052807f00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d696001600160a01b031681526020017f000000000000000000000000000000000000000000000000475f3a7c1964d24967ffffffffffffffff1681526020017f0000000000000000000000000000000000000000000000009d70576d8e253bcf67ffffffffffffffff1681526020017f0000000000000000000000000000000000000000000000000000000000030d4067ffffffffffffffff1681526020017f00000000000000000000000000000000000000000000043c33c19375648000006bffffffffffffffffffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f0000000000000000000000002375959c6571ac7a83c164c6fccbd09e7782773d6001600160a01b0316815250826040516111c9929190615e0f565b6000610e9e836001600160a01b038416614637565b60005b8151811015613fa5576000828281518110613e6a57613e6a615760565b60209081029190910181015160408051608080820183528385015163ffffffff90811683528385015167ffffffffffffffff908116848801908152606080880151831686880190815294880151151590860190815296516001600160a01b03166000908152600d9098529490962092518354945192519551151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9688166c0100000000000000000000000002969096167fffffffffffffffffffffff000000000000000000ffffffffffffffffffffffff93909716640100000000027fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090951691161792909217919091169290921717905550613f9e8161578f565b9050613e4d565b507f067924bf9277d905a9a4631a06d959bc032ace86b3caa835ae7e403d4f39010e816040516111c99190615e99565b336001600160a01b03821603614047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c6600000000000000000060448201526064016109f2565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6000610df5826135c6565b60008080806135e086866135d1565b6000670de0b6b3a76400006140fd837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8616615665565b610e9e919061568f565b6000610e9e836001600160a01b038416614643565b60006121cb846001600160a01b0385168461464f565b6000610e9e8383614637565b6000610e9e8383614665565b60006141698561415a8486615665565b614164908761567c565b6142d2565b95945050505050565b60006141c7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166146ef9092919063ffffffff16565b805190915015612f6c57808060200190518101906141e591906157c7565b612f6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016109f2565b6000610e9e836001600160a01b0384166146fe565b60006121cb846001600160a01b0385168461471b565b6000610df582614738565b600080806142b58585614742565b600081815260029690960160205260409095205494959350505050565b60008183106142e15781610e9e565b5090919050565b825474010000000000000000000000000000000000000000900460ff16158061430f575081155b1561431957505050565b825460018401546fffffffffffffffffffffffffffffffff8083169291169060009061435f90700100000000000000000000000000000000900463ffffffff1642615caa565b9050801561441f57818311156143a1576040517f9725942a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018601546143db9083908590849070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1661414a565b86547fffffffffffffffffffffffff00000000ffffffffffffffffffffffffffffffff167001000000000000000000000000000000004263ffffffff160217875592505b848210156144bc576001600160a01b038416614471576040517ff94ebcd100000000000000000000000000000000000000000000000000000000815260048101839052602481018690526044016109f2565b6040517f1a76572a00000000000000000000000000000000000000000000000000000000815260048101839052602481018690526001600160a01b03851660448201526064016109f2565b848310156145b55760018681015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff169060009082906145009082615caa565b61450a878a615caa565b614514919061567c565b61451e919061568f565b90506001600160a01b03861661456a576040517f15279c0800000000000000000000000000000000000000000000000000000000815260048101829052602481018690526044016109f2565b6040517fd0c8d23a00000000000000000000000000000000000000000000000000000000815260048101829052602481018690526001600160a01b03871660448201526064016109f2565b6145bf8584615caa565b86547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff82161787556040518681529093507f1871cdf8010e63f2eb8384381a68dfa7416dc571a5517e66e88b2d2d0c0a690a9060200160405180910390a1505050505050565b6000610e9e838361474e565b6000610e9e83836146fe565b60006121cb84846001600160a01b03851661471b565b60008181526002830160205260408120548015158061468957506146898484614637565b610e9e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579000060448201526064016109f2565b60606121cb8484600085614766565b60008181526002830160205260408120819055610e9e8383614867565b600082815260028401602052604081208290556121cb8484614873565b6000610df5825490565b6000610e9e838361487f565b60008181526001830160205260408120541515610e9e565b6060824710156147f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016109f2565b600080866001600160a01b031685876040516148149190615f1a565b60006040518083038185875af1925050503d8060008114614851576040519150601f19603f3d011682016040523d82523d6000602084013e614856565b606091505b5091509150612b90878383876148a9565b6000610e9e838361493c565b6000610e9e8383614a2f565b600082600001828154811061489657614896615760565b9060005260206000200154905092915050565b6060831561493257825160000361492b576001600160a01b0385163b61492b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109f2565b50816121cb565b6121cb8383614a7e565b60008181526001830160205260408120548015614a25576000614960600183615caa565b855490915060009061497490600190615caa565b90508181146149d957600086600001828154811061499457614994615760565b90600052602060002001549050808760000184815481106149b7576149b7615760565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806149ea576149ea615f36565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610df5565b6000915050610df5565b6000818152600183016020526040812054614a7657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610df5565b506000610df5565b815115614a8e5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f29190614bd0565b60e08101610df582846001600160a01b03808251168352602082015167ffffffffffffffff808216602086015280604085015116604086015280606085015116606086015250506bffffffffffffffffffffffff60808301511660808401528060a08301511660a08401528060c08301511660c0840152505050565b6001600160a01b03811681146113d557600080fd5b8035614b5e81614b3e565b919050565b600060208284031215614b7557600080fd5b8135610e9e81614b3e565b60005b83811015614b9b578181015183820152602001614b83565b50506000910152565b60008151808452614bbc816020860160208601614b80565b601f01601f19169290920160200192915050565b602081526000610e9e6020830184614ba4565b67ffffffffffffffff811681146113d557600080fd5b600060a08284031215614c0b57600080fd5b50919050565b60008060408385031215614c2457600080fd5b8235614c2f81614be3565b9150602083013567ffffffffffffffff811115614c4b57600080fd5b614c5785828601614bf9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715614cb357614cb3614c61565b60405290565b60405160c0810167ffffffffffffffff81118282101715614cb357614cb3614c61565b604051610140810167ffffffffffffffff81118282101715614cb357614cb3614c61565b60405160a0810167ffffffffffffffff81118282101715614cb357614cb3614c61565b604051601f8201601f1916810167ffffffffffffffff81118282101715614d4c57614d4c614c61565b604052919050565b600067ffffffffffffffff821115614d6e57614d6e614c61565b5060051b60200190565b600082601f830112614d8957600080fd5b81356020614d9e614d9983614d54565b614d23565b82815260069290921b84018101918181019086841115614dbd57600080fd5b8286015b84811015614e0e5760408189031215614dda5760008081fd5b614de2614c90565b8135614ded81614b3e565b815281850135614dfc81614b3e565b81860152835291830191604001614dc1565b509695505050505050565b60008060408385031215614e2c57600080fd5b823567ffffffffffffffff80821115614e4457600080fd5b614e5086838701614d78565b93506020850135915080821115614e6657600080fd5b50614c5785828601614d78565b60008060408385031215614e8657600080fd5b8235614e9181614be3565b91506020830135614ea181614b3e565b809150509250929050565b60008060408385031215614ebf57600080fd5b8235614e9181614b3e565b80516001600160a01b031682526020810151614eec602084018261ffff169052565b506040810151614f04604084018263ffffffff169052565b506060810151614f1a606084018261ffff169052565b506080810151614f32608084018263ffffffff169052565b5060a0810151614f4860a084018261ffff169052565b5060c0810151614f5e60c084018261ffff169052565b5060e0810151614f7960e08401826001600160a01b03169052565b506101008181015163ffffffff81168483015250506101208181015163ffffffff8116848301526127bb565b6101408101610df58284614eca565b60008060208385031215614fc757600080fd5b823567ffffffffffffffff80821115614fdf57600080fd5b818501915085601f830112614ff357600080fd5b81358181111561500257600080fd5b8660208260061b850101111561501757600080fd5b60209290920196919550909350505050565b63ffffffff811681146113d557600080fd5b8035614b5e81615029565b803561ffff81168114614b5e57600080fd5b6000602080838503121561506b57600080fd5b823567ffffffffffffffff81111561508257600080fd5b8301601f8101851361509357600080fd5b80356150a1614d9982614d54565b81815260c091820283018401918482019190888411156150c057600080fd5b938501935b8385101561515c5780858a0312156150dd5760008081fd5b6150e5614cb9565b85356150f081614b3e565b8152858701356150ff81615029565b8188015260408681013561511281615029565b908201526060615123878201615046565b9082015260808681013561513681615029565b9082015260a08681013561514981615029565b90820152835293840193918501916150c5565b50979650505050505050565b600081518084526020808501945080840160005b838110156151b057815180516001600160a01b0316885283015161ffff16838801526040909601959082019060010161517c565b509495945050505050565b6040815260006151ce6040830185615168565b90508260208301529392505050565b80151581146113d557600080fd5b80356fffffffffffffffffffffffffffffffff81168114614b5e57600080fd5b60006060828403121561521d57600080fd5b6040516060810181811067ffffffffffffffff8211171561524057615240614c61565b604052823561524e816151dd565b815261525c602084016151eb565b602082015261526d604084016151eb565b60408201529392505050565b6000806000806080858703121561528f57600080fd5b843561529a81614be3565b9350602085013567ffffffffffffffff8111156152b657600080fd5b6152c287828801614bf9565b9350506040850135915060608501356152da81614b3e565b939692955090935050565b600061014082840312156152f857600080fd5b615300614cdc565b61530983614b53565b815261531760208401615046565b60208201526153286040840161503b565b604082015261533960608401615046565b606082015261534a6080840161503b565b608082015261535b60a08401615046565b60a082015261536c60c08401615046565b60c082015261537d60e08401614b53565b60e082015261010061539081850161503b565b908201526101206153a284820161503b565b908201529392505050565b600060208083850312156153c057600080fd5b823567ffffffffffffffff8111156153d757600080fd5b8301601f810185136153e857600080fd5b80356153f6614d9982614d54565b81815260a0918202830184019184820191908884111561541557600080fd5b938501935b8385101561515c5780858a0312156154325760008081fd5b61543a614d00565b853561544581614b3e565b81528587013561545481615029565b8188015260408681013561546781614be3565b9082015260608681013561547a81614be3565b9082015260808681013561548d816151dd565b908201528352938401939185019161541a565b6000602082840312156154b257600080fd5b8135610e9e81614be3565b6020808252825182820181905260009190848201906040850190845b818110156154fe5783516001600160a01b0316835292840192918401916001016154d9565b50909695505050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261553f57600080fd5b83018035915067ffffffffffffffff82111561555a57600080fd5b6020019150368190038213156135e857600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126155a457600080fd5b83018035915067ffffffffffffffff8211156155bf57600080fd5b6020019150600681901b36038213156135e857600080fd5b80517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff81168114614b5e57600080fd5b6000806040838503121561561657600080fd5b61561f836155d7565b915061562d602084016155d7565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417610df557610df5615636565b80820180821115610df557610df5615636565b6000826156c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b67ffffffffffffffff81811683821601908082111561259d5761259d615636565b6000602082840312156156fd57600080fd5b5051919050565b60006040828403121561571657600080fd5b61571e614c90565b823561572981614b3e565b815261573760208401615046565b60208201529392505050565b60006020828403121561575557600080fd5b8151610e9e81614be3565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036157c0576157c0615636565b5060010190565b6000602082840312156157d957600080fd5b8151610e9e816151dd565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b6020815260006121cb6020830184866157e4565b60006020828403121561583557600080fd5b5035919050565b60006040828403121561584e57600080fd5b615856614c90565b823561586181614b3e565b81526020928301359281019290925250919050565b6bffffffffffffffffffffffff81811683821601908082111561259d5761259d615636565b600067ffffffffffffffff8083168181036158b8576158b8615636565b6001019392505050565b6001600160a01b038716815260a0602082015260006158e560a0830187896157e4565b85604084015267ffffffffffffffff85166060840152828103608084015261590d8185614ba4565b9998505050505050505050565b60006020828403121561592c57600080fd5b815167ffffffffffffffff8082111561594457600080fd5b818401915084601f83011261595857600080fd5b81518181111561596a5761596a614c61565b61597d6020601f19601f84011601614d23565b915080825285602082850101111561599457600080fd5b6159a5816020840160208601614b80565b50949350505050565b600081518084526020808501945080840160005b838110156151b057815180516001600160a01b0316885283015183880152604090960195908201906001016159c2565b600081518084526020808501808196508360051b8101915082860160005b85811015615a3a578284038952615a28848351614ba4565b98850198935090840190600101615a10565b5091979650505050505050565b60208152615a6260208201835167ffffffffffffffff169052565b60006020830151615a7e60408401826001600160a01b03169052565b5060408301516001600160a01b038116606084015250606083015167ffffffffffffffff8116608084015250608083015160a083015260a0830151615ac760c084018215159052565b5060c083015167ffffffffffffffff811660e08401525060e0830151610100615afa818501836001600160a01b03169052565b840151610120848101919091528401516101a061014080860182905291925090615b286101c0860184614ba4565b9250808601519050601f19610160818786030181880152615b4985846159ae565b945080880151925050610180818786030181880152615b6885846159f2565b970151959092019490945250929392505050565b6bffffffffffffffffffffffff82811682821603908082111561259d5761259d615636565b7fffffffff000000000000000000000000000000000000000000000000000000008135818116916004851015615be15780818660040360031b1b83161692505b505092915050565b60008085851115615bf957600080fd5b83861115615c0657600080fd5b5050820193919092039150565b600060208284031215615c2557600080fd5b6040516020810181811067ffffffffffffffff82111715615c4857615c48614c61565b6040529135825250919050565b600060208284031215615c6757600080fd5b610e9e826155d7565b63ffffffff81811683821601908082111561259d5761259d615636565b600060208284031215615c9f57600080fd5b8151610e9e81614b3e565b81810381811115610df557610df5615636565b818103600083128015838313168383128216171561259d5761259d615636565b600081615cec57615cec615636565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b63ffffffff831681526040602082015260006121cb6040830184615168565b602080825282518282018190526000919060409081850190868401855b82811015615a3a57815180516001600160a01b031685528681015163ffffffff908116888701528682015181168787015260608083015161ffff169087015260808083015182169087015260a091820151169085015260c09093019290850190600101615d4e565b600060408284031215615dc857600080fd5b615dd0614c90565b615dd9836155d7565b8152602083015161573781615029565b602081526000610e9e60208301846159ae565b602081526000610e9e60208301846159f2565b6102208101615e8c82856001600160a01b03808251168352602082015167ffffffffffffffff808216602086015280604085015116604086015280606085015116606086015250506bffffffffffffffffffffffff60808301511660808401528060a08301511660a08401528060c08301511660c0840152505050565b610e9e60e0830184614eca565b602080825282518282018190526000919060409081850190868401855b82811015615a3a57815180516001600160a01b031685528681015163ffffffff16878601528581015167ffffffffffffffff908116878701526060808301519091169086015260809081015115159085015260a09093019290850190600101615eb6565b60008251615f2c818460208701614b80565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea164736f6c6343000813000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d69000000000000000000000000000000000000000000000000475f3a7c1964d2490000000000000000000000000000000000000000000000009d70576d8e253bcf0000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000043c33c193756480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002375959c6571ac7a83c164c6fccbd09e7782773d0000000000000000000000004077d88ade5ba1b021f84657fed3509b6132f2210000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000005573000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002514058753d212110fff63a52915746991014fa2000000000000000000000000000000000000000000000000000000000000753000000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000152d02c7e14af68000000000000000000000000000000000000000000000000000090d972f32323c0000000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000835670043d88d2b3a52340a957b7997be0dc787800000000000000000000000095036f37b03212478d81df4fc6b12dcf0e54f653000000000000000000000000000000000000000000000000000000000000000200000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d69000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000e92596fd62900000000000000000000000000000000000000000000000000000c7d713b49da000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000007d72b22a74a216af4a002a1095c8c707d6ec1c5f000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000e92596fd62900000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : staticConfig (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [1] : dynamicConfig (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [2] : tokensAndPools (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [3] : rateLimiterConfig (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [4] : feeTokenConfigs (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
40 Constructor Arguments found :
Arg [0] : 00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d69
Arg [1] : 000000000000000000000000000000000000000000000000475f3a7c1964d249
Arg [2] : 0000000000000000000000000000000000000000000000009d70576d8e253bcf
Arg [3] : 0000000000000000000000000000000000000000000000000000000000030d40
Arg [4] : 00000000000000000000000000000000000000000000043c33c1937564800000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000002375959c6571ac7a83c164c6fccbd09e7782773d
Arg [7] : 0000000000000000000000004077d88ade5ba1b021f84657fed3509b6132f221
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 0000000000000000000000000000000000000000000000000000000000055730
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000002514058753d212110fff63a52915746991014fa2
Arg [15] : 0000000000000000000000000000000000000000000000000000000000007530
Arg [16] : 00000000000000000000000000000000000000000000000000000000001e8480
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [19] : 00000000000000000000000000000000000000000000152d02c7e14af6800000
Arg [20] : 0000000000000000000000000000000000000000000000090d972f32323c0000
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000360
Arg [22] : 00000000000000000000000000000000000000000000000000000000000004c0
Arg [23] : 00000000000000000000000000000000000000000000000000000000000004e0
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [25] : 000000000000000000000000835670043d88d2b3a52340a957b7997be0dc7878
Arg [26] : 00000000000000000000000095036f37b03212478d81df4fc6b12dcf0e54f653
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [28] : 00000000000000000000000080f1fcdc96b55e459bf52b998abbe2c364935d69
Arg [29] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [30] : 0000000000000000000000000000000000000000000000000e92596fd6290000
Arg [31] : 0000000000000000000000000000000000000000000000000c7d713b49da0000
Arg [32] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [33] : 0000000000000000000000007d72b22a74a216af4a002a1095c8c707d6ec1c5f
Arg [34] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [35] : 0000000000000000000000000000000000000000000000000e92596fd6290000
Arg [36] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [38] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [39] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
1524:41510:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20712:393;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20802:298:12;;;;;;;;20836:11;-1:-1:-1;;;;;20802:298:12;;;;;20872:15;20802:298;;;;;;20916:19;20802:298;;;;;;20964:19;20802:298;;;;;;21010:17;20802:298;;;;;;21049:12;-1:-1:-1;;;;;20802:298:12;;;;;21081:10;-1:-1:-1;;;;;20802:298:12;;;;20789:311;;20712:393;;;;;;;;;:::i;:::-;;;;;;;;35299:184;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35447:31:12;;;;;:24;:31;;;;;;;;;35440:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35299:184;;;;;;;2206:13:25;;2165:10;2202:22;;;2184:41;;2285:4;2273:17;;;2267:24;2263:33;;2241:20;;;2234:63;2357:4;2345:17;;;2339:24;2365:6;2335:37;2313:20;;;2306:67;2433:4;2421:17;;;2415:24;2411:33;;2389:20;;;2382:63;2505:4;2493:17;;;2487:24;2483:33;2461:20;;;2454:63;;;;2142:3;2127:19;;1928:595;8527:70:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;25003:3647::-;;;;;;:::i;:::-;;:::i;:::-;;;4298:25:25;;;4286:2;4271:18;25003:3647:12;4152:177:25;23275:173:12;;;;;;:::i;:::-;;:::i;:::-;;13078:110;;;:::i;:::-;;;8065:18:25;8053:31;;;8035:50;;8023:2;8008:18;13078:110:12;7891:200:25;22887:279:12;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8679:55:25;;;8661:74;;8649:2;8634:18;22887:279:12;8502:239:25;2435:148:0;;;:::i;:::-;;;;;;9122:13:25;;9057:34;9118:22;;;9100:41;;9201:4;9189:17;;;9183:24;9209:10;9179:41;9157:20;;;9150:71;9291:4;9279:17;;;9273:24;9266:32;9259:40;9237:20;;;9230:70;9360:4;9348:17;;;9342:24;9338:33;;9316:20;;;9309:63;9432:4;9420:17;;;9414:24;9410:33;9388:20;;;9381:63;;;;9034:3;9019:19;;8842:608;40982:429:12;;;;;;:::i;:::-;;:::i;36837:90::-;36908:14;;36837:90;;36908:14;;;;9992:58:25;;9980:2;9965:18;36837:90:12;9848:208:25;3208:87:0;3283:7;;-1:-1:-1;;;;;3283:7:0;3208:87;;3475:120;;;;;;:::i;:::-;;:::i;21205::12:-;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21298:22:12;;;;;;;;21305:15;21298:22;-1:-1:-1;;;;;21298:22:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21205:120;;;;;;;;:::i;37670:118::-;;;;;;:::i;:::-;;:::i;1064:312:14:-;;;:::i;35579:198:12:-;;;;;;:::i;:::-;;:::i;13225:375::-;;;;;;:::i;:::-;;:::i;1427:81:14:-;1474:7;1496;-1:-1:-1;;;;;1496:7:14;1427:81;;34153:144:12;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34269:23:12;;;;;:16;:23;;;;;;;;;34262:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34153:144;;;;;15043:13:25;;15058:10;15039:30;15021:49;;15117:4;15105:17;;;15099:24;15142:18;15198:21;;;15176:20;;;15169:51;;;;15268:17;;;15262:24;15258:33;15236:20;;;15229:63;;;;15362:4;15350:17;;;15344:24;15337:32;15330:40;15308:20;;;15301:70;;;;15008:3;14993:19;34153:144:12;14810:567:25;37090:472:12;;;:::i;:::-;;;;;;;;:::i;2750:144:0:-;;;;;;:::i;:::-;;:::i;42042:107:12:-;;;:::i;13643:5044::-;;;;;;:::i;:::-;;:::i;21421:124::-;;;;;;:::i;:::-;;:::i;39885:914::-;;;:::i;34423:150::-;;;;;;:::i;:::-;;:::i;874:98:14:-;;;;;;:::i;:::-;;:::i;22515:329:12:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;25003:3647::-;25120:22;25175:19;25154:40;;:17;:40;;;25150:92;;25203:39;;;;;8065:18:25;8053:31;;25203:39:12;;;8035:50:25;8008:18;;25203:39:12;;;;;;;;25150:92;25249:16;25268:29;25279:17;;;;:7;:17;:::i;:::-;25268:10;:29::i;:::-;:38;;-1:-1:-1;25360:76:12;25377:12;;;;:7;:12;:::i;:::-;:19;-1:-1:-1;25398:8:12;25408:20;;;;:7;:20;:::i;:::-;:27;;25360:16;:76::i;:::-;25443:36;25482:16;25443:36;25499:16;;;;;;;;:::i;:::-;-1:-1:-1;;;;;25482:34:12;;;;;;;;;;;;;;;-1:-1:-1;25482:34:12;25443:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25522:66:12;;25571:16;;;;;;;;:::i;:::-;25558:30;;;;;-1:-1:-1;;;;;8679:55:25;;;25558:30:12;;;8661:74:25;8634:18;;25558:30:12;8502:239:25;25522:66:12;25660:29;;25596:21;;;;25660:29;;;-1:-1:-1;;;;;25660:29:12;25645:73;25719:16;;;;;;;;:::i;:::-;25645:110;;;;;;;;;;-1:-1:-1;;;;;23672:55:25;;;25645:110:12;;;23654:74:25;23776:18;23764:31;;23744:18;;;23737:59;23627:18;;25645:110:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25595:160;;-1:-1:-1;25595:160:12;-1:-1:-1;25595:160:12;25761:25;;;;26270:20;;;;:7;:20;:::i;:::-;:27;;:31;26266:363;;;26372:108;26403:16;;;;;;;;:::i;:::-;26429:13;26452:20;;;;:7;:20;:::i;:::-;26372:21;:108::i;:::-;26311:169;;-1:-1:-1;26311:169:12;-1:-1:-1;26311:169:12;-1:-1:-1;26266:363:12;;;26581:33;;26573:49;;:42;;26618:4;26573:49;:::i;:::-;26560:62;;26266:363;26761:41;;;;26748:54;;;;:10;:54;:::i;:::-;27347:37;;;;;27278:15;:37;26735:67;;-1:-1:-1;27142:21:12;;27193:191;;;;;27194:149;;;;27278:37;;;;;;27256:12;;;;;;:::i;:::-;:59;;;-1:-1:-1;27256:59:12;:::i;:::-;27213:15;:31;27194:50;;27213:31;;;;;27194:8;:50;:::i;:::-;:122;;;;:::i;:::-;:149;;;;:::i;:::-;27193:191;;;;:::i;:::-;27166:219;;;;;;:::i;:::-;27864:49;;27142:243;;-1:-1:-1;27630:28:12;;27864:49;;;;;:53;27860:464;;28032:32;2298:3:8;28075:41:12;;:14;:41;;;;28032:85;;28149:168;28183:24;28217:7;:12;;;;;;;;:::i;:::-;:19;;28246:7;:20;;;;;;;;:::i;:::-;:27;;28283:26;28149:24;:168::i;:::-;28126:191;;27919:405;27860:464;28578:67;;;28608:20;28579:26;28592:13;28579:10;:26;:::i;:::-;:49;;;;:::i;:::-;28578:67;;;;:::i;:::-;28571:74;;;;;;;;;;;;25003:3647;;;;;:::o;23275:173::-;2145:20:14;:18;:20::i;:::-;23411:32:12::1;23429:7;23438:4;23411:17;:32::i;:::-;23275:173:::0;;:::o;13078:110::-;13163:16;;13142:6;;13163:20;;:16;;;;;13182:1;13163:20;:::i;:::-;13156:27;;13078:110;:::o;22887:279::-;22988:5;23006:51;:20;23044:11;23006:29;:51::i;:::-;23001:94;;23066:29;;;;;-1:-1:-1;;;;;8679:55:25;;23066:29:12;;;8661:74:25;8634:18;;23066:29:12;8502:239:25;23001:94:12;23114:46;:20;23147:11;23114:24;:46::i;:::-;23101:60;22887:279;-1:-1:-1;;;22887:279:12:o;2435:148:0:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2538:38:0;;;;;;;;:13;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:40;;:38;:40::i;40982:429:12:-;1474:7:14;1496;-1:-1:-1;;;;;1496:7:14;42730:10:12;:21;;;;:46;;-1:-1:-1;42769:7:12;;-1:-1:-1;;;;;42769:7:12;42755:10;:21;;42730:46;42726:87;;;42785:28;;;;;;;;;;;;;;42726:87;41089:11:::1;-1:-1:-1::0;;;;;41077:23:12::1;:8;-1:-1:-1::0;;;;;41077:23:12::1;;:43;;;-1:-1:-1::0;;;;;;41104:16:12;::::1;::::0;41077:43:::1;41073:79;;;41129:23;;;;;;;;;;;;;;41073:79;41290:1;41264:23;:21;:23::i;:::-;:27;41260:63;;;41300:23;;;;;;;;;;;;;;41260:63;41364:41;::::0;;;;41399:4:::1;41364:41;::::0;::::1;8661:74:25::0;41330:76:12::1;::::0;41360:2;;-1:-1:-1;;;;;41364:26:12;::::1;::::0;::::1;::::0;8634:18:25;;41364:41:12::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;41330:29:12;::::1;::::0;:76;:29:::1;:76::i;3475:120:0:-:0;1474:7:14;1496;-1:-1:-1;;;;;1496:7:14;3752:10:0;:21;;;;:46;;-1:-1:-1;3791:7:0;;-1:-1:-1;;;;;3791:7:0;3777:10;:21;;3752:46;3748:99;;;3807:40;;;;;;;;;;;;;;3748:99;3543:7:::1;:18:::0;;;::::1;-1:-1:-1::0;;;;;3543:18:0;::::1;::::0;;::::1;::::0;;;3572::::1;::::0;8661:74:25;;;3572:18:0::1;::::0;8649:2:25;8634:18;3572::0::1;;;;;;;;3475:120:::0;:::o;37670:118:12:-;1474:7:14;1496;-1:-1:-1;;;;;1496:7:14;42730:10:12;:21;;;;:46;;-1:-1:-1;42769:7:12;;-1:-1:-1;;;;;42769:7:12;42755:10;:21;;42730:46;42726:87;;;42785:28;;;;;;;;;;;;;;42726:87;37759:24:::1;37768:14;;37759:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;:8;:24::i;1064:312:14:-:0;1184:14;;-1:-1:-1;;;;;1184:14:14;1170:10;:28;1162:63;;;;;;;26350:2:25;1162:63:14;;;26332:21:25;26389:2;26369:18;;;26362:30;26428:24;26408:18;;;26401:52;26470:18;;1162:63:14;26148:346:25;1162:63:14;1232:16;1251:7;;1274:10;1264:20;;;;;;;;-1:-1:-1;1290:27:14;;;;;;;1329:42;;-1:-1:-1;;;;;1251:7:14;;;;1274:10;;1251:7;;1329:42;;;1109:267;1064:312::o;35579:198:12:-;1474:7:14;1496;-1:-1:-1;;;;;1496:7:14;42730:10:12;:21;;;;:46;;-1:-1:-1;42769:7:12;;-1:-1:-1;;;;;42769:7:12;42755:10;:21;;42730:46;42726:87;;;42785:28;;;;;;;;;;;;;;42726:87;35718:54:::1;35745:26;35718;:54::i;:::-;35579:198:::0;:::o;13225:375::-;-1:-1:-1;;;;;13324:21:12;;13288:6;13324:21;;;:13;:21;;;;;;;;13356:16;;:46;;;;-1:-1:-1;13376:12:12;-1:-1:-1;;;;;13376:26:12;;;13356:46;13352:212;;;13506:51;;;;;-1:-1:-1;;;;;8679:55:25;;;13506:51:12;;;8661:74:25;13521:12:12;13506:43;;;;8634:18:25;;13506:51:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;37090:472::-;37132:36;37170:20;37198:14;37215:15;:6;:13;:15::i;:::-;37198:32;;37272:6;37253:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;37253:26:12;;;;;;;;;;;;;;;;37236:43;;37290:9;37285:192;37309:6;37305:1;:10;37285:192;;;37331:18;;37372:12;:6;37382:1;37372:9;:12::i;:::-;37330:54;;;;37412:58;;;;;;;;37431:10;-1:-1:-1;;;;;37412:58:12;;;;;37458:9;37412:58;;;;;37392:14;37407:1;37392:17;;;;;;;;:::i;:::-;;;;;;:78;;;;37322:155;;37317:3;;;;:::i;:::-;;;37285:192;;;-1:-1:-1;;37497:17:12;;37090:472;;37497:17;;;;;;;37090:472;-1:-1:-1;37090:472:12:o;2750:144:0:-;1474:7:14;1496;-1:-1:-1;;;;;1496:7:14;3752:10:0;:21;;;;:46;;-1:-1:-1;3791:7:0;;-1:-1:-1;;;;;3791:7:0;3777:10;:21;;3752:46;3748:99;;;3807:40;;;;;;;;;;;;;;3748:99;2846:43:::1;:13;2882:6:::0;2846:35:::1;:43::i;42042:107:12:-:0;42100:6;42121:23;:21;:23::i;13643:5044::-;13834:7;42975:10;-1:-1:-1;;;;;42970:25:12;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42966:54;;;43006:14;;;;;;;;;;;;;;42966:54;-1:-1:-1;;;;;13959:28:12;::::1;13955:70;;13996:29;;;;;;;;;;;;;;13955:70;14107:15;:22:::0;-1:-1:-1;;;;;14107:22:12::1;14093:10;:36;14089:71;;14138:22;;;;;;;;;;;;;;14089:71;14191:19;14170:40;;:17;:40;;;14166:92;;14219:39;::::0;::::1;::::0;;8065:18:25;8053:31;;14219:39:12::1;::::0;::::1;8035:50:25::0;8008:18;;14219:39:12::1;7891:200:25::0;14166:92:12::1;14462:16;:7:::0;;:16:::1;:::i;:::-;:23;;14489:2;14462:29;14458:74;;14515:16;:7:::0;;:16:::1;:::i;:::-;14500:32;;;;;;;;;;;;:::i;14458:74::-;14538:23;14575:16;:7:::0;;:16:::1;:::i;:::-;14564:39;;;;;;;:::i;:::-;14538:65:::0;-1:-1:-1;;;;;;14728:35:12;::::1;::::0;:59:::1;;;14785:2;14767:15;:20;14728:59;14724:104;;;14811:16;:7:::0;;:16:::1;:::i;14724:104::-;14835:16;14854:29;14865:17;;::::0;::::1;:7:::0;:17:::1;:::i;14854:29::-;:38:::0;;-1:-1:-1;14854:38:12::1;14971:20;;::::0;::::1;:7:::0;:20:::1;:::i;:::-;:27:::0;-1:-1:-1;15004:63:12::1;::::0;-1:-1:-1;15021:12:12::1;;::::0;::::1;:7:::0;:12:::1;:::i;:::-;:19;;15042:8;15052:14;15004:16;:63::i;:::-;15128:18:::0;;15124:310:::1;;15161:9;15156:134;15180:14;15176:1;:18;15156:134;;;15215:20;;::::0;::::1;:7:::0;:20:::1;:::i;:::-;15236:1;15215:23;;;;;;;:::i;:::-;;;;;;:30;;;15249:1;15215:35:::0;15211:70:::1;;15259:22;;;;;;;;;;;;;;15211:70;15196:3;::::0;::::1;:::i;:::-;;;15156:134;;;-1:-1:-1::0;15343:84:12::1;15359:20;;::::0;::::1;:7:::0;:20:::1;:::i;:::-;15343:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;-1:-1:-1::0;;15396:29:12;;;;::::1;-1:-1:-1::0;;;;;15396:29:12::1;::::0;-1:-1:-1;15343:15:12::1;::::0;-1:-1:-1;;15343:84:12:i:1;:::-;-1:-1:-1::0;;;;;15519:11:12::1;15499:31;:16;::::0;;;::::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;;;;15499:31:12::1;::::0;15495:429:::1;;15590:14;:40:::0;;15615:14;;15590;::::1;::::0;:40:::1;::::0;15615:14;;15590:40:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;15495:429;;;15813:29:::0;;;;::::1;-1:-1:-1::0;;;;;15813:29:12::1;15798:64;15863:16;::::0;;;::::1;::::0;::::1;;:::i;:::-;15798:111;::::0;::::1;::::0;;;;;;;-1:-1:-1;;;;;29057:15:25;;;15798:111:12::1;::::0;::::1;29039:34:25::0;29089:18;;;29082:34;;;15897:11:12::1;29152:15:25::0;;;29132:18;;;29125:43;28951:18;;15798:111:12::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15764:14;:153:::0;;:14:::1;::::0;:153:::1;::::0;;;::::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;15495:429;15933:14;::::0;:34:::1;15950:17;15933:34:::0;::::1;:14:::0;::::1;:34;15929:69;;;15976:22;;;;;;;;;;;;;;15929:69;-1:-1:-1::0;;;;;16009:29:12;::::1;;::::0;;;:13:::1;:29;::::0;;;;;::::1;;:34:::0;:64;::::1;;;-1:-1:-1::0;16047:12:12::1;-1:-1:-1::0;;;;;16047:26:12::1;::::0;::::1;16009:64;16005:339;;;16278:59;::::0;;;;-1:-1:-1;;;;;8679:55:25;;;16278:59:12::1;::::0;::::1;8661:74:25::0;16293:12:12::1;16278:43;::::0;::::1;::::0;8634:18:25;;16278:59:12::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;16246:29:12;::::1;;::::0;;;:13:::1;:29;::::0;;;;:91;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;16005:339:::1;16440:41;16484:531;;;;;;;;16537:15;16484:531;;;;;;16568:14;-1:-1:-1::0;;;;;16484:531:12::1;;;;;16616:15;-1:-1:-1::0;;;;;16484:531:12::1;;;;;16659:16;::::0;16657:18:::1;;;;;;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;;::::1;;::::0;;;::::1;::::0;;::::1;::::0;;::::1;;::::0;;::::1;;::::0;;;16484:531;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;16484:531:12;;;;;;;-1:-1:-1;;;;;16739:29:12;::::1;::::0;;:13:::1;:29:::0;;;;;;16737:31;;16484:531;;;;;16739:29;;16737:31:::1;::::0;::::1;;:::i;:::-;::::0;;::::1;::::0;;::::1;;::::0;;;::::1;::::0;;::::1;::::0;::::1;;;;::::0;;;16484:531;;::::1;;16786:16;::::0;;;::::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;;;;16484:531:12::1;;;;;16826:14;16484:531;;;;16854:7;:12;;;;;;;;:::i;:::-;16484:531;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;;16484:531:12;;;-1:-1:-1;16484:531:12::1;;16888:20;;::::0;::::1;:7:::0;:20:::1;:::i;:::-;16484:531;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;16945:14;16933:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;16484:531:12;;::::1;;::::0;;::::1;::::0;;;16440:575;;-1:-1:-1;17172:1151:12::1;17196:14;17192:1;:18;17172:1151;;;17225:43;17271:20;;::::0;::::1;:7:::0;:20:::1;:::i;:::-;17292:1;17271:23;;;;;;;:::i;:::-;;;;;;17225:69;;;;;;;;;;:::i;:::-;;;17302:22;17327:69;17348:17;17374:14;:20;;;17327;:69::i;:::-;-1:-1:-1::0;;;;;17327:80:12::1;;17417:14:::0;17441:16:::1;:7:::0;;:16:::1;:::i;:::-;17467:21;::::0;;::::1;::::0;17527:9:::1;::::0;;;;::::1;::::0;;-1:-1:-1;17527:9:12;;17327:271;;::::1;::::0;;;;;;::::1;::::0;;;;17498:19:::1;::::0;17327:271:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;17327:271:12::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;18165:20:::0;;-1:-1:-1;;;;;18140:46:12::1;;::::0;;;:24:::1;:46;::::0;;;;:64;18121:16;;;;-1:-1:-1;18140:64:12;;::::1;;;-1:-1:-1::0;18117:149:12::1;;;18245:20:::0;;18221:45:::1;::::0;::::1;::::0;;-1:-1:-1;;;;;8679:55:25;;;18221:45:12::1;::::0;::::1;8661:74:25::0;8634:18;;18221:45:12::1;8502:239:25::0;18117:149:12::1;18307:9;18275:10;:26;;;18302:1;18275:29;;;;;;;;:::i;:::-;;;;;;:41;;;;17217:1106;;17212:3;;;;:::i;:::-;;;17172:1151;;;;18408:42;18423:10;18435:14;18408;:42::i;:::-;18385:20;::::0;::::1;:65:::0;18620:29:::1;::::0;::::1;::::0;::::1;::::0;18385:10;;18620:29:::1;:::i;:::-;;;;;;;;18662:20;;::::0;;-1:-1:-1;;;;43026:1:12::1;13643:5044:::0;;;;;;:::o;21421:124::-;2145:20:14;:18;:20::i;:::-;21508:32:12::1;21526:13;21508:17;:32::i;39885:914::-:0;1474:7:14;1496;-1:-1:-1;;;;;1496:7:14;42485:10:12;:21;;;;:46;;-1:-1:-1;42524:7:12;;-1:-1:-1;;;;;42524:7:12;42510:10;:21;;42485:46;:78;;;;-1:-1:-1;42536:27:12;:6;42552:10;42536:15;:27::i;:::-;42535:28;42485:78;42481:130;;;42578:33;;;;;;;;;;;;;;42481:130;39962:17:::1;::::0;;;::::1;;;39939:20;39989:17:::0;;;39985:43:::1;;40015:13;;;;;;;;;;;;;;39985:43;40059:14;::::0;::::1;;40083:29:::0;;::::1;40079:55;;;40121:13;;;;;;;;;;;;;;40079:55;40170:1;40144:23;:21;:23::i;:::-;:27;40140:61;;;40180:21;;;;;;;;;;;;;;40140:61;40227:14:::0;40208:16:::1;40270:15;:6;:13;:15::i;:::-;40247:38;;40296:9;40291:373;40315:12;40311:1;:16;40291:373;;;40343:11;::::0;40374:12:::1;:6;40384:1:::0;40374:9:::1;:12::i;:::-;40342:44:::0;;-1:-1:-1;40342:44:12;-1:-1:-1;40480:13:12::1;40531:12:::0;40504:23:::1;40342:44:::0;40504:23:::1;::::0;::::1;;:::i;:::-;40503:40;;;;:::i;:::-;40480:64:::0;-1:-1:-1;40552:19:12::1;40480:64:::0;40552:19;::::1;:::i;:::-;::::0;-1:-1:-1;40579:45:12::1;-1:-1:-1::0;;;;;40586:11:12::1;40579:32;40612:3:::0;40579:45:::1;::::0;::::1;:32;:45::i;:::-;40637:20;::::0;10022:26:25;10010:39;;9992:58;;-1:-1:-1;;;;;40637:20:12;::::1;::::0;::::1;::::0;9980:2:25;9965:18;40637:20:12::1;;;;;;;40334:330;;;40329:3;;;;:::i;:::-;;;40291:373;;;-1:-1:-1::0;;40768:14:12::1;:26:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;39885:914:12:o;34423:150::-;1474:7:14;1496;-1:-1:-1;;;;;1496:7:14;42730:10:12;:21;;;;:46;;-1:-1:-1;42769:7:12;;-1:-1:-1;;;;;42769:7:12;42755:10;:21;;42730:46;42726:87;;;42785:28;;;;;;;;;;;;;;42726:87;34530:38:::1;34549:18;34530;:38::i;874:98:14:-:0;2145:20;:18;:20::i;:::-;945:22:::1;964:2;945:18;:22::i;22515:329:12:-:0;22596:16;22620:29;22666;:20;:27;:29::i;:::-;22652:44;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22652:44:12;;22620:76;;22707:9;22702:113;22726:12;:19;22722:1;:23;22702:113;;;22782:26;:20;22806:1;22782:23;:26::i;:::-;22760:48;22761:12;22774:1;22761:15;;;;;;;;:::i;:::-;;;;;;22760:48;-1:-1:-1;;;;;22760:48:12;-1:-1:-1;;;;;22760:48:12;;;;;22747:3;;;;:::i;:::-;;;22702:113;;;-1:-1:-1;22827:12:12;22515:329;-1:-1:-1;;22515:329:12:o;18825:540::-;-1:-1:-1;;;;;;;;;;;;18954:1:12;18934:21;;;18930:103;;-1:-1:-1;18972:54:12;;;;;;;;;;19005:19;18972:54;;;18965:61;;18930:103;19063:28;19042:17;19049:9;;19042:17;:::i;:::-;:49;;;19038:83;;19100:21;;;;;;;;;;;;;;19038:83;19321:13;:9;19331:1;19321:9;;:13;:::i;:::-;19310:50;;;;;;;:::i;19812:511::-;19997:28;;;;;;;20036:25;;;20032:79;;;20070:41;;;;;;;;35801:25:25;;;35842:18;;;35835:34;;;35774:18;;20070:41:12;35627:248:25;20032:79:12;20140:33;;;;;;;20121:53;;20117:90;;;20183:24;;;;;;;;;;;;;;20117:90;20242:15;:39;;;;;;20217:65;;20213:105;;;20291:27;;;;;;;;;;;;;;20213:105;19914:409;19812:511;;;:::o;31693:2290::-;31851:30;;;31974:12;31851:30;32000:1895;32024:14;32020:1;:18;32000:1895;;;32053:40;32096:12;;32109:1;32096:15;;;;;;;:::i;:::-;;;;;;32053:58;;;;;;;;;;:::i;:::-;32194:17;;-1:-1:-1;;;;;32169:43:12;32119:47;32169:43;;;:24;:43;;;;;;;;;32119:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32346:17;;32053:58;;-1:-1:-1;32119:93:12;;32316:48;;32119:93;;32346:17;32316:29;:48;:::i;:::-;32311:105;;32397:17;;32373:43;;;;;-1:-1:-1;;;;;8679:55:25;;;32373:43:12;;;8661:74:25;8634:18;;32373:43:12;8502:239:25;32311:105:12;32648:25;;;;32425:20;;32648:29;;;32644:540;;32689:18;32746:8;-1:-1:-1;;;;;32725:29:12;:11;:17;;;-1:-1:-1;;;;;32725:29:12;;32721:213;;32796:29;;32850:17;;32781:87;;;;;-1:-1:-1;;;;;8679:55:25;;;32796:29:12;32781:87;;8661:74:25;32796:29:12;;;;;;32781:68;;8634:18:25;;32781:87:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32768:100;;32721:213;;;-1:-1:-1;32910:13:12;32721:213;33172:3;33143:17;:25;;;33081:87;;:59;33121:11;:18;;;33081:10;:39;;;;:59;;;;:::i;:::-;:87;;;;:::i;:::-;33080:95;;;;:::i;:::-;33065:110;;32679:505;32644:540;33212:33;;;;33192:53;;;;:::i;:::-;;;33283:17;:35;;;33253:65;;;;;:::i;:::-;33491:32;;33253:65;;-1:-1:-1;33460:20:12;;33483:48;;:41;;33527:4;33483:48;:::i;:::-;33460:71;;33558:12;33543;:27;33539:108;;;33582:38;33608:12;33582:38;;:::i;:::-;;;33630:8;;;;;;33539:108;33655:20;33686:17;:32;;;33678:41;;33722:4;33678:48;;;;:::i;:::-;33655:71;;33753:12;33738;:27;33734:108;;;33777:38;33803:12;33777:38;;:::i;:::-;;;33825:8;;;;;;;33734:108;33850:38;33876:12;33850:38;;:::i;:::-;;;32045:1850;;;;;32000:1895;32040:3;;;:::i;:::-;;;32000:1895;;;;33901:77;31693:2290;;;;;;;;:::o;29296:1378::-;29493:40;;29782:155;;;29846:55;5030:6:8;29846:14:12;:55;:::i;:::-;29782:54;29819:17;4792:7:8;29782:54:12;:::i;:::-;:120;;;;:::i;:::-;:155;;;;:::i;:::-;30287:15;:47;30231:46;;29744:193;;-1:-1:-1;30170:27:12;;30287:47;;;;;;;30201:76;;30231:46;;29744:193;30201:76;:::i;:::-;30200:134;;;;:::i;:::-;30612:49;;30170:164;;-1:-1:-1;30612:49:12;;;;;30562:46;;;;30170:164;30562:46;:::i;:::-;30561:100;;;;:::i;:::-;30560:109;;30665:4;30560:109;:::i;:::-;30547:122;29296:1378;-1:-1:-1;;;;;;;29296:1378:12:o;1872:158:14:-;1991:7;;-1:-1:-1;;;;;1991:7:14;1977:10;:21;1969:56;;;;;;;36472:2:25;1969:56:14;;;36454:21:25;36511:2;36491:18;;;36484:30;36550:24;36530:18;;;36523:52;36592:18;;1969:56:14;36270:346:25;1969:56:14;1872:158::o;23452:947:12:-;23572:9;23567:387;23591:7;:14;23587:1;:18;23567:387;;;23620:13;23636:7;23644:1;23636:10;;;;;;;;:::i;:::-;;;;;;;:16;;;23620:32;;23660:12;23675:7;23683:1;23675:10;;;;;;;;:::i;:::-;;;;;;;:15;;;23660:30;;23704:36;23734:5;23704:20;:29;;:36;;;;:::i;:::-;23699:73;;23749:23;;;;;-1:-1:-1;;;;;8679:55:25;;23749:23:12;;;8661:74:25;8634:18;;23749:23:12;8502:239:25;23699:73:12;-1:-1:-1;;;;;23784:39:12;;:31;:20;23809:5;23784:24;:31::i;:::-;-1:-1:-1;;;;;23784:39:12;;23780:71;;23832:19;;;;;;;;;;;;;;23780:71;23864:34;:20;23892:5;23864:27;:34::i;:::-;23860:88;;;23915:24;;;-1:-1:-1;;;;;36874:15:25;;;36856:34;;36926:15;;36921:2;36906:18;;36899:43;23915:24:12;;36768:18:25;23915:24:12;;;;;;;23860:88;23612:342;;23607:3;;;;:::i;:::-;;;23567:387;;;;23965:9;23960:435;23984:4;:11;23980:1;:15;23960:435;;;24010:13;24026:4;24031:1;24026:7;;;;;;;;:::i;:::-;;;;;;;:13;;;24010:29;;24047:12;24062:4;24067:1;24062:7;;;;;;;;:::i;:::-;;;;;;;:12;;;24047:27;;24104:1;-1:-1:-1;;;;;24087:19:12;:5;-1:-1:-1;;;;;24087:19:12;;:41;;;-1:-1:-1;;;;;;24110:18:12;;;24087:41;24083:78;;;24137:24;;;;;;;;;;;;;;24083:78;24196:4;-1:-1:-1;;;;;24190:20:12;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;24173:40:12;:5;-1:-1:-1;;;;;24173:40:12;;24169:72;;24222:19;;;;;;;;;;;;;;24169:72;24254:37;:20;24279:5;24286:4;24254:24;:37::i;:::-;24250:139;;;24308:22;;;-1:-1:-1;;;;;36874:15:25;;;36856:34;;36926:15;;36921:2;36906:18;;36899:43;24308:22:12;;36768:18:25;24308:22:12;;;;;;;24250:139;;;24362:18;;;;;;;;;;;;;;24250:139;24002:393;;23997:3;;;;:::i;:::-;;;23960:435;;;;23452:947;;:::o;934:153:16:-;1021:4;1040:42;:3;-1:-1:-1;;;;;1060:21:16;;1040:19;:42::i;1953:146::-;2035:7;2057:37;:3;-1:-1:-1;;;;;2072:21:16;;2057:14;:37::i;4289:528:10:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4638:99:10;4655:6;:15;;;4638:99;;4672:6;:13;;;4638:99;;4705:6;:18;;;4687:36;;:15;:36;;;;:::i;:::-;4725:6;:11;;;4638:99;;:16;:99::i;:::-;4607:136;;;;-1:-1:-1;4749:44:10;4777:15;4749:44;:18;;;:44;4607:6;4289:528::o;41741:227:12:-;41947:14;;41884:44;;;;;41922:4;41884:44;;;8661:74:25;41796:6:12;;41947:14;;;41891:11;-1:-1:-1;;;;;41884:29:12;;;;8634:18:25;;41884:44:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41877:86;;;;:::i;759:169:21:-;864:58;;;-1:-1:-1;;;;;37754:55:25;;864:58:21;;;37736:74:25;37826:18;;;;37819:34;;;864:58:21;;;;;;;;;;37709:18:25;;;;864:58:21;;;;;;;;;;887:23;864:58;;;837:86;;857:5;;837:19;:86::i;38041:1526:12:-;38135:21;;10045:2;38166:33;;38162:59;;;38208:13;;;;;;;;;;;;;;38162:59;38414:17;;;;;;;:21;;;;:60;;-1:-1:-1;38457:17:12;;;;;;;38439:14;;;;:35;;38414:60;38410:90;;;38484:9;:7;:9::i;:::-;38585;38597:15;:6;:13;:15::i;:::-;38585:27;;38580:121;38614:5;;38580:121;;38635:11;38652:16;38662:5;38666:1;38662;:5;:::i;:::-;38652:6;;:9;:16::i;:::-;-1:-1:-1;38634:34:12;-1:-1:-1;38676:18:12;:6;38634:34;38676:13;:18::i;:::-;;38626:75;38621:3;;;;:::i;:::-;;;38580:121;;;;38722:22;38953:9;38948:523;38972:12;38968:1;:16;38948:523;;;39235:11;39249:14;39264:1;39249:17;;;;;;;;:::i;:::-;;;;;;;:21;;;39235:35;;39278:13;39294:14;39309:1;39294:17;;;;;;;;:::i;:::-;;;;;;;:24;;;39278:40;;39337:11;-1:-1:-1;;;;;39330:18:12;:3;-1:-1:-1;;;;;39330:18:12;;:39;;;-1:-1:-1;;;;;;39352:17:12;;;39330:39;39326:74;;;39378:22;;;;;-1:-1:-1;;;;;8679:55:25;;39378:22:12;;;8661:74:25;8634:18;;39378:22:12;8502:239:25;39326:74:12;39408:23;:6;39419:3;39408:23;;;:10;:23::i;:::-;-1:-1:-1;39439:25:12;;;;;;:::i;:::-;;;38991:480;;38986:3;;;;:::i;:::-;;;38948:523;;;-1:-1:-1;39476:17:12;:35;;;;;;;;;;;;39522:40;;;;;;39476:35;;39547:14;;39522:40;:::i;:::-;;;;;;;;38106:1461;;38041:1526;:::o;35849:666::-;35969:9;35964:483;35988:26;:33;35984:1;:37;35964:483;;;36036:43;36082:26;36109:1;36082:29;;;;;;;;:::i;:::-;;;;;;;;;;;;36164:276;;;;;;;;;36213:24;;;;36164:276;;;;;;36263:24;;;;36164:276;;;;;;;;36306:17;;;;;36164:276;;;;;;;;;;36350:25;;;;;36164:276;;;;;;;;36404:27;;;;36164:276;;;;;;;;36145:15;;-1:-1:-1;;;;;36120:41:12;-1:-1:-1;36120:41:12;;;:24;:41;;;;;;;:320;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36023:3:12;;;:::i;:::-;;;35964:483;;;;36457:53;36483:26;36457:53;;;;;;:::i;11864:114:23:-;11933:7;11955:18;11962:3;11955:6;:18::i;12295:222::-;12375:7;;;;12430:21;12433:3;12445:5;12430:2;:21::i;:::-;12399:52;;-1:-1:-1;12399:52:23;-1:-1:-1;;;12295:222:23;;;;;;:::o;4939:700:10:-;5194:20;;5157:16;;5176:38;;5194:20;;;;;5176:15;:38;:::i;:::-;5157:57;-1:-1:-1;5224:13:10;;5220:193;;5290:17;;;;5309:15;;5273:77;;5290:17;;;;;5309:15;;;5326:8;;5336:13;;;;;5273:16;:77::i;:::-;5247:104;;;;;;;5360:46;;;;;;5390:15;5360:46;;;;;;5220:193;5450:15;;;;5467;;5445:38;;;;;;;5467:15;5445:4;:38::i;:::-;5419:65;;5511:16;;5490:37;;;;;;;;5419:65;;;;5490:37;;;;5553:15;;;;5590:11;;;;;5574:27;;;;5533:35;;;;5574:27;5419:65;5533:17;;5574:27;5613:21;;;;;5511:6;;40018:13:25;;40011:21;40004:29;39986:48;;40081:4;40069:17;;;40063:24;40106:34;40178:21;;;40156:20;;;40149:51;;;;40260:4;40248:17;;;40242:24;40238:33;40216:20;;;40209:63;;;;39974:2;39959:18;;39792:486;1613:699:0;1753:19;;1728:22;;1802:458;1826:14;1822:1;:18;1802:458;;;2007:21;2031:13;-1:-1:-1;;;;;2031:27:0;;2059:12;2072:1;2059:15;;;;;;;;:::i;:::-;;;;;;;;;;;:21;2031:50;;;;;;;;;;-1:-1:-1;;;;;8679:55:25;;;2031:50:0;;;8661:74:25;8634:18;;2031:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;-1:-1:-1;2099:18:0;;;2031:56;2099:18;2095:75;;2148:12;2161:1;2148:15;;;;;;;;:::i;:::-;;;;;;;;;;;:21;2126:44;;;;;-1:-1:-1;;;;;8679:55:25;;;2126:44:0;;;8661:74:25;8634:18;;2126:44:0;8502:239:25;2095:75:0;2187:66;2230:12;2243:1;2230:15;;;;;;;;:::i;:::-;;;;;;;:22;;;2187:13;:42;;;;:66;;;;:::i;:::-;2178:75;;;;:::i;:::-;;;1847:413;1842:3;;;;:::i;:::-;;;1802:458;;;-1:-1:-1;2266:41:0;:13;2289:5;2304:1;2266:22;:41::i;5571:923:8:-;5663:7;237:66:9;5918:38:8;;5968:12;6041:8;:15;;;6072:8;:17;;;6105:8;:23;;;6144:8;:17;;;6177:8;:15;;;6208:8;:14;;;6238:8;:17;;;6271:8;:23;;;6015:293;;;;;;;;;;;;;;-1:-1:-1;;;;;41152:15:25;;;41134:34;;41204:15;;;41199:2;41184:18;;41177:43;41239:18;41293:15;;;41288:2;41273:18;;41266:43;41340:2;41325:18;;41318:34;;;;41396:14;;41389:22;41383:3;41368:19;;41361:51;41449:15;;;41443:3;41428:19;;41421:44;41502:15;;41496:3;41481:19;;41474:44;41549:3;41534:19;;41527:35;;;;41060:3;41045:19;;40740:828;6015:293:8;;;;;;;;;;;;;5992:328;;;;;;6342:8;:13;;;6332:24;;;;;;6389:8;:21;;;6378:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;6368:44;;;;;;6445:8;:24;;;6434:36;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6434:36:8;;;;;;;;;6424:47;;6434:36;6424:47;;;;5896:585;;;42484:25:25;;;;42525:18;;42518:34;;;;42568:18;;;42561:34;;;;42611:18;;;42604:34;42654:19;;;42647:35;42698:19;;;42691:35;;;;42456:19;;5896:585:8;;;;;;;;;;;;5877:612;;;;;;5864:625;;5571:923;;;;:::o;21639:618:12:-;21795:27;;;;-1:-1:-1;;;;;21795:41:12;21791:69;;21845:15;;;;;;;;;;;;;;21791:69;21885:13;21867:15;:31;;;;;;;;;;;;;-1:-1:-1;;;;;21867:31:12;;;;;-1:-1:-1;;;;;21867:31:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21867:31:12;;;;;-1:-1:-1;;;;;21867:31:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21910:342;21927:298;;;;;;;;21961:11;-1:-1:-1;;;;;21927:298:12;;;;;21997:15;21927:298;;;;;;22041:19;21927:298;;;;;;22089:19;21927:298;;;;;;22135:17;21927:298;;;;;;22174:12;-1:-1:-1;;;;;21927:298:12;;;;;22206:10;-1:-1:-1;;;;;21927:298:12;;;;22233:13;21910:342;;;;;;;:::i;11629:160:23:-;11713:4;11732:52;11741:3;-1:-1:-1;;;;;11761:21:23;;11732:8;:52::i;34662:571:12:-;34758:9;34753:433;34777:18;:25;34773:1;:29;34753:433;;;34817:35;34855:18;34874:1;34855:21;;;;;;;;:::i;:::-;;;;;;;;;;;;34921:258;;;;;;;;;34966:28;;;;34921:258;;;;;;35028:32;;;;34921:258;;;;;;;;;;35098:36;;;;;34921:258;;;;;;;;35153:17;;;;34921:258;;;;;;;;34902:15;;-1:-1:-1;;;;;34885:33:12;-1:-1:-1;34885:33:12;;;:16;:33;;;;;;;:294;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34804:3:12;;;:::i;:::-;;;34753:433;;;;35196:32;35209:18;35196:32;;;;;;:::i;1592:235:14:-;1707:10;-1:-1:-1;;;;;1701:16:14;;;1693:52;;;;;;;44581:2:25;1693:52:14;;;44563:21:25;44620:2;44600:18;;;44593:30;44659:25;44639:18;;;44632:53;44702:18;;1693:52:14;44379:347:25;1693:52:14;1752:14;:19;;;;-1:-1:-1;;;;;1752:19:14;;;;;;;;;-1:-1:-1;1810:7:14;;1783:39;;1752:19;;1810:7;;1783:39;;-1:-1:-1;1783:39:14;1592:235;:::o;1183:118:16:-;1255:7;1277:19;:3;:17;:19::i;1397:206::-;1480:7;;;;1535:20;:3;1549:5;1535:13;:20::i;683:684:11:-;785:7;1358:4;1330:24;1343:11;1330:24;;;;:::i;:::-;1329:33;;;;:::i;694:144:16:-;774:4;793:40;:3;-1:-1:-1;;;;;811:21:16;;793:17;:40::i;438:160::-;530:4;549:44;:3;-1:-1:-1;;;;;564:21:16;;587:5;549:14;:44::i;8757:142:23:-;8841:4;8860:34;8869:3;8889;8860:8;:34::i;10121:162::-;10200:7;10246:29;10250:3;10270;10246;:29::i;5909:201:10:-;6043:7;6065:40;6070:8;6089:15;6100:4;6089:8;:15;:::i;:::-;6080:24;;:6;:24;:::i;:::-;6065:4;:40::i;:::-;6058:47;5909:201;-1:-1:-1;;;;;5909:201:10:o;3401:668:21:-;3804:23;3830:69;3858:4;3830:69;;;;;;;;;;;;;;;;;3838:5;-1:-1:-1;;;;;3830:27:21;;;:69;;;;;:::i;:::-;3909:17;;3804:95;;-1:-1:-1;3909:21:21;3905:160;;3992:10;3981:30;;;;;;;;;;;;:::i;:::-;3973:85;;;;;;;44933:2:25;3973:85:21;;;44915:21:25;44972:2;44952:18;;;44945:30;45011:34;44991:18;;;44984:62;45082:12;45062:18;;;45055:40;45112:19;;3973:85:21;44731:406:25;11407:151:23;11484:4;11503:50;11510:3;-1:-1:-1;;;;;11530:21:23;;11503:6;:50::i;11068:192::-;11173:4;11192:63;11196:3;-1:-1:-1;;;;;11216:21:23;;11248:5;11192:3;:63::i;3262:117::-;3334:7;3356:18;:3;:16;:18::i;3710:181::-;3793:7;;;3831:19;:3;3844:5;3831:12;:19::i;:::-;3869:16;;;;:11;;;;;:16;;;;;;;;;3710:181;-1:-1:-1;;;;3710:181:23:o;6238:99:10:-;6297:7;6323:1;6319;:5;:13;;6331:1;6319:13;;;-1:-1:-1;6327:1:10;;6238:99;-1:-1:-1;6238:99:10:o;2376:1790::-;2594:18;;;;;;;2593:19;;:41;;-1:-1:-1;2616:18:10;;2593:41;2589:68;;;2376:1790;;;:::o;2589:68::-;2680:15;;;2720:17;;;2680:15;;;;;2720:17;;;2663:14;;2762:38;;2780:20;;;;;2762:15;:38;:::i;:::-;2743:57;-1:-1:-1;2811:13:10;;2807:271;;2847:8;2838:6;:17;2834:48;;;2864:18;;;;;;;;;;;;;;2834:48;3002:13;;;;2957:59;;2974:8;;2984:6;;2992:8;;3002:13;;;;;2957:16;:59::i;:::-;3025:46;;;;;3055:15;3025:46;;;;;;2948:68;-1:-1:-1;2807:271:10;3099:13;3088:8;:24;3084:302;;;-1:-1:-1;;;;;3208:26:10;;3204:97;;3243:58;;;;;;;;35801:25:25;;;35842:18;;;35835:34;;;35774:18;;3243:58:10;35627:248:25;3204:97:10;3316:63;;;;;;;;45344:25:25;;;45385:18;;;45378:34;;;-1:-1:-1;;;;;45448:55:25;;45428:18;;;45421:83;45317:18;;3316:63:10;45142:368:25;3084:302:10;3404:13;3395:6;:22;3391:594;;;3442:13;;;;;;;;;;;3427:12;;3442:13;;3781:8;;3442:13;3781:8;:::i;:::-;3754:22;3770:6;3754:13;:22;:::i;:::-;3753:37;;;;:::i;:::-;3752:46;;;;:::i;:::-;3725:73;-1:-1:-1;;;;;;3811:26:10;;3807:95;;3846:56;;;;;;;;35801:25:25;;;35842:18;;;35835:34;;;35774:18;;3846:56:10;35627:248:25;3807:95:10;3917:61;;;;;;;;45344:25:25;;;45385:18;;;45378:34;;;-1:-1:-1;;;;;45448:55:25;;45428:18;;;45421:83;45317:18;;3917:61:10;45142:368:25;3391:594:10;3990:23;4000:13;3990:23;;:::i;:::-;4088:33;;;;;;;;;;4132:29;;4298:25:25;;;4088:33:10;;-1:-1:-1;4132:29:10;;4286:2:25;4271:18;4132:29:10;;;;;;;2478:1688;;;2376:1790;;;:::o;3046:134:23:-;3133:4;3152:23;:3;3171;3152:18;:23::i;8553:133::-;8630:4;8649:32;8656:3;8676;8649:6;:32::i;8214:192::-;8319:4;8338:63;8342:3;8362;-1:-1:-1;;;;;8376:23:23;;8338:3;:63::i;4425:233::-;4507:7;4538:16;;;:11;;;:16;;;;;;4568:10;;;;:32;;;4582:18;4591:3;4596;4582:8;:18::i;:::-;4560:75;;;;;;;45717:2:25;4560:75:23;;;45699:21:25;45756:2;45736:18;;;45729:30;45795:32;45775:18;;;45768:60;45845:18;;4560:75:23;45515:354:25;3695:187:22;3798:12;3825:52;3847:6;3855:4;3861:1;3864:12;3825:21;:52::i;2821:154:23:-;2901:4;2920:16;;;:11;;;:16;;;;;2913:23;;;2949:21;2920:3;2932;2949:16;:21::i;2485:180::-;2593:4;2605:16;;;:11;;;:16;;;;;:24;;;2642:18;2605:3;2617;2642:13;:18::i;6215:109:24:-;6278:7;6300:19;6308:3;4247:18;;4169:101;6644:123;6718:7;6740:22;6744:3;6756:5;6740:3;:22::i;6010:132::-;6090:4;4067:19;;;:12;;;:19;;;;;;:24;;6109:28;3975:121;4672:414:22;4819:12;4872:5;4847:21;:30;;4839:81;;;;;;;46076:2:25;4839:81:22;;;46058:21:25;46115:2;46095:18;;;46088:30;46154:34;46134:18;;;46127:62;46225:8;46205:18;;;46198:36;46251:19;;4839:81:22;45874:402:25;4839:81:22;4927:12;4941:23;4968:6;-1:-1:-1;;;;;4968:11:22;4987:5;4994:4;4968:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4926:73;;;;5012:69;5039:6;5047:7;5056:10;5068:12;5012:26;:69::i;5814:123:24:-;5887:4;5906:26;5914:3;5926:5;5906:7;:26::i;5543:117::-;5613:4;5632:23;5637:3;5649:5;5632:4;:23::i;4590:112::-;4657:7;4679:3;:11;;4691:5;4679:18;;;;;;;;:::i;:::-;;;;;;;;;4672:25;;4590:112;;;;:::o;7016:548:22:-;7178:12;7202:7;7198:362;;;7223:10;:17;7244:1;7223:22;7219:256;;-1:-1:-1;;;;;1395:19:22;;;7406:60;;;;;;;46775:2:25;7406:60:22;;;46757:21:25;46814:2;46794:18;;;46787:30;46853:31;46833:18;;;46826:59;46902:18;;7406:60:22;46573:353:25;7406:60:22;-1:-1:-1;7489:10:22;7482:17;;7198:362;7520:33;7528:10;7540:12;7520:7;:33::i;2660:1242:24:-;2726:4;2855:19;;;:12;;;:19;;;;;;2885:15;;2881:1017;;3224:21;3248:14;3261:1;3248:10;:14;:::i;:::-;3290:18;;3224:38;;-1:-1:-1;3270:17:24;;3290:22;;3311:1;;3290:22;:::i;:::-;3270:42;;3338:13;3325:9;:26;3321:352;;3363:17;3383:3;:11;;3395:9;3383:22;;;;;;;;:::i;:::-;;;;;;;;;3363:42;;3518:9;3489:3;:11;;3501:13;3489:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3585:23;;;:12;;;:23;;;;;:36;;;3321:352;3739:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3819:3;:12;;:19;3832:5;3819:19;;;;;;;;;;;3812:26;;;3854:4;3847:11;;;;;;;2881:1017;3886:5;3879:12;;;;;2152:354;2215:4;4067:19;;;:12;;;:19;;;;;;2227:275;;-1:-1:-1;2263:23:24;;;;;;;;:11;:23;;;;;;;;;;;;;2425:18;;2403:19;;;:12;;;:19;;;;;;:40;;;;2451:11;;2227:275;-1:-1:-1;2490:5:24;2483:12;;8030:476:22;8181:17;;:21;8177:325;;8383:10;8377:17;8431:15;8418:10;8414:2;8410:19;8403:44;8177:325;8482:12;8475:20;;;;;;;;;;;:::i;917:262:25:-;1111:3;1096:19;;1124:49;1100:9;1155:6;-1:-1:-1;;;;;410:2:25;402:5;396:12;392:21;387:3;380:34;460:4;453:5;449:16;443:23;485:18;553:2;539:12;535:21;528:4;523:3;519:14;512:45;618:2;610:4;603:5;599:16;593:23;589:32;582:4;577:3;573:14;566:56;683:2;675:4;668:5;664:16;658:23;654:32;647:4;642:3;638:14;631:56;;;748:26;740:4;733:5;729:16;723:23;719:56;712:4;707:3;703:14;696:80;837:2;829:4;822:5;818:16;812:23;808:32;801:4;796:3;792:14;785:56;902:2;894:4;887:5;883:16;877:23;873:32;866:4;861:3;857:14;850:56;;253:659;;;1184:154;-1:-1:-1;;;;;1263:5:25;1259:54;1252:5;1249:65;1239:93;;1328:1;1325;1318:12;1343:134;1411:20;;1440:31;1411:20;1440:31;:::i;:::-;1343:134;;;:::o;1482:247::-;1541:6;1594:2;1582:9;1573:7;1569:23;1565:32;1562:52;;;1610:1;1607;1600:12;1562:52;1649:9;1636:23;1668:31;1693:5;1668:31;:::i;2528:250::-;2613:1;2623:113;2637:6;2634:1;2631:13;2623:113;;;2713:11;;;2707:18;2694:11;;;2687:39;2659:2;2652:10;2623:113;;;-1:-1:-1;;2770:1:25;2752:16;;2745:27;2528:250::o;2783:330::-;2825:3;2863:5;2857:12;2890:6;2885:3;2878:19;2906:76;2975:6;2968:4;2963:3;2959:14;2952:4;2945:5;2941:16;2906:76;:::i;:::-;3027:2;3015:15;-1:-1:-1;;3011:88:25;3002:98;;;;3102:4;2998:109;;2783:330;-1:-1:-1;;2783:330:25:o;3118:220::-;3267:2;3256:9;3249:21;3230:4;3287:45;3328:2;3317:9;3313:18;3305:6;3287:45;:::i;3343:129::-;3428:18;3421:5;3417:30;3410:5;3407:41;3397:69;;3462:1;3459;3452:12;3477:163;3544:5;3589:3;3580:6;3575:3;3571:16;3567:26;3564:46;;;3606:1;3603;3596:12;3564:46;-1:-1:-1;3628:6:25;3477:163;-1:-1:-1;3477:163:25:o;3645:502::-;3745:6;3753;3806:2;3794:9;3785:7;3781:23;3777:32;3774:52;;;3822:1;3819;3812:12;3774:52;3861:9;3848:23;3880:30;3904:5;3880:30;:::i;:::-;3929:5;-1:-1:-1;3985:2:25;3970:18;;3957:32;4012:18;4001:30;;3998:50;;;4044:1;4041;4034:12;3998:50;4067:74;4133:7;4124:6;4113:9;4109:22;4067:74;:::i;:::-;4057:84;;;3645:502;;;;;:::o;4334:184::-;4386:77;4383:1;4376:88;4483:4;4480:1;4473:15;4507:4;4504:1;4497:15;4523:257;4595:4;4589:11;;;4627:17;;4674:18;4659:34;;4695:22;;;4656:62;4653:88;;;4721:18;;:::i;:::-;4757:4;4750:24;4523:257;:::o;4785:253::-;4857:2;4851:9;4899:4;4887:17;;4934:18;4919:34;;4955:22;;;4916:62;4913:88;;;4981:18;;:::i;5043:252::-;5115:2;5109:9;5157:3;5145:16;;5191:18;5176:34;;5212:22;;;5173:62;5170:88;;;5238:18;;:::i;5300:253::-;5372:2;5366:9;5414:4;5402:17;;5449:18;5434:34;;5470:22;;;5431:62;5428:88;;;5496:18;;:::i;5558:334::-;5629:2;5623:9;5685:2;5675:13;;-1:-1:-1;;5671:86:25;5659:99;;5788:18;5773:34;;5809:22;;;5770:62;5767:88;;;5835:18;;:::i;:::-;5871:2;5864:22;5558:334;;-1:-1:-1;5558:334:25:o;5897:193::-;5967:4;6000:18;5992:6;5989:30;5986:56;;;6022:18;;:::i;:::-;-1:-1:-1;6067:1:25;6063:14;6079:4;6059:25;;5897:193::o;6095:1117::-;6159:5;6212:3;6205:4;6197:6;6193:17;6189:27;6179:55;;6230:1;6227;6220:12;6179:55;6266:6;6253:20;6292:4;6316:70;6332:53;6382:2;6332:53;:::i;:::-;6316:70;:::i;:::-;6420:15;;;6506:1;6502:10;;;;6490:23;;6486:32;;;6451:12;;;;6530:15;;;6527:35;;;6558:1;6555;6548:12;6527:35;6594:2;6586:6;6582:15;6606:577;6622:6;6617:3;6614:15;6606:577;;;6700:4;6694:3;6689;6685:13;6681:24;6678:114;;;6746:1;6775:2;6771;6764:14;6678:114;6818:22;;:::i;:::-;6881:3;6868:17;6898:33;6923:7;6898:33;:::i;:::-;6944:22;;7007:12;;;6994:26;7033:33;6994:26;7033:33;:::i;:::-;7086:14;;;7079:31;7123:18;;7161:12;;;;6648:4;6639:14;6606:577;;;-1:-1:-1;7201:5:25;6095:1117;-1:-1:-1;;;;;;6095:1117:25:o;7217:669::-;7389:6;7397;7450:2;7438:9;7429:7;7425:23;7421:32;7418:52;;;7466:1;7463;7456:12;7418:52;7506:9;7493:23;7535:18;7576:2;7568:6;7565:14;7562:34;;;7592:1;7589;7582:12;7562:34;7615:71;7678:7;7669:6;7658:9;7654:22;7615:71;:::i;:::-;7605:81;;7739:2;7728:9;7724:18;7711:32;7695:48;;7768:2;7758:8;7755:16;7752:36;;;7784:1;7781;7774:12;7752:36;;7807:73;7872:7;7861:8;7850:9;7846:24;7807:73;:::i;8096:401::-;8178:6;8186;8239:2;8227:9;8218:7;8214:23;8210:32;8207:52;;;8255:1;8252;8245:12;8207:52;8294:9;8281:23;8313:30;8337:5;8313:30;:::i;:::-;8362:5;-1:-1:-1;8419:2:25;8404:18;;8391:32;8432:33;8391:32;8432:33;:::i;:::-;8484:7;8474:17;;;8096:401;;;;;:::o;9455:388::-;9523:6;9531;9584:2;9572:9;9563:7;9559:23;9555:32;9552:52;;;9600:1;9597;9590:12;9552:52;9639:9;9626:23;9658:31;9683:5;9658:31;:::i;10292:1157::-;10378:12;;-1:-1:-1;;;;;80:54:25;68:67;;10442:4;10435:5;10431:16;10425:23;10457:47;10498:4;10493:3;10489:14;10475:12;1909:6;1898:18;1886:31;;1833:90;10457:47;;10552:4;10545:5;10541:16;10535:23;10567:49;10610:4;10605:3;10601:14;10585;1810:10;1799:22;1787:35;;1734:94;10567:49;;10664:4;10657:5;10653:16;10647:23;10679:49;10722:4;10717:3;10713:14;10697;1909:6;1898:18;1886:31;;1833:90;10679:49;;10776:4;10769:5;10765:16;10759:23;10791:49;10834:4;10829:3;10825:14;10809;1810:10;1799:22;1787:35;;1734:94;10791:49;;10888:4;10881:5;10877:16;10871:23;10903:49;10946:4;10941:3;10937:14;10921;1909:6;1898:18;1886:31;;1833:90;10903:49;;11000:4;10993:5;10989:16;10983:23;11015:49;11058:4;11053:3;11049:14;11033;1909:6;1898:18;1886:31;;1833:90;11015:49;;11112:4;11105:5;11101:16;11095:23;11127:50;11171:4;11166:3;11162:14;11146;-1:-1:-1;;;;;80:54:25;68:67;;14:127;11127:50;-1:-1:-1;11196:6:25;11239:14;;;11233:21;1810:10;1799:22;;11297:12;;;1787:35;-1:-1:-1;;11329:6:25;11372:14;;;11366:21;1810:10;1799:22;;11430:12;;;1787:35;11396:47;1734:94;11454:265;11650:3;11635:19;;11663:50;11639:9;11695:6;11663:50;:::i;11724:647::-;11842:6;11850;11903:2;11891:9;11882:7;11878:23;11874:32;11871:52;;;11919:1;11916;11909:12;11871:52;11959:9;11946:23;11988:18;12029:2;12021:6;12018:14;12015:34;;;12045:1;12042;12035:12;12015:34;12083:6;12072:9;12068:22;12058:32;;12128:7;12121:4;12117:2;12113:13;12109:27;12099:55;;12150:1;12147;12140:12;12099:55;12190:2;12177:16;12216:2;12208:6;12205:14;12202:34;;;12232:1;12229;12222:12;12202:34;12285:7;12280:2;12270:6;12267:1;12263:14;12259:2;12255:23;12251:32;12248:45;12245:65;;;12306:1;12303;12296:12;12245:65;12337:2;12329:11;;;;;12359:6;;-1:-1:-1;11724:647:25;;-1:-1:-1;;;;11724:647:25:o;12376:121::-;12461:10;12454:5;12450:22;12443:5;12440:33;12430:61;;12487:1;12484;12477:12;12502:132;12569:20;;12598:30;12569:20;12598:30;:::i;12639:159::-;12706:20;;12766:6;12755:18;;12745:29;;12735:57;;12788:1;12785;12778:12;12803:2002;12931:6;12962:2;13005;12993:9;12984:7;12980:23;12976:32;12973:52;;;13021:1;13018;13011:12;12973:52;13061:9;13048:23;13094:18;13086:6;13083:30;13080:50;;;13126:1;13123;13116:12;13080:50;13149:22;;13202:4;13194:13;;13190:27;-1:-1:-1;13180:55:25;;13231:1;13228;13221:12;13180:55;13267:2;13254:16;13290:70;13306:53;13356:2;13306:53;:::i;13290:70::-;13394:15;;;13456:4;13495:11;;;13487:20;;13483:29;;;13425:12;;;;13382:3;13524:19;;;13521:39;;;13556:1;13553;13546:12;13521:39;13580:11;;;;13600:1175;13616:6;13611:3;13608:15;13600:1175;;;13696:2;13690:3;13681:7;13677:17;13673:26;13670:116;;;13740:1;13769:2;13765;13758:14;13670:116;13812:22;;:::i;:::-;13875:3;13862:17;13892:33;13917:7;13892:33;:::i;:::-;13938:22;;14001:12;;;13988:26;14027:32;13988:26;14027:32;:::i;:::-;14079:14;;;14072:31;14126:2;14169:12;;;14156:26;14195:32;14156:26;14195:32;:::i;:::-;14247:14;;;14240:31;14294:2;14332:31;14350:12;;;14332:31;:::i;:::-;14316:14;;;14309:55;14387:3;14431:12;;;14418:26;14457:32;14418:26;14457:32;:::i;:::-;14509:14;;;14502:31;14556:3;14600:12;;;14587:26;14626:32;14587:26;14626:32;:::i;:::-;14678:14;;;14671:31;14715:18;;13633:12;;;;14753;;;;13600:1175;;;-1:-1:-1;14794:5:25;12803:2002;-1:-1:-1;;;;;;;12803:2002:25:o;15382:596::-;15447:3;15485:5;15479:12;15512:6;15507:3;15500:19;15538:4;15567:2;15562:3;15558:12;15551:19;;15604:2;15597:5;15593:14;15625:1;15635:318;15649:6;15646:1;15643:13;15635:318;;;15708:13;;15750:9;;-1:-1:-1;;;;;15746:58:25;15734:71;;15849:11;;15843:18;15863:6;15839:31;15825:12;;;15818:53;15900:4;15891:14;;;;15928:15;;;;15671:1;15664:9;15635:318;;;-1:-1:-1;15969:3:25;;15382:596;-1:-1:-1;;;;;15382:596:25:o;15983:404::-;16250:2;16239:9;16232:21;16213:4;16270:68;16334:2;16323:9;16319:18;16311:6;16270:68;:::i;:::-;16262:76;;16374:6;16369:2;16358:9;16354:18;16347:34;15983:404;;;;;:::o;16392:118::-;16478:5;16471:13;16464:21;16457:5;16454:32;16444:60;;16500:1;16497;16490:12;16515:188;16583:20;;16643:34;16632:46;;16622:57;;16612:85;;16693:1;16690;16683:12;16708:645;16791:6;16844:2;16832:9;16823:7;16819:23;16815:32;16812:52;;;16860:1;16857;16850:12;16812:52;16893:2;16887:9;16935:2;16927:6;16923:15;17004:6;16992:10;16989:22;16968:18;16956:10;16953:34;16950:62;16947:88;;;17015:18;;:::i;:::-;17051:2;17044:22;17088:23;;17120:28;17088:23;17120:28;:::i;:::-;17157:21;;17211:38;17245:2;17230:18;;17211:38;:::i;:::-;17206:2;17198:6;17194:15;17187:63;17283:38;17317:2;17306:9;17302:18;17283:38;:::i;:::-;17278:2;17266:15;;17259:63;17270:6;16708:645;-1:-1:-1;;;16708:645:25:o;17538:712::-;17656:6;17664;17672;17680;17733:3;17721:9;17712:7;17708:23;17704:33;17701:53;;;17750:1;17747;17740:12;17701:53;17789:9;17776:23;17808:30;17832:5;17808:30;:::i;:::-;17857:5;-1:-1:-1;17913:2:25;17898:18;;17885:32;17940:18;17929:30;;17926:50;;;17972:1;17969;17962:12;17926:50;17995:74;18061:7;18052:6;18041:9;18037:22;17995:74;:::i;:::-;17985:84;;;18116:2;18105:9;18101:18;18088:32;18078:42;;18172:2;18161:9;18157:18;18144:32;18185:33;18210:7;18185:33;:::i;:::-;17538:712;;;;-1:-1:-1;17538:712:25;;-1:-1:-1;;17538:712:25:o;18437:974::-;18527:6;18580:3;18568:9;18559:7;18555:23;18551:33;18548:53;;;18597:1;18594;18587:12;18548:53;18623:22;;:::i;:::-;18668:29;18687:9;18668:29;:::i;:::-;18661:5;18654:44;18730:37;18763:2;18752:9;18748:18;18730:37;:::i;:::-;18725:2;18718:5;18714:14;18707:61;18800:37;18833:2;18822:9;18818:18;18800:37;:::i;:::-;18795:2;18788:5;18784:14;18777:61;18870:37;18903:2;18892:9;18888:18;18870:37;:::i;:::-;18865:2;18858:5;18854:14;18847:61;18941:38;18974:3;18963:9;18959:19;18941:38;:::i;:::-;18935:3;18928:5;18924:15;18917:63;19013:38;19046:3;19035:9;19031:19;19013:38;:::i;:::-;19007:3;19000:5;18996:15;18989:63;19085:38;19118:3;19107:9;19103:19;19085:38;:::i;:::-;19079:3;19072:5;19068:15;19061:63;19157:39;19191:3;19180:9;19176:19;19157:39;:::i;:::-;19151:3;19144:5;19140:15;19133:64;19216:3;19251:37;19284:2;19273:9;19269:18;19251:37;:::i;:::-;19235:14;;;19228:61;19308:3;19343:37;19361:18;;;19343:37;:::i;:::-;19327:14;;;19320:61;19331:5;18437:974;-1:-1:-1;;;18437:974:25:o;19416:1898::-;19536:6;19567:2;19610;19598:9;19589:7;19585:23;19581:32;19578:52;;;19626:1;19623;19616:12;19578:52;19666:9;19653:23;19699:18;19691:6;19688:30;19685:50;;;19731:1;19728;19721:12;19685:50;19754:22;;19807:4;19799:13;;19795:27;-1:-1:-1;19785:55:25;;19836:1;19833;19826:12;19785:55;19872:2;19859:16;19895:70;19911:53;19961:2;19911:53;:::i;19895:70::-;19999:15;;;20061:4;20100:11;;;20092:20;;20088:29;;;20030:12;;;;19987:3;20129:19;;;20126:39;;;20161:1;20158;20151:12;20126:39;20185:11;;;;20205:1079;20221:6;20216:3;20213:15;20205:1079;;;20301:2;20295:3;20286:7;20282:17;20278:26;20275:116;;;20345:1;20374:2;20370;20363:14;20275:116;20417:22;;:::i;:::-;20480:3;20467:17;20497:33;20522:7;20497:33;:::i;:::-;20543:22;;20606:12;;;20593:26;20632:32;20593:26;20632:32;:::i;:::-;20684:14;;;20677:31;20731:2;20774:12;;;20761:26;20800:32;20761:26;20800:32;:::i;:::-;20852:14;;;20845:31;20899:2;20942:12;;;20929:26;20968:32;20929:26;20968:32;:::i;:::-;21020:14;;;21013:31;21067:3;21111:12;;;21098:26;21137:30;21098:26;21137:30;:::i;:::-;21187:14;;;21180:31;21224:18;;20238:12;;;;21262;;;;20205:1079;;21319:245;21377:6;21430:2;21418:9;21409:7;21405:23;21401:32;21398:52;;;21446:1;21443;21436:12;21398:52;21485:9;21472:23;21504:30;21528:5;21504:30;:::i;21569:681::-;21740:2;21792:21;;;21862:13;;21765:18;;;21884:22;;;21711:4;;21740:2;21963:15;;;;21937:2;21922:18;;;21711:4;22006:218;22020:6;22017:1;22014:13;22006:218;;;22085:13;;-1:-1:-1;;;;;22081:62:25;22069:75;;22199:15;;;;22164:12;;;;22042:1;22035:9;22006:218;;;-1:-1:-1;22241:3:25;;21569:681;-1:-1:-1;;;;;;21569:681:25:o;22255:580::-;22332:4;22338:6;22398:11;22385:25;22488:66;22477:8;22461:14;22457:29;22453:102;22433:18;22429:127;22419:155;;22570:1;22567;22560:12;22419:155;22597:33;;22649:20;;;-1:-1:-1;22692:18:25;22681:30;;22678:50;;;22724:1;22721;22714:12;22678:50;22757:4;22745:17;;-1:-1:-1;22788:14:25;22784:27;;;22774:38;;22771:58;;;22825:1;22822;22815:12;22840:637;22966:4;22972:6;23032:11;23019:25;23122:66;23111:8;23095:14;23091:29;23087:102;23067:18;23063:127;23053:155;;23204:1;23201;23194:12;23053:155;23231:33;;23283:20;;;-1:-1:-1;23326:18:25;23315:30;;23312:50;;;23358:1;23355;23348:12;23312:50;23391:4;23379:17;;-1:-1:-1;23442:1:25;23438:14;;;23422;23418:35;23408:46;;23405:66;;;23467:1;23464;23457:12;23807:216;23886:13;;23939:58;23928:70;;23918:81;;23908:109;;24013:1;24010;24003:12;24028:293;24107:6;24115;24168:2;24156:9;24147:7;24143:23;24139:32;24136:52;;;24184:1;24181;24174:12;24136:52;24207:40;24237:9;24207:40;:::i;:::-;24197:50;;24266:49;24311:2;24300:9;24296:18;24266:49;:::i;:::-;24256:59;;24028:293;;;;;:::o;24326:184::-;24378:77;24375:1;24368:88;24475:4;24472:1;24465:15;24499:4;24496:1;24489:15;24515:168;24588:9;;;24619;;24636:15;;;24630:22;;24616:37;24606:71;;24657:18;;:::i;24688:125::-;24753:9;;;24774:10;;;24771:36;;;24787:18;;:::i;24818:274::-;24858:1;24884;24874:189;;24919:77;24916:1;24909:88;25020:4;25017:1;25010:15;25048:4;25045:1;25038:15;24874:189;-1:-1:-1;25077:9:25;;24818:274::o;25097:180::-;25164:18;25202:10;;;25214;;;25198:27;;25237:11;;;25234:37;;;25251:18;;:::i;25528:184::-;25598:6;25651:2;25639:9;25630:7;25626:23;25622:32;25619:52;;;25667:1;25664;25657:12;25619:52;-1:-1:-1;25690:16:25;;25528:184;-1:-1:-1;25528:184:25:o;25717:426::-;25806:6;25859:2;25847:9;25838:7;25834:23;25830:32;25827:52;;;25875:1;25872;25865:12;25827:52;25901:22;;:::i;:::-;25960:9;25947:23;25979:33;26004:7;25979:33;:::i;:::-;26021:22;;26075:37;26108:2;26093:18;;26075:37;:::i;:::-;26070:2;26059:14;;26052:61;26063:5;25717:426;-1:-1:-1;;;25717:426:25:o;26499:249::-;26568:6;26621:2;26609:9;26600:7;26596:23;26592:32;26589:52;;;26637:1;26634;26627:12;26589:52;26669:9;26663:16;26688:30;26712:5;26688:30;:::i;26753:184::-;26805:77;26802:1;26795:88;26902:4;26899:1;26892:15;26926:4;26923:1;26916:15;26942:195;26981:3;27012:66;27005:5;27002:77;26999:103;;27082:18;;:::i;:::-;-1:-1:-1;27129:1:25;27118:13;;26942:195::o;27142:245::-;27209:6;27262:2;27250:9;27241:7;27237:23;27233:32;27230:52;;;27278:1;27275;27268:12;27230:52;27310:9;27304:16;27329:28;27351:5;27329:28;:::i;27392:325::-;27480:6;27475:3;27468:19;27532:6;27525:5;27518:4;27513:3;27509:14;27496:43;;27584:1;27577:4;27568:6;27563:3;27559:16;27555:27;27548:38;27450:3;27706:4;-1:-1:-1;;27631:2:25;27623:6;27619:15;27615:88;27610:3;27606:98;27602:109;27595:116;;27392:325;;;;:::o;27722:244::-;27879:2;27868:9;27861:21;27842:4;27899:61;27956:2;27945:9;27941:18;27933:6;27925;27899:61;:::i;27971:180::-;28030:6;28083:2;28071:9;28062:7;28058:23;28054:32;28051:52;;;28099:1;28096;28089:12;28051:52;-1:-1:-1;28122:23:25;;27971:180;-1:-1:-1;27971:180:25:o;28156:422::-;28246:6;28299:2;28287:9;28278:7;28274:23;28270:32;28267:52;;;28315:1;28312;28305:12;28267:52;28341:22;;:::i;:::-;28400:9;28387:23;28419:33;28444:7;28419:33;:::i;:::-;28461:22;;28543:2;28528:18;;;28515:32;28499:14;;;28492:56;;;;-1:-1:-1;28468:5:25;28156:422;-1:-1:-1;28156:422:25:o;28583:188::-;28650:26;28696:10;;;28708;;;28692:27;;28731:11;;;28728:37;;;28745:18;;:::i;29179:209::-;29217:3;29245:18;29298:2;29291:5;29287:14;29325:2;29316:7;29313:15;29310:41;;29331:18;;:::i;:::-;29380:1;29367:15;;29179:209;-1:-1:-1;;;29179:209:25:o;29393:693::-;-1:-1:-1;;;;;29682:6:25;29678:55;29667:9;29660:74;29770:3;29765:2;29754:9;29750:18;29743:31;29641:4;29797:62;29854:3;29843:9;29839:19;29831:6;29823;29797:62;:::i;:::-;29895:6;29890:2;29879:9;29875:18;29868:34;29950:18;29942:6;29938:31;29933:2;29922:9;29918:18;29911:59;30019:9;30011:6;30007:22;30001:3;29990:9;29986:19;29979:51;30047:33;30073:6;30065;30047:33;:::i;:::-;30039:41;29393:693;-1:-1:-1;;;;;;;;;29393:693:25:o;30091:777::-;30170:6;30223:2;30211:9;30202:7;30198:23;30194:32;30191:52;;;30239:1;30236;30229:12;30191:52;30272:9;30266:16;30301:18;30342:2;30334:6;30331:14;30328:34;;;30358:1;30355;30348:12;30328:34;30396:6;30385:9;30381:22;30371:32;;30441:7;30434:4;30430:2;30426:13;30422:27;30412:55;;30463:1;30460;30453:12;30412:55;30492:2;30486:9;30514:2;30510;30507:10;30504:36;;;30520:18;;:::i;:::-;30562:112;30670:2;-1:-1:-1;;30594:4:25;30590:2;30586:13;30582:86;30578:95;30562:112;:::i;:::-;30549:125;;30697:2;30690:5;30683:17;30737:7;30732:2;30727;30723;30719:11;30715:20;30712:33;30709:53;;;30758:1;30755;30748:12;30709:53;30771:67;30835:2;30830;30823:5;30819:14;30814:2;30810;30806:11;30771:67;:::i;:::-;-1:-1:-1;30857:5:25;30091:777;-1:-1:-1;;;;30091:777:25:o;30873:585::-;30940:3;30978:5;30972:12;31005:6;31000:3;30993:19;31031:4;31060:2;31055:3;31051:12;31044:19;;31097:2;31090:5;31086:14;31118:1;31128:305;31142:6;31139:1;31136:13;31128:305;;;31201:13;;31243:9;;-1:-1:-1;;;;;31239:58:25;31227:71;;31338:11;;31332:18;31318:12;;;31311:40;31380:4;31371:14;;;;31408:15;;;;31164:1;31157:9;31128:305;;31463:615;31514:3;31552:5;31546:12;31579:6;31574:3;31567:19;31605:4;31646:2;31641:3;31637:12;31671:11;31698;31691:18;;31748:6;31745:1;31741:14;31734:5;31730:26;31718:38;;31790:2;31783:5;31779:14;31811:1;31821:231;31835:6;31832:1;31829:13;31821:231;;;31906:5;31900:4;31896:16;31891:3;31884:29;31934:38;31967:4;31958:6;31952:13;31934:38;:::i;:::-;32030:12;;;;31926:46;-1:-1:-1;31995:15:25;;;;31857:1;31850:9;31821:231;;;-1:-1:-1;32068:4:25;;31463:615;-1:-1:-1;;;;;;;31463:615:25:o;32083:1970::-;32274:2;32263:9;32256:21;32286:52;32334:2;32323:9;32319:18;32310:6;32304:13;222:18;211:30;199:43;;146:102;32286:52;32237:4;32385:2;32377:6;32373:15;32367:22;32398:52;32446:2;32435:9;32431:18;32417:12;-1:-1:-1;;;;;80:54:25;68:67;;14:127;32398:52;-1:-1:-1;32499:2:25;32487:15;;32481:22;-1:-1:-1;;;;;80:54:25;;32562:2;32547:18;;68:67;-1:-1:-1;32615:2:25;32603:15;;32597:22;222:18;211:30;;32677:3;32662:19;;199:43;32628:54;32737:3;32729:6;32725:16;32719:23;32713:3;32702:9;32698:19;32691:52;32792:3;32784:6;32780:16;32774:23;32806:52;32853:3;32842:9;32838:19;32822:14;8816:13;8809:21;8797:34;;8746:91;32806:52;-1:-1:-1;32907:3:25;32895:16;;32889:23;222:18;211:30;;32970:3;32955:19;;199:43;32921:54;33024:3;33016:6;33012:16;33006:23;33048:3;33060:54;33110:2;33099:9;33095:18;33079:14;-1:-1:-1;;;;;80:54:25;68:67;;14:127;33060:54;33139:15;;33133:22;33174:3;33193:18;;;33186:30;;;;33253:15;;33247:22;33288:6;33313:3;33332:18;;;33325:30;;;33247:22;;-1:-1:-1;33288:6:25;33378:54;33427:3;33412:19;;33247:22;33378:54;:::i;:::-;33364:68;;33481:2;33473:6;33469:15;33463:22;33441:44;;-1:-1:-1;;33589:3:25;33656:2;33644:9;33636:6;33632:22;33628:31;33623:2;33612:9;33608:18;33601:59;33683:66;33742:6;33726:14;33683:66;:::i;:::-;33669:80;;33798:2;33790:6;33786:15;33780:22;33758:44;;;33821:3;33888:2;33876:9;33868:6;33864:22;33860:31;33855:2;33844:9;33840:18;33833:59;33915:50;33958:6;33942:14;33915:50;:::i;:::-;34007:15;;34001:22;33981:18;;;;33974:50;;;;-1:-1:-1;33901:64:25;;32083:1970;-1:-1:-1;;;32083:1970:25:o;34058:191::-;34126:26;34185:10;;;34173;;;34169:27;;34208:12;;;34205:38;;;34223:18;;:::i;34468:369::-;34626:66;34588:19;;34710:11;;;;34741:1;34733:10;;34730:101;;;34818:2;34812;34805:3;34802:1;34798:11;34795:1;34791:19;34787:28;34783:2;34779:37;34775:46;34766:55;;34730:101;;;34468:369;;;;:::o;34842:331::-;34947:9;34958;35000:8;34988:10;34985:24;34982:44;;;35022:1;35019;35012:12;34982:44;35051:6;35041:8;35038:20;35035:40;;;35071:1;35068;35061:12;35035:40;-1:-1:-1;;35097:23:25;;;35142:25;;;;;-1:-1:-1;34842:331:25:o;35178:444::-;35268:6;35321:2;35309:9;35300:7;35296:23;35292:32;35289:52;;;35337:1;35334;35327:12;35289:52;35370:2;35364:9;35412:2;35404:6;35400:15;35481:6;35469:10;35466:22;35445:18;35433:10;35430:34;35427:62;35424:88;;;35492:18;;:::i;:::-;35528:2;35521:22;35567:23;;35552:39;;-1:-1:-1;35559:6:25;35178:444;-1:-1:-1;35178:444:25:o;35880:208::-;35950:6;36003:2;35991:9;35982:7;35978:23;35974:32;35971:52;;;36019:1;36016;36009:12;35971:52;36042:40;36072:9;36042:40;:::i;36093:172::-;36160:10;36190;;;36202;;;36186:27;;36225:11;;;36222:37;;;36239:18;;:::i;36953:266::-;37038:6;37091:2;37079:9;37070:7;37066:23;37062:32;37059:52;;;37107:1;37104;37097:12;37059:52;37139:9;37133:16;37158:31;37183:5;37158:31;:::i;37224:128::-;37291:9;;;37312:11;;;37309:37;;;37326:18;;:::i;37357:200::-;37423:9;;;37396:4;37451:9;;37479:10;;37491:12;;;37475:29;37514:12;;;37506:21;;37472:56;37469:82;;;37531:18;;:::i;37864:196::-;37903:3;37931:5;37921:39;;37940:18;;:::i;:::-;-1:-1:-1;37987:66:25;37976:78;;37864:196::o;38065:420::-;38343:10;38335:6;38331:23;38320:9;38313:42;38391:2;38386;38375:9;38371:18;38364:30;38294:4;38411:68;38475:2;38464:9;38460:18;38452:6;38411:68;:::i;38490:1297::-;38749:2;38801:21;;;38871:13;;38774:18;;;38893:22;;;38720:4;;38749:2;38934;;38952:18;;;;38993:15;;;38720:4;39036:725;39050:6;39047:1;39044:13;39036:725;;;39109:13;;39151:9;;-1:-1:-1;;;;;39147:58:25;39135:71;;39245:11;;;39239:18;39280:10;39324:21;;;39310:12;;;39303:43;39390:11;;;39384:18;39380:27;;39366:12;;;39359:49;39431:4;39479:11;;;39473:18;39493:6;39469:31;39455:12;;;39448:53;39524:4;39572:11;;;39566:18;39562:27;;39548:12;;;39541:49;39613:4;39661:11;;;39655:18;39651:27;39637:12;;;39630:49;39708:4;39699:14;;;;39736:15;;;;39072:1;39065:9;39036:725;;40283:452;40394:6;40447:2;40435:9;40426:7;40422:23;40418:32;40415:52;;;40463:1;40460;40453:12;40415:52;40489:22;;:::i;:::-;40534:40;40564:9;40534:40;:::i;:::-;40527:5;40520:55;40620:2;40609:9;40605:18;40599:25;40633:32;40657:7;40633:32;:::i;41573:337::-;41814:2;41803:9;41796:21;41777:4;41834:70;41900:2;41889:9;41885:18;41877:6;41834:70;:::i;41915:277::-;42112:2;42101:9;42094:21;42075:4;42132:54;42182:2;42171:9;42167:18;42159:6;42132:54;:::i;42737:421::-;43021:3;43006:19;;43034:49;43010:9;43065:6;-1:-1:-1;;;;;410:2:25;402:5;396:12;392:21;387:3;380:34;460:4;453:5;449:16;443:23;485:18;553:2;539:12;535:21;528:4;523:3;519:14;512:45;618:2;610:4;603:5;599:16;593:23;589:32;582:4;577:3;573:14;566:56;683:2;675:4;668:5;664:16;658:23;654:32;647:4;642:3;638:14;631:56;;;748:26;740:4;733:5;729:16;723:23;719:56;712:4;707:3;703:14;696:80;837:2;829:4;822:5;818:16;812:23;808:32;801:4;796:3;792:14;785:56;902:2;894:4;887:5;883:16;877:23;873:32;866:4;861:3;857:14;850:56;;253:659;;;43034:49;43092:60;43147:3;43136:9;43132:19;43124:6;43092:60;:::i;43163:1211::-;43406:2;43458:21;;;43528:13;;43431:18;;;43550:22;;;43377:4;;43406:2;43591;;43609:18;;;;43650:15;;;43377:4;43693:655;43707:6;43704:1;43701:13;43693:655;;;43766:13;;43808:9;;-1:-1:-1;;;;;43804:58:25;43792:71;;43907:11;;;43901:18;43921:10;43897:35;43883:12;;;43876:57;43972:11;;;43966:18;44007;44059:21;;;44045:12;;;44038:43;44104:4;44152:11;;;44146:18;44142:27;;;44128:12;;;44121:49;44193:4;44251:11;;;44245:18;44238:26;44231:34;44217:12;;;44210:56;44295:4;44286:14;;;;44323:15;;;;43729:1;43722:9;43693:655;;46281:287;46410:3;46448:6;46442:13;46464:66;46523:6;46518:3;46511:4;46503:6;46499:17;46464:66;:::i;:::-;46546:16;;;;;46281:287;-1:-1:-1;;46281:287:25:o;46931:184::-;46983:77;46980:1;46973:88;47080:4;47077:1;47070:15;47104:4;47101:1;47094:15
Swarm Source
none
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 29 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
WEMIX | 100.00% | $0.998658 | 818.9107 | $817.81 |
[ 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.